        * { box-sizing: border-box; margin: 0; padding: 0; }

        /* Reset body padding-top from styles.css fixed-nav offset — not needed with sticky nav */
        body { padding-top: 0 !important; }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #000;
            color: #fff;
            line-height: 1.6;
        }

        a { color: #667eea; text-decoration: none; }
        a:hover { text-decoration: underline; }

        .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

        /* NAV */
        nav {
            background: linear-gradient(135deg, #000 0%, #1a1a2e 100%);
            padding: 16px 0;
            border-bottom: 1px solid #222;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        nav .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
        .nav-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.5em; }
        .nav-brand img { height: 40px; width: 40px; }
        .nav-links { display: flex; gap: 30px; list-style: none; flex-wrap: wrap; align-items: center; }
        .nav-links a { color: #ccc; }
        .nav-links a:hover { color: #fff; text-decoration: none; }
        .nav-links a.active { color: #fff; font-weight: 600; }
        .nav-cta {
            background: linear-gradient(140deg, #667eea 0%, #764ba2 100%);
            color: #fff !important;
            padding: 8px 18px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: 600;
        }

        /* HERO */
        .hero {
            background: linear-gradient(180deg, #000 0%, #0a0a18 100%);
            padding: 90px 0 70px;
            text-align: center;
            border-bottom: 1px solid #1a1a2e;
        }
        .hero h1 {
            font-size: clamp(2em, 5vw, 3.4em);
            font-weight: 800;
            letter-spacing: -0.5px;
            margin-bottom: 20px;
            line-height: 1.15;
        }
        .hero h1 span { background: linear-gradient(135deg, #00e5ff, #667eea); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .hero .subtitle { font-size: 1.15em; color: #aaa; max-width: 640px; margin: 0 auto 36px; }
        .badge-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
        .badge {
            background: linear-gradient(135deg, #001a1a, #002a2a);
            border: 1px solid #00e5ff33;
            color: #00e5ff;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.8em;
            font-weight: 600;
        }
        .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
        .btn {
            padding: 14px 30px;
            border-radius: 8px;
            font-size: 1em;
            font-weight: 700;
            cursor: pointer;
            border: none;
            transition: opacity 0.2s;
            text-decoration: none;
            display: inline-block;
        }
        .btn:hover { opacity: 0.85; text-decoration: none; }
        .btn-primary { background: linear-gradient(135deg, #00e5ff 0%, #667eea 100%); color: #000; }
        .btn-secondary { background: transparent; border: 1px solid #444; color: #ccc; }

        /* SECTIONS */
        .section { padding: 70px 0; border-bottom: 1px solid #111; }
        .section-title { font-size: 1.8em; font-weight: 700; text-align: center; margin-bottom: 12px; }
        .section-subtitle { text-align: center; color: #888; max-width: 640px; margin: 0 auto 48px; font-size: 0.95em; }

        /* LIVE GENERATOR */
        #generator-section { background: #020208; }

        .tabs {
            display: flex;
            gap: 4px;
            background: #0d0d1a;
            border-radius: 10px;
            padding: 4px;
            max-width: 480px;
            margin: 0 auto 32px;
        }
        .tab {
            flex: 1;
            padding: 9px 4px;
            border-radius: 7px;
            border: none;
            background: transparent;
            color: #888;
            font-size: 0.85em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
        .tab.active {
            background: linear-gradient(135deg, #00e5ff22, #667eea22);
            color: #00e5ff;
            border: 1px solid #00e5ff44;
        }
        .tab:hover:not(.active) { color: #ccc; }

        .generator-box {
            background: #0d0d1a;
            border: 1px solid #00e5ff22;
            border-radius: 16px;
            padding: 36px;
            max-width: 680px;
            margin: 0 auto;
        }

        .gen-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
        .gen-controls label { color: #888; font-size: 0.85em; white-space: nowrap; }
        .gen-controls input {
            background: #0a0a15;
            border: 1px solid #333;
            color: #fff;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 0.9em;
            width: 90px;
        }
        .gen-btn {
            background: linear-gradient(135deg, #00e5ff 0%, #667eea 100%);
            color: #000;
            border: none;
            padding: 10px 24px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.95em;
            cursor: pointer;
            transition: opacity 0.2s;
        }
        .gen-btn:hover { opacity: 0.85; }
        .gen-btn:disabled { opacity: 0.4; cursor: not-allowed; }

        .output-area {
            background: #060610;
            border: 1px solid #1a1a2e;
            border-radius: 10px;
            padding: 20px;
            font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
            font-size: 0.85em;
            min-height: 80px;
            color: #00e5ff;
            word-break: break-all;
            transition: all 0.3s;
            position: relative;
        }
        .output-area.fresh { border-color: #00e5ff66; }

        .output-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 12px;
            font-size: 0.78em;
            color: #555;
            flex-wrap: wrap;
            gap: 8px;
        }
        .output-meta .source { color: #00e5ff88; }
        .copy-btn {
            background: transparent;
            border: 1px solid #333;
            color: #888;
            padding: 4px 12px;
            border-radius: 5px;
            font-size: 0.82em;
            cursor: pointer;
        }
        .copy-btn:hover { border-color: #00e5ff; color: #00e5ff; }

        .stream-log {
            margin-top: 20px;
            max-height: 180px;
            overflow-y: auto;
        }
        .stream-entry {
            display: flex;
            gap: 12px;
            align-items: baseline;
            padding: 4px 0;
            border-bottom: 1px solid #0d0d1a;
            font-size: 0.78em;
        }
        .stream-entry .ts { color: #444; min-width: 60px; flex-shrink: 0; }
        .stream-entry .val { color: #667eea; font-family: monospace; word-break: break-all; }

        /* STATUS */
        .status-row {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 20px;
            font-size: 0.83em;
        }
        .status-dot {
            width: 8px; height: 8px;
            border-radius: 50%;
            background: #555;
            flex-shrink: 0;
        }
        .status-dot.live { background: #00e5ff; animation: pulse 1.4s infinite; }
        @keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.3; } }

        /* WHY QUANTUM */
        .vs-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            max-width: 860px;
            margin: 0 auto;
        }
        @media (max-width: 600px) { .vs-grid { grid-template-columns: 1fr; } }

        .vs-card {
            background: #0d0d1a;
            border-radius: 12px;
            padding: 28px;
        }
        .vs-card.prng { border: 1px solid #f8717133; }
        .vs-card.qrng { border: 1px solid #00e5ff33; }
        .vs-card h3 { font-size: 1em; font-weight: 700; margin-bottom: 16px; }
        .vs-card.prng h3 { color: #f87171; }
        .vs-card.qrng h3 { color: #00e5ff; }
        .vs-card ul { list-style: none; }
        .vs-card li { padding: 6px 0; font-size: 0.88em; color: #bbb; border-bottom: 1px solid #1a1a2e; }
        .vs-card li:last-child { border: none; }
        .vs-card.prng li::before { content: "✗ "; color: #f87171; font-weight: 700; }
        .vs-card.qrng li::before { content: "✓ "; color: #00e5ff; font-weight: 700; }

        /* ATTESTATION */
        #attestation-section { background: #020208; }

        .attest-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
        }
        .hive-card {
            background: #0d0d1a;
            border-radius: 12px;
            padding: 24px;
        }
        .hive-card.vault { border: 1px solid #a78bfa44; }
        .hive-card.viper { border: 1px solid #f8717144; }
        .hive-card.lotus { border: 1px solid #4ade8044; }

        .hive-name { font-size: 0.72em; font-weight: 700; letter-spacing: 0.15em; margin-bottom: 4px; }
        .hive-card.vault .hive-name { color: #a78bfa; }
        .hive-card.viper .hive-name { color: #f87171; }
        .hive-card.lotus .hive-name { color: #4ade80; }

        .hive-stat { font-size: 2em; font-weight: 800; margin-bottom: 2px; }
        .hive-sub { font-size: 0.78em; color: #666; margin-bottom: 16px; }

        .hive-fp {
            font-family: monospace;
            font-size: 0.7em;
            color: #444;
            word-break: break-all;
            margin-bottom: 12px;
            line-height: 1.5;
        }
        .hive-fp span { color: #888; }

        .job-list { list-style: none; }
        .job-list li { margin-bottom: 4px; }
        .job-list a {
            font-family: monospace;
            font-size: 0.72em;
            color: #555;
        }
        .job-list a:hover { color: #00e5ff; }

        .master-fp-box {
            background: #0d0d1a;
            border: 1px solid #00e5ff22;
            border-radius: 12px;
            padding: 24px;
            text-align: center;
        }
        .master-fp-box .label { font-size: 0.75em; color: #667eea; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
        .master-fp-box .fp { font-family: monospace; font-size: 0.85em; color: #00e5ff; word-break: break-all; line-height: 1.8; }
        .master-fp-box .note { font-size: 0.78em; color: #555; margin-top: 12px; }

        .attest-loading { text-align: center; color: #555; font-size: 0.9em; padding: 40px; }

        /* CTA */
        .cta-section {
            background: linear-gradient(135deg, #0d0d1a 0%, #001a1a 100%);
            text-align: center;
            padding: 80px 0;
        }
        .cta-section h2 { font-size: 2em; margin-bottom: 14px; }
        .cta-section p { color: #888; max-width: 520px; margin: 0 auto 36px; }

        .use-case-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            max-width: 900px;
            margin: 0 auto 48px;
            text-align: left;
        }
        .use-case {
            background: #0d0d1a;
            border: 1px solid #00e5ff22;
            border-radius: 10px;
            padding: 20px;
        }
        .use-case .icon { font-size: 1.4em; margin-bottom: 8px; }
        .use-case h4 { font-size: 0.88em; font-weight: 700; color: #00e5ff; margin-bottom: 6px; }
        .use-case p { font-size: 0.8em; color: #888; }

        /* FOOTER */
        footer { background: #000; padding: 32px 0; text-align: center; color: #555; font-size: 0.85em; }
        footer a { color: #555; }
        footer a:hover { color: #888; }

        /* MOBILE MENU TOGGLE */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: #fff;
            font-size: 1.5em;
            cursor: pointer;
        }

        /* ── Responsive ── */
        /* Override styles.css body padding-top set for fixed nav — not needed here (sticky nav) */
        @media (max-width: 479px) { body { padding-top: 0 !important; } }
        @media (min-width: 480px) and (max-width: 575px) { body { padding-top: 0 !important; } }
        @media (min-width: 576px) and (max-width: 767px) { body { padding-top: 0 !important; } }
        @media (max-width: 768px) { body { padding-top: 0 !important; } }

        @media (max-width: 834px) {
            .mobile-menu-toggle { display: block; }
            nav .container { position: relative; }
            .nav-links {
                position: absolute;
                top: 100%;
                left: 0; right: 0;
                background: linear-gradient(135deg, #000 0%, #1a1a2e 100%);
                flex-direction: column;
                padding: 18px 24px;
                gap: 14px;
                display: none;
                box-shadow: 0 5px 15px rgba(0,0,0,0.4);
                z-index: 200;
            }
            .nav-links.active { display: flex; }

            .hero { padding: 60px 0 48px; }
            .hero h1 { font-size: clamp(1.8em, 6vw, 2.4em); }
            .hero .subtitle { font-size: 1em; }

            .section { padding: 48px 0; }
            .section-title { font-size: 1.5em; }

            .vs-grid { grid-template-columns: 1fr; }
            .attest-grid { grid-template-columns: 1fr; }
            .use-case-grid { grid-template-columns: 1fr 1fr; }

            .generator-box { padding: 24px 16px; }
            .tabs { max-width: 100%; }
            .gen-controls { flex-wrap: wrap; gap: 8px; }
            .gen-controls input { width: 75px; }

            .cta-section { padding: 56px 0; }
            .cta-section h2 { font-size: 1.6em; }
        }

        @media (max-width: 480px) {
            .hero h1 { font-size: 1.7em; }
            .badge-row { gap: 6px; }
            .badge { font-size: 0.72em; padding: 5px 10px; }
            .btn { padding: 12px 22px; font-size: 0.92em; }
            .use-case-grid { grid-template-columns: 1fr; }
            .tab { font-size: 0.78em; padding: 8px 2px; }
            .attest-grid { grid-template-columns: 1fr; }
        }

        @media (min-width: 835px) {
            .mobile-menu-toggle { display: none; }
            .nav-links { display: flex !important; position: static; flex-direction: row; }
        }
