
        /* --- FORGED ARCHITECTURE ---
           Industrial dark palette: #0a0a0a (void) / #2D9CE5 (electric-blue) + silver ramp */
        :root {
            /* Void Dark Theme */
            --bg: #0a0a0a;
            --bg-darker: #050505;
            --surface: #141414;
            --surface-hover: #1a1a1a;
            --border: #1f1f1f;
            --border-light: #2a2a2a;

            --text-main: #f5f5f5;
            --text-dim: #c0c0c0;
            --text-muted: #6a6a6a;

            /* Electric Blue Accent */
            --primary: #2D9CE5;
            --primary-hover: #55B7F7;
            --primary-dim: #1E85CC;
            --primary-soft: rgba(45, 156, 229, 0.14);
            --primary-glow: rgba(45, 156, 229, 0.45);

            --accent-gradient: linear-gradient(135deg, #7FCDFF 0%, #2D9CE5 50%, #1E85CC 100%);
            --btn-gradient: linear-gradient(135deg, #55B7F7 0%, #2D9CE5 100%);
            --nav-glass: rgba(10, 10, 10, 0.85);
            --card-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);

            --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);

            /* Silver accents */
            --silver: #C8C8C8;
            --silver-dim: #5a5a5a;

            --radius-sm: 4px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --ease: cubic-bezier(0.22, 1, 0.36, 1);
        }

        [data-theme="light"] {
            --bg: #f5f5f0;
            --bg-darker: #ebeae4;
            --surface: #ffffff;
            --surface-hover: #f0f0ec;
            --border: #d9d9d4;
            --border-light: #e5e5e0;

            --text-main: #1a1a1a;
            --text-dim: #404040;
            --text-muted: #7a7a7a;

            --primary: #1E85CC;
            --primary-hover: #176FB0;
            --primary-dim: #135E95;
            --primary-soft: rgba(30, 133, 204, 0.12);
            --primary-glow: rgba(30, 133, 204, 0.3);

            --accent-gradient: linear-gradient(135deg, #55B7F7 0%, #1E85CC 50%, #135E95 100%);
            --btn-gradient: linear-gradient(135deg, #4FB2F0 0%, #1E85CC 100%);
            --nav-glass: rgba(245, 245, 240, 0.85);
            --card-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.12);

            --danger: #ef4444;
            --danger-bg: rgba(239, 68, 68, 0.1);
            --success: #10b981;
            --success-bg: rgba(16, 185, 129, 0.1);
            --warning: #f59e0b;
            --warning-bg: rgba(245, 158, 11, 0.1);

            --silver: #7a7a7a;
            --silver-dim: #404040;
        }

        /* While the theme is being switched, skip transitions entirely so the
   flip renders in one frame instead of animating every row and card. */
[data-theme-switching] *,
[data-theme-switching] *::before,
[data-theme-switching] *::after {
    transition: none !important;
}

/* --- CUSTOM SCROLLBAR ARCHITECTURE --- */
        /* --- SCROLLBAR: slim + auto-hiding ---
   Idle: invisible. Scrolling: neutral grey. Hover/drag: brand blue.
   [data-scrolling] is toggled by static/scrollbar-behavior.js. */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: transparent; border-radius: 4px; }
