        /* ===== LOCAL FONTS ===== */
        @font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2'); }
        @font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-v20-latin-500.woff2') format('woff2'); }
        @font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-v20-latin-600.woff2') format('woff2'); }
        @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/jetbrains-mono-v24-latin-regular.woff2') format('woff2'); }
        @font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/jetbrains-mono-v24-latin-500.woff2') format('woff2'); }
        @font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/plus-jakarta-sans-v12-latin-500.woff2') format('woff2'); }
        @font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2'); }
        @font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2'); }
        @font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/plus-jakarta-sans-v12-latin-800.woff2') format('woff2'); }

        /* ===== RESET & VARIABLES ===== */
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        :root {
            --bg: oklch(0.08 0.01 240);
            --surface: oklch(0.12 0.01 240);
            --border: oklch(0.20 0.02 240);
            --accent: oklch(0.72 0.18 165);
            --accent2: oklch(0.65 0.15 260);
            --text: oklch(0.95 0 0);
            --text-muted: oklch(0.60 0 0);
            --nav-bg: rgba(8, 10, 14, 0.85);
        }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        a { color: inherit; text-decoration: none; }
        ul { list-style: none; }
        .mono { font-family: 'JetBrains Mono', monospace; }

        /* ===== SCROLL PROGRESS ===== */
        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 2px;
            width: 0%;
            background: linear-gradient(90deg, var(--accent), var(--accent2));
            z-index: 9999;
            transition: width 50ms linear;
        }

        /* ===== NAVBAR ===== */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 64px;
            background: var(--nav-bg);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            z-index: 1000;
            border-bottom: 1px solid oklch(0.20 0.02 240 / 0.5);
        }
        .navbar-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .navbar-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-weight: 700;
        }
        .navbar-monogram {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: linear-gradient(135deg, var(--accent), var(--accent2));
            color: oklch(0.08 0.01 240);
            font-size: 14px;
            font-weight: 800;
            letter-spacing: -0.5px;
        }
        .navbar-name {
            font-size: 15px;
            font-weight: 600;
            color: var(--text);
        }
        .navbar-links {
            display: flex;
            gap: 32px;
        }
        .navbar-links a {
            position: relative;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-muted);
            transition: color 250ms ease;
            padding: 4px 0;
        }
        .navbar-links a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--accent);
            transform: translateX(-50%);
            transition: width 250ms ease;
        }
        .navbar-links a:hover,
        .navbar-links a.active {
            color: var(--text);
        }
        .navbar-links a:hover::after,
        .navbar-links a.active::after {
            width: 100%;
        }
        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
            z-index: 1001;
        }
        .hamburger span {
            display: block;
            width: 22px;
            height: 2px;
            background: var(--text);
            border-radius: 2px;
            transition: transform 300ms ease, opacity 200ms ease;
        }
        .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .hamburger.open span:nth-child(2) { opacity: 0; }
        .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
        .mobile-menu {
            position: fixed;
            top: 64px;
            left: 0;
            right: 0;
            background: var(--nav-bg);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            padding: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 300ms ease, padding 300ms ease;
            z-index: 999;
            border-bottom: 1px solid transparent;
        }
        .mobile-menu.open {
            max-height: 240px;
            padding: 16px 0;
            border-bottom: 1px solid var(--border);
        }
        .mobile-link {
            display: block;
            padding: 14px 24px;
            font-size: 16px;
            font-weight: 500;
            color: var(--text-muted);
            transition: color 200ms ease, padding-left 200ms ease;
        }
        .mobile-link:hover {
            color: var(--accent);
            padding-left: 32px;
        }

        /* ===== HERO ===== */
        .hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #080a0e;
            background-image: radial-gradient(ellipse 80% 60% at 50% 0%, oklch(0.12 0.05 175 / 0.4) 0%, transparent 70%);
            overflow: hidden;
        }
        #neuralCanvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
        }
        .hero-content {
            position: relative;
            z-index: 1;
            text-align: center;
            max-width: 800px;
            padding: 0 24px;
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 18px;
            border-radius: 100px;
            background: oklch(0.15 0.02 240);
            border: 1px solid var(--border);
            font-size: 13px;
            font-weight: 500;
            color: var(--text-muted);
            margin-bottom: 32px;
            opacity: 0;
            transform: translateY(10px);
            transition: opacity 500ms ease, transform 500ms ease;
        }
        .hero-badge.visible { opacity: 1; transform: translateY(0); }
        .hero-badge-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: oklch(0.70 0.20 145);
            animation: pulse-dot 2s ease-in-out infinite;
        }
        @keyframes pulse-dot {
            0%, 100% { opacity: 1; box-shadow: 0 0 0 0 oklch(0.70 0.20 145 / 0.6); }
            50% { opacity: 0.8; box-shadow: 0 0 0 6px oklch(0.70 0.20 145 / 0); }
        }
        .hero h1 {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: clamp(32px, 5vw, 56px);
            font-weight: 800;
            line-height: 1.15;
            letter-spacing: -0.03em;
            margin-bottom: 24px;
            min-height: 1.15em;
        }
        .typewriter-cursor {
            display: inline-block;
            width: 3px;
            height: 0.9em;
            background: var(--accent);
            margin-left: 2px;
            vertical-align: text-bottom;
            animation: blink-cursor 700ms step-end infinite;
        }
        @keyframes blink-cursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
        .hero-sub {
            font-size: 18px;
            line-height: 1.7;
            color: var(--text-muted);
            max-width: 620px;
            margin: 0 auto 36px;
            opacity: 0;
            transform: translateY(15px);
            transition: opacity 600ms ease-out, transform 600ms ease-out;
        }
        .hero-sub.visible { opacity: 1; transform: translateY(0); }
        .hero-ctas {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 32px;
            opacity: 0;
            transform: translateY(10px);
            transition: opacity 500ms ease-out, transform 500ms ease-out;
        }
        .hero-ctas.visible { opacity: 1; transform: translateY(0); }
        .hero-caption {
            font-size: 13px;
            color: var(--text-muted);
            opacity: 0;
            transition: opacity 600ms ease;
        }
        .hero-caption.visible { opacity: 0.6; }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            border-radius: 12px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 250ms ease;
            border: none;
        }
        .btn-primary {
            background: var(--accent);
            color: oklch(0.08 0.02 240);
        }
        .btn-primary:hover {
            box-shadow: 0 0 20px oklch(0.72 0.18 165 / 0.4), 0 0 40px oklch(0.72 0.18 165 / 0.15);
            transform: translateY(-2px);
        }
        .btn-ghost {
            background: transparent;
            color: var(--text);
            border: 1px solid var(--border);
        }
        .btn-ghost:hover {
            border-color: var(--accent);
            color: var(--accent);
            transform: translateY(-2px);
        }

        /* Scroll indicator */
        .scroll-indicator {
            position: absolute;
            bottom: 32px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1;
            animation: bounce-arrow 2s ease-in-out infinite;
            opacity: 0.5;
        }
        .scroll-indicator svg {
            width: 24px;
            height: 24px;
            stroke: var(--text-muted);
        }
        @keyframes bounce-arrow {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(10px); }
        }

        /* ===== STATS ===== */
        .stats {
            background: var(--surface);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            padding: 48px 24px;
        }
        .stats-grid {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 24px;
            text-align: center;
        }
        .stat-item {
            opacity: 1;
            transform: translateY(20px);
            transition: opacity 500ms ease-out, transform 500ms ease-out;
        }
        .stat-item.visible { opacity: 1; transform: translateY(0); }
        .stat-number {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 36px;
            font-weight: 800;
            color: var(--accent);
            transition: transform 200ms ease, text-shadow 200ms ease;
            cursor: default;
        }
        .stat-number:hover {
            transform: scale(1.1);
            text-shadow: 0 0 20px oklch(0.72 0.18 165 / 0.5);
        }
        .stat-label {
            font-size: 13px;
            color: var(--text-muted);
            margin-top: 4px;
            font-weight: 500;
        }

        /* ===== SECTIONS ===== */
        .section {
            padding: 100px 24px;
        }
        .section-inner {
            max-width: 1100px;
            margin: 0 auto;
        }
        .section-title {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: clamp(26px, 3.5vw, 40px);
            font-weight: 800;
            letter-spacing: -0.02em;
            margin-bottom: 16px;
            line-height: 1.2;
        }
        .section-subtitle {
            font-size: 17px;
            color: var(--text-muted);
            margin-bottom: 48px;
            max-width: 600px;
        }

        /* ===== PROBLEM / SOLUTION ===== */
        .ps-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
            margin-top: 48px;
        }
        .ps-card {
            padding: 36px;
            border-radius: 16px;
            border: 1px solid var(--border);
            will-change: transform, opacity;
        }
        .ps-card--challenge {
            background: oklch(0.10 0.015 0);
            border-color: oklch(0.25 0.04 15);
        }
        .ps-card--solution {
            background: oklch(0.10 0.015 165);
            border-color: oklch(0.25 0.04 165);
        }
        .ps-card h3 {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 16px;
        }
        .ps-card--challenge h3 { color: oklch(0.75 0.12 15); }
        .ps-card--solution h3 { color: var(--accent); }
        .ps-card p {
            color: var(--text-muted);
            font-size: 15px;
            line-height: 1.7;
            margin-bottom: 16px;
        }
        .ps-list {
            margin: 16px 0;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .ps-list li {
            position: relative;
            padding-left: 20px;
            font-size: 14px;
            color: var(--text-muted);
        }
        .ps-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 8px;
            width: 6px;
            height: 6px;
            border-radius: 50%;
        }
        .ps-card--challenge .ps-list li::before { background: oklch(0.65 0.12 15); }
        .ps-card--solution .ps-list li::before { background: var(--accent); }
        .ps-note {
            font-size: 13px !important;
            font-style: italic;
            opacity: 0.7;
            margin-bottom: 0 !important;
        }

        /* ===== ABOUT ===== */
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 48px;
            align-items: start;
        }
        .about-text p {
            color: var(--text-muted);
            font-size: 15px;
            line-height: 1.8;
            margin-bottom: 16px;
        }
        .about-text strong { color: var(--text); }
        .credentials-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 32px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            will-change: transform, opacity;
        }
        .credential-row {
            display: flex;
            align-items: center;
            gap: 16px;
        }
        .credential-icon {
            width: 20px;
            height: 20px;
            color: var(--accent);
            flex-shrink: 0;
        }
        .credential-label {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.5;
        }
        .credential-label strong {
            display: block;
            color: var(--text);
            font-weight: 600;
            font-size: 14px;
        }

        /* ===== PROJECTS ===== */
        .projects-section {
            background: oklch(0.06 0.01 240);
        }
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-top: 48px;
        }
        .project-card {
            position: relative;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 28px;
            border-left-width: 3px;
            border-left-style: solid;
            transition: border-left-width 200ms ease, transform 250ms ease, box-shadow 250ms ease;
            will-change: transform, opacity;
            cursor: default;
        }
        .project-card:hover {
            border-left-width: 8px;
            transform: translateY(-4px);
            box-shadow: 0 8px 32px oklch(0 0 0 / 0.3);
        }
        .project-card--teal { border-left-color: oklch(0.72 0.18 165); }
        .project-card--purple { border-left-color: oklch(0.65 0.15 260); }
        .project-card--blue { border-left-color: oklch(0.60 0.18 240); }
        .project-card--orange { border-left-color: oklch(0.70 0.16 55); }
        .project-card--green { border-left-color: oklch(0.68 0.18 145); }
        .project-card--yellow { border-left-color: oklch(0.80 0.15 85); }
        .project-card--pink { border-left-color: oklch(0.70 0.15 340); }
        .project-card--slate { border-left-color: oklch(0.65 0.12 220); }
        .project-card--emerald { border-left-color: oklch(0.72 0.20 160); }
        .project-card--featured {
            grid-column: 1 / -1;
            background: linear-gradient(135deg, oklch(0.10 0.02 165), oklch(0.12 0.01 240));
            border: 1px solid oklch(0.25 0.06 165);
        }
        .project-featured-badge {
            position: absolute;
            top: 16px;
            right: 16px;
            padding: 4px 12px;
            border-radius: 100px;
            background: oklch(0.72 0.18 165 / 0.15);
            color: var(--accent);
            font-size: 12px;
            font-weight: 600;
            border: 1px solid oklch(0.72 0.18 165 / 0.3);
        }
        @keyframes glow-pulse {
            0%, 100% { box-shadow: 0 0 0px oklch(0.72 0.20 160 / 0); }
            50% { box-shadow: 0 0 30px oklch(0.72 0.20 160 / 0.1); }
        }
        .project-card--featured.visible { animation: glow-pulse 3s ease-in-out infinite 1s; }
        .project-emoji {
            font-size: 28px;
            margin-bottom: 12px;
        }
        .project-tag {
            display: inline-block;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-muted);
            margin-bottom: 8px;
        }
        .project-title {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 10px;
        }
        .project-desc {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.7;
            margin-bottom: 16px;
        }
        .project-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
        .project-pill {
            font-family: 'JetBrains Mono', monospace;
            font-size: 11px;
            font-weight: 500;
            padding: 4px 10px;
            border-radius: 6px;
            background: oklch(0.15 0.02 240);
            color: var(--text-muted);
            border: 1px solid var(--border);
        }

        /* ===== CONTACT ===== */
        .contact-section {
            text-align: center;
        }
        .contact-headline {
            font-family: 'Plus Jakarta Sans', sans-serif;
            font-size: clamp(28px, 4vw, 44px);
            font-weight: 800;
            letter-spacing: -0.02em;
            margin-bottom: 16px;
        }
        .availability-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 48px;
        }
        .contact-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            max-width: 900px;
            margin: 0 auto 32px;
        }
        .contact-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            padding: 32px 20px;
            border-radius: 16px;
            background: var(--surface);
            border: 1px solid var(--border);
            transition: border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
            will-change: transform, opacity;
        }
        .contact-card:hover {
            border-color: var(--accent);
            transform: translateY(-4px);
            box-shadow: inset 0 0 20px oklch(0.72 0.18 165 / 0.08);
        }
        .contact-card svg {
            width: 24px;
            height: 24px;
            color: var(--accent);
        }
        .contact-card-label {
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-muted);
        }
        .contact-card-value {
            font-size: 14px;
            color: var(--text);
            word-break: break-all;
        }
        .contact-meta {
            font-size: 14px;
            color: var(--text-muted);
        }

        /* ===== FOOTER ===== */
        footer {
            border-top: 1px solid var(--border);
            padding: 24px;
        }
        .footer-inner {
            max-width: 1100px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            font-size: 13px;
            color: var(--text-muted);
            flex-wrap: wrap;
        }
        .footer-dot {
            width: 3px;
            height: 3px;
            border-radius: 50%;
            background: var(--text-muted);
            opacity: 0.5;
        }
        .footer-inner a {
            transition: color 200ms ease;
        }
        .footer-inner a:hover { color: var(--accent); }

        /* ===== ANIMATION CLASSES ===== */
        .anim-fade-up {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 600ms ease-out, transform 600ms ease-out;
            will-change: transform, opacity;
        }
        .anim-fade-up.visible { opacity: 1; transform: translateY(0); }
        .anim-slide-left {
            opacity: 0;
            transform: translateX(-60px);
            transition: opacity 700ms ease-out, transform 700ms ease-out;
            will-change: transform, opacity;
        }
        .anim-slide-left.visible { opacity: 1; transform: translateX(0); }
        .anim-slide-right {
            opacity: 0;
            transform: translateX(60px);
            transition: opacity 700ms ease-out, transform 700ms ease-out;
            will-change: transform, opacity;
        }
        .anim-slide-right.visible { opacity: 1; transform: translateX(0); }
        .anim-scale-up {
            opacity: 0;
            transform: translateY(40px) scale(0.96);
            transition: opacity 500ms ease-out, transform 500ms ease-out;
            will-change: transform, opacity;
        }
        .anim-scale-up.visible { opacity: 1; transform: translateY(0) scale(1); }


        /* FORCE VISIBLE — animation fallback */
        .anim-fade-up,
        .anim-slide-left,
        .anim-slide-right,
        .anim-scale-up {
            opacity: 1 !important;
            transform: none !important;
        }

        /* ===== REDUCED MOTION ===== */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
            .anim-fade-up, .anim-slide-left, .anim-slide-right, .anim-scale-up {
                opacity: 1 !important;
                transform: none !important;
            }
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .projects-grid { grid-template-columns: repeat(2, 1fr); }
            .project-card--featured { grid-column: 1 / -1; }
            .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
        }
        @media (max-width: 768px) {
            .navbar-links { display: none; }
            .navbar-name { display: none; }
            .hamburger { display: flex; }
            .hero h1 { font-size: 28px; }
            .hero-sub { font-size: 16px; }
            .ps-grid { grid-template-columns: 1fr; }
            .about-grid { grid-template-columns: 1fr; }
            .projects-grid { grid-template-columns: 1fr; }
            .contact-cards { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .section { padding: 64px 20px; }
        }
        @media (max-width: 480px) {
            .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
            .stat-number { font-size: 28px; }
        }
        /* Mobile fallback: ensure animated elements are visible even if IntersectionObserver fails */
        @media (max-width: 768px) {
            .stat-item,
            .anim-fade-up,
            .anim-slide-left,
            .anim-slide-right,
            .anim-scale-up {
                opacity: 1 !important;
                transform: none !important;
            }
        }
    
@media (max-width: 768px) {
    .reveal, .reveal-left, .reveal-right, .reveal-up,
    .stat-item, .project-card, .contact-card,
    .problem-card, .solution-card {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
}


/* Force all content visible */
section, .stats-strip, .stats-grid, .stat-item,
.project-card, .projects-grid, .contact-card,
.problem-card, .solution-card, .about-content,
.credentials-card, .about-text, footer {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}


        /* ===== LIVE METRICS STRIP ===== */
        .metrics-strip {
            background: oklch(0.06 0.01 240);
            border-bottom: 1px solid var(--border);
            padding: 12px 24px;
        }
        .metrics-inner {
            max-width: 1100px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 28px;
            flex-wrap: wrap;
            justify-content: center;
        }
        .metric-live {
            display: flex;
            align-items: center;
            gap: 7px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 12px;
            color: var(--text-muted);
            white-space: nowrap;
        }
        .metric-live-dot {
            width: 6px; height: 6px;
            border-radius: 50%;
            background: oklch(0.70 0.20 145);
            animation: pulse-dot 2s ease-in-out infinite;
            flex-shrink: 0;
        }
        .metric-live-value { color: var(--accent); font-weight: 500; }
        .metric-divider { width: 1px; height: 14px; background: var(--border); opacity: 0.5; }

        /* ===== CASE STUDY ===== */
        .case-study-section { background: var(--bg); border-top: 1px solid var(--border); }
        .case-study-tag {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 4px 14px; border-radius: 100px;
            background: oklch(0.72 0.18 165 / 0.08);
            border: 1px solid oklch(0.72 0.18 165 / 0.25);
            font-size: 11px; font-weight: 700;
            text-transform: uppercase; letter-spacing: 0.08em;
            color: var(--accent); margin-bottom: 20px; display: inline-block;
        }
        .cs-timeline { position: relative; margin-top: 48px; display: flex; flex-direction: column; gap: 0; }
        .cs-timeline::before {
            content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
            width: 2px; background: linear-gradient(to bottom, var(--accent), var(--accent2), transparent); opacity: 0.25;
        }
        .cs-step { display: grid; grid-template-columns: 32px 1fr; gap: 24px; padding-bottom: 52px; }
        .cs-step:last-child { padding-bottom: 0; }
        .cs-step-marker {
            width: 32px; height: 32px; border-radius: 50%;
            background: var(--surface); border: 2px solid var(--accent);
            display: flex; align-items: center; justify-content: center;
            font-size: 13px; flex-shrink: 0; position: relative; z-index: 1;
        }
        .cs-step-content h3 {
            font-family: 'Plus Jakarta Sans', sans-serif; font-size: 18px;
            font-weight: 700; margin-bottom: 12px; color: var(--text);
        }
        .cs-step-content p {
            color: var(--text-muted); font-size: 15px;
            line-height: 1.75; margin-bottom: 14px;
        }
        .cs-metrics-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
        .cs-metric {
            background: var(--surface); border: 1px solid var(--border);
            border-radius: 12px; padding: 16px 20px; min-width: 130px;
        }
        .cs-metric-value {
            font-family: 'Plus Jakarta Sans', sans-serif; font-size: 30px;
            font-weight: 800; color: var(--accent);
        }
        .cs-metric-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
        .cs-tech-stack { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

        /* ===== LIVE DEMO ===== */
        .demo-section { background: oklch(0.06 0.01 240); border-top: 1px solid var(--border); }
        .demo-wrapper { max-width: 700px; margin: 0 auto; }
        .chat-container {
            background: var(--surface); border: 1px solid var(--border);
            border-radius: 20px; overflow: hidden; margin-top: 40px;
        }
        .chat-topbar {
            display: flex; align-items: center; gap: 10px;
            padding: 14px 20px; border-bottom: 1px solid var(--border);
            background: oklch(0.10 0.01 240);
        }
        .chat-status-dot {
            width: 8px; height: 8px; border-radius: 50%;
            background: oklch(0.70 0.20 145); animation: pulse-dot 2s ease-in-out infinite;
        }
        .chat-topbar-label { font-size: 13px; font-weight: 600; color: var(--text); }
        .chat-topbar-sub { font-size: 11px; color: var(--text-muted); margin-left: auto; font-family: 'JetBrains Mono', monospace; }
        .chat-messages {
            height: 300px; overflow-y: auto;
            padding: 20px; display: flex; flex-direction: column;
            gap: 14px; scroll-behavior: smooth;
        }
        .chat-messages::-webkit-scrollbar { width: 4px; }
        .chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
        .chat-msg {
            max-width: 85%; padding: 12px 16px; border-radius: 16px;
            font-size: 14px; line-height: 1.6;
            animation: msgIn 200ms ease-out;
        }
        @keyframes msgIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
        .chat-msg--agent {
            background: oklch(0.10 0.015 240); border: 1px solid var(--border);
            color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px;
        }
        .chat-msg--user {
            background: var(--accent); color: oklch(0.08 0.02 240);
            align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500;
        }
        .chat-msg--typing {
            background: oklch(0.10 0.015 240); border: 1px solid var(--border);
            align-self: flex-start; border-bottom-left-radius: 4px; padding: 14px 18px;
        }
        .typing-dots { display: flex; gap: 4px; align-items: center; }
        .typing-dot {
            width: 6px; height: 6px; border-radius: 50%;
            background: var(--text-muted); animation: typingBounce 1.2s ease-in-out infinite;
        }
        .typing-dot:nth-child(2) { animation-delay: 0.2s; }
        .typing-dot:nth-child(3) { animation-delay: 0.4s; }
        @keyframes typingBounce {
            0%,80%,100% { transform:translateY(0); opacity:0.5; }
            40% { transform:translateY(-5px); opacity:1; }
        }
        .chat-suggestions { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 20px 14px; }
        .chat-suggestion {
            background: oklch(0.12 0.01 240); border: 1px solid var(--border);
            border-radius: 100px; padding: 6px 14px; font-size: 12px;
            color: var(--text-muted); cursor: pointer; transition: all 150ms ease;
            font-family: 'Inter', sans-serif;
        }
        .chat-suggestion:hover { border-color: var(--accent); color: var(--accent); }
        .chat-input-row {
            display: flex; gap: 10px; padding: 14px 20px;
            border-top: 1px solid var(--border); background: oklch(0.10 0.01 240);
        }
        .chat-input {
            flex: 1; background: var(--surface); border: 1px solid var(--border);
            border-radius: 10px; padding: 10px 14px; font-size: 14px;
            color: var(--text); font-family: 'Inter', sans-serif;
            outline: none; transition: border-color 200ms ease;
        }
        .chat-input:focus { border-color: var(--accent); }
        .chat-input::placeholder { color: var(--text-muted); }
        .chat-send-btn {
            background: var(--accent); color: oklch(0.08 0.02 240);
            border: none; border-radius: 10px; padding: 0 18px;
            font-size: 14px; font-weight: 600; cursor: pointer;
            transition: all 200ms ease; display: flex; align-items: center;
            gap: 6px; font-family: 'Inter', sans-serif; flex-shrink: 0;
        }
        .chat-send-btn:hover:not(:disabled) {
            box-shadow: 0 0 16px oklch(0.72 0.18 165 / 0.4); transform: translateY(-1px);
        }
        .chat-send-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
        .demo-note { text-align: center; margin-top: 14px; font-size: 12px; color: var(--text-muted); }

        /* ===== LEGAL MODAL ===== */
        .legal-modal-overlay {
            position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
            z-index: 10001; display: none; align-items: center; justify-content: center;
            padding: 24px;
        }
        .legal-modal-overlay.active { display: flex; }
        .legal-modal {
            background: var(--surface); border: 1px solid var(--border);
            border-radius: 20px; max-width: 720px; width: 100%;
            max-height: 85vh; overflow-y: auto; padding: 40px;
            position: relative;
        }
        .legal-modal::-webkit-scrollbar { width: 6px; }
        .legal-modal::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
        .legal-modal h2 {
            font-family: 'Plus Jakarta Sans', sans-serif; font-size: 24px;
            font-weight: 800; margin-bottom: 24px; color: var(--accent);
        }
        .legal-modal h3 {
            font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px;
            font-weight: 700; margin: 20px 0 8px; color: var(--text);
        }
        .legal-modal p, .legal-modal li {
            font-size: 14px; line-height: 1.8; color: var(--text-muted); margin-bottom: 10px;
        }
        .legal-modal ul { margin-left: 20px; list-style: disc; }
        .legal-modal a { color: var(--accent); text-decoration: underline; }
        .legal-close {
            position: absolute; top: 16px; right: 16px;
            background: var(--bg); border: 1px solid var(--border);
            color: var(--text); width: 36px; height: 36px; border-radius: 50%;
            font-size: 18px; cursor: pointer; display: flex;
            align-items: center; justify-content: center;
            transition: border-color 200ms ease;
        }
        .legal-close:hover { border-color: var(--accent); }

        /* ===== COOKIE BANNER ===== */
        .cookie-banner {
            position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
            background: var(--surface); border-top: 1px solid var(--border);
            padding: 16px 24px; display: flex; align-items: center; justify-content: center;
            gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted);
            transform: translateY(100%); transition: transform 400ms ease;
        }
        .cookie-banner.visible { transform: translateY(0); }
        .cookie-banner.hidden { display: none; }
        .cookie-btn {
            background: var(--accent); color: oklch(0.08 0.02 240); border: none;
            border-radius: 8px; padding: 8px 20px; font-size: 13px; font-weight: 600;
            cursor: pointer; transition: all 200ms ease; font-family: 'Inter', sans-serif;
        }
        .cookie-btn:hover { box-shadow: 0 0 16px oklch(0.72 0.18 165 / 0.4); }

    