
        /* --- OCEAN BREEZE ARCHITECTURE ---
           Palette: #DFF7FF (ice) / #7FCDFF (sky) + derived ramp
           #B5E8FF / #55B7F7 / #2D9CE5 / #1E85CC / #176FB0 */
        :root {
            /* Deep Ocean Dark Theme */
            --bg: #04121F;
            --surface: #0B2437;
            --surface-hover: #113049;
            --border: rgba(127, 205, 255, 0.12);

            --text-main: #F2FAFF;
            --text-muted: #8FB6CE;

            /* Ocean Breeze Sky Blues */
            --primary: #2D9CE5;
            --primary-hover: #55B7F7;
            --primary-soft: rgba(127, 205, 255, 0.12);
            --primary-glow: rgba(127, 205, 255, 0.35);

            --accent-gradient: linear-gradient(135deg, #DFF7FF 0%, #7FCDFF 48%, #2D9CE5 100%);
            --btn-gradient: linear-gradient(135deg, #55B7F7 0%, #1E85CC 100%);
            --nav-glass: rgba(6, 26, 43, 0.72);
            --card-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.5);

            --danger: #f43f5e;
            --danger-bg: rgba(244, 63, 94, 0.1);
            --success: #10b981;
            --success-bg: rgba(16, 185, 129, 0.1);
            --warning: #f59e0b;
            --warning-bg: rgba(245, 158, 11, 0.1);

            --radius-sm: 12px;
            --radius-md: 20px;
            --radius-lg: 32px;
            --ease: cubic-bezier(0.23, 1, 0.32, 1);
        }

        [data-theme="light"] {
            --bg: #F2FAFF;
            --surface: #ffffff;
            --surface-hover: #E8F5FC;
            --border: rgba(23, 111, 176, 0.14);

            --text-main: #0C2D45;
            --text-muted: #517993;

            --primary: #1E85CC;
            --primary-hover: #176FB0;
            --primary-soft: rgba(127, 205, 255, 0.22);
            --primary-glow: rgba(127, 205, 255, 0.55);

            --accent-gradient: linear-gradient(135deg, #7FCDFF 0%, #2D9CE5 55%, #176FB0 100%);
            --btn-gradient: linear-gradient(135deg, #4FB2F0 0%, #1E85CC 100%);
            --nav-glass: rgba(255, 255, 255, 0.78);
            --card-shadow: 0 24px 48px -24px rgba(30, 133, 204, 0.25);
        }

        /* --- CUSTOM SCROLLBAR ARCHITECTURE --- */
        ::-webkit-scrollbar {
            width: 10px;
            height: 10px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 10px;
            border: 2px solid var(--bg);
            transition: background 0.3s var(--ease);
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary);
        }
        ::-webkit-scrollbar-corner {
            background: var(--bg);
        }

        * { box-sizing: border-box; }
        
        body { 
            margin: 0; 
            font-family: 'Plus Jakarta Sans', sans-serif; 
            background-color: var(--bg); 
            color: var(--text-main); 
            transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
            -webkit-font-smoothing: antialiased;
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
        }
        
        body::before {
            content: "";
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            z-index: -1;
            background-image:
                radial-gradient(circle at 15% 50%, rgba(127, 205, 255, 0.07), transparent 25vw),
                radial-gradient(circle at 85% 30%, rgba(45, 156, 229, 0.07), transparent 25vw),
                radial-gradient(circle at 88% 92%, rgba(127, 205, 255, 0.12), transparent 32vw);
            pointer-events: none;
        }
        
        @media (max-width: 768px) {
            body::before { position: absolute; }
        }
        
        a { color: inherit; text-decoration: none; }
        h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; margin-top: 0; }
        p { line-height: 1.6; }
        
        svg { display: inline-block; vertical-align: middle; }
        .icon { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }

        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @keyframes modalEnter {
            from { opacity: 0; transform: scale(0.95) translateY(15px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }

        .animate-fade-up { animation: fadeUp 0.8s var(--ease) both; }
        .animate-fade-in { animation: fadeIn 0.8s var(--ease) both; }
        
        /* --- CUSTOM UIVERSE LOADER --- */
        #loader-wrapper {
            position: fixed;
            top: 0; left: 0; width: 100vw; height: 100vh;
            background-color: var(--bg);
            z-index: 999999;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: opacity 0.6s var(--ease), visibility 0.6s;
        }
        .loader-hidden {
            opacity: 0 !important;
            visibility: hidden !important;
        }
        
        .pl { display: block; width: 9.375em; height: 9.375em; } /* Removed heavy drop-shadow */
        .pl__arrows, .pl__ring-rotate, .pl__ring-stroke, .pl__tick {
            animation-duration: 2s;
            animation-timing-function: linear;
            animation-iteration-count: infinite;
            will-change: transform, stroke-dashoffset; /* Hardware acceleration */
        }
        .pl__arrows {
            animation-name: arrows42;
            transform: rotate(45deg);
            transform-origin: 16px 52px;
        }
        .pl__ring-rotate, .pl__ring-stroke { transform-origin: 80px 80px; }
        .pl__ring-rotate { animation-name: ringRotate42; }
        .pl__ring-stroke { animation-name: ringStroke42; transform: rotate(-45deg); }
        .pl__tick { animation-name: tick42; }
        .pl__tick:nth-child(2) { animation-delay: -1.75s; }
        .pl__tick:nth-child(3) { animation-delay: -1.5s; }
        .pl__tick:nth-child(4) { animation-delay: -1.25s; }
        .pl__tick:nth-child(5) { animation-delay: -1s; }
        .pl__tick:nth-child(6) { animation-delay: -0.75s; }
        .pl__tick:nth-child(7) { animation-delay: -0.5s; }
        .pl__tick:nth-child(8) { animation-delay: -0.25s; }
        @keyframes arrows42 { from { transform: rotate(45deg); } to { transform: rotate(405deg); } }
        @keyframes ringRotate42 { from { transform: rotate(0); } to { transform: rotate(720deg); } }
        @keyframes ringStroke42 { from, to { stroke-dashoffset: 452; transform: rotate(-45deg); } 50% { stroke-dashoffset: 169.5; transform: rotate(-180deg); } }
        @keyframes tick42 { from, 3%, 47%, to { stroke-dashoffset: -12; } 14%, 36% { stroke-dashoffset: 0; } }

        .bento-grid > *:nth-child(1) { animation-delay: 0.1s; }
        .bento-grid > *:nth-child(2) { animation-delay: 0.15s; }
        .bento-grid > *:nth-child(3) { animation-delay: 0.2s; }
        .bento-grid > *:nth-child(4) { animation-delay: 0.25s; }
        
        /* Floating Glass Nav */
        .top-nav {
            border-bottom: 1px solid var(--border);
            background: var(--nav-glass);
            backdrop-filter: blur(12px); /* Reduced from 24px for better performance */
            -webkit-backdrop-filter: blur(12px);
            padding: max(16px, env(safe-area-inset-top)) 32px 16px 32px; 
            transform: translateZ(0); /* Force GPU acceleration */
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            position: sticky; 
            top: 0; 
            z-index: 50; 
            transition: all 0.4s var(--ease);
            animation: fadeIn 0.8s var(--ease) both;
        }
        
        .logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; display: flex; align-items: center; }
        .logo span { background: var(--accent-gradient); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .logo-icon { width: 28px; height: 28px; margin-right: 10px; stroke: url(#gradient); stroke-width: 2.5; fill: none; }

        .app-container { max-width: 1100px; margin: 0 auto; padding: 60px 24px; }
        
        /* Ocean Gradient Buttons (Nexora style) */
        .primary-btn {
            background: var(--btn-gradient);
            color: #ffffff;
            border: none;
            padding: 12px 24px;
            border-radius: 14px;
            font-weight: 600;
            font-family: 'Plus Jakarta Sans', sans-serif;
            cursor: pointer;
            transition: all 0.3s var(--ease);
            font-size: 0.95rem;
            box-shadow: 0 8px 20px -8px var(--primary-glow);
        }
        .primary-btn:hover {
            filter: brightness(1.08);
            transform: translateY(-2px);
            box-shadow: 0 12px 28px -8px var(--primary-glow);
        }
        .primary-btn:active { transform: translateY(0) scale(0.98); }
        .primary-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
        
        .secondary-btn { 
            background: transparent; 
            color: var(--text-main); 
            border: 1px solid var(--border); 
            padding: 12px 24px; 
            border-radius: var(--radius-sm); 
            font-weight: 600; 
            font-family: 'Plus Jakarta Sans', sans-serif; 
            cursor: pointer; 
            transition: all 0.3s var(--ease); 
            font-size: 0.95rem; 
        }
        .secondary-btn:hover { 
            background: var(--surface-hover); 
            border-color: var(--text-muted); 
            transform: translateY(-2px); 
        }
        .secondary-btn:active { transform: translateY(0) scale(0.98); }

        .whatsapp-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: #10b981;
            color: #ffffff !important;
            padding: 12px 24px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s var(--ease);
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
        }
        .whatsapp-btn:hover {
            transform: translateY(-2px);
            background: #059669;
            box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
        }

        .bento-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
        
        .bento-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            box-shadow: var(--card-shadow);
            padding: 32px;
            text-align: left; 
            transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease); 
            display: flex;
            flex-direction: column;
            animation: fadeUp 0.8s var(--ease) both;
            position: relative;
            will-change: transform, box-shadow; /* Prevent animation stutter */
        }
        button.bento-card { cursor: pointer; color: inherit; width: 100%; }
        button.bento-card:hover { 
            background: var(--surface-hover); 
            border-color: var(--primary); 
            transform: translateY(-6px); 
            box-shadow: 0 15px 35px -10px var(--primary-glow);
        }
        
        .brand-icon {
            width: 52px; height: 52px;
            background: var(--surface-hover);
            border: 1px solid var(--border);
            border-radius: 14px;
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 24px;
            color: var(--text-main);
            transition: all 0.3s var(--ease);
        }
        button.bento-card:hover .brand-icon {
            background: var(--primary-soft);
            color: var(--primary);
            border-color: var(--primary-glow);
        }

        .badge { padding: 6px 12px; border-radius: 8px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid transparent; }
        .badge.approved, .badge.success { background: var(--success-bg); color: var(--success); border-color: rgba(16, 185, 129, 0.2); }
        .badge.pending, .badge.warning { background: var(--warning-bg); color: var(--warning); border-color: rgba(245, 158, 11, 0.2); }
        .badge.error { background: var(--danger-bg); color: var(--danger); border-color: rgba(244, 63, 94, 0.2); }

        /* --- TABLE STYLES --- */
        table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.95rem; font-weight: 500; }
        th { padding: 16px 24px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); border-bottom: 1px solid var(--border); font-size: 0.8rem; }
        td { padding: 20px 24px; border-bottom: 1px solid var(--border); vertical-align: middle; transition: background 0.3s var(--ease); }
        tr:last-child td { border-bottom: none; }
        tr { transition: all 0.3s var(--ease); }
        tr:hover td { background: var(--surface-hover); }

        .form-group { margin-bottom: 20px; text-align: left; }
        
        input, select, textarea { 
            width: 100%; 
            padding: 16px; 
            background: var(--bg); 
            border: 1px solid var(--border); 
            color: var(--text-main); 
            border-radius: var(--radius-sm); 
            font-family: 'Plus Jakarta Sans', sans-serif; 
            font-size: 1rem; 
            transition: all 0.3s var(--ease); 
        }
        input:focus, select:focus, textarea:focus { 
            outline: none; 
            border-color: var(--primary); 
            box-shadow: 0 0 0 4px var(--primary-soft); 
        }

        /* --- THE LUXURY PLACEHOLDER OVERRIDE --- */
        input::placeholder, textarea::placeholder {
            font-family: 'Instrument Serif', serif;
            font-style: italic;
            font-size: 1.15rem;
            letter-spacing: 0.02em;
            opacity: 0.7;
        }
        
        /* Toggle Password Button */
        .form-group { position: relative; }
        .form-group .toggle-password {
            position: absolute;
            right: 12px;
            bottom: 8px;
            width: 36px;
            height: 36px;
            background: var(--surface-hover);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            color: var(--text-muted);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s var(--ease);
            z-index: 10;
        }
        .form-group .toggle-password:hover {
            background: var(--primary-soft);
            border-color: var(--primary);
            color: var(--primary);
        }
        .form-group .toggle-password:focus-visible {
            outline: none;
            box-shadow: 0 0 0 3px var(--primary-soft);
        }
        .form-group .toggle-password svg {
            width: 20px;
            height: 20px;
            stroke: currentColor;
        }
        .form-group .toggle-password svg {
            width: 20px;
            height: 20px;
            stroke: currentColor;
        }
        
        /* Password Strength Meter */
        .password-strength { width: 100%; }
        .strength-bar { border-radius: 2px; }
        .strength-text { transition: color 0.3s var(--ease); }
        
        .modern-dialog { 
            background: var(--surface); 
            color: var(--text-main); 
            border: 1px solid var(--border); 
            border-radius: var(--radius-lg); 
            padding: 40px; 
            max-width: 500px; 
            width: 100%; 
            margin: auto;
            max-height: 85vh;
            overflow-y: auto;
            box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
        }
        dialog[open] { animation: modalEnter 0.5s var(--ease) forwards; }
        .modern-dialog::backdrop { background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); animation: fadeIn 0.4s var(--ease) forwards; }
        
        .dialog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
        .dialog-header h2 { margin: 0; font-size: 1.75rem; font-weight: 700; }
        .close-btn { background: var(--surface-hover); border: 1px solid var(--border); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); cursor: pointer; transition: all 0.3s var(--ease); }
        .close-btn:hover { background: var(--danger-bg); color: var(--danger); border-color: var(--danger); transform: rotate(90deg); }

        .credential-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; margin-top: 20px; transition: border-color 0.3s var(--ease); }
        .credential-box:hover { border-color: var(--primary); box-shadow: 0 0 15px var(--primary-soft); }
        .secure-text { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 1.1rem; color: var(--primary); font-weight: 600; word-break: break-all; }
        .credential-display { position: relative; display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
        .credential-display .secure-text { flex: 1 1 200px; min-width: 0; padding-right: 90px; }
        .copy-btn { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--surface-hover); border: 1px solid var(--border); border-radius: 8px; color: var(--text-main); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.2s var(--ease); }
        .copy-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
        .copy-btn.copied { border-color: var(--success); color: var(--success); }
        .copy-btn .icon { width: 14px; height: 14px; }

        /* ---- SCREENSHOT-BLOCKING LAYER ---- */
        .secured-cred {
            position: relative;
            user-select: none;
            -webkit-user-select: none;
            -ms-user-select: none;
            cursor: pointer;
            transition: filter 0.4s ease;
            filter: blur(8px) saturate(0.4);
        }
        .secured-cred.revealed { filter: none; }
        .secured-cred::selection { background: transparent; color: inherit; }
        .secured-cred::-moz-selection { background: transparent; color: inherit; }
        .secured-watermark {
            position: absolute; inset: 0;
            pointer-events: none;
            background-image: repeating-linear-gradient(
                -30deg,
                transparent 0,
                transparent 60px,
                rgba(143, 182, 206, 0.08) 60px,
                rgba(143, 182, 206, 0.08) 120px
            );
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 0.65rem;
            color: rgba(143, 182, 206, 0.35);
            letter-spacing: 0.3em;
            text-transform: uppercase;
            display: flex;
            align-items: center;
            justify-content: center;
            word-break: break-all;
            padding: 4px 12px;
            text-align: center;
        }
        .secured-tap-hint {
            position: absolute; inset: 0;
            display: flex; align-items: center; justify-content: center;
            font-size: 0.85rem; font-weight: 600;
            color: var(--text-main);
            background: rgba(4, 18, 31, 0.55);
            backdrop-filter: blur(2px);
            border-radius: 6px;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.2s;
        }
        .secured-cred:not(.revealed) .secured-tap-hint { opacity: 1; }
        .secured-cred.no-print { /* print blocker below */ }
        @media print {
            .secured-cred, .secured-cred * { display: none !important; }
            .secured-cred::after {
                content: "This credential is protected. Reveal it only from your live dashboard session.";
                display: block !important;
                padding: 24px;
                border: 2px dashed #8FB6CE;
                color: #10344F;
                font-family: serif;
                font-size: 14px;
            }
        }
        /* Right-click/contextmenu blocked dynamically via JS, but we soften it visually too */
        .no-context { -webkit-touch-callout: none; }
        .secured-meta {
            display: flex; align-items: center; gap: 8px;
            font-size: 0.72rem; color: var(--text-muted);
            margin-top: 8px; font-family: 'Plus Jakarta Sans', sans-serif;
        }
        .secured-meta .dot {
            width: 6px; height: 6px; border-radius: 50%;
            background: var(--success);
            box-shadow: 0 0 8px var(--success);
        }
        .secured-meta.countdown { color: var(--warning); }
        .secured-meta.countdown .dot { background: var(--warning); box-shadow: 0 0 8px var(--warning); }
        .pull-indicator { position: fixed; top: 0; left: 50%; transform: translate(-50%, -100%); width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; z-index: 9998; transition: transform 0.25s var(--ease); box-shadow: 0 6px 18px rgba(0,0,0,0.25); pointer-events: none; }
        .pull-indicator svg { width: 22px; height: 22px; color: var(--primary); transition: transform 0.25s var(--ease); }
        .pull-indicator.visible { transform: translate(-50%, 16px); }
        .pull-indicator.refreshing svg { animation: pullSpin 0.9s linear infinite; }
        @keyframes pullSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
        body.pull-noselect { user-select: none; -webkit-user-select: none; }
        .btn-spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%; animation: btnSpin 0.7s linear infinite; vertical-align: -2px; }
        @keyframes btnSpin { to { transform: rotate(360deg); } }
        .primary-btn.loading { pointer-events: none; opacity: 0.85; }
        .primary-btn.loading .btn-label { opacity: 0.6; }
        .primary-btn.loading .btn-spinner-wrap { margin-left: 8px; display: inline-flex; vertical-align: middle; }
        
        .step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-top: 40px; }
        .step-card { 
            padding: 40px 32px; 
            background: linear-gradient(160deg, var(--surface) 0%, rgba(255,255,255,0.01) 100%);
            border: 1px solid var(--border); 
            border-radius: var(--radius-md); 
            text-align: center; 
            transition: all 0.4s var(--ease);
        }
        .step-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: 0 15px 35px -10px var(--primary-glow); }
        .step-icon { width: 56px; height: 56px; background: var(--primary-soft); color: var(--primary); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px auto; font-size: 1.5rem; font-weight: 800; transform: rotate(-5deg); transition: transform 0.3s var(--ease); }
        .step-card:hover .step-icon { transform: rotate(0deg) scale(1.1); box-shadow: 0 0 20px var(--primary-glow); }

        /* Suggestions Pills Styling */
        .suggestion-pill {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text-main);
            padding: 8px 16px;
            border-radius: 999px;
            font-size: 0.95rem;
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-weight: 500;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s var(--ease);
        }
        .suggestion-pill:hover {
            border-color: var(--primary-glow);
            background: var(--surface-hover);
        }
        .suggestion-pill.active {
            background: #10b981; 
            color: #ffffff;
            border-color: #10b981;
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
        }
        .pill-count {
            background: rgba(255, 255, 255, 0.1);
            color: inherit;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: 700;
        }
        .suggestion-pill.active .pill-count {
            background: rgba(255, 255, 255, 0.3);
        }
        .add-new-pill {
            border-style: dashed;
            color: var(--primary);
        }
        .add-new-pill:hover {
            background: var(--primary-soft);
        }

        .faq-section { max-width: 800px; margin: 0 auto; }
        .faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 16px; overflow: hidden; transition: all 0.3s var(--ease); }
        .faq-item:hover { border-color: var(--primary-glow); }
        .faq-question { padding: 20px 24px; font-weight: 600; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--text-main); user-select: none; }
        .faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding 0.4s var(--ease); color: var(--text-muted); line-height: 1.6; }
        .faq-item.active { border-color: var(--primary); box-shadow: 0 4px 20px var(--primary-soft); }
        .faq-item.active .faq-answer { padding: 0 24px 24px 24px; max-height: 300px; }
        .faq-item.active .faq-icon { transform: rotate(45deg); color: var(--primary); }
        .faq-icon { transition: transform 0.3s var(--ease), color 0.3s var(--ease); }

        .days-left { font-size: 0.95rem; font-weight: 700; }
        .days-left-success { color: var(--success); }
        .days-left-warning { color: var(--warning); }
        .days-left-danger { color: var(--danger); }

        .availability { font-size: 0.9rem; font-weight: 700; transition: color 0.2s; }
        .availability-on { color: var(--primary); }
        .availability-off { color: var(--text-muted); }

        .footer-container { border-top: 1px solid var(--border); background: var(--surface); padding: 60px 24px; margin-top: 80px; }
        .footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
        .footer-column h4 { font-size: 1.1rem; margin-bottom: 20px; color: var(--text-main); font-weight: 700; }
        .footer-column a { display: block; color: var(--text-muted); font-size: 0.95rem; margin-bottom: 12px; transition: color 0.2s; font-weight: 500; }
        .footer-column a:hover { color: var(--primary); }

        .text-gradient {
            background: var(--accent-gradient);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* --- NEXORA-STYLE HERO ACCENTS --- */
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 8px 18px 8px 10px;
            border-radius: 999px;
            background: var(--primary-soft);
            border: 1px solid var(--border);
            color: var(--text-main);
            font-size: 0.88rem;
            font-weight: 600;
            margin-bottom: 28px;
            letter-spacing: 0.01em;
        }
        .hero-badge .hero-badge-chip {
            background: var(--btn-gradient);
            color: #ffffff;
            border-radius: 999px;
            padding: 3px 12px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }
        .hero-checks {
            display: flex;
            justify-content: center;
            gap: 28px;
            flex-wrap: wrap;
            margin-top: 28px;
            color: var(--text-muted);
            font-size: 0.92rem;
            font-weight: 500;
        }
        .hero-checks span {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .hero-checks .icon {
            width: 18px;
            height: 18px;
            color: var(--primary);
            background: var(--primary-soft);
            border-radius: 50%;
            padding: 3px;
        }

        /* Inline SVG definition for gradient strokes */
        .svg-defs { width: 0; height: 0; position: absolute; }

        /* --- THEME TOGGLE --- */
        .theme-toggle {
            position: relative;
            width: 44px;
            height: 44px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 50%;
            color: var(--text-main);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            transition: all 0.3s var(--ease);
            overflow: hidden;
        }
        .theme-toggle:hover {
            border-color: var(--primary);
            transform: scale(1.05);
            box-shadow: 0 0 20px var(--primary-glow);
        }
        .theme-toggle .sun-icon,
        .theme-toggle .moon-icon {
            position: absolute;
            width: 22px;
            height: 22px;
            transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
        }
        [data-theme="dark"] .theme-toggle .sun-icon {
            opacity: 0;
            transform: translateY(40px) rotate(90deg);
        }
        [data-theme="dark"] .theme-toggle .moon-icon {
            opacity: 1;
            transform: translateY(0) rotate(0deg);
        }
        [data-theme="light"] .theme-toggle .sun-icon {
            opacity: 1;
            transform: translateY(0) rotate(0deg);
        }
        [data-theme="light"] .theme-toggle .moon-icon {
            opacity: 0;
            transform: translateY(-40px) rotate(-90deg);
        }

        /* --- MOBILE OPTIMIZATIONS --- */
        @media (max-width: 768px) {
            .top-nav { flex-direction: column !important; padding: max(12px, env(safe-area-inset-top)) 16px 16px 16px !important; gap: 16px !important; }
            .top-nav > div:last-child { width: 100% !important; justify-content: center !important; flex-wrap: wrap !important; gap: 10px !important; }
            header h1 { font-size: 3rem !important; margin-bottom: 16px !important; letter-spacing: -0.02em !important; text-shadow: 0 0 40px rgba(85, 183, 247, 0.3), 0 0 80px rgba(85, 183, 247, 0.1) !important; }
            header p { font-size: 1.05rem !important; }
            .app-container { padding: 40px 16px; }
            .bento-grid { grid-template-columns: 1fr; }
            .bento-card { padding: 24px; }
            .modern-dialog { padding: 24px; width: calc(100% - 32px); margin: 16px auto; }
            .dialog-header h2 { font-size: 1.3rem; }
            .step-grid { grid-template-columns: 1fr; }
            .footer-inner { flex-direction: column; gap: 40px; }
            #flash-container { right: 16px; left: 16px; top: 100px; }
            .toast-message { width: 100%; box-sizing: border-box; }
            .notif-panel { position: fixed !important; top: 70px !important; right: 16px !important; left: 16px !important; width: auto !important; max-width: none !important; }
            .loyalty-badge { font-size: 0.78rem !important; padding: 4px 10px !important; gap: 6px !important; display: inline-flex !important; align-items: center !important; }
            .streak-badge { font-size: 0.78rem !important; padding: 4px 10px !important; display: inline-flex !important; align-items: center !important; gap: 6px !important; }
            .shortcut-menu { position: fixed !important; top: 110px !important; right: 16px !important; left: 16px !important; width: auto !important; min-width: 0 !important; max-width: none !important; }
        }

        /* --- SMALL MOBILE (Γëñ 480px) --- */
        @media (max-width: 480px) {
            .top-nav > div:last-child { gap: 6px; }
            .top-nav > div:last-child .primary-btn,
            .top-nav > div:last-child .secondary-btn { padding: 6px 10px !important; font-size: 0.82rem !important; }
            .loyalty-badge, .streak-badge { font-size: 0.72rem !important; padding: 3px 8px !important; }
            .notif-btn { padding: 6px !important; }
            header h1 { font-size: 2.4rem !important; line-height: 1.05 !important; }
            .bento-card { padding: 20px 16px; }
            .modern-dialog { padding: 20px 16px; }
            .dialog-header h2 { font-size: 1.15rem; }
            .footer-inner { gap: 32px; }
        }

        /* --- Notification center & loyalty badge --- */
        .loyalty-badge, .streak-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            border-radius: 999px;
            font-size: 0.82rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            white-space: nowrap;
        }

        .notif-wrap { position: relative; list-style: none; }
        .notif-wrap > summary::-webkit-details-marker { display: none; }
        .notif-wrap > summary { list-style: none; cursor: pointer; user-select: none; display: inline-flex; align-items: center; justify-content: center; padding: 8px; border-radius: 12px; border: none; background: transparent; color: var(--text-main); transition: background 0.2s; }
        .notif-wrap > summary:hover { background: var(--surface-hover); }
        .notif-btn { position: relative; }
        .notif-dot {
            position: absolute;
            top: 2px;
            right: 2px;
            min-width: 18px;
            height: 18px;
            border-radius: 999px;
            background: #ef4444;
            color: #fff;
            font-size: 0.7rem;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 5px;
            border: 2px solid var(--bg-main);
            box-sizing: border-box;
        }
        .notif-panel {
            display: none;
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            width: 360px;
            max-width: calc(100vw - 32px);
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 16px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.5);
            z-index: 9999;
            overflow: hidden;
        }
        /* When <details> is open, show the panel as a sibling of <summary> */
        .notif-wrap[open] > .notif-panel { display: block; }
        .notif-head {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 14px 16px;
            border-bottom: 1px solid var(--border);
            background: var(--surface-hover);
        }
        .notif-head strong { font-size: 0.95rem; }
        .notif-clear {
            background: transparent;
            border: none;
            color: var(--primary);
            font-size: 0.82rem;
            font-weight: 600;
            cursor: pointer;
        }
        .notif-list {
            max-height: 380px;
            overflow-y: auto;
        }
        .notif-item {
            padding: 14px 16px;
            border-bottom: 1px solid var(--border);
            cursor: pointer;
            transition: background 0.15s ease;
        }
        .notif-item:hover { background: var(--surface-hover); }
        .notif-item:last-child { border-bottom: none; }
        .notif-item.unread { background: rgba(45, 156, 229, 0.06); }
        .notif-title {
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 4px;
            color: var(--text-main);
        }
        .notif-body { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }
        .notif-meta { font-size: 0.72rem; color: var(--text-muted); margin-top: 6px; opacity: 0.75; }
        .notif-kind {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 999px;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 6px;
        }
        .notif-kind.subscription { background: rgba(16, 185, 129, 0.15); color: #10b981; }
        .notif-kind.admin_broadcast { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
        .notif-kind.system { background: rgba(45, 156, 229, 0.15); color: #2D9CE5; }
        .notif-empty { padding: 32px 16px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
        @media (max-width: 768px) {
            .notif-panel { right: -16px; width: calc(100vw - 32px); }
        }
    

                .catalog-tag-pill:hover { border-color: var(--primary); color: var(--text-main); }
                .catalog-tag-pill.active { border-color: var(--primary) !important; background: rgba(45, 156, 229,0.1) !important; color: var(--primary) !important; }
                @media (max-width: 640px) {
                    .catalog-toolbar { flex-direction: column; }
                    .search-wrap { flex: 1 1 100%; }
                }
            

        /* ============================================================
           DESIGN SYSTEM 2.0 — Ocean Breeze overhaul layer
           Typography · motion · micro-interactions · mobile experience
           ============================================================ */

        /* --- Type system: Space Grotesk display / Plus Jakarta Sans UI --- */
        h1, h2, h3, h4, h5, h6, .logo, .dialog-header h2 {
            font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
        }
        h1, h2 { letter-spacing: -0.035em; }
        .logo { letter-spacing: -0.03em; }
        .secure-text { font-family: 'JetBrains Mono', ui-monospace, monospace; }
        ::selection { background: rgba(127, 205, 255, 0.35); }

        /* Paint fallback so the logo mark renders even without #gradient defs */
        .logo-icon { stroke: url(#gradient) #7FCDFF; }

        /* --- Focus & interaction quality --- */
        :focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
        * { -webkit-tap-highlight-color: transparent; }
        html { scroll-behavior: smooth; }
        section[id] { scroll-margin-top: 96px; }

        /* Cross-page fade — progressive enhancement (View Transitions API) */
        @view-transition { navigation: auto; }
        ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.22s; }

        /* --- Gradient buttons: shine sweep micro-interaction --- */
        .primary-btn, .whatsapp-btn {
            position: relative;
            overflow: hidden;
        }
        .primary-btn::after, .whatsapp-btn::after {
            content: "";
            position: absolute;
            top: 0; left: -85%;
            width: 55%; height: 100%;
            background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
            transform: skewX(-20deg);
            transition: left 0.65s var(--ease);
            pointer-events: none;
        }
        .primary-btn:hover::after, .whatsapp-btn:hover::after { left: 130%; }

        /* Modern conic button spinner */
        .btn-spinner {
            border: 0;
            width: 15px; height: 15px;
            background: conic-gradient(from 0deg, transparent 0deg 50deg, currentColor 360deg);
            -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
                    mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
        }

        /* --- Cards: gradient edge reveal + icon lift --- */
        .bento-card { overflow: hidden; }
        .bento-card::before {
            content: "";
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: var(--accent-gradient);
            opacity: 0;
            transition: opacity 0.4s var(--ease);
            pointer-events: none;
        }
        .bento-card:hover::before { opacity: 1; }
        button.bento-card:hover .brand-icon { transform: translateY(-4px) rotate(-4deg); }
        .brand-icon { transition: all 0.35s var(--ease); }
        .step-card:hover { background: var(--surface); }
        .bento-grid > *:nth-child(5) { animation-delay: 0.3s; }
        .bento-grid > *:nth-child(6) { animation-delay: 0.35s; }
        .bento-grid > *:nth-child(7) { animation-delay: 0.4s; }
        .bento-grid > *:nth-child(8) { animation-delay: 0.45s; }

        /* --- Scroll reveal (class added only when IntersectionObserver exists) --- */
        .will-reveal {
            opacity: 0;
            transform: translateY(22px);
        }
        .will-reveal.revealed {
            opacity: 1;
            transform: none;
            transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
        }
        .will-reveal.revealed:nth-child(2) { transition-delay: 0.08s; }
        .will-reveal.revealed:nth-child(3) { transition-delay: 0.16s; }
        .will-reveal.revealed:nth-child(4) { transition-delay: 0.24s; }

        /* --- Footer: gradient hairline divider --- */
        .footer-container {
            border-top: none;
            position: relative;
        }
        .footer-container::before {
            content: "";
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(127, 205, 255, 0.5), transparent);
        }

        /* --- Nav polish --- */
        .top-nav { backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }

        /* ============================================================
           MOBILE EXPERIENCE 2.0 — iPhone & Android
           ============================================================ */

        /* App-style nav: logo row + horizontally scrollable action chips */
        @media (max-width: 768px) {
            .top-nav {
                flex-direction: column !important;
                gap: 10px !important;
                padding: max(12px, env(safe-area-inset-top)) 0 0 0 !important;
            }
            .top-nav .logo { padding: 0 16px; align-self: flex-start; }
            .top-nav > div:last-child,
            .top-nav .nav-actions {
                width: 100% !important;
                justify-content: flex-start !important;
                flex-wrap: wrap !important;
                gap: 10px 8px !important;
                padding: 2px 16px 14px 16px;
            }
            /* keep the top row clear for the absolutely-positioned avatar */
            .top-nav .logo { padding-right: 72px; }
            /* dropdowns open right below the nav, whatever height it wraps to */
            .notif-panel { top: calc(100% + 8px) !important; }
            .shortcut-menu { top: calc(100% + 8px) !important; }
            .app-container > header { margin-top: 24px !important; margin-bottom: 64px !important; }
            header h1 { font-size: clamp(2.6rem, 10vw, 3.4rem) !important; }
            .hero-badge { font-size: 0.8rem; margin-bottom: 20px; }
            .hero-checks { gap: 12px 20px; font-size: 0.88rem; }
        }

        @media (max-width: 480px) {
            header h1 { font-size: clamp(2.1rem, 11vw, 2.6rem) !important; }
            .hero-checks { flex-direction: column; align-items: center; gap: 10px; }
        }

        /* Bottom-sheet dialogs on phones */
        @media (max-width: 640px) {
            .modern-dialog {
                margin: auto auto 0 auto;
                width: 100%;
                max-width: 100%;
                border-radius: 24px 24px 0 0;
                border-bottom: none;
                padding: 20px 20px max(28px, env(safe-area-inset-bottom)) 20px;
                max-height: 88vh;
            }
            dialog.modern-dialog[open] { animation: sheetUp 0.45s var(--ease) forwards; }
            .modern-dialog::before {
                content: "";
                display: block;
                width: 44px; height: 5px;
                border-radius: 999px;
                background: var(--border);
                margin: 0 auto 18px auto;
            }
        }
        @keyframes sheetUp {
            from { opacity: 0; transform: translateY(48px); }
            to { opacity: 1; transform: none; }
        }

        /* Comfortable touch targets on touch devices */
        @media (pointer: coarse) {
            .primary-btn, .secondary-btn, .whatsapp-btn, .suggestion-pill { min-height: 44px; }
            .theme-toggle, .close-btn { min-width: 44px; min-height: 44px; }
        }

        /* --- Accessibility: respect reduced motion --- */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
            html { scroll-behavior: auto; }
        }

        /* Hide pull-to-refresh indicator shadow while it is parked off-screen */
        .pull-indicator:not(.visible) { box-shadow: none; }

        /* Link-styled buttons center their label (needed once touch min-heights apply) */
        a.primary-btn, a.secondary-btn {
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
        }

        /* Mobile nav: profile avatar lives in the top row (logo left, avatar right);
           action buttons come before informational badges in the chip row */
        @media (max-width: 768px) {
            .top-nav #user-button {
                position: absolute;
                top: max(10px, env(safe-area-inset-top));
                right: 16px;
                z-index: 6;
            }
            .top-nav .nav-actions > .primary-btn { order: -4; }
            .top-nav .nav-actions > .secondary-btn,
            .top-nav .nav-actions > .nav-shortcuts { order: -3; }
            .top-nav .nav-actions > .notif-wrap { order: -2; }
        }