[data-scrolling] ::-webkit-scrollbar-thumb { background: rgba(128, 128, 128, 0.45); }
::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active { background: var(--primary); }
html { scrollbar-width: thin; scrollbar-color: transparent transparent; }
html[data-scrolling] { scrollbar-color: rgba(128, 128, 128, 0.45) transparent; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
        ::-webkit-scrollbar-corner { background: var(--bg-darker); }

        * { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        /* clip (not hidden) so off-canvas sidebars and the marquee never widen
           the document, while position:sticky keeps working */
        html, body { overflow-x: clip; }
        @supports not (overflow: clip) { html, body { overflow-x: hidden; } }

        body {
            margin: 0;
            font-family: 'Archivo', 'Plus Jakarta Sans', sans-serif;
            background-color: var(--bg);
            color: var(--text-main);
            -webkit-font-smoothing: antialiased;
            min-height: 100vh;
            position: relative;
            transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
        }

        /* Background texture: subtle noise + accent radials */
        body::before {
            content: "";
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            z-index: -1;
            pointer-events: none;
            background-image:
                radial-gradient(circle at 20% 30%, rgba(45, 156, 229, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(90, 90, 90, 0.04) 0%, transparent 40%);
        }
        @media (max-width: 768px) { body::before { position: absolute; } }

        /* --- GRAIN OVERLAY --- */
        .grain {
            position: fixed;
            inset: -10%;
            pointer-events: none;
            z-index: 200;
            opacity: 0.06;
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='250' height='250'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
            mix-blend-mode: overlay;
            will-change: transform;
        }
        [data-theme="light"] .grain { opacity: 0.03; }

        /* --- SECTION MARKER --- */
        .section-marker {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            letter-spacing: 0.2em;
            color: var(--primary);
            text-transform: uppercase;
        }
        .section-marker::before {
            content: '';
            width: 32px;
            height: 1px;
            background: var(--primary);
        }

        /* --- TEXT STROKE ---
           Uses the bright silver ramp so outlined headlines stay legible on
           the near-black background (and dark silver on the light theme). */
        .text-stroke {
            -webkit-text-stroke: 2px var(--silver);
            color: transparent;
        }
        .text-stroke-accent {
            -webkit-text-stroke: 2px var(--primary);
            color: transparent;
        }
        @supports not (-webkit-text-stroke: 1px #fff) {
            .text-stroke { color: var(--silver); }
            .text-stroke-accent { color: var(--primary); }
        }

        /* --- NOTCH CORNER DECORATION --- */
        .notch-corner { position: relative; }
        .notch-corner::before, .notch-corner::after {
            content: '';
            position: absolute;
            width: 14px; height: 14px;
            border: 1px solid var(--primary);
            pointer-events: none;
        }
        .notch-corner::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
        .notch-corner::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

        /* --- PULSE CTA ---
           Static glow shadows + animated opacity on a ::before layer: the
           compositor drives the pulse, no per-frame repaints. */
        @keyframes pulse-cta {
            0%, 100% { opacity: 0.15; }
            50% { opacity: 1; }
        }
        .pulse-btn { position: relative; }
        .pulse-btn::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            box-shadow: inset 0 0 0 2px var(--primary), 0 0 24px var(--primary-glow);
            animation: pulse-cta 2.4s ease-out infinite;
            pointer-events: none;
        }

        /* --- MARQUEE --- */
        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        .marquee-strip {
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            background: var(--bg-darker);
            padding: 14px 0;
            overflow: hidden;
            margin-bottom: 100px;
        }
        .marquee-track {
            display: flex;
            animation: marquee 38s linear infinite;
            width: max-content;
            font-family: 'Bebas Neue', sans-serif;
            font-size: 1rem;
            letter-spacing: 0.25em;
            color: var(--silver-dim);
        }
        .marquee-track span { padding: 0 2rem; }
        @media (max-width: 640px) {
            .marquee-strip { padding: 10px 0; margin-bottom: 64px; }
            .marquee-track { font-size: 0.85rem; letter-spacing: 0.18em; }
            .marquee-track span { padding: 0 1.25rem; }
        }

        /* --- STATS STRIP --- */
        .stats-strip {
            border-bottom: 1px solid var(--border);
            background: var(--bg-darker);
            padding: 48px 24px;
            margin-bottom: 100px;
        }
        .stats-strip .stats-grid {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 32px;
        }
        .stat-cell { border-left: 1px solid var(--border-light); padding-left: 24px; }
        .stat-number {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 3.5rem;
            line-height: 1;
            color: var(--text-main);
            font-variant-numeric: tabular-nums;
        }
        .stat-number-accent { color: var(--primary); }
        .stat-label {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.7rem;
            color: var(--text-muted);
            letter-spacing: 0.2em;
            text-transform: uppercase;
            margin-top: 8px;
        }
        @media (max-width: 640px) {
            .stats-strip { padding: 28px 16px; margin-bottom: 64px; }
            .stats-strip .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
            .stat-cell { padding-left: 10px; }
            .stat-number { font-size: 2.3rem; }
            .stat-label { font-size: 0.52rem; letter-spacing: 0.1em; margin-top: 6px; }
        }

        /* --- NUMBER COUNTER --- */
        .number-display { font-variant-numeric: tabular-nums; }

        /* --- LINK UNDERLINE ANIMATION --- */
        .link-underline {
            position: relative;
            display: inline-block;
        }
        .link-underline::after {
            content: '';
            position: absolute;
            left: 0; bottom: -3px;
            width: 0; height: 1px;
            background: var(--primary);
            transition: width 0.4s ease;
        }
        .link-underline:hover::after { width: 100%; }

        /* --- SCAN LINE --- */
        .scan-line {
            position: absolute;
            inset: 0;
            background: repeating-linear-gradient(0deg, transparent 0px, transparent 3px, rgba(0, 0, 0, 0.12) 3px, rgba(0, 0, 0, 0.12) 4px);
            pointer-events: none;
            z-index: 2;
        }
        [data-theme="light"] .scan-line { opacity: 0.3; }

        /* --- INFO CARD (replaces bento-card hover light) --- */
        .info-card {
            background: var(--surface);
            border: 1px solid var(--border);
            transition: border-color 0.4s, background 0.4s;
        }
        .info-card:hover {
            border-color: var(--primary-dim);
            background: var(--surface-hover);
        }

        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; }

        /* --- ANIMATIONS --- */
        @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; }
        .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;
        }
        .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; }

        /* --- NAV --- */
        .top-nav {
            border-bottom: 1px solid var(--border);
            background: var(--nav-glass);
            backdrop-filter: blur(16px) saturate(1.4);
            -webkit-backdrop-filter: blur(16px) saturate(1.4);
            padding: max(16px, env(safe-area-inset-top)) 20px 16px 20px;
            transform: translateZ(0);
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 50;
            transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
            animation: fadeIn 0.8s var(--ease) both;
        }
        .top-nav a.nav-link {
            position: relative;
            font-family: 'Oswald', 'Plus Jakarta Sans', sans-serif;
            font-size: 0.85rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--text-dim);
            transition: color 0.3s;
        }
        .top-nav a.nav-link:hover { color: var(--text-main); }
        .top-nav a.nav-link::before {
            content: '';
            position: absolute;
            left: -14px; top: 50%;
            transform: translateY(-50%) scaleY(0);
            width: 4px; height: 4px;
            background: var(--primary);
            transition: transform 0.3s;
        }
        .top-nav a.nav-link:hover::before { transform: translateY(-50%) scaleY(1); }

        .logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; display: inline-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; }
        .logo-light { display: none !important; }
        .logo-dark { display: inline-block !important; }
        [data-theme="light"] .logo-light { display: inline-block !important; }
        [data-theme="light"] .logo-dark { display: none !important; }

        .app-container {
            max-width: 1180px;
            margin-left: auto !important;
            margin-right: auto !important;
            padding: 60px clamp(20px, 4vw, 40px);
            width: 100%;
            box-sizing: border-box;
        }

        .container {
            max-width: 1180px;
            margin-left: auto !important;
            margin-right: auto !important;
            padding: 40px clamp(20px, 4vw, 40px) 80px;
            width: 100%;
            box-sizing: border-box;
        }

        /* --- BUTTONS --- */
        .primary-btn {
            background: var(--btn-gradient);
            color: #000000;
            border: none;
            padding: 12px 24px;
            border-radius: 4px;
            font-weight: 700;
            font-family: 'Oswald', 'Plus Jakarta Sans', sans-serif;
            cursor: pointer;
            transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s;
            font-size: 0.95rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            box-shadow: 0 8px 20px -8px var(--primary-glow);
            position: relative;
            overflow: hidden;
        }
        .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-light);
            padding: 12px 24px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-family: 'Oswald', 'Plus Jakarta Sans', sans-serif;
            cursor: pointer;
            transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease);
            font-size: 0.95rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }
        .secondary-btn:hover {
            border-color: var(--silver-dim);
            color: var(--text-main);
            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;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
            position: relative;
            overflow: hidden;
        }
        .whatsapp-btn:hover { transform: translateY(-2px); background: #059669; box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4); }

        /* Shine sweep on gradient buttons */
        .primary-btn::after, .whatsapp-btn::after {
            content: "";
            position: absolute;
            top: 0; left: 0;
            width: 55%; height: 100%;
            background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
            transform: translateX(-160%) skewX(-20deg);
            transition: transform 0.65s var(--ease);
            pointer-events: none;
        }
        .primary-btn:hover::after, .whatsapp-btn:hover::after { transform: translateX(240%) skewX(-20deg); }

        .bento-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 40px; }

        /* --- CARDS ---
           One unified transition list (0.3s) so lift, shadow, and border move
           together; no will-change so cards aren't permanently GPU-layered. */
        .bento-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            box-shadow: var(--card-shadow);
            padding: 48px;
            text-align: left;
            transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
        }
        button.bento-card { cursor: pointer; color: inherit; width: 100%; }
        button.bento-card:hover {
            border-color: var(--primary);
            transform: translateY(-6px);
            box-shadow: 0 14px 30px -10px var(--primary-glow);
        }
        .bento-card:not(.hud-panel)::before {
            content: "";
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 2px;
            background: var(--accent-gradient);
            opacity: 0;
            transition: opacity 0.3s var(--ease);
            pointer-events: none;
        }
        .bento-card:not(.hud-panel):hover::before { opacity: 1; }

        .brand-icon {
            width: 52px; height: 52px;
            background: var(--surface-hover);
            border: 1px solid var(--border);
            border-radius: 8px;
            display: flex; align-items: center; justify-content: center;
            margin-bottom: 24px;
            color: var(--text-main);
            transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
        }
        button.bento-card:hover .brand-icon {
            border-color: var(--primary-glow);
            transform: translateY(-4px) rotate(-4deg);
        }

        .badge { display: inline-block; white-space: nowrap; padding: 6px 12px; border-radius: 2px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; border: 1px solid transparent; font-family: 'JetBrains Mono', monospace; }
        .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: 24px 32px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); border-bottom: 1px solid var(--border); font-size: 0.75rem; font-family: 'JetBrains Mono', monospace; }
        td { padding: 28px 32px; border-bottom: 1px solid var(--border); vertical-align: middle; }
        tr:last-child td { border-bottom: none; }
        tr { transition: background-color 0.3s var(--ease); }
        tr:hover td { background: var(--primary-soft); }

        .form-group { margin-bottom: 28px; text-align: left; position: relative; }

        input, select, textarea {
            width: 100%;
            padding: 16px 20px;
            background: transparent;
            border: none;
            border-bottom: 1px solid var(--border-light);
            color: var(--text-main);
            border-radius: 0;
            font-family: 'Oswald', 'Plus Jakarta Sans', sans-serif;
            font-size: 1rem;
            letter-spacing: 0.04em;
            transition: border-color 0.3s;
            color-scheme: dark;
        }

        select {
            cursor: pointer;
            color-scheme: dark;
            background-color: var(--surface, #141414);
            color: var(--text-main, #ffffff);
        }

        select option {
            background-color: #141824 !important;
            color: #ffffff !important;
            padding: 10px 14px;
        }

        select optgroup {
            background-color: #0b111e !important;
            color: #38bdf8 !important;
            font-weight: 700;
        }

        [data-theme="light"] input,
        [data-theme="light"] select,
        [data-theme="light"] textarea {
            color-scheme: light;
            color: var(--text-main, #1a1a1a);
        }

        [data-theme="light"] select option {
            background-color: #ffffff !important;
            color: #1a1a1a !important;
        }

        [data-theme="light"] select optgroup {
            background-color: #f1f5f9 !important;
            color: #0284c7 !important;
        }

        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: var(--primary);
        }
        input::placeholder, textarea::placeholder {
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.15em;
            font-size: 0.85rem;
        }

        /* Toggle Password Button */
        .form-group .toggle-password {
            position: absolute;
            right: 0; bottom: 0;
            width: 36px; height: 36px;
            background: transparent;
            border: none;
            border-radius: 0;
            color: var(--text-muted);
            cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            transition: color 0.2s;
            z-index: 10;
        }
        .form-group .toggle-password:hover { color: var(--primary); }
        .form-group .toggle-password:focus-visible { outline: none; }
        .form-group .toggle-password svg { width: 20px; height: 20px; stroke: currentColor; }

        /* Password Strength Meter */
        .password-strength { width: 100%; }
        .strength-bar { border-radius: 0; }
        .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-md);
            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: 0; display: flex; align-items: center; justify-content: center; color: var(--text-muted); cursor: pointer; transition: background 0.3s, color 0.3s, transform 0.3s; }
        .close-btn:hover { background: var(--danger-bg); color: var(--danger); transform: rotate(90deg); }

        .credential-box { background: var(--bg); border: 1px solid var(--border); border-radius: 4px; 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: 4px; color: var(--text-main); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
        .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(150,150,150,0.06) 60px, rgba(150,150,150,0.06) 120px); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.65rem; color: rgba(150,150,150,0.3); 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(10, 10, 10, 0.55); backdrop-filter: blur(2px); border-radius: 4px; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
        .secured-cred:not(.revealed) .secured-tap-hint { opacity: 1; }
        .secured-cred.no-print {}
        @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 #6a6a6a; color: #1a1a1a; font-family: serif; font-size: 14px; }
        }
        .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 { display: none; }
        .secured-meta.countdown { color: 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(0,0,0,0.25); border-top-color: currentColor; 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 CARDS --- */
        .step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-top: 40px; }
        .step-card {
            padding: 40px 32px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            text-align: center;
            transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s var(--ease);
            position: relative;
        }
        .step-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 10px 30px -10px var(--primary-glow); }
        .step-icon {
            width: 56px; height: 56px;
            background: var(--primary-soft);
            color: var(--primary);
            border: 1px solid var(--border);
            border-radius: 0;
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 24px auto;
            font-size: 1.5rem;
            font-weight: 800;
            font-family: 'Bebas Neue', sans-serif;
            letter-spacing: 0.05em;
            transform: rotate(-5deg);
            transition: transform 0.3s var(--ease);
        }
        .step-card:hover .step-icon { transform: rotate(0deg) scale(1.1); }

        /* --- SUGGESTION PILLS --- */
        .suggestion-pill {
            background: transparent;
            border: 1px solid var(--border-light);
            color: var(--text-dim);
            padding: 8px 16px;
            border-radius: 2px;
            font-size: 0.85rem;
            font-family: 'Oswald', 'Plus Jakarta Sans', sans-serif;
            font-weight: 500;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: border-color 0.3s, color 0.3s;
        }
        .suggestion-pill:hover { border-color: var(--silver-dim); color: var(--text-main); }
        .suggestion-pill.active { background: var(--primary); border-color: var(--primary); color: #000; font-weight: 600; }
        .pill-count { background: rgba(0, 0, 0, 0.15); color: inherit; border-radius: 0; 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(0, 0, 0, 0.2); }
        .add-new-pill { border-style: dashed; color: var(--primary); }
        .add-new-pill:hover { background: var(--primary-soft); }

        /* --- FAQ --- */
        .faq-section { max-width: 800px; margin: 0 auto; }
        .faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; margin-bottom: 16px; overflow: hidden; transition: border-color 0.3s var(--ease); }
        .faq-item:hover { border-color: var(--primary-dim); }
        .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; font-family: 'JetBrains Mono', monospace; }
        .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; font-family: 'Oswald', sans-serif; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s; }
        .availability-on { color: var(--primary); }
        .availability-off { color: var(--text-muted); }

        /* --- FOOTER --- */
        .footer-container { background: var(--surface); padding: 60px 24px 24px 24px; margin-top: 80px; position: relative; }
        .footer-container::before {
            content: "";
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--primary-dim), transparent);
        }
        .footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
        .footer-column h3, .footer-column h4 { font-size: 1.1rem; margin-bottom: 20px; color: var(--text-main); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
        .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;
        }
        @supports not ((background-clip: text) or (-webkit-background-clip: text)) {
            .text-gradient { background: none; color: var(--primary); -webkit-text-fill-color: currentColor; }
        }

        /* --- HERO ACCENTS --- */
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 8px 18px 8px 10px;
            border-radius: 2px;
            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: #000000;
            border-radius: 2px;
            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: 0; padding: 3px; }

        .svg-defs { width: 0; height: 0; position: absolute; }

        /* --- THEME TOGGLE --- */
        .theme-toggle {
            position: relative;
            width: 44px; height: 44px;
            background: transparent;
            border: 1px solid var(--border-light);
            border-radius: 0;
            color: var(--text-main);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
            overflow: hidden;
        }
        .theme-toggle:hover { border-color: var(--primary); transform: scale(1.05); }
        .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); }

        /* --- DESKTOP & MOBILE NAVBAR NAVIGATION --- */
        .top-nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            position: sticky;
            top: 0;
            z-index: 100;
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            background: rgba(14, 18, 28, 0.85);
            border-bottom: 1px solid var(--border);
            box-sizing: border-box;
            width: 100%;
            transition: background 0.3s ease, border-color 0.3s ease;
        }

        

        [data-theme="light"] .top-nav {
            background: rgba(255, 255, 255, 0.92) !important;
            border-bottom: 1px solid var(--border) !important;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
        }

        [data-theme="dark"] .top-nav {
            background: rgba(14, 18, 28, 0.85) !important;
            border-bottom: 1px solid var(--border) !important;
        }

        /* Dark / Light Logo Switcher */
        .logo-dark { display: block; }
        .logo-light { display: none; }
        [data-theme="light"] .logo-dark { display: none !important; }
        [data-theme="light"] .logo-light { display: block !important; }
        [data-theme="dark"] .logo-dark { display: block !important; }
        [data-theme="dark"] .logo-light { display: none !important; }

        .brand-logo-img { object-position: left center !important;
            height: 38px;
            width: auto;
            max-width: 230px;
            object-fit: contain;
            display: block;
            image-rendering: -webkit-optimize-contrast;
            transition: height 0.2s ease, max-width 0.2s ease;
        }

        .nav-actions {
            display: flex;
            gap: 16px;
            align-items: center;
            margin-left: auto;
            flex-wrap: wrap;
            justify-content: flex-start;
        }

        .nav-essentials {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-left: 16px;
            flex-shrink: 0;
        }

        .nav-mobile-signin-btn {
            display: none;
            background: rgba(45, 156, 229, 0.15);
            border: 1px solid rgba(45, 156, 229, 0.4);
            color: var(--primary);
            padding: 6px 14px;
            border-radius: var(--radius-sm);
            font-size: 0.84rem;
            font-weight: 700;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.2s;
        }
        .nav-mobile-signin-btn:hover {
            background: var(--primary);
            color: #ffffff;
        }

        .mobile-hamburger { display: none; background: transparent; border: none; color: var(--text-main); cursor: pointer; padding: 4px; margin-left: 4px; }
        .mobile-sidebar-header { display: none; width: 100%; justify-content: space-between; align-items: center; margin-bottom: 24px; }
        .mobile-sidebar-header h3 { margin: 0; font-size: 1.2rem; color: var(--text-main); }
        .close-sidebar { background: transparent; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; }
        .mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 999; opacity: 0; transition: opacity 0.3s; }

        @media (max-width: 768px) {
            .top-nav { 
                padding: 10px 16px !important; 
                flex-wrap: nowrap !important; 
                display: flex !important; 
                align-items: center !important; 
                justify-content: space-between !important;
                box-sizing: border-box !important;
                width: 100% !important;
            }
            .brand-logo-img { object-position: left center !important;
                height: 32px !important;
                max-width: 185px !important;
            }
            .top-nav > .logo { margin-left: 0 !important; padding-left: 0 !important; 
                margin-right: auto; 
                flex-shrink: 0 !important;
                display: inline-flex !important;
                align-items: center !important;
            }
            .nav-actions {
                position: fixed !important;
                top: 0 !important;
                right: -100% !important;
                width: 280px !important;
                height: 100vh !important;
                background: var(--surface) !important;
                z-index: 1000 !important;
                flex-direction: column !important;
                align-items: flex-start !important;
                padding: 24px !important;
                transition: right 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
                box-shadow: -10px 0 30px rgba(0,0,0,0.5) !important;
                border-left: 1px solid var(--border) !important;
                margin-left: 0 !important;
                flex-wrap: nowrap !important;
                overflow-y: auto !important;
                overflow-x: hidden !important;
            }
            .nav-actions > * {
                flex-shrink: 0 !important;
            }
            [data-theme="light"] .nav-actions {
                background: #ffffff !important;
                border-left: 1px solid var(--border) !important;
            }
            [data-theme="dark"] .nav-actions {
                background: var(--surface) !important;
                border-left: 1px solid var(--border) !important;
            }
            .nav-actions.open { 
                right: 0 !important; 
            }
            .nav-essentials {
                gap: 10px !important;
                margin-left: auto !important;
                flex-shrink: 0 !important;
            }
            .nav-mobile-signin-btn {
                display: inline-flex !important;
            }
            .mobile-hamburger { display: block !important; }
            .mobile-sidebar-header { display: flex !important; }
            .mobile-overlay.open { display: block !important; opacity: 1 !important; }
            .nav-actions .primary-btn, .nav-actions .secondary-btn { width: 100% !important; justify-content: flex-start !important; }
            .nav-shortcuts { width: 100% !important; }
            .nav-shortcuts summary { width: 100% !important; justify-content: flex-start !important; }
            .nav-shortcuts .shortcut-menu { position: static !important; width: 100% !important; box-shadow: none !important; border: none !important; background: transparent !important; padding: 8px 0 0 0 !important; }
        }

        @media (max-width: 768px) {
            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.25), 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; }
        }

        @media (max-width: 480px) {
            .top-nav {
                padding: 10px 12px !important;
            }
            .brand-logo-img { object-position: left center !important;
                height: 28px !important;
                max-width: 160px !important;
            }
            .streak-badge {
                display: none !important;
            }
            .nav-essentials {
                gap: 8px !important;
            }
            .nav-mobile-signin-btn {
                padding: 5px 10px !important;
                font-size: 0.78rem !important;
            }
            #user-button, .clerk-user-button {
                transform: scale(0.9);
                transform-origin: right center;
            }
            .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 { 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; }
        }

        /* --- NOTIFICATIONS & LOYALTY --- */
        .loyalty-badge, .streak-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            border-radius: 2px;
            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: 4px; 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: 0; 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); 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: var(--radius-md); box-shadow: 0 20px 40px rgba(0,0,0,0.5); z-index: 9999; overflow: hidden; }
        .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.05); }
        .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: 0; 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.2); 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 { padding: 10px 18px; border-radius: 2px; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); font-family: 'Oswald', sans-serif; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.3s var(--ease); white-space: nowrap; text-transform: uppercase; letter-spacing: 0.1em; }
        .catalog-tag-pill:hover { border-color: var(--primary); color: var(--text-main); }
        .catalog-tag-pill.active { border-color: var(--primary) !important; background: var(--primary-soft) !important; color: var(--primary) !important; }
        @media (max-width: 640px) { .catalog-toolbar { flex-direction: column; } .search-wrap { flex: 1 1 100%; } }

        /* ============================================================
           DESIGN SYSTEM — Forged Industrial Layer
           Typography · motion · micro-interactions · mobile experience
           ============================================================ */

        h1, h2, h3, h4, h5, h6, .logo, .dialog-header h2 {
            font-family: 'Bebas Neue', 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
            letter-spacing: 0.01em;
        }
        .secure-text { font-family: 'JetBrains Mono', ui-monospace, monospace; }
        ::selection { background: rgba(45, 156, 229, 0.35); }
        :focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
        * { -webkit-tap-highlight-color: transparent; }
        section[id] { scroll-margin-top: 96px; }
        html { scroll-behavior: smooth; }

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

        /* 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));
        }

        /* --- HUD GRID BG (industrial variant) --- */
        .hud-grid-bg { position: relative; overflow: hidden; }
        .hud-grid-bg::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(45, 156, 229, 0.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(45, 156, 229, 0.04) 1px, transparent 1px);
            background-size: 50px 50px;
            transform: perspective(1000px) rotateX(60deg) translateY(-100px) translateZ(-200px);
            opacity: 0.12;
            z-index: -1;
            pointer-events: none;
        }

        /* HUD panel: shared scanline treatment. Panels that are also
           .bento-card inherit the card's unified transition; these rules are
           deliberately free of !important and backdrop-filter so the hover
           lift stays smooth (blur re-rasterizes every animated frame). */
        .hud-panel {
            position: relative;
            overflow: hidden;
        }
        .hud-panel:not(.bento-card) {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 0;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            transition: border-color 0.3s var(--ease);
        }
        .hud-panel::before {
            content: '';
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 2px;
            background: linear-gradient(90deg, transparent, var(--primary), transparent);
            opacity: 0.3;
            transition: opacity 0.3s var(--ease);
        }
        .hud-panel:hover { border-color: rgba(45, 156, 229, 0.3); }
        .hud-panel:hover::before { opacity: 0.6; }

        .hud-data-stream { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--primary-dim); opacity: 0.3; line-height: 1.5; position: absolute; pointer-events: none; }

        .hud-text-glow {
            color: var(--text-main) !important;
            text-shadow: 0 0 8px rgba(45, 156, 229, 0.2) !important;
            font-family: 'Bebas Neue', sans-serif !important;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        .hud-scanner { display: none; }

        /* --- LIGHT MODE HUD OVERRIDES --- */
        [data-theme="light"] .hud-grid-bg::before {
            background-image:
                linear-gradient(rgba(30, 133, 204, 0.07) 1px, transparent 1px),
                linear-gradient(90deg, rgba(30, 133, 204, 0.07) 1px, transparent 1px);
            opacity: 0.2;
        }
        [data-theme="light"] .hud-panel:not(.bento-card) {
            background: var(--surface);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
        }
        [data-theme="light"] .hud-panel:hover { border-color: rgba(30, 133, 204, 0.25); }
        [data-theme="light"] .hud-panel::before { background: linear-gradient(90deg, transparent, var(--primary), transparent); opacity: 0.2; }
        [data-theme="light"] .hud-text-glow { color: var(--text-main) !important; text-shadow: none !important; }
        [data-theme="light"] .hud-data-stream { color: var(--primary-dim); opacity: 0.3; }
        [data-theme="light"] .hud-scanner { display: none; }

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

        @media (max-width: 768px) {
            .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: 16px 16px 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: 0; background: var(--border); margin: 0 auto 18px auto; }
        }
        @keyframes sheetUp { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }

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

        /* 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; }
        }

        .pull-indicator:not(.visible) { box-shadow: none; }

        /* Link buttons */
        a.primary-btn, a.secondary-btn { display: inline-flex !important; align-items: center; justify-content: center; }

        /* Bento-grid animation delays for cards 5-8 */
        .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; }

        /* Goal pill */
        .goal-pill {
            cursor: pointer;
            padding: 0.55rem 1.1rem;
            border: 1px solid var(--border-light);
            background: transparent;
            color: var(--text-dim);
            font-family: 'Oswald', sans-serif;
            font-size: 0.85rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            transition: all 0.3s;
        }
        .goal-pill:hover { border-color: var(--silver-dim); color: var(--text-main); }
        .goal-pill.active { background: var(--primary); border-color: var(--primary); color: #000; font-weight: 600; }

        /* Form input (non-bottom-border variant for catalog search) */
        .catalog-search-input {
            width: 100%; box-sizing: border-box; padding: 14px 20px 14px 48px;
            background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
            color: var(--text-main); font-family: 'Oswald', sans-serif; font-size: 0.95rem;
            letter-spacing: 0.08em; text-transform: uppercase;
            outline: none; transition: border-color 0.3s var(--ease); margin: 0; display: block;
        }
        .catalog-search-input:focus { border-color: var(--primary); }
        .catalog-search-input::placeholder { color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.85rem; }

        /* --- CUSTOM INTERACTIVE CURSOR --- */
        .ps-cursor-dot {
            position: fixed;
            top: 0;
            left: 0;
            width: 8px;
            height: 8px;
            background-color: var(--primary, #2D9CE5);
            border-radius: 50%;
            pointer-events: none;
            z-index: 999999;
            opacity: 0;
            transform: translate(-50%, -50%);
            transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, opacity 0.3s ease;
            box-shadow: 0 0 10px rgba(45, 156, 229, 0.6);
        }

        .ps-cursor-ring {
            position: fixed;
            top: 0;
            left: 0;
            width: 36px;
            height: 36px;
            border: 1.5px solid rgba(85, 183, 247, 0.45);
            border-radius: 50%;
            pointer-events: none;
            z-index: 999998;
            opacity: 0;
            transform: translate(-50%, -50%);
            transition: width 0.25s cubic-bezier(0.23, 1, 0.32, 1), height 0.25s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.25s ease, background-color 0.25s ease, transform 0.15s ease, opacity 0.3s ease;
            box-shadow: 0 0 16px rgba(45, 156, 229, 0.15);
        }

        .ps-cursor-hover {
            width: 52px !important;
            height: 52px !important;
            border-color: rgba(85, 183, 247, 0.85) !important;
            background-color: rgba(45, 156, 229, 0.08) !important;
            box-shadow: 0 0 24px rgba(45, 156, 229, 0.35) !important;
        }

        .ps-cursor-hover-dot {
            width: 5px !important;
            height: 5px !important;
            background-color: #ffffff !important;
            box-shadow: 0 0 14px rgba(255, 255, 255, 0.9) !important;
        }

        .ps-cursor-clicking {
            width: 28px !important;
            height: 28px !important;
            border-color: #55b7f7 !important;
            background-color: rgba(45, 156, 229, 0.25) !important;
        }

        @media (pointer: coarse), (hover: none) {
            .ps-cursor-dot, .ps-cursor-ring {
                display: none !important;
            }
        }

        /* Credentials One-Click Copy Interactive Cards */
        .cred-interactive-card {
            transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
        }
        .cred-interactive-card:hover {
            border-color: rgba(56, 189, 248, 0.45) !important;
            background: rgba(0, 0, 0, 0.45) !important;
            transform: translateY(-1px);
        }
        .cred-interactive-card:active {
            transform: scale(0.99);
        }


/* --- AUTO-RENEW TOGGLE --- */
.ps-switch-btn {
    position: relative;
    width: 48px;
    height: 26px;
    border-radius: 13px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.5);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    padding: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.ps-switch-btn.active {
    border-color: rgba(16, 185, 129, 0.4);
    background: var(--sub-emerald, #10b981);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.ps-switch-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: left 0.3s var(--ease);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.ps-switch-btn.active .ps-switch-thumb {
    left: 24px;
}
