/* -- Base -- */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Inter, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.theme-body {
    background: var(--bg-base, #121212);
    color: var(--text-primary, #e0e0e0);
    font-family: var(--font-family, Inter, "Segoe UI", Roboto, sans-serif);
    font-size: var(--font-size, 13px);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    color-scheme: dark;
}

/* ==========================================================================
   RESPONSIVE HELPERS
   ========================================================================== */

:root {
    --z-tabbar: 90;
    --z-header: 100;
    --z-nav-backdrop: 105;
    --z-nav-drawer: 110;
    --z-sidebar-overlay: 120;
    --z-sidebar: 130;
    --z-panel-modal: 600;
    --z-modal: 500;
    --z-modal-confirm: 520;
    --z-cookie: 9990;
}

[x-cloak] { display: none !important; }

@media (max-width: 639px) {
    .hide-xs { display: none !important; }
    .panel-topbar { padding: 0 0.75rem; }
}

@media (max-width: 767px) {
    .hide-sm { display: none !important; }
}

@media (min-width: 1024px) {
    .show-mobile-only { display: none !important; }
}

@media (max-width: 1023px) {
    .show-mobile-only { display: flex; }
    .show-mobile-only.block { display: block; }
    .hide-mobile { display: none !important; }
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--border, #2a3040);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--border-input, #404040);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5625rem 1.125rem;
    border-radius: calc(var(--radius, 10px) - 2px);
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--accent, #7c6af7);
    color: #fff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.1s, box-shadow 0.2s;
    white-space: nowrap;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(124, 106, 247, 0.25);
}

.btn-primary:active {
    transform: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.125rem;
    border-radius: calc(var(--radius, 10px) - 2px);
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--bg-elevated, #1e1e1e);
    color: var(--text-primary, #e0e0e0);
    border: 1px solid var(--border, #333333);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--bg-hover, #252525);
    border-color: var(--border-input-hover, #b8beca);
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.125rem;
    border-radius: calc(var(--radius, 10px) - 2px);
    font-size: 0.875rem;
    font-weight: 600;
    background: rgba(248, 113, 113, 0.12);
    color: var(--danger, #f87171);
    border: 1px solid rgba(248, 113, 113, 0.25);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
}

.btn-danger:hover {
    background: rgba(248, 113, 113, 0.2);
}

.btn-sm { padding: 0.3125rem 0.75rem; font-size: 0.8125rem; }

/* ==========================================================================
   FORMS - Dark modern controls (panel + admin)
   ========================================================================== */

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary, #9e9e9e);
    margin-bottom: 0.375rem;
}

/* Metin alanları, select, textarea */
.form-input,
.form-select,
.form-textarea,
.theme-body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]):not([type="file"]):not([type="hidden"]),
.theme-body textarea,
.theme-body select {
    width: 100%;
    background-color: var(--bg-input, #1e1e1e) !important;
    background-image: none;
    border: 1px solid var(--border-input, #404040);
    border-radius: calc(var(--radius, 10px) - 2px);
    padding: 0.5625rem 0.75rem;
    color: var(--text-primary, #e0e0e0) !important;
    font-size: 0.875rem;
    font-family: inherit;
    line-height: 1.45;
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
}

.form-input:not(.deposit-amount-input),
.form-select,
.theme-body select {
    min-height: 2.625rem;
}

/* Select - özel ok ikonu */
.form-select,
.theme-body select {
    padding-right: 2.25rem;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239e9e9e' d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 12px !important;
    background-color: var(--bg-input, #1e1e1e) !important;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.theme-body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="submit"]):not([type="button"]):not([type="reset"]):focus,
.theme-body textarea:focus,
.theme-body select:focus {
    outline: none;
    border-color: var(--accent, #7c6af7);
    background-color: var(--bg-input-focus, #242424) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #7c6af7) 18%, transparent);
}

.form-input:hover:not(:disabled):not([readonly]),
.form-select:hover:not(:disabled),
.form-textarea:hover:not(:disabled):not([readonly]),
.theme-body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="submit"]):not([type="button"]):not([type="reset"]):hover:not(:disabled):not([readonly]),
.theme-body textarea:hover:not(:disabled):not([readonly]),
.theme-body select:hover:not(:disabled) {
    border-color: var(--border-input-hover, #4a4a4a);
}

.form-input::placeholder,
.form-textarea::placeholder,
.theme-body input::placeholder,
.theme-body textarea::placeholder {
    color: var(--text-muted, #757575);
    opacity: 1;
}

.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled,
.theme-body input:disabled,
.theme-body textarea:disabled,
.theme-body select:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background-color: var(--bg-elevated, #1a1a1a) !important;
    color: var(--text-muted, #757575) !important;
}

.form-input[readonly],
.theme-body input[readonly] {
    background-color: var(--bg-elevated, #1a1a1a) !important;
    cursor: default;
}

/* Number spinner */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 0.65;
    filter: invert(0.85);
}

/* Search clear button */
input[type="search"]::-webkit-search-cancel-button {
    filter: invert(0.85);
}

/* Checkbox & Radio - özel dark stil */
.form-check,
.theme-body label:has(> input[type="checkbox"]),
.theme-body label:has(> input[type="radio"]) {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary, #9e9e9e);
    font-size: 0.875rem;
    user-select: none;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"],
.theme-body input[type="checkbox"],
.theme-body input[type="radio"] {
    width: 1.125rem;
    height: 1.125rem;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--bg-input, #1e1e1e) !important;
    border: 1.5px solid var(--border-input, #404040);
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
    vertical-align: middle;
}

.theme-body input[type="checkbox"],
.form-check input[type="checkbox"] {
    border-radius: 0.3rem;
}

.theme-body input[type="radio"],
.form-check input[type="radio"] {
    border-radius: 50%;
}

.theme-body input[type="checkbox"]:hover,
.theme-body input[type="radio"]:hover,
.form-check input:hover {
    border-color: var(--border-input-hover, #4a4a4a);
}

.theme-body input[type="checkbox"]:checked,
.form-check input[type="checkbox"]:checked {
    background-color: var(--accent, #7c6af7) !important;
    border-color: var(--accent, #7c6af7);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M10.2 2.8 4.5 8.5 1.8 5.8l1.1-1.1 1.6 1.6 4.6-4.6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px;
}

.theme-body input[type="radio"]:checked,
.form-check input[type="radio"]:checked {
    background-color: var(--bg-input, #1e1e1e) !important;
    border-color: var(--accent, #7c6af7);
    border-width: 2px;
    box-shadow: inset 0 0 0 3px var(--accent, #7c6af7);
}

.theme-body input[type="checkbox"]:focus-visible,
.theme-body input[type="radio"]:focus-visible,
.form-check input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #7c6af7) 22%, transparent);
}

/* Range */
.theme-body input[type="range"] {
    width: 100%;
    height: 0.375rem;
    background: var(--bg-elevated, #1a1a1a);
    border-radius: 999px;
    accent-color: var(--accent, #7c6af7);
}

/* File input */
.panel-file-input,
.theme-body input[type="file"] {
    width: 100%;
    font-size: 0.8125rem;
    color: var(--text-secondary, #9e9e9e);
    background: transparent !important;
    border: 1px dashed var(--border-input, #404040);
    border-radius: calc(var(--radius, 10px) - 2px);
    padding: 0.5rem 0.75rem;
}

.panel-file-input::file-selector-button,
.theme-body input[type="file"]::file-selector-button {
    margin-right: 0.75rem;
    background: var(--bg-elevated, #1e1e1e) !important;
    color: var(--text-primary, #e0e0e0) !important;
    border: 1px solid var(--border, #333);
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.panel-file-input::file-selector-button:hover,
.theme-body input[type="file"]::file-selector-button:hover {
    background: var(--bg-hover, #252525) !important;
    border-color: var(--border-input-hover, #4a4a4a);
}

/* Select option listesi */
.theme-body select option,
.theme-body select optgroup {
    background-color: var(--bg-surface, #1a1a1a);
    color: var(--text-primary, #e0e0e0);
}

/* Autofill */
.theme-body input:-webkit-autofill,
.theme-body input:-webkit-autofill:hover,
.theme-body input:-webkit-autofill:focus,
.theme-body textarea:-webkit-autofill {
    -webkit-text-fill-color: var(--text-primary, #e0e0e0) !important;
    -webkit-box-shadow: 0 0 0 1000px var(--bg-input, #1e1e1e) inset !important;
    box-shadow: 0 0 0 1000px var(--bg-input, #1e1e1e) inset !important;
    caret-color: var(--text-primary, #e0e0e0);
    transition: background-color 9999s ease-out 0s;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 0;
    min-width: 0;
}

.form-row + .form-row,
.form-stack > .form-row:not(:last-child),
.form-stack > hr + .form-row {
    margin-top: 0;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-textarea {
    display: block;
    width: 100%;
    min-height: 5.5rem;
    resize: vertical;
}

.form-help {
    font-size: 0.75rem;
    color: var(--text-muted, #757575);
    margin: 0;
    line-height: 1.45;
}

/* Light tema override */
html[data-theme="light"] .theme-body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="file"]):not([type="hidden"]),
html[data-theme="light"] .theme-body textarea,
html[data-theme="light"] .theme-body select,
html[data-theme="light"] .form-input,
html[data-theme="light"] .form-select,
html[data-theme="light"] .form-textarea {
    background-color: var(--bg-input, #ffffff) !important;
    color: var(--text-primary, #1a1f2e) !important;
    border-color: var(--border-input, #d5d9e3);
}

html[data-theme="light"] .theme-body input[type="checkbox"],
html[data-theme="light"] .theme-body input[type="radio"] {
    background-color: var(--bg-input, #ffffff) !important;
}

/* ==========================================================================
   BADGES / CHIPS
   ========================================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.1875rem 0.5625rem;
    border-radius: 2rem;
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-accent  { background: rgba(124,106,247,.12); color: var(--accent, #7c6af7); }
.badge-success { background: rgba(74,222,128,.12);  color: var(--success, #4ade80); }
.badge-danger  { background: rgba(248,113,113,.12); color: var(--danger, #f87171); }
.badge-warning { background: rgba(251,191,36,.12);  color: var(--warning, #fbbf24); }
.badge-neutral { background: var(--bg-elevated);    color: var(--text-muted); border: 1px solid var(--border-subtle); }

/* Cookie consent bar — glassmorphism, fixed bottom */

.ozw-cookie-consent {
    position: fixed;
    inset: auto 0 0 0;
    z-index: var(--z-cookie, 9990);
    padding: 0 1rem 1rem;
    pointer-events: none;
    opacity: 0;
    transform: translateY(calc(100% + 1rem));
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.45s ease;
}

.ozw-cookie-consent.is-visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.ozw-cookie-consent.is-closing {
    opacity: 0;
    transform: translateY(calc(100% + 0.5rem));
    pointer-events: none;
}

.ozw-cookie-consent__inner {
    max-width: 56rem;
    margin: 0 auto;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(12, 14, 24, 0.72);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(99, 102, 241, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.ozw-cookie-consent__bar,
.ozw-cookie-consent__customize {
    padding: 1.1rem 1.25rem;
}

.ozw-cookie-consent__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.25rem;
}

.ozw-cookie-consent__main {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    flex: 1 1 18rem;
    min-width: 0;
}

.ozw-cookie-consent__icon {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #c7d2fe;
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(129, 140, 248, 0.28);
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.15);
}

.ozw-cookie-consent__title {
    margin: 0 0 0.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #eef0f4;
}

.ozw-cookie-consent__text {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.55;
    color: #94a3b8;
    max-width: 42rem;
}

.ozw-cookie-consent__legal {
    margin: 0.45rem 0 0;
    font-size: 0.6875rem;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.ozw-cookie-consent__legal a {
    color: #a5b4fc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ozw-cookie-consent__legal a:hover {
    color: #c7d2fe;
}

.ozw-cookie-consent__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #86efac;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.22);
}

.ozw-cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem 0.55rem;
    flex-shrink: 0;
}

.ozw-cookie-consent__btn {
    appearance: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
    border-radius: 0.55rem;
    transition:
        transform 0.15s ease,
        box-shadow 0.25s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.ozw-cookie-consent__btn:active {
    transform: scale(0.97);
}

.ozw-cookie-consent__btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
    box-shadow:
        0 4px 18px rgba(99, 102, 241, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.ozw-cookie-consent__btn--primary:hover {
    box-shadow:
        0 6px 28px rgba(99, 102, 241, 0.5),
        0 0 20px rgba(129, 140, 248, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ozw-cookie-consent__btn--ghost {
    color: #cbd5e1;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.ozw-cookie-consent__btn--ghost:hover {
    color: #eef0f4;
    border-color: rgba(129, 140, 248, 0.4);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.12);
}

.ozw-cookie-consent__link {
    appearance: none;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
    padding: 0.45rem 0.35rem;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.ozw-cookie-consent__link:hover {
    color: #c7d2fe;
}

/* Customize panel */
.ozw-cookie-consent__customize {
    animation: ozw-cookie-fade-in 0.3s ease;
}

.ozw-cookie-consent__customize[hidden] {
    display: none !important;
}

.ozw-cookie-consent__customize-title {
    margin: 0 0 0.35rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #eef0f4;
}

.ozw-cookie-consent__customize-desc {
    margin: 0 0 0.85rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #94a3b8;
}

.ozw-cookie-consent__categories {
    list-style: none;
    margin: 0 0 0.85rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ozw-cookie-consent__category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ozw-cookie-consent__category-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.ozw-cookie-consent__category-info strong {
    font-size: 0.8125rem;
    color: #eef0f4;
}

.ozw-cookie-consent__category-info span {
    font-size: 0.6875rem;
    color: #64748b;
    line-height: 1.4;
}

.ozw-cookie-consent__always {
    flex-shrink: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #64748b;
}

.ozw-cookie-consent__toggle {
    position: relative;
    flex-shrink: 0;
    width: 2.5rem;
    height: 1.35rem;
    cursor: pointer;
}

.ozw-cookie-consent__toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.ozw-cookie-consent__toggle-ui {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.ozw-cookie-consent__toggle-ui::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.ozw-cookie-consent__toggle input:checked + .ozw-cookie-consent__toggle-ui {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.45);
}

.ozw-cookie-consent__toggle input:checked + .ozw-cookie-consent__toggle-ui::after {
    transform: translateX(1.1rem);
}

.ozw-cookie-consent__toggle input:focus-visible + .ozw-cookie-consent__toggle-ui {
    outline: 2px solid rgba(129, 140, 248, 0.6);
    outline-offset: 2px;
}

.ozw-cookie-consent__customize-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

body.ozw-cookie-open {
    --ozw-cookie-inset: 0px;
}

@media (min-width: 769px) {
    .ozw-cookie-consent__actions,
    .ozw-cookie-consent__customize-actions {
        flex-direction: row-reverse;
    }
}

@media (max-width: 768px) {
    body.ozw-cookie-open .web-main,
    body.ozw-cookie-open .ozw-auth-wrap {
        padding-bottom: var(--ozw-cookie-inset, 0px);
        transition: padding-bottom 0.35s ease;
    }

    .ozw-cookie-consent {
        padding: 0;
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
    }

    .ozw-cookie-consent__inner {
        max-width: none;
        border-radius: 1.25rem 1.25rem 0 0;
        border-bottom: none;
        max-height: min(88dvh, calc(100dvh - env(safe-area-inset-top, 0px) - 0.5rem));
        display: flex;
        flex-direction: column;
    }

    .ozw-cookie-consent__bar,
    .ozw-cookie-consent__customize {
        padding: 1rem 1rem max(1rem, env(safe-area-inset-bottom, 0px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ozw-cookie-consent__bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.875rem;
    }

    .ozw-cookie-consent__main {
        flex: none;
        gap: 0.75rem;
    }

    .ozw-cookie-consent__icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.0625rem;
    }

    .ozw-cookie-consent__title {
        font-size: 0.875rem;
    }

    .ozw-cookie-consent__text {
        font-size: 0.8125rem;
        line-height: 1.5;
    }

    .ozw-cookie-consent__legal {
        font-size: 0.75rem;
        gap: 0.4rem 0.55rem;
    }

    .ozw-cookie-consent__actions,
    .ozw-cookie-consent__customize-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .ozw-cookie-consent__btn {
        width: 100%;
        min-height: 2.75rem;
        padding: 0.7rem 1rem;
        font-size: 0.875rem;
        border-radius: 0.75rem;
        justify-content: center;
    }

    .ozw-cookie-consent__link {
        width: 100%;
        min-height: 2.75rem;
        padding: 0.65rem 0.5rem;
        font-size: 0.8125rem;
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .ozw-cookie-consent__category {
        padding: 0.75rem 0.85rem;
        border-radius: 0.75rem;
        align-items: flex-start;
    }

    .ozw-cookie-consent__category-info strong {
        font-size: 0.875rem;
    }

    .ozw-cookie-consent__category-info span {
        font-size: 0.75rem;
    }

    .ozw-cookie-consent__toggle {
        width: 2.875rem;
        height: 1.625rem;
        margin-top: 0.125rem;
    }

    .ozw-cookie-consent__toggle-ui::after {
        width: 1.2rem;
        height: 1.2rem;
    }

    .ozw-cookie-consent__toggle input:checked + .ozw-cookie-consent__toggle-ui::after {
        transform: translateX(1.25rem);
    }

    .ozw-cookie-consent__customize-title {
        font-size: 1rem;
    }

    .ozw-cookie-consent__customize-desc {
        font-size: 0.8125rem;
    }
}

@keyframes ozw-cookie-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .ozw-cookie-consent__bar,
    .ozw-cookie-consent__customize {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }

    .ozw-cookie-consent__main {
        flex-direction: column;
        align-items: flex-start;
    }

    .ozw-cookie-consent__badge {
        width: 100%;
        justify-content: center;
        margin-top: 0.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ozw-cookie-consent,
    .ozw-cookie-consent__btn,
    .ozw-cookie-consent__customize {
        transition: none;
        animation: none;
    }
}

/* ==========================================================================
   WEB PUBLIC / MARKETING
   ========================================================================== */

.web-body,
.auth-body {
    background: var(--web-bg, #111218);
    color: #f1f5f9;
    font-family: Inter, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.web-body {
    display: flex;
    flex-direction: column;
}

.web-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(17,18,24,0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.web-nav-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.web-logo {
    font-size: 1.125rem;
    font-weight: 800;
    color: #818cf8;
    text-decoration: none;
    letter-spacing: -0.025em;
}

.web-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.web-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.4375rem 0.75rem;
    border-radius: 0.5rem;
    transition: background 0.15s, color 0.15s;
}

.web-link:hover {
    background: rgba(255,255,255,0.06);
    color: #f1f5f9;
}

.web-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4375rem;
    padding: 0.5625rem 1.125rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s, box-shadow 0.2s;
}

.web-btn:hover { opacity: 0.9; transform: translateY(-1px); }

.web-btn-primary {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: #fff;
    box-shadow: 0 2px 12px rgba(99,102,241,0.25);
}

.web-btn-primary:hover {
    box-shadow: 0 4px 20px rgba(99,102,241,0.35);
}

.web-btn-ghost {
    background: rgba(255,255,255,0.05);
    color: #e2e8f0;
    border: 1px solid rgba(255,255,255,0.1);
}

.web-btn-ghost:hover {
    background: rgba(255,255,255,0.09);
}

.web-main { flex: 1; }

.web-footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 2rem 1.25rem;
    margin-top: 4rem;
}

.web-footer-inner {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #64748b;
    font-size: 0.875rem;
}

.web-footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.web-footer-links a { color: #64748b; text-decoration: none; }
.web-footer-links a:hover { color: #818cf8; }

.web-hero {
    max-width: 72rem;
    margin: 0 auto;
    padding: 5rem 1.25rem 3.5rem;
    text-align: center;
}

.web-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.web-hero-accent { color: #818cf8; }

.web-hero p {
    margin: 1.25rem auto 0;
    max-width: 42rem;
    color: #94a3b8;
    font-size: 1.0625rem;
    line-height: 1.65;
}

.web-hero-actions {
    margin-top: 2.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.web-section {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.25rem 3.5rem;
}

.web-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.web-section-sub {
    color: #94a3b8;
    font-size: 0.9375rem;
    margin-bottom: 1.75rem;
}

.web-module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.web-module-card {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 0.875rem;
    background: rgba(255,255,255,0.03);
    padding: 1.25rem;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(4px);
}

.web-module-card:hover {
    border-color: rgba(129,140,248,0.35);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.web-module-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: rgba(99,102,241,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
    overflow: hidden;
}

.web-module-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.web-module-price {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.2rem 0.625rem;
    border-radius: 999px;
    background: rgba(99,102,241,0.12);
    color: #a5b4fc;
    font-size: 0.75rem;
    font-weight: 600;
}

.web-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.web-feature-card {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 0.875rem;
    background: rgba(255,255,255,0.025);
    padding: 1.25rem;
    transition: border-color 0.2s;
}

.web-feature-card:hover {
    border-color: rgba(129,140,248,0.2);
}

/* ── Site home / auth nav links ── */
.auth-home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s;
}
.auth-home-link:hover { color: #a5b4fc; }
.auth-aside-brand-link { text-decoration: none; display: inline-block; }
.auth-aside-brand-link:hover .auth-aside-badge { border-color: rgba(129,140,248,0.35); }
.topbar-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: var(--text-secondary, #94a3b8);
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.topbar-home-btn:hover {
    background: rgba(129,140,248,0.12);
    color: #a5b4fc;
    border-color: rgba(129,140,248,0.25);
}
.panel-topbar .topbar-home-btn { margin-right: 0.25rem; }

/* ── Public nav mobile ── */
.web-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.04);
    color: #e2e8f0;
    cursor: pointer;
}
@media (max-width: 768px) {
    .web-nav-toggle { display: inline-flex; }
    .web-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem 1rem 1rem;
        background: rgba(17,18,24,0.97);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        backdrop-filter: blur(16px);
        gap: 0.25rem;
    }
    .web-nav-links.open { display: flex; }
    .web-nav-inner { position: relative; flex-wrap: wrap; }
    .web-link-hide-sm { display: flex !important; }
    .web-nav-links .web-btn { width: 100%; margin-top: 0.35rem; }
}
@media (min-width: 769px) {
    .web-link-hide-sm { display: inline-flex; }
}

/* ==========================================================================
   AUTH LAYOUT
   ========================================================================== */

.auth-body {
    background: #07080f;
    color: #f1f5f9;
    font-family: Inter, "Segoe UI", Roboto, sans-serif;
}

@keyframes ozw-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

/* ── Ozwor auth theme (normal + compact) ── */
.ozw-auth-page,
.ozw-auth-compact-page {
    min-height: 100dvh;
}

.ozw-auth-wrap {
    position: relative;
    z-index: 1;
    min-height: 100dvh;
    overflow: clip;
}

.ozw-auth-wrap .ozw-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.ozw-auth-wrap .auth-shell {
    position: relative;
    z-index: 1;
    width: 100%;
}

.ozw-auth-page .auth-shell {
    display: grid;
    min-height: 100dvh;
    width: 100%;
    align-items: stretch;
}

@media (min-width: 960px) {
    .ozw-auth-page .auth-shell {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

.ozw-auth-page .auth-aside {
    display: none;
    padding: 2rem 2.25rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 100dvh;
}

.ozw-auth-page .auth-aside::before {
    content: '';
    position: absolute;
    top: -6rem;
    left: -6rem;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.ozw-auth-page .auth-aside::after {
    content: '';
    position: absolute;
    bottom: -4rem;
    right: -4rem;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

@media (min-width: 960px) {
    .ozw-auth-page .auth-aside { display: flex; }
}

.auth-aside-top {
    position: relative;
    z-index: 1;
}

.auth-aside-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 99px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(129, 140, 248, 0.3);
    color: #c7d2fe;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    backdrop-filter: blur(12px);
}

.auth-aside-badge i { font-size: 0.625rem; opacity: 0.9; }

.auth-aside-title {
    font-size: clamp(1.375rem, 2.8vw, 1.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0.875rem 0 0;
    letter-spacing: -0.035em;
    color: #f8fafc;
}

.auth-aside-accent {
    background: linear-gradient(135deg, #e0e7ff 0%, #818cf8 45%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-aside-lead {
    color: #94a3b8;
    margin-top: 0.625rem;
    line-height: 1.55;
    font-size: 0.875rem;
    max-width: 22rem;
}

.auth-aside-features {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-aside-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.auth-aside-feature-icon {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.5rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(129, 140, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.auth-aside-feature-icon i {
    color: #a5b4fc;
    font-size: 0.625rem;
}

.auth-aside-copy {
    position: relative;
    z-index: 1;
    font-size: 0.8125rem;
    color: #475569;
    margin: 0;
}

.ozw-auth-page .auth-home-link {
    color: #64748b;
    margin-bottom: 0.65rem;
    font-size: 0.8125rem;
}

.ozw-auth-page .auth-home-link:hover { color: #a5b4fc; }

.auth-card-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
}

.auth-card-back:hover {
    color: #a5b4fc;
}

.ozw-auth-page .auth-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding:
        max(0.5rem, env(safe-area-inset-top, 0px))
        max(0.875rem, env(safe-area-inset-right, 0px))
        max(0.75rem, env(safe-area-inset-bottom, 0px))
        max(0.875rem, env(safe-area-inset-left, 0px));
    min-height: 0;
    box-sizing: border-box;
    width: 100%;
}

.ozw-auth-page .auth-main-inner {
    width: 100%;
    max-width: 26rem;
}

@media (min-width: 960px) {
    .ozw-auth-page .auth-aside {
        display: flex;
    }

    .ozw-auth-page .auth-main {
        min-height: 100dvh;
        justify-content: center;
        padding: 2rem 2.5rem;
    }

    .ozw-auth-page .auth-main-inner {
        max-width: 24rem;
    }

    .ozw-auth-page .auth-card,
    .ozw-auth-compact-page .auth-card {
        padding: 1.75rem 1.625rem 1.5rem;
    }
}

.ozw-auth-page .auth-card,
.ozw-auth-compact-page .auth-card {
    width: 100%;
    max-width: 26rem;
    border: 1px solid rgba(129, 140, 248, 0.18);
    border-radius: 1rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 1rem 1rem 0.875rem;
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 0 32px rgba(99, 102, 241, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.ozw-auth-page .auth-card h1,
.ozw-auth-compact-page .auth-card h1 {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #f8fafc;
    margin-bottom: 0.2rem;
}

.ozw-auth-page .auth-card .auth-sub,
.ozw-auth-compact-page .auth-card .auth-sub {
    color: #94a3b8;
    font-size: 0.8125rem;
    margin-bottom: 0.875rem;
    line-height: 1.45;
}

.ozw-auth-page .auth-input,
.ozw-auth-page .auth-card input[type="email"],
.ozw-auth-page .auth-card input[type="password"],
.ozw-auth-page .auth-card input[type="text"],
.ozw-auth-compact-page .auth-input,
.ozw-auth-compact-page .auth-card input[type="email"],
.ozw-auth-compact-page .auth-card input[type="password"],
.ozw-auth-compact-page .auth-card input[type="text"] {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.625rem;
    padding: 0.6875rem 0.875rem;
    color: #f1f5f9;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.ozw-auth-page .auth-input:focus,
.ozw-auth-page .auth-card input:focus,
.ozw-auth-compact-page .auth-input:focus,
.ozw-auth-compact-page .auth-card input:focus {
    border-color: rgba(129, 140, 248, 0.55);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18), 0 0 20px rgba(99, 102, 241, 0.08);
}

.ozw-auth-page .auth-btn,
.ozw-auth-compact-page .auth-btn {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: #fff;
    border-radius: 0.625rem;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ozw-auth-page .auth-btn:hover,
.ozw-auth-compact-page .auth-btn:hover {
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.ozw-auth-page .btn-social,
.ozw-auth-compact-page .btn-social {
    border-radius: 0.625rem;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    color: #e2e8f0;
}

.ozw-auth-page .btn-social-google,
.ozw-auth-compact-page .btn-social-google {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.1);
}

.ozw-auth-page .btn-social-google:hover,
.ozw-auth-compact-page .btn-social-google:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(129, 140, 248, 0.25);
}

.ozw-auth-page .auth-social-telegram,
.ozw-auth-compact-page .auth-social-telegram {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.ozw-auth-page .auth-footer-links,
.ozw-auth-compact-page .auth-footer-links {
    color: #64748b;
}

.ozw-auth-page .auth-footer-links a,
.ozw-auth-compact-page .auth-footer-links a {
    color: #818cf8;
}

.ozw-auth-page .auth-footer-links a:hover,
.ozw-auth-compact-page .auth-footer-links a:hover {
    color: #a5b4fc;
}

.ozw-auth-page .auth-divider,
.ozw-auth-compact-page .auth-divider {
    color: #64748b;
}

.auth-form,
.space-y-4 {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-form .auth-field,
.space-y-4 .auth-field {
    margin-bottom: 0;
}

/* Legacy auth shell — yalnızca ozw-auth-page olmayan sayfalar */
body:not(.ozw-auth-page):not(.ozw-auth-compact-page) .auth-shell {
    display: grid;
    min-height: 100vh;
    width: 100%;
}

@media (min-width: 960px) {
    body:not(.ozw-auth-page):not(.ozw-auth-compact-page) .auth-shell {
        grid-template-columns: 1fr 1fr;
    }
}

body:not(.ozw-auth-page):not(.ozw-auth-compact-page) .auth-aside {
    display: none;
    padding: 3rem;
    background: linear-gradient(160deg, #13141c 0%, #0e0f17 40%, #0a0b11 100%);
    border-right: 1px solid rgba(255,255,255,0.05);
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

body:not(.ozw-auth-page):not(.ozw-auth-compact-page) .auth-aside::before {
    content: '';
    position: absolute;
    top: -4rem;
    left: -4rem;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
    pointer-events: none;
}

@media (min-width: 960px) {
    body:not(.ozw-auth-page):not(.ozw-auth-compact-page) .auth-aside {
        display: flex;
    }
}

body:not(.ozw-auth-page):not(.ozw-auth-compact-page) .auth-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0.75rem 1rem 1rem;
    min-height: 0;
    box-sizing: border-box;
}

/* ── Kompakt auth (masaüstü popup) ── */
.auth-body-compact {
    min-height: 100vh;
}

.auth-compact-main {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    padding: 1rem 1rem 1.5rem;
    min-height: 100vh;
    box-sizing: border-box;
}

.auth-compact-header {
    text-align: center;
    padding: 0.75rem 0 1rem;
}

.auth-compact-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
}

.auth-compact-brand:hover { color: #cbd5e1; }

.auth-compact-hint {
    margin: 0.375rem 0 0;
    font-size: 0.75rem;
    color: #64748b;
}

/* ── Ozwor compact auth (masaüstü token akışı) ── */
.ozw-auth-compact-page {
    min-height: 100vh;
}

.ozw-auth-compact-page .auth-compact-shell {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    min-height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding:
        max(0.5rem, env(safe-area-inset-top, 0px))
        max(0.875rem, env(safe-area-inset-right, 0px))
        max(0.5rem, env(safe-area-inset-bottom, 0px))
        max(0.875rem, env(safe-area-inset-left, 0px));
    overflow: hidden;
}

.ozw-auth-compact-page .auth-compact-header {
    width: 100%;
    max-width: 26rem;
    text-align: center;
    margin-bottom: 0.65rem;
    flex-shrink: 0;
}

.ozw-auth-compact-page .auth-compact-header--minimal {
    margin-bottom: 0.45rem;
}

.ozw-auth-compact-page .auth-compact-minimal-title {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.ozw-auth-compact-page .auth-compact-body {
    width: 100%;
    max-width: 26rem;
    flex: 0 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.ozw-auth-compact-page .auth-compact-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.25s;
}

.ozw-auth-compact-page .auth-compact-brand:hover {
    color: #c7d2fe;
}

.ozw-auth-compact-page .auth-compact-brand-mark {
    width: 2rem;
    height: 2rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(34, 211, 238, 0.12));
    border: 1px solid rgba(129, 140, 248, 0.35);
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    font-size: 0.75rem;
}

.ozw-auth-compact-page .auth-compact-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.65rem;
    padding: 0.35rem 0.75rem;
    border-radius: 99px;
    border: 1px solid rgba(129, 140, 248, 0.2);
    background: rgba(99, 102, 241, 0.08);
    color: #a5b4fc;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ozw-auth-compact-page .auth-compact-hint-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 10px #22d3ee;
    animation: ozw-pulse 2s ease-in-out infinite;
}

.ozw-auth-compact-page .auth-compact-body {
    width: 100%;
    max-width: 26rem;
    flex: 0 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.ozw-auth-compact-page .auth-card.auth-card-compact {
    max-width: none;
    width: 100%;
    max-height: min(92dvh, 720px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.ozw-auth-device-page .auth-compact-shell {
    justify-content: center;
    padding-top: max(0.35rem, env(safe-area-inset-top, 0px));
    padding-bottom: max(0.35rem, env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.ozw-auth-device-page .auth-compact-body {
    flex: 0 1 auto;
    width: 100%;
    max-width: 26rem;
    max-height: none;
}

.ozw-auth-device-page .auth-device-popup {
    position: relative;
    z-index: 2;
}

.ozw-auth-app-flow-page .auth-compact-shell {
    justify-content: center;
    padding-top: max(0.35rem, env(safe-area-inset-top, 0px));
    padding-bottom: max(0.35rem, env(safe-area-inset-bottom, 0px));
}

.ozw-auth-app-flow-page .auth-card.auth-card-compact {
    max-height: min(90dvh, 660px);
}

.ozw-auth-app-flow-page .auth-card.auth-card-compact h1 {
    font-size: 1.25rem;
    margin-bottom: 0.15rem;
}

.ozw-auth-app-flow-page .auth-card.auth-card-compact .auth-sub {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.auth-app-flow-card .auth-app-banner-title {
    color: #e2e8f0;
}

.auth-app-flow-card .auth-app-banner-text {
    color: #94a3b8;
}

.auth-app-flow-card .auth-app-banner-link {
    color: #fff;
    text-decoration: none;
}

/* Desktop app connection card */
.auth-app-flow-card {
    margin-bottom: 1.25rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.25);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.06) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auth-app-flow-card.auth-app-banner-warning {
    border-color: rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(99, 102, 241, 0.04) 100%);
}

.auth-app-flow-card.auth-app-banner-error {
    border-color: rgba(239, 68, 68, 0.3);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(99, 102, 241, 0.04) 100%);
}

.auth-app-flow-head {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.auth-app-flow-icon {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(129, 140, 248, 0.3);
    color: #a5b4fc;
    font-size: 1rem;
}

.auth-app-flow-pulse {
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 1px solid rgba(34, 211, 238, 0.4);
    animation: auth-app-pulse 2s ease-out infinite;
}

@keyframes auth-app-pulse {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.25); }
}

.auth-app-flow-endpoint {
    margin-top: 0.85rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.auth-app-flow-endpoint-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.auth-app-flow-endpoint code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.75rem;
    color: #22d3ee;
    word-break: break-all;
}

.auth-app-flow-card .auth-app-banner-meta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8125rem;
    color: #cbd5e1;
}

.auth-app-flow-card .auth-app-banner-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    text-decoration: none;
    font-size: 0.8125rem;
}

.auth-app-banner {
    margin-bottom: 1rem;
    padding: 0.75rem 0.875rem;
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.auth-app-banner-info {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #bfdbfe;
}

.auth-app-banner-warning {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.28);
    color: #fde68a;
}

.auth-app-banner-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.28);
    color: #fecaca;
}

.auth-app-banner-title {
    margin: 0 0 0.25rem;
    font-weight: 600;
    font-size: 0.8125rem;
}

.auth-app-banner-text {
    margin: 0;
    opacity: 0.95;
}

.auth-app-banner-meta {
    margin: 0.375rem 0 0;
    font-size: 0.75rem;
    opacity: 0.85;
}

.auth-app-banner-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: inherit;
    text-decoration: underline;
}

.auth-device-card {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 0.875rem;
    background: rgba(255,255,255,0.03);
    padding: 1.25rem;
    box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.auth-device-head {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.auth-device-logo {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    object-fit: cover;
    flex-shrink: 0;
}

.auth-device-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99,102,241,0.2);
    font-size: 1.25rem;
}

.auth-device-kicker {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #818cf8;
}

.auth-device-title {
    margin: 0.125rem 0 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #f1f5f9;
}

.auth-device-sub {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
}

.auth-device-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.625rem;
    background: rgba(15,23,42,0.5);
    border: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 0.875rem;
}

.auth-device-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: rgba(99,102,241,0.25);
    color: #c7d2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.auth-device-user-meta { flex: 1; min-width: 0; }

.auth-device-user-name {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #f1f5f9;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-device-user-email {
    margin: 0.125rem 0 0;
    font-size: 0.75rem;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-device-badge {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    flex-shrink: 0;
}

.auth-device-badge-ok {
    background: rgba(34,197,94,0.15);
    color: #86efac;
    border: 1px solid rgba(34,197,94,0.25);
}

.auth-device-badge-new {
    background: rgba(245,158,11,0.12);
    color: #fcd34d;
    border: 1px solid rgba(245,158,11,0.25);
}

.auth-device-perms {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    font-size: 0.8125rem;
    color: #94a3b8;
}

.auth-device-perms li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.auth-device-details {
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    color: #64748b;
}

.auth-device-details summary {
    cursor: pointer;
    color: #94a3b8;
    user-select: none;
}

.auth-device-details dl {
    margin: 0.5rem 0 0;
    display: grid;
    gap: 0.35rem;
}

.auth-device-details dl div {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.auth-device-details dt { opacity: 0.8; }
.auth-device-details dd { margin: 0; font-family: ui-monospace, monospace; color: #cbd5e1; }

.auth-device-footnote {
    margin: 0 0 1rem;
    font-size: 0.6875rem;
    line-height: 1.45;
    color: #64748b;
    text-align: center;
}

.auth-device-actions { margin-bottom: 0.5rem; }

.auth-device-approve {
    width: 100%;
}

.auth-device-approve:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.auth-device-deny {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.625rem;
    background: transparent;
    color: #94a3b8;
    font-size: 0.8125rem;
    cursor: pointer;
}

.auth-device-deny:hover {
    background: rgba(255,255,255,0.04);
    color: #cbd5e1;
}

/* Popup — cihaz erişim onayı (masaüstü tarayıcı penceresi) */
.auth-device-popup {
    display: flex;
    flex-direction: column;
    max-height: min(92dvh, 680px);
    padding: 0;
    overflow: hidden;
}

.auth-device-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 1.125rem 0.75rem;
}

.auth-device-actions-bar {
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    padding: 0.65rem 1.125rem max(0.75rem, env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 17, 28, 0.98);
}

.auth-device-actions-bar .auth-device-approve:not(:disabled) {
    cursor: pointer;
    pointer-events: auto;
}

.auth-device-actions-bar form {
    position: relative;
    z-index: 1;
}

.auth-device-approve.is-busy {
    opacity: 0.72;
    pointer-events: none;
}

/* Cihaz onayı → uygulama köprü sayfası */
.ozw-auth-device-bridge-page .auth-compact-shell {
    justify-content: center;
}

.auth-device-bridge {
    text-align: center;
    padding: 1.25rem 1.125rem 1.125rem;
}

.auth-device-bridge-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.875rem;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(129, 140, 248, 0.28);
    color: #a5b4fc;
    font-size: 1.125rem;
}

.auth-device-bridge-title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f1f5f9;
}

.auth-device-bridge-sub {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #94a3b8;
}

.auth-device-bridge-meta {
    margin: 0 0 1rem;
    font-size: 0.75rem;
    color: #64748b;
}

.auth-device-bridge-meta code {
    font-family: ui-monospace, monospace;
    color: #cbd5e1;
}

.auth-device-bridge-actions {
    margin-top: 0.75rem;
}

.auth-device-bridge-actions .auth-device-footnote {
    margin-top: 0.625rem;
}

.auth-device-popup .auth-device-head {
    margin-bottom: 0.75rem;
}

.auth-device-popup .auth-device-logo,
.auth-device-popup .auth-device-logo-fallback {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
}

.auth-device-popup .auth-device-title {
    font-size: 1.0625rem;
}

.auth-device-popup .auth-device-sub {
    font-size: 0.75rem;
}

.auth-device-popup .auth-device-user {
    margin-bottom: 0.65rem;
    padding: 0.65rem 0.75rem;
}

.auth-device-popup .auth-device-perms {
    margin: 0 0 0.5rem;
    gap: 0.35rem;
}

.auth-device-popup .auth-device-perms li {
    font-size: 0.75rem;
    gap: 0.45rem;
}

.auth-device-popup .auth-device-perms li i {
    width: 1rem;
    color: #818cf8;
    font-size: 0.6875rem;
}

.auth-device-popup .auth-device-details {
    margin-bottom: 0;
}

.auth-device-popup .auth-device-footnote {
    margin: 0 0 0.55rem;
    font-size: 0.6875rem;
    line-height: 1.45;
    color: #64748b;
}

.auth-device-popup .auth-device-actions {
    margin-bottom: 0.4rem;
}

.auth-device-popup .auth-device-approve {
    min-height: 2.625rem;
}

.auth-device-popup .auth-device-deny {
    min-height: 2.375rem;
}

.ozw-auth-compact-page .auth-app-flow-card {
    margin-bottom: 0.875rem;
    padding: 0.75rem 0.85rem;
}

.ozw-auth-compact-page .auth-app-flow-endpoint {
    margin-top: 0.55rem;
    padding: 0.45rem 0.6rem;
}

.ozw-auth-compact-page .auth-app-flow-head {
    gap: 0.65rem;
}

.ozw-auth-compact-page .auth-app-flow-icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
}

@media (min-width: 960px) {
    body:not(.ozw-auth-page):not(.ozw-auth-compact-page) .auth-main {
        min-height: auto;
    }
}

.auth-card {
    width: 100%;
    max-width: 26rem;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1rem;
    background: rgba(255,255,255,0.03);
    padding: 2rem;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.auth-card h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.auth-card .auth-sub {
    color: #64748b;
    font-size: 0.8125rem;
    margin-bottom: 0.875rem;
    line-height: 1.45;
}

.auth-field { margin-bottom: 0.75rem; }

.auth-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 0.375rem;
}

.auth-input,
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"],
.auth-card textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.5rem;
    padding: 0.625rem 0.8125rem;
    color: #f1f5f9;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus,
.auth-card input:focus,
.auth-card textarea:focus {
    border-color: rgba(99,102,241,0.6);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.auth-input::placeholder {
    color: #475569;
}

.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.6875rem 1.25rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 2px 12px rgba(99,102,241,0.25);
}

.auth-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(99,102,241,0.35);
}

.auth-btn:active {
    transform: none;
    opacity: 1;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin: 0.75rem 0;
    color: #475569;
    font-size: 0.6875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.06);
}

.btn-social {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5625rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.08);
    transition: background 0.15s, border-color 0.15s;
    min-height: 2.625rem;
    box-sizing: border-box;
}

.btn-social-icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
    display: block;
}

.auth-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-social-telegram {
    display: flex;
    justify-content: center;
    padding: 0.25rem 0;
    border: none;
    background: transparent;
    overflow: hidden;
    min-height: 0;
}

.auth-social-telegram iframe {
    max-height: 40px !important;
}

.btn-social-google {
    background: var(--bg-elevated, #1e1e1e);
    color: var(--text-primary, #e0e0e0);
    border-color: var(--border, #333);
}

.btn-social-google:hover {
    background: var(--bg-hover, #252525);
}

.btn-social-facebook {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}

.btn-social-facebook:hover {
    background: #166fe5;
}

.btn-social-x {
    background: #000;
    color: #fff;
    border-color: rgba(255,255,255,0.12);
}

.btn-social-x:hover {
    background: #111;
}

.btn-social-telegram {
    background: rgba(36, 161, 222, 0.12);
    border-color: rgba(36, 161, 222, 0.35);
    color: #7dd3fc;
}

.btn-social-telegram:hover {
    background: rgba(36, 161, 222, 0.2);
    border-color: rgba(56, 189, 248, 0.45);
    color: #bae6fd;
}

.btn-social-telegram .btn-social-icon {
    font-size: 1.125rem;
    width: auto;
    height: auto;
}

.auth-social-telegram-hint {
    margin: 0 0 0.35rem;
    font-size: 0.6875rem;
    color: #64748b;
    text-align: center;
}

.ozw-telegram-bot-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #38bdf8;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.ozw-telegram-bot-link:hover {
    color: #7dd3fc;
}

.web-footer-social a[aria-label^="Telegram"] {
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.25);
}

.web-footer-social a[aria-label^="Telegram"]:hover {
    color: #7dd3fc;
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(36, 161, 222, 0.12);
}

.auth-footer-links {
    margin-top: 0.875rem;
    text-align: center;
    font-size: 0.8125rem;
    color: #64748b;
}

.auth-footer-links a {
    color: #818cf8;
    text-decoration: none;
    transition: color 0.15s;
}

.auth-footer-links a:hover {
    color: #a5b4fc;
    text-decoration: underline;
}

.auth-alert {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.45;
}

.auth-alert-error {
    border: 1px solid rgba(239,68,68,0.35);
    background: rgba(127,29,29,0.25);
    color: #fca5a5;
}

.auth-alert-success {
    border: 1px solid rgba(16,185,129,0.35);
    background: rgba(6,78,59,0.25);
    color: #6ee7b7;
}

.auth-card .flash-alert {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.auth-card .flash-success {
    border: 1px solid rgba(16,185,129,0.35);
    background: rgba(6,78,59,0.25);
    color: #6ee7b7;
}

.auth-card .flash-error {
    border: 1px solid rgba(239,68,68,0.35);
    background: rgba(127,29,29,0.25);
    color: #fca5a5;
}

.auth-status-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-status-icon.success {
    background: rgba(16,185,129,0.12);
    color: #34d399;
}

.auth-status-icon.error {
    background: rgba(239,68,68,0.12);
    color: #f87171;
}

.auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.5;
}

.auth-checkbox input {
    margin-top: 0.15rem;
    accent-color: #6366f1;
    flex-shrink: 0;
}

.auth-checkbox a { color: #818cf8; }

.terms-content {
    max-width: 48rem;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
    line-height: 1.7;
    color: #cbd5e1;
}

.terms-content h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   OZWOR NAV — Premium glass sticky header
   ========================================================================== */

.ozw-nav {
    position: sticky;
    top: 0;
    z-index: var(--z-header, 100);
    border-bottom: 1px solid transparent;
    background: rgba(7, 8, 15, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
    max-width: 100%;
    overflow-x: clip;
}

.ozw-nav-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.7;
}

.ozw-nav-glow::before {
    content: '';
    position: absolute;
    top: -80%;
    left: 15%;
    width: 40%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.12), transparent 70%);
}

.ozw-nav-glow::after {
    content: '';
    position: absolute;
    top: -80%;
    right: 10%;
    width: 35%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(34, 211, 238, 0.08), transparent 70%);
}

.ozw-nav.ozw-nav-scrolled {
    background: rgba(7, 8, 15, 0.88);
    border-bottom-color: rgba(129, 140, 248, 0.14);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.ozw-nav-inner {
    position: relative;
    z-index: 2;
    max-width: 76rem;
    margin: 0 auto;
    padding: 0.65rem 1.25rem;
    padding-top: max(0.65rem, env(safe-area-inset-top, 0px));
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

/* Logo */
.ozw-nav-logo {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    min-width: 0;
}

.ozw-nav-logo-mark {
    width: 2rem;
    height: 2rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(34, 211, 238, 0.12));
    border: 1px solid rgba(129, 140, 248, 0.35);
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #a5b4fc;
    font-size: 0.75rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.ozw-nav-logo:hover .ozw-nav-logo-mark {
    box-shadow: 0 0 32px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.ozw-nav-logo-text {
    background: linear-gradient(135deg, #e0e7ff 0%, #818cf8 50%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Desktop: menu panel participates in grid */
.ozw-nav-header-end,
.ozw-nav-drawer-head,
.ozw-nav-backdrop,
.ozw-nav-menu-panel--mobile {
    display: none;
}

.ozw-nav-menu-panel--desktop {
    display: contents;
}

.ozw-nav-center {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex-wrap: nowrap;
}

.ozw-nav-link {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.ozw-nav-link-text {
    position: relative;
    z-index: 1;
}

.ozw-nav-link-line {
    position: absolute;
    bottom: 0.35rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 1rem);
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, #6366f1, #22d3ee);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ozw-nav-link:hover {
    color: #e2e8f0;
    background: rgba(99, 102, 241, 0.08);
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.06);
}

.ozw-nav-link:hover .ozw-nav-link-line {
    transform: translateX(-50%) scaleX(0.6);
}

.ozw-nav-link.is-active {
    color: #c7d2fe;
    background: rgba(99, 102, 241, 0.1);
}

.ozw-nav-link.is-active .ozw-nav-link-line {
    transform: translateX(-50%) scaleX(1);
}

.ozw-nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ozw-nav-btn-ghost {
    font-weight: 600;
    border-radius: 0.625rem !important;
    padding: 0.5rem 1rem !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease !important;
}

.ozw-nav-btn-ghost:hover {
    transform: translateY(-1px) scale(1.02);
    border-color: rgba(129, 140, 248, 0.35) !important;
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.12);
}

.ozw-nav-btn-primary {
    font-weight: 700;
    border-radius: 0.625rem !important;
    padding: 0.5rem 1.125rem !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.ozw-nav-btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.55) !important;
}

/* ── Mobile drawer (≤1024px) ── */
@media (max-width: 1024px) {
    .ozw-nav-inner {
        grid-template-columns: 1fr auto;
        gap: 0.75rem;
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }

    .ozw-nav-menu-panel--desktop {
        display: none !important;
    }

    .ozw-nav-header-end {
        display: flex;
        align-items: center;
        gap: 0.375rem;
        justify-self: end;
    }

    .ozw-nav-quick {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.75rem;
        height: 2.75rem;
        border-radius: 0.75rem;
        border: 1px solid rgba(129, 140, 248, 0.2);
        background: rgba(255, 255, 255, 0.04);
        color: #c7d2fe;
        text-decoration: none;
        font-size: 0.9375rem;
        transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.12s ease;
    }

    .ozw-nav-quick:active {
        transform: scale(0.96);
    }

    .ozw-nav-quick:hover {
        background: rgba(99, 102, 241, 0.14);
        border-color: rgba(129, 140, 248, 0.35);
        color: #e0e7ff;
    }

    .ozw-nav-quick--telegram {
        color: #38bdf8;
        border-color: rgba(56, 189, 248, 0.25);
    }

    .ozw-nav-quick--telegram:hover {
        color: #7dd3fc;
        border-color: rgba(56, 189, 248, 0.45);
        background: rgba(36, 161, 222, 0.12);
    }

    .ozw-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.75rem;
        height: 2.75rem;
        border: 1px solid rgba(129, 140, 248, 0.2);
        border-radius: 0.75rem;
        background: rgba(255, 255, 255, 0.04);
        color: #e2e8f0;
        cursor: pointer;
        transition: border-color 0.2s ease, background 0.2s ease, transform 0.12s ease;
    }

    .ozw-nav-toggle:active {
        transform: scale(0.96);
    }

    .ozw-nav-toggle:hover {
        border-color: rgba(129, 140, 248, 0.35);
        background: rgba(99, 102, 241, 0.1);
    }

    .ozw-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: var(--z-nav-backdrop, 105);
        background: rgba(4, 5, 12, 0.72);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.28s ease;
    }

    .ozw-nav-backdrop.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .ozw-nav-menu-panel--mobile {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        z-index: var(--z-nav-drawer, 110);
        width: min(20rem, 100%);
        max-width: 100%;
        height: 100%;
        height: 100dvh;
        padding: max(0.75rem, env(safe-area-inset-top, 0px)) 1rem max(1.25rem, env(safe-area-inset-bottom, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
        background: rgba(10, 11, 20, 0.98);
        border-left: 1px solid rgba(129, 140, 248, 0.12);
        transform: translate3d(100%, 0, 0);
        visibility: hidden;
        pointer-events: none;
        transition:
            transform 0.32s cubic-bezier(0.32, 0.72, 0, 1),
            visibility 0.32s ease;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .ozw-nav-menu-panel--mobile.is-open {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        pointer-events: auto;
    }

    .ozw-nav-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .ozw-nav-drawer-title {
        font-size: 0.9375rem;
        font-weight: 700;
        color: #e2e8f0;
        letter-spacing: -0.02em;
    }

    .ozw-nav-drawer-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0.625rem;
        background: rgba(255, 255, 255, 0.04);
        color: #94a3b8;
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .ozw-nav-drawer-close:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #e2e8f0;
    }

    .ozw-nav-center {
        justify-self: auto;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.125rem;
        padding: 0;
    }

    .ozw-nav-link {
        width: 100%;
        align-items: flex-start;
        padding: 0.85rem 0.9rem;
        font-size: 0.9375rem;
        border-radius: 0.75rem;
    }

    .ozw-nav-link-line {
        left: 0.9rem;
        bottom: 0.55rem;
        transform: translateX(0) scaleX(0);
        width: 2rem;
    }

    .ozw-nav-link.is-active .ozw-nav-link-line,
    .ozw-nav-link:hover .ozw-nav-link-line {
        transform: translateX(0) scaleX(1);
    }

    .ozw-nav-actions {
        justify-self: auto;
        flex-direction: column;
        width: 100%;
        margin-top: auto;
        padding-top: 1rem;
        gap: 0.625rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .ozw-nav-actions .web-btn {
        width: 100%;
        justify-content: center;
        min-height: 2.75rem;
    }

    .ozw-nav-btn-label {
        display: inline;
    }

    /* Override legacy public-base mobile nav dropdown */
    .ozw-nav .web-nav-inner {
        position: relative;
        flex-wrap: unset;
    }

    .ozw-nav-menu-panel--mobile .web-nav-links {
        display: flex !important;
        position: static;
        left: auto;
        right: auto;
        background: transparent;
        border-bottom: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

@media (max-width: 640px) {
    .ozw-nav-logo-text {
        max-width: 9.5rem;
    }

    .ozw-nav-btn-label {
        font-size: 0.8125rem;
    }
}

@media (min-width: 1025px) and (max-width: 1180px) {
    .ozw-nav-link {
        padding: 0.5rem 0.55rem;
        font-size: 0.75rem;
    }

    .ozw-nav-btn-label {
        display: none;
    }

    .ozw-nav-btn-primary i {
        margin: 0;
    }
}

body.ozw-nav-menu-open {
    overflow: hidden;
    touch-action: none;
}

html.ozw-public-page,
body.ozw-public-page,
body.ozw-auth-page {
    overflow-x: hidden;
    max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .ozw-nav,
    .ozw-nav-link,
    .ozw-nav-link-line,
    .ozw-nav-logo-mark,
    .ozw-nav-btn-ghost,
    .ozw-nav-btn-primary,
    .ozw-nav-menu-panel,
    .ozw-nav-menu-panel--mobile,
    .ozw-nav-backdrop {
        transition: none !important;
    }
}

/* ==========================================================================
   OZWOR LANDING v3 — Futuristic glass / 3D SaaS
   ========================================================================== */

.ozw-public-page {
    --ozw-purple: #6366f1;
    --ozw-indigo: #818cf8;
    --ozw-cyan: #22d3ee;
    --ozw-blue: #3b82f6;
    --ozw-glass: rgba(255, 255, 255, 0.04);
    --ozw-glass-border: rgba(255, 255, 255, 0.08);
    --ozw-glow: rgba(99, 102, 241, 0.35);
    background: #07080f;
    overflow-x: hidden;
}

.ozw-public-page .web-main {
    flex: 1;
}

.ozw-public-page .web-footer-links a {
    transition: color 0.2s;
}

.ozw-public-page .web-footer-links a:hover {
    color: #a5b4fc;
}

.ozw-public-page .web-footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.ozw-public-page .web-footer-social a {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.8rem;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.ozw-public-page .web-footer-social a:hover {
    border-color: rgba(129, 140, 248, 0.35);
    color: #c7d2fe;
    background: rgba(99, 102, 241, 0.12);
}

.ozw-public-page .web-footer-social a[aria-label^="Telegram"] {
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.25);
}

.ozw-public-page .web-footer-social a[aria-label^="Telegram"]:hover {
    color: #7dd3fc;
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(36, 161, 222, 0.12);
}

.ozw-telegram-bot-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #38bdf8;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.ozw-telegram-bot-link:hover {
    color: #7dd3fc;
}

.ozw-telegram-bot-btn {
    border-color: rgba(56, 189, 248, 0.3) !important;
    color: #7dd3fc !important;
}

.ozw-telegram-bot-btn:hover {
    border-color: rgba(56, 189, 248, 0.5) !important;
    background: rgba(36, 161, 222, 0.12) !important;
    color: #bae6fd !important;
}

.ozw-telegram-bot-card .web-contact-icon {
    background: rgba(36, 161, 222, 0.15);
    color: #38bdf8;
}


.ozw-landing {
    position: relative;
    overflow: hidden;
}

.ozw-public-page .web-footer {
    border-top-color: rgba(255, 255, 255, 0.05);
    background: rgba(7, 8, 15, 0.5);
    margin-top: 0;
    position: relative;
    z-index: 1;
}

/* Public sub-pages shell */
.ozw-public {
    position: relative;
    overflow: hidden;
    min-height: 50vh;
}

.ozw-public-inner {
    position: relative;
    z-index: 1;
}

.ozw-public-page .web-page-hero {
    padding: 4rem 1.25rem 2rem;
}

.ozw-public-page .web-page-hero-inner {
    max-width: 44rem;
    margin: 0 auto;
    text-align: center;
}

.ozw-public-page .web-page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #f8fafc;
}

.ozw-public-page .web-hero-accent {
    background: linear-gradient(135deg, #e0e7ff 0%, #818cf8 45%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ozw-public-page .web-hero-badge {
    border-color: rgba(129, 140, 248, 0.35);
    background: rgba(99, 102, 241, 0.14);
    color: #c7d2fe;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.12);
}

.ozw-public-page .web-section {
    padding-bottom: 4rem;
}

.ozw-public-page .web-section-title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #f8fafc;
    text-align: center;
}

.ozw-public-page .web-section-sub {
    text-align: center;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.ozw-public-page .web-feature-v2,
.ozw-public-page .web-feature-detail,
.ozw-public-page .web-about-card,
.ozw-public-page .web-contact-card,
.ozw-public-page .web-step-card,
.ozw-public-page .web-platform-intro {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.35s,
                box-shadow 0.35s;
}

.ozw-public-page .web-feature-v2:hover,
.ozw-public-page .web-feature-detail:hover,
.ozw-public-page .web-about-card:hover,
.ozw-public-page .web-contact-card:hover,
.ozw-public-page .web-step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(129, 140, 248, 0.35);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35), 0 0 40px rgba(99, 102, 241, 0.1);
}

.ozw-public-page .web-feature-v2-icon,
.ozw-public-page .web-feature-detail-icon,
.ozw-public-page .web-contact-icon {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.ozw-public-page .web-cta-band {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.25rem 4rem;
}

.ozw-public-page .web-cta-inner {
    position: relative;
    border-radius: 1.5rem;
    border: 1px solid rgba(129, 140, 248, 0.25);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(34, 211, 238, 0.06) 50%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    overflow: hidden;
}

.ozw-public-page .web-cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.22), transparent 70%);
    pointer-events: none;
}

.ozw-public-page .web-cta-inner h2,
.ozw-public-page .web-cta-inner p,
.ozw-public-page .web-cta-actions {
    position: relative;
}

.ozw-public-page .web-cta-inner h2 {
    font-size: clamp(1.35rem, 3vw, 1.875rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ozw-public-page .terms-page,
.ozw-public-page .terms-content {
    position: relative;
    z-index: 1;
}

.ozw-public-page .terms-toc-link {
    backdrop-filter: blur(8px);
}

.ozw-public-page .terms-notice {
    border: 1px solid rgba(129, 140, 248, 0.2);
    background: rgba(99, 102, 241, 0.06);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 1.25rem 1.35rem;
}

.ozw-public-page .terms-empty {
    border-radius: 1rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
}

.ozw-public-page .terms-prose,
.ozw-public-page .terms-data-table-wrap {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(12px);
}

.ozw-public-page .terms-data-table-wrap {
    padding: 0;
}

.ozw-public-page .terms-prose {
    padding: 1.75rem 1.5rem;
}

.ozw-public-page .web-error-page {
    min-height: 60vh;
}

.ozw-public-page .web-error-inner {
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

.ozw-public-page .web-download-cta {
    border: 1px solid rgba(129, 140, 248, 0.25) !important;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(34, 211, 238, 0.05) 100%) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 48px rgba(99, 102, 241, 0.12) !important;
}

.ozw-tilt-card {
    transform-style: preserve-3d;
}

.ozw-feature-card {
    transform-style: preserve-3d;
}

/* Background */
.ozw-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ozw-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: ozw-orb-float 18s ease-in-out infinite;
}

.ozw-bg-orb--1 {
    width: 42vw;
    height: 42vw;
    top: -12%;
    left: -8%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.5), transparent 70%);
}

.ozw-bg-orb--2 {
    width: 36vw;
    height: 36vw;
    top: 30%;
    right: -10%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 70%);
    animation-delay: -6s;
}

.ozw-bg-orb--3 {
    width: 28vw;
    height: 28vw;
    bottom: -5%;
    left: 30%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
    animation-delay: -12s;
}

@keyframes ozw-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(2%, 3%) scale(1.05); }
    66% { transform: translate(-2%, -2%) scale(0.97); }
}

.ozw-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.ozw-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(129, 140, 248, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 140, 248, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 75%);
}

.ozw-landing > section,
.ozw-landing > .ozw-cta {
    position: relative;
    z-index: 1;
}

/* Reveal */
.ozw-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.ozw-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ozw-reveal[data-delay="1"] { transition-delay: 0.12s; }
.ozw-reveal[data-delay="2"] { transition-delay: 0.22s; }

/* Shared */
.ozw-section {
    max-width: 72rem;
    margin: 0 auto;
    padding: 4rem 1.25rem;
}

.ozw-section-head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2.5rem;
}

.ozw-section-head h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.65rem;
    color: #f8fafc;
}

.ozw-section-head p {
    margin: 0;
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
}

.ozw-section-cta {
    text-align: center;
    margin: 2rem 0 0;
}

.ozw-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 99px;
    border: 1px solid rgba(129, 140, 248, 0.3);
    background: rgba(99, 102, 241, 0.12);
    color: #c7d2fe;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(12px);
}

.ozw-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 10px #22d3ee;
    animation: ozw-pulse 2s ease-in-out infinite;
}

@keyframes ozw-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.ozw-badge--security {
    border-color: rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.1);
    color: #86efac;
}

.ozw-gradient-text {
    background: linear-gradient(135deg, #e0e7ff 0%, #818cf8 40%, #22d3ee 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ozw-text-shimmer 8s ease-in-out infinite;
}

@keyframes ozw-text-shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.ozw-btn-glow {
    background: linear-gradient(135deg, #6366f1, #818cf8) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.ozw-btn-glow:hover {
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.ozw-btn-glass {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ozw-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #a5b4fc;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    transition: gap 0.2s, color 0.2s;
}

.ozw-link-arrow:hover {
    color: #c7d2fe;
    gap: 0.55rem;
}

.ozw-link-arrow i { font-size: 0.65rem; }

.ozw-glass-panel {
    border: 1px solid var(--ozw-glass-border);
    border-radius: 1.25rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Hero */
.ozw-hero {
    max-width: 72rem;
    margin: 0 auto;
    padding: 3.5rem 1.25rem 2rem;
}

.ozw-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .ozw-hero-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: 3rem;
        padding-top: 1rem;
    }
}

.ozw-hero-copy h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin: 0;
    color: #f8fafc;
}

.ozw-hero-lead {
    margin: 1.25rem 0 0;
    max-width: 32rem;
    color: #94a3b8;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.ozw-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.ozw-hero-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.ozw-meta-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s;
}

.ozw-meta-link:hover { color: #cbd5e1; }

.ozw-meta-sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero mockup */
.ozw-hero-visual {
    perspective: 1200px;
}

.ozw-hero-mockup {
    position: relative;
    transform-style: preserve-3d;
    animation: ozw-mockup-float 6s ease-in-out infinite;
}

@keyframes ozw-mockup-float {
    0%, 100% { transform: translateY(0) rotateX(2deg) rotateY(-4deg); }
    50% { transform: translateY(-12px) rotateX(4deg) rotateY(-2deg); }
}

.ozw-mockup-glow {
    position: absolute;
    inset: 10% 5%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.35), transparent 65%);
    filter: blur(40px);
    z-index: 0;
}

.ozw-mockup-frame {
    position: relative;
    z-index: 1;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 17, 28, 0.85);
    backdrop-filter: blur(24px);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(129, 140, 248, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transform: rotateX(4deg) rotateY(-6deg);
}

.ozw-mockup-bar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.25);
}

.ozw-mockup-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.ozw-mockup-bar span:first-child { background: #f87171; }
.ozw-mockup-bar span:nth-child(2) { background: #fbbf24; }
.ozw-mockup-bar span:nth-child(3) { background: #4ade80; }

.ozw-mockup-url {
    margin-left: auto;
    font-size: 0.625rem;
    color: #64748b;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
}

.ozw-mockup-body {
    display: flex;
    min-height: 220px;
}

.ozw-mockup-sidebar {
    width: 48px;
    padding: 0.75rem 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.ozw-mockup-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.25);
    color: #a5b4fc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
}

.ozw-mockup-nav-item {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
}

.ozw-mockup-nav-item.active {
    background: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.3);
}

.ozw-mockup-main {
    flex: 1;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.ozw-mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ozw-mockup-title {
    width: 40%;
    height: 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
}

.ozw-mockup-pill {
    width: 20%;
    height: 18px;
    border-radius: 99px;
    background: rgba(34, 211, 238, 0.2);
    border: 1px solid rgba(34, 211, 238, 0.3);
}

.ozw-mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.ozw-mockup-stat {
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ozw-mockup-stat.accent { border-color: rgba(129, 140, 248, 0.25); }
.ozw-mockup-stat.cyan { border-color: rgba(34, 211, 238, 0.25); }

.ozw-stat-val {
    display: block;
    font-size: 0.875rem;
    font-weight: 800;
    color: #e2e8f0;
}

.ozw-stat-lbl {
    display: block;
    height: 4px;
    width: 60%;
    margin-top: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.08);
}

.ozw-mockup-chart {
    height: 64px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.ozw-mockup-chart svg { width: 100%; height: 100%; }

.ozw-chart-line {
    filter: drop-shadow(0 0 4px rgba(129, 140, 248, 0.6));
}

.ozw-mockup-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.ozw-mockup-widget {
    height: 36px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

/* Floating cards */
.ozw-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 17, 28, 0.9);
    backdrop-filter: blur(16px);
    font-size: 0.6875rem;
    font-weight: 600;
    color: #e2e8f0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    z-index: 2;
    animation: ozw-card-float 5s ease-in-out infinite;
}

.ozw-float-card i { color: #a5b4fc; font-size: 0.75rem; }

.ozw-float-card--1 {
    top: 8%;
    right: -4%;
    animation-delay: 0s;
}

.ozw-float-card--2 {
    bottom: 28%;
    left: -8%;
    animation-delay: -1.5s;
}

.ozw-float-card--2 i { color: #22d3ee; }

.ozw-float-card--3 {
    bottom: 8%;
    right: 5%;
    animation-delay: -3s;
}

.ozw-float-card--3 i { color: #fbbf24; }

@keyframes ozw-card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Auth glass card */
.ozw-auth-glass {
    position: relative;
    margin-top: 0;
    max-width: 28rem;
    padding: 1.75rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(24px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(129, 140, 248, 0.08);
}

.ozw-auth-full { width: 100%; }

/* Auth modal */
body.ozw-modal-open { overflow: hidden; }

.ozw-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal, 500);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.ozw-modal[hidden] { display: none; }

.ozw-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 5, 10, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: ozw-modal-fade-in 0.25s ease;
}

.ozw-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 26rem;
    animation: ozw-modal-slide-up 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ozw-modal-panel {
    position: relative;
    overflow: hidden;
}

.ozw-modal-panel.ozw-auth-glass {
    max-width: none;
    margin: 0;
    padding: 2rem 1.75rem 1.75rem;
    border-color: rgba(129, 140, 248, 0.22);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(129, 140, 248, 0.12),
        0 0 60px rgba(99, 102, 241, 0.15);
}

.ozw-modal-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.2), transparent 70%);
    pointer-events: none;
}

.ozw-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ozw-modal-close:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(129, 140, 248, 0.35);
    color: #e2e8f0;
}

@keyframes ozw-modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ozw-modal-slide-up {
    from { opacity: 0; transform: translateY(16px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .ozw-modal-backdrop,
    .ozw-modal-dialog {
        animation: none !important;
    }
}

@media (max-width: 768px) {
    .ozw-modal {
        align-items: flex-end;
        padding: 0;
    }

    .ozw-modal-dialog {
        max-width: none;
        animation: ozw-modal-slide-up 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .ozw-modal-panel.ozw-auth-glass {
        border-radius: 1.25rem 1.25rem 0 0;
        padding: 1.75rem 1.25rem max(1.25rem, env(safe-area-inset-bottom, 0px));
        max-height: min(92dvh, calc(100dvh - env(safe-area-inset-top, 0px)));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.ozw-modal-panel > h2,
.ozw-modal-panel > p,
.ozw-modal-panel > .ozw-auth-actions,
.ozw-modal-panel > .auth-divider,
.ozw-modal-panel > .auth-social-buttons {
    position: relative;
    z-index: 1;
}

.ozw-auth-glass h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: #f1f5f9;
}

.ozw-auth-glass p {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0 0 1.125rem;
    line-height: 1.55;
}

.ozw-auth-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.ozw-auth-glass .auth-divider { margin: 1rem 0 0.875rem; }
.ozw-auth-glass .btn-social { font-size: 0.8125rem; }

/* Intro */
.ozw-intro { padding-top: 1rem; }

.ozw-intro-panel {
    padding: 2rem 2.25rem;
    text-align: center;
}

.ozw-intro-panel p {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #94a3b8;
    margin: 0 0 1rem;
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
}

.ozw-intro-panel p:last-of-type { margin-bottom: 1.25rem; }

/* Features */
.ozw-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.ozw-feature-card {
    position: relative;
    padding: 1.75rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(16px);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.35s,
                box-shadow 0.35s;
}

.ozw-feature-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(129, 140, 248, 0.35);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 0 40px rgba(99, 102, 241, 0.12);
}

.ozw-feature-glow {
    position: absolute;
    bottom: -40%;
    left: 50%;
    width: 120%;
    height: 80%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}

.ozw-feature-card:hover .ozw-feature-glow { opacity: 1; }

.ozw-feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateZ(20px);
}

.ozw-feature-icon.cyan { background: rgba(34, 211, 238, 0.15); color: #22d3ee; box-shadow: 0 8px 24px rgba(34, 211, 238, 0.15); }
.ozw-feature-icon.purple { background: rgba(99, 102, 241, 0.18); color: #a5b4fc; box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2); }
.ozw-feature-icon.amber { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.ozw-feature-icon.green { background: rgba(74, 222, 128, 0.15); color: #4ade80; box-shadow: 0 8px 24px rgba(74, 222, 128, 0.12); }

.ozw-feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.5rem;
}

.ozw-feature-card p {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

/* Security */
.ozw-security-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(74, 222, 128, 0.12);
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.04) 0%, rgba(99, 102, 241, 0.06) 50%, transparent 100%);
    backdrop-filter: blur(20px);
}

@media (min-width: 900px) {
    .ozw-security-grid { grid-template-columns: 1fr 1.1fr; }
}

.ozw-security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
}

.ozw-security-orbit {
    position: relative;
    width: 240px;
    height: 240px;
}

.ozw-security-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.25), rgba(99, 102, 241, 0.25));
    border: 1px solid rgba(74, 222, 128, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #86efac;
    box-shadow: 0 0 48px rgba(74, 222, 128, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 2;
    animation: ozw-core-pulse 3s ease-in-out infinite;
}

@keyframes ozw-core-pulse {
    0%, 100% { box-shadow: 0 0 48px rgba(74, 222, 128, 0.25); }
    50% { box-shadow: 0 0 64px rgba(74, 222, 128, 0.4); }
}

.ozw-security-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(129, 140, 248, 0.25);
    animation: ozw-ring-spin 20s linear infinite;
}

.ozw-security-ring--2 {
    inset: 20px;
    animation-direction: reverse;
    animation-duration: 14s;
}

@keyframes ozw-ring-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ozw-security-node {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(15, 17, 28, 0.95);
    border: 1px solid rgba(129, 140, 248, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
    font-size: 0.875rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.ozw-security-ring--2 .ozw-security-node { color: #22d3ee; border-color: rgba(34, 211, 238, 0.3); }

.ozw-security-badge {
    position: absolute;
    bottom: -8px;
    right: -8px;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    background: rgba(74, 222, 128, 0.2);
    border: 1px solid rgba(74, 222, 128, 0.4);
    color: #86efac;
    font-size: 0.6875rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 3;
}

.ozw-security-copy h2 {
    font-size: clamp(1.35rem, 3vw, 1.875rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.75rem;
    color: #f8fafc;
}

.ozw-security-copy p {
    color: #94a3b8;
    line-height: 1.65;
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
}

.ozw-security-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.ozw-security-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.875rem;
    color: #cbd5e1;
}

.ozw-security-list i { color: #4ade80; font-size: 0.75rem; }

/* Steps */
.ozw-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    .ozw-steps {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        gap: 0;
    }
}

.ozw-step-card {
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.ozw-step-card:hover {
    border-color: rgba(129, 140, 248, 0.3);
    transform: translateY(-4px);
}

.ozw-step-num {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(34, 211, 238, 0.2));
    color: #c7d2fe;
    font-size: 0.8125rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.25);
}

.ozw-step-card h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.4rem;
}

.ozw-step-card p {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.ozw-step-connector {
    display: none;
}

@media (min-width: 768px) {
    .ozw-step-connector {
        display: block;
        width: 2rem;
        align-self: center;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.5), transparent);
        margin: 0 0.25rem;
    }
}

/* Module graph */
.ozw-module-graph {
    position: relative;
    height: 360px;
    max-width: 800px;
    margin: 0 auto;
}

.ozw-module-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ozw-module-line {
    fill: none;
    stroke-width: 2;
    stroke-dasharray: 8 6;
    animation: ozw-line-flow 3s linear infinite;
}

@keyframes ozw-line-flow {
    to { stroke-dashoffset: -28; }
}

.ozw-module-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(129, 140, 248, 0.4);
    background: rgba(15, 17, 28, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 48px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 700;
    color: #e2e8f0;
}

.ozw-module-hub i {
    font-size: 1.5rem;
    color: #a5b4fc;
}

.ozw-module-node {
    position: absolute;
    left: var(--ozw-x);
    top: var(--ozw-y);
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.75rem 1rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 17, 28, 0.9);
    backdrop-filter: blur(12px);
    font-size: 0.6875rem;
    font-weight: 600;
    color: #cbd5e1;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    animation: ozw-node-float 4s ease-in-out infinite;
    z-index: 1;
}

.ozw-module-node:nth-child(odd) { animation-delay: -1s; }
.ozw-module-node:nth-child(even) { animation-delay: -2s; }

.ozw-module-node i {
    font-size: 1rem;
    color: #22d3ee;
}

@keyframes ozw-node-float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-6px); }
}

/* Dashboard preview */
.ozw-dash-preview {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.ozw-dash-preview-glow {
    position: absolute;
    inset: 20% 10%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.3), transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.ozw-dash-window {
    position: relative;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 12, 20, 0.92);
    backdrop-filter: blur(24px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}

.ozw-dash-topbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.3);
}

.ozw-dash-dots {
    display: flex;
    gap: 5px;
}

.ozw-dash-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.ozw-dash-dots span:nth-child(1) { background: #f87171; }
.ozw-dash-dots span:nth-child(2) { background: #fbbf24; }
.ozw-dash-dots span:nth-child(3) { background: #4ade80; }

.ozw-dash-title {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.ozw-dash-layout {
    display: flex;
    min-height: 320px;
}

.ozw-dash-sidebar {
    width: 180px;
    padding: 1rem 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

@media (max-width: 640px) {
    .ozw-dash-sidebar { display: none; }
}

.ozw-dash-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #64748b;
}

.ozw-dash-nav.active {
    background: rgba(99, 102, 241, 0.2);
    color: #c7d2fe;
}

.ozw-dash-nav i { width: 14px; font-size: 0.7rem; }

.ozw-dash-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ozw-dash-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.ozw-dash-kpi {
    padding: 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.ozw-dash-kpi.accent { border-color: rgba(129, 140, 248, 0.25); }
.ozw-dash-kpi.cyan { border-color: rgba(34, 211, 238, 0.25); }

.ozw-kpi-label {
    display: block;
    font-size: 0.625rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.ozw-dash-kpi strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: #f1f5f9;
}

.ozw-dash-panels {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0.75rem;
    flex: 1;
}

@media (max-width: 640px) {
    .ozw-dash-panels { grid-template-columns: 1fr; }
}

.ozw-dash-panel {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    padding: 0.85rem;
}

.ozw-dash-panel-head {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ozw-dash-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 100px;
}

.ozw-dash-bars div {
    flex: 1;
    height: var(--h, 50%);
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #818cf8, rgba(99, 102, 241, 0.3));
    opacity: 0.85;
}

.ozw-dash-feed-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.ozw-dash-feed-item span {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(99, 102, 241, 0.2);
    flex-shrink: 0;
}

.ozw-dash-feed-item div {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
}

/* Module store */
.ozw-module-store { margin-top: 0.5rem; }

.ozw-module-card {
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
    backdrop-filter: blur(16px);
}

.ozw-module-card:hover {
    border-color: rgba(129, 140, 248, 0.4) !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 32px rgba(99, 102, 241, 0.1) !important;
}

.ozw-module-card .web-module-icon i { color: #a5b4fc; }

.ozw-module-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: 1.25rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.9375rem;
}

.ozw-module-empty i {
    display: block;
    font-size: 2.5rem;
    opacity: 0.3;
    margin-bottom: 0.75rem;
}

/* CTA */
.ozw-cta {
    max-width: 72rem;
    margin: 0 auto;
    padding: 2rem 1.25rem 5rem;
}

.ozw-cta-inner {
    position: relative;
    text-align: center;
    padding: 3.5rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(129, 140, 248, 0.25);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(34, 211, 238, 0.06) 50%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.ozw-cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.25), transparent 70%);
    pointer-events: none;
}

.ozw-cta-inner h2 {
    position: relative;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.65rem;
    color: #f8fafc;
}

.ozw-cta-inner p {
    position: relative;
    color: #94a3b8;
    margin: 0 0 1.75rem;
    font-size: 0.9375rem;
}

.ozw-cta-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ozw-gradient-text {
        animation: none !important;
    }

    .ozw-bg-orb,
    .ozw-hero-mockup,
    .ozw-float-card,
    .ozw-module-node,
    .ozw-module-line,
    .ozw-security-ring,
    .ozw-security-core,
    .ozw-badge-dot {
        animation: none !important;
    }

    .ozw-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Landing v2 (legacy classes used on other pages) */
.web-hero-split {
    max-width: 72rem;
    margin: 0 auto;
    padding: 3rem 1.25rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .web-hero-split {
        grid-template-columns: 1.15fr 0.85fr;
        padding: 4rem 1.25rem 3rem;
        gap: 2.5rem;
    }
}

.web-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 99px;
    border: 1px solid rgba(129,140,248,0.25);
    background: rgba(99,102,241,0.1);
    color: #a5b4fc;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.web-hero-split h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.035em;
    margin: 0;
    text-align: left;
}

.web-hero-split .web-hero-accent { color: #818cf8; }

.web-hero-lead {
    margin: 1.125rem 0 0;
    max-width: 32rem;
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.65;
    text-align: left;
}

.web-hero-split .web-hero-actions {
    justify-content: flex-start;
    margin-top: 1.75rem;
}

.web-hero-auth-card {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1rem;
    background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
    padding: 1.5rem 1.375rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25), 0 0 0 1px rgba(129,140,248,0.08);
    backdrop-filter: blur(12px);
}

.web-hero-auth-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
}

.web-hero-auth-sub {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0 0 1.125rem;
    line-height: 1.5;
}

.web-hero-auth-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.web-hero-auth-card .auth-divider {
    margin: 1rem 0 0.875rem;
}

.web-hero-auth-card .btn-social {
    font-size: 0.8125rem;
    padding: 0.5rem 0.875rem;
    min-height: 2.375rem;
}

.web-hero-auth-card .btn-social-icon {
    width: 1rem;
    height: 1rem;
}

.web-features-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.web-feature-v2 {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1rem;
    background: rgba(255,255,255,0.025);
    padding: 1.375rem;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.web-feature-v2:hover {
    border-color: rgba(129,140,248,0.28);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.web-feature-v2-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.875rem;
}

.web-feature-v2-icon.purple { background: rgba(99,102,241,0.14); color: #a5b4fc; }
.web-feature-v2-icon.green { background: rgba(74,222,128,0.12); color: #4ade80; }
.web-feature-v2-icon.blue { background: rgba(14,165,233,0.12); color: #7dd3fc; }
.web-feature-v2-icon.amber { background: rgba(251,191,36,0.12); color: #fbbf24; }

.web-feature-v2 h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.4rem;
}

.web-feature-v2 p {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0;
}

.web-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.web-step {
    display: flex;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.02);
}

.web-step-num {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
    background: rgba(99,102,241,0.15);
    color: #a5b4fc;
}

.web-step-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 0.2rem;
}

.web-step-desc {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

.web-module-card-v2 {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 1rem;
    background: rgba(255,255,255,0.03);
    padding: 1.25rem;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.web-module-card-v2:hover {
    border-color: rgba(129,140,248,0.35);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.web-module-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    margin-bottom: 0.75rem;
}

.web-module-card-v2 .web-module-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.web-module-card-meta { flex: 1; min-width: 0; }

.web-module-card-v2 h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
    line-height: 1.3;
}

.web-module-category {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.web-module-desc {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.web-module-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.875rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.web-cta-band {
    max-width: 72rem;
    margin: 0 auto 3rem;
    padding: 0 1.25rem;
}

.web-cta-inner {
    border-radius: 1rem;
    border: 1px solid rgba(129,140,248,0.25);
    background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(255,255,255,0.02) 60%);
    padding: 2rem 1.75rem;
    text-align: center;
}

.web-cta-inner h2 {
    font-size: 1.375rem;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.web-cta-inner p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0 0 1.25rem;
}

.web-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    justify-content: center;
}

.web-page-hero {
    max-width: 72rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 1rem;
    text-align: center;
}

.web-page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #f1f5f9;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0.75rem 0 0;
}

.web-platform-intro-section {
    padding-top: 0;
}

.web-platform-intro {
    max-width: 48rem;
    margin: 0 auto;
    padding: 1.5rem 1.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}

.web-platform-intro p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #94a3b8;
    margin: 0 0 1rem;
}

.web-platform-intro p:last-child {
    margin-bottom: 0;
}

.web-platform-page {
    max-width: 52rem;
}

.web-feature-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
}

.web-feature-detail {
    padding: 1.35rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    transition: border-color 0.2s;
}

.web-feature-detail:hover {
    border-color: rgba(129,140,248,0.28);
}

.web-feature-detail-wide {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .web-feature-detail-wide {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 1rem 1.25rem;
        align-items: start;
    }

    .web-feature-detail-wide .web-feature-detail-icon {
        margin-bottom: 0;
    }
}

.web-feature-detail-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.875rem;
}

.web-feature-detail-icon.blue { background: rgba(14,165,233,0.12); color: #7dd3fc; }
.web-feature-detail-icon.purple { background: rgba(99,102,241,0.14); color: #a5b4fc; }
.web-feature-detail-icon.amber { background: rgba(251,191,36,0.12); color: #fbbf24; }
.web-feature-detail-icon.green { background: rgba(74,222,128,0.12); color: #4ade80; }
.web-feature-detail-icon.rose { background: rgba(244,114,182,0.12); color: #f9a8d4; }

.web-feature-detail h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.5rem;
}

.web-feature-detail p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0;
}

.web-steps-cards {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.web-step-card {
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    text-align: center;
}

.web-step-card i {
    font-size: 1.5rem;
    color: #a5b4fc;
    margin-bottom: 0.75rem;
    display: block;
}

.web-step-card h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.4rem;
}

.web-step-card p {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

.web-btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.8125rem;
}

.terms-content {
    max-width: 48rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3rem;
    line-height: 1.7;
    color: #cbd5e1;
}

.terms-content h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #f1f5f9;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.terms-content h2, .terms-content h3 {
    color: #e2e8f0;
    margin-top: 1.5rem;
}

/* ── Public extra pages ── */
.web-about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}
.web-about-card {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1rem;
    background: rgba(255,255,255,0.025);
    padding: 1.5rem;
}
.web-about-card-wide { grid-column: 1 / -1; }
.web-about-card h2 { font-size: 1.05rem; margin: 0 0 0.65rem; color: #f1f5f9; }
.web-about-card p { margin: 0; color: #94a3b8; line-height: 1.6; font-size: 0.9rem; }
.web-about-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.web-about-list li { display: flex; align-items: flex-start; gap: 0.5rem; color: #94a3b8; font-size: 0.9rem; }
.web-about-list i { color: #34d399; margin-top: 0.2rem; font-size: 0.75rem; }
.web-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.web-contact-card {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1rem;
    background: rgba(255,255,255,0.025);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.web-contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: rgba(99,102,241,0.15);
    color: #a5b4fc;
    display: flex;
    align-items: center;
    justify-content: center;
}
.web-contact-card h2 { margin: 0; font-size: 1rem; color: #f1f5f9; }
.web-contact-card p { margin: 0; color: #94a3b8; font-size: 0.875rem; line-height: 1.55; flex: 1; }
.web-download-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.web-download-steps .web-step-card { position: relative; padding-top: 2.5rem; }
.web-download-steps .web-step-num {
    position: absolute;
    top: 1rem;
    left: 1rem;
}
.web-footer-brand { display: flex; flex-direction: column; gap: 0.35rem; }
.web-error-page {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.25rem;
}
.web-error-inner { text-align: center; max-width: 28rem; }
.web-error-code {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.web-error-inner h1 { margin: 0.75rem 0 0.5rem; font-size: 1.35rem; }
.web-error-inner p { color: #64748b; margin: 0 0 1.5rem; }
.web-error-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; }

/* ── Terms / legal page ── */
.web-page-hero-compact { padding: 2.5rem 1.25rem 1.5rem; }
.web-page-hero-compact h1 { font-size: clamp(1.5rem, 4vw, 2rem); }
.terms-meta-line { font-size: 0.875rem !important; color: #64748b !important; margin-top: 0.5rem !important; }
.terms-page { max-width: 52rem; margin: 0 auto; padding: 0 1.25rem 3rem; }
.terms-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.terms-toc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.terms-toc-link:hover {
    background: rgba(99,102,241,0.12);
    border-color: rgba(129,140,248,0.35);
    color: #e2e8f0;
}
.terms-prose,
.terms-content {
    line-height: 1.75;
    color: #cbd5e1;
}
.terms-prose h2,
.terms-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 2rem 0 0.75rem;
    padding-top: 0.5rem;
    scroll-margin-top: 5rem;
}
.terms-prose h3,
.terms-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin: 1.25rem 0 0.5rem;
}
.terms-prose p,
.terms-content p { margin: 0 0 0.85rem; }
.terms-prose ul,
.terms-content ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.terms-prose a { color: #818cf8; }
.terms-prose a:hover { color: #a5b4fc; }
.terms-data-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.25rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.75rem;
}
.terms-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}
.terms-data-table th,
.terms-data-table td {
    padding: 0.65rem 0.85rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terms-data-table th {
    background: rgba(255,255,255,0.04);
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.terms-data-table td:first-child { color: #e2e8f0; font-weight: 500; white-space: nowrap; }
.terms-data-table tr:last-child td { border-bottom: none; }
.terms-notice {
    margin-top: 2rem;
    padding: 1.25rem 1.35rem;
    border-color: rgba(129,140,248,0.2);
    background: rgba(99,102,241,0.06);
}
.terms-notice h2 {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    color: #c7d2fe;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.terms-notice p { margin: 0 0 0.5rem; font-size: 0.875rem; color: #94a3b8; }
.terms-notice p:last-child { margin-bottom: 0; }
.terms-notice a { color: #818cf8; }
.terms-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.terms-empty { padding: 2rem; text-align: center; color: #94a3b8; }

/* ==========================================================================
   OZWOR LANDING v4 — Premium polish
   ========================================================================== */

.ozw-hero {
    position: relative;
}

.ozw-hero-aurora {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: min(900px, 120vw);
    height: 420px;
    background:
        radial-gradient(ellipse 60% 50% at 30% 40%, rgba(99, 102, 241, 0.22), transparent 70%),
        radial-gradient(ellipse 50% 45% at 70% 35%, rgba(34, 211, 238, 0.14), transparent 70%),
        radial-gradient(ellipse 40% 40% at 50% 60%, rgba(59, 130, 246, 0.1), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
    animation: ozw-aurora-shift 14s ease-in-out infinite;
}

@keyframes ozw-aurora-shift {
    0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-48%) scale(1.04); }
}

.ozw-hero-grid {
    position: relative;
    z-index: 1;
}

.ozw-feature-card:nth-child(1) { animation: ozw-feature-float 7s ease-in-out infinite; animation-delay: 0s; }
.ozw-feature-card:nth-child(2) { animation: ozw-feature-float 7s ease-in-out infinite; animation-delay: -1.75s; }
.ozw-feature-card:nth-child(3) { animation: ozw-feature-float 7s ease-in-out infinite; animation-delay: -3.5s; }
.ozw-feature-card:nth-child(4) { animation: ozw-feature-float 7s ease-in-out infinite; animation-delay: -5.25s; }

@keyframes ozw-feature-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.ozw-feature-card:hover {
    animation-play-state: paused;
}

.ozw-module-line {
    filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.35));
}

.ozw-module-hub {
    animation: ozw-hub-glow 4s ease-in-out infinite;
}

@keyframes ozw-hub-glow {
    0%, 100% { box-shadow: 0 0 48px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
    50% { box-shadow: 0 0 64px rgba(99, 102, 241, 0.5), 0 0 32px rgba(34, 211, 238, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
}

.ozw-dash-window {
    transform: perspective(1200px) rotateX(2deg);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ozw-dashboard-preview:hover .ozw-dash-window {
    transform: perspective(1200px) rotateX(0deg) translateY(-4px);
}

.ozw-public-page .web-footer-inner {
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    max-width: 76rem;
}

.ozw-cta-inner {
    border: 1px solid rgba(129, 140, 248, 0.28);
}

@media (prefers-reduced-motion: reduce) {
    .ozw-hero-aurora,
    .ozw-feature-card,
    .ozw-module-hub {
        animation: none !important;
    }
}