* {
            -webkit-tap-highlight-color: transparent
        }

        :root {
            --g1: #059669;
            --g2: #10b981;
            --g3: #34d399;
            --g4: #6ee7b7;
            --dark: #030a06;
            --surface: #0d1a12;
            --surface2: #122018;
            --border: rgba(52, 211, 153, 0.12);
            --border-hover: rgba(52, 211, 153, 0.35);
            --text: #f0fdf4;
            --text-muted: #86efac;
            --text-dim: #4b7a5e;
            --glow: rgba(16, 185, 129, 0.2);
            --glow-strong: rgba(16, 185, 129, 0.45);
            --card-bg: rgba(13, 26, 18, 0.85);
            --warn: #fbbf24;
            --danger: #f87171;
            --info: #67e8f9;
            --violet: #a78bfa;
        }

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

        html {
            scroll-behavior: smooth
        }

        .page-wrap {
            overflow-x: clip;
            width: 100%
        }

        body {
            font-family: 'DM Sans', sans-serif;
            background: var(--dark);
            color: var(--text);
            min-height: 100vh;
            line-height: 1.5
        }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            z-index: 0;
            background: radial-gradient(ellipse 80% 60% at 10% 10%, rgba(5, 150, 105, 0.18) 0%, transparent 60%),
                radial-gradient(ellipse 60% 80% at 90% 80%, rgba(16, 185, 129, 0.12) 0%, transparent 55%),
                radial-gradient(ellipse 40% 40% at 50% 50%, rgba(52, 211, 153, 0.05) 0%, transparent 60%);
            pointer-events: none
        }

        body::after {
            content: '';
            position: fixed;
            inset: 0;
            z-index: 0;
            background-image: linear-gradient(rgba(52, 211, 153, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(52, 211, 153, 0.025) 1px, transparent 1px);
            background-size: 48px 48px;
            pointer-events: none
        }

        .mono {
            font-family: 'JetBrains Mono', monospace
        }

        ::selection {
            background: rgba(52, 211, 153, 0.25);
            color: #fff
        }

        a {
            color: inherit
        }

        img {
            max-width: 100%
        }

        /* ── NAVBAR ── */
        .navbar {
            position: sticky;
            top: 0;
            z-index: 1000;
            height: 68px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 5%;
            background: rgba(3, 10, 6, 0.75);
            backdrop-filter: blur(20px) saturate(180%);
            border-bottom: 1px solid var(--border)
        }

        .nav-logo {
            font-family: 'Syne', sans-serif;
            font-size: 1.35rem;
            font-weight: 800;
            color: var(--text);
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            text-decoration: none
        }

        .nav-logo i {
            width: 34px;
            height: 34px;
            background: linear-gradient(135deg, var(--g1), var(--g3));
            border-radius: 9px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            color: #fff;
            box-shadow: 0 0 14px var(--glow)
        }

        .nav-logo span.ai-tag {
            font-size: 0.6rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            background: linear-gradient(90deg, var(--g1), var(--g3));
            padding: 3px 8px;
            border-radius: 20px;
            color: #fff
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 32px
        }

        .nav-links a {
            font-size: 0.86rem;
            font-weight: 600;
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.2s;
            position: relative
        }

        .nav-links a:hover {
            color: var(--g3)
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 12px
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 0.85rem;
            font-weight: 700;
            padding: 10px 20px;
            border-radius: 11px;
            text-decoration: none;
            cursor: pointer;
            border: 1px solid transparent;
            transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
            white-space: nowrap
        }

        .btn-ghost {
            color: var(--text-muted);
            border-color: var(--border)
        }

        .btn-ghost:hover {
            color: var(--g3);
            border-color: var(--border-hover);
            background: rgba(52, 211, 153, 0.05)
        }

        .btn-solid {
            background: linear-gradient(135deg, var(--g1), var(--g2));
            color: #fff;
            box-shadow: 0 8px 24px rgba(16, 185, 129, 0.28)
        }

        .btn-solid:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4)
        }

        .btn-lg {
            padding: 14px 28px;
            font-size: 0.92rem;
            border-radius: 13px
        }

        .nav-actions .btn-solid {
            opacity: 0;
            transform: translateY(-6px) scale(0.96);
            pointer-events: none;
            transition: opacity 0.35s ease, transform 0.35s ease
        }

        .navbar.scrolled .nav-actions .btn-solid {
            opacity: 1;
            transform: translateY(0) scale(1);
            pointer-events: all
        }

        .nav-burger {
            display: none;
            background: none;
            border: 1px solid var(--border);
            color: var(--text);
            width: 40px;
            height: 40px;
            border-radius: 9px;
            font-size: 1rem;
            cursor: pointer
        }

        .mobile-menu {
            display: none
        }

        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(24px)
            }

            to {
                opacity: 1;
                transform: translateY(0)
            }
        }

        @keyframes orbPulse {

            0%,
            100% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.75
            }

            50% {
                transform: translate(-50%, -50%) scale(1.12);
                opacity: 1
            }
        }

        @keyframes drift {

            0%,
            100% {
                transform: translateY(0px) translateX(0px)
            }

            50% {
                transform: translateY(-14px) translateX(8px)
            }
        }

        @keyframes drawLine {
            to {
                stroke-dashoffset: 0
            }
        }

        @keyframes blink {

            0%,
            100% {
                opacity: 1
            }

            50% {
                opacity: 0.25
            }
        }

        @keyframes floatSlow {

            0%,
            100% {
                transform: translateY(0)
            }

            50% {
                transform: translateY(-10px)
            }
        }

        @keyframes spinSlow {
            to {
                transform: rotate(360deg)
            }
        }

        /* ── HERO ── */
        .hero {
            position: relative;
            z-index: 1;
            padding: 88px 5% 60px;
            overflow: hidden
        }

        .hero-grid {
            max-width: 1240px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.05fr 0.95fr;
            gap: 60px;
            align-items: center
        }

        .hero-orb {
            position: absolute;
            width: 640px;
            height: 640px;
            border-radius: 50%;
            top: 8%;
            left: 2%;
            background: radial-gradient(circle, rgba(5, 150, 105, 0.20) 0%, transparent 70%);
            animation: orbPulse 6s ease-in-out infinite;
            pointer-events: none
        }

        .welcome-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--g3);
            border: 1px solid var(--border-hover);
            background: rgba(52, 211, 153, 0.07);
            padding: 7px 16px;
            border-radius: 30px;
            margin-bottom: 22px;
            animation: fadeUp 0.7s 0.05s cubic-bezier(0.16, 1, 0.3, 1) both
        }

        .pulse-dot {
            display: inline-block;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--g3);
            animation: blink 1.6s infinite
        }

        .hero-copy h1 {
            font-family: 'Syne', sans-serif;
            font-size: clamp(2.4rem, 4.6vw, 3.6rem);
            font-weight: 800;
            line-height: 1.06;
            letter-spacing: -0.03em;
            margin-bottom: 20px;
            animation: fadeUp 0.7s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both
        }

        .hero-copy h1 .hl {
            background: linear-gradient(120deg, var(--g3) 0%, var(--g2) 50%, var(--g4) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text
        }

        .hero-copy p.lead {
            font-size: 1.05rem;
            line-height: 1.7;
            color: var(--text-muted);
            max-width: 520px;
            margin-bottom: 34px;
            animation: fadeUp 0.7s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both
        }

        .hero-actions {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
            margin-bottom: 34px;
            animation: fadeUp 0.7s 0.28s cubic-bezier(0.16, 1, 0.3, 1) both
        }

        .hero-stats {
            display: flex;
            gap: 28px;
            flex-wrap: wrap;
            animation: fadeUp 0.7s 0.36s cubic-bezier(0.16, 1, 0.3, 1) both
        }

        .hstat b {
            display: block;
            font-family: 'Syne', sans-serif;
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--text)
        }

        .hstat span {
            font-size: 0.74rem;
            color: var(--text-dim);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            font-weight: 600
        }

        /* ── HERO VISUAL: live prediction mock panel ── */
        .hero-visual {
            position: relative;
            animation: fadeUp 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
            max-width: 500px;
            margin: 0 auto;
            padding: 36px 26px
        }

        .predict-card {
            position: relative;
            z-index: 2;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 22px;
            padding: 26px;
            backdrop-filter: blur(18px);
            box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 60px var(--glow);
            height: 350px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .predict-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 18px
        }

        .predict-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 0.62rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--g3);
            background: rgba(52, 211, 153, 0.1);
            border: 1px solid rgba(52, 211, 153, 0.2);
            padding: 4px 10px;
            border-radius: 20px
        }

        .predict-mini {
            font-size: 0.68rem;
            color: var(--text-dim);
            font-weight: 600
        }

        .predict-amount {
            font-family: 'Syne', sans-serif;
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--text);
            line-height: 1;
            margin-bottom: 6px;
            white-space: nowrap
        }

        .predict-amount span {
            font-size: 1.1rem;
            color: var(--g3);
            font-weight: 700
        }

        .predict-sub {
            font-size: 0.8rem;
            color: var(--text-dim);
            margin-bottom: 20px
        }

        .predict-chart {
            width: 100%;
            height: 120px;
            margin-bottom: 18px
        }

        .chart-line {
            stroke: url(#chartGrad);
            stroke-width: 2.5;
            fill: none;
            stroke-dasharray: 600;
            stroke-dashoffset: 600;
            animation: drawLine 2.2s 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards
        }

        .chart-fill {
            opacity: 0;
            animation: fadeUp 1s 1.6s ease forwards
        }

        .predict-slabs {
            display: flex;
            gap: 8px
        }

        .slab-chip {
            flex: 1;
            text-align: center;
            padding: 10px 6px;
            border-radius: 10px;
            background: rgba(52, 211, 153, 0.05);
            border: 1px solid var(--border)
        }

        .slab-chip b {
            display: block;
            font-family: 'Syne', sans-serif;
            font-size: 0.85rem;
            color: var(--g3)
        }

        .slab-chip span {
            font-size: 0.62rem;
            color: var(--text-dim);
            text-transform: uppercase;
            letter-spacing: 0.04em
        }

        .float-chip {
            position: absolute;
            z-index: 3;
            background: var(--surface);
            border: 1px solid var(--border-hover);
            border-radius: 14px;
            padding: 11px 14px;
            backdrop-filter: blur(14px);
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
            display: flex;
            align-items: center;
            gap: 10px;
            animation: floatSlow 5s ease-in-out infinite;
            max-width: 190px
        }

        .float-chip i {
            width: 30px;
            height: 30px;
            border-radius: 9px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            flex-shrink: 0
        }

        .float-chip.fc1 {
            top: -6px;
            right: -14px;
            animation-delay: 0s
        }

        .float-chip.fc2 {
            bottom: -6px;
            left: -14px;
            animation-delay: 1.4s
        }

        .float-chip b {
            display: block;
            font-size: 0.74rem;
            color: var(--text);
            font-family: 'Syne', sans-serif;
            line-height: 1.3
        }

        .float-chip span {
            font-size: 0.62rem;
            color: var(--text-dim);
            line-height: 1.3
        }

        /* ── LOGO STRIP ── */
        .trust-strip {
            position: relative;
            z-index: 1;
            padding: 26px 5%;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border)
        }

        .trust-inner {
            max-width: 1240px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 44px;
            flex-wrap: wrap;
            color: var(--text-dim);
            font-size: 0.78rem;
            font-weight: 600;
            letter-spacing: 0.03em
        }

        .trust-inner span {
            display: flex;
            align-items: center;
            gap: 8px
        }

        .trust-inner i {
            color: var(--g3)
        }

        /* ── SECTION SHARED ── */
        .section {
            position: relative;
            z-index: 1;
            max-width: 1240px;
            margin: 0 auto;
            padding: 100px 5%
        }

        .section-tight {
            padding-top: 60px;
            padding-bottom: 60px
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.72rem;
            font-weight: 800;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--g3);
            margin-bottom: 14px
        }

        .eyebrow::before {
            content: '';
            width: 20px;
            height: 2px;
            background: var(--g3);
            border-radius: 2px
        }

        .section-head {
            max-width: 640px;
            margin-bottom: 52px
        }

        .section-head h2 {
            font-family: 'Syne', sans-serif;
            font-size: clamp(1.8rem, 3.4vw, 2.5rem);
            font-weight: 800;
            letter-spacing: -0.02em;
            margin-bottom: 14px
        }

        .section-head p {
            color: var(--text-dim);
            font-size: 1rem;
            line-height: 1.7
        }

        .reveal {
            opacity: 0;
            transform: translateY(28px);
            transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1)
        }

        .reveal.in {
            opacity: 1;
            transform: translateY(0)
        }

        /* ── PROBLEM STRIP ── */
        .problem-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px
        }

        .problem-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 18px;
            padding: 26px;
            backdrop-filter: blur(14px)
        }

        .problem-card i {
            font-size: 1.3rem;
            color: var(--danger);
            margin-bottom: 14px;
            display: block
        }

        .problem-card h4 {
            font-family: 'Syne', sans-serif;
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 8px
        }

        .problem-card p {
            font-size: 0.85rem;
            color: var(--text-dim);
            line-height: 1.6
        }

        /* ── HOW IT WORKS ── */
        .steps-wrap {
            position: relative
        }

        .steps-line {
            position: absolute;
            top: 34px;
            left: 34px;
            right: 34px;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--border-hover), var(--border-hover), transparent);
            z-index: 0
        }

        .steps-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            position: relative;
            z-index: 1
        }

        .step-card {
            text-align: left
        }

        .step-num {
            width: 68px;
            height: 68px;
            border-radius: 18px;
            background: var(--card-bg);
            border: 1px solid var(--border-hover);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Syne', sans-serif;
            font-size: 1.35rem;
            font-weight: 800;
            color: var(--g3);
            margin-bottom: 20px;
            box-shadow: 0 0 24px var(--glow);
            position: relative
        }

        .step-num::after {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: 19px;
            padding: 1px;
            background: linear-gradient(135deg, var(--g2), transparent);
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0.5
        }

        .step-card h4 {
            font-family: 'Syne', sans-serif;
            font-size: 1.05rem;
            font-weight: 700;
            margin-bottom: 10px
        }

        .step-card p {
            font-size: 0.85rem;
            color: var(--text-dim);
            line-height: 1.65
        }

        /* ── FEATURES GRID ── */
        .grid-layout {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px
        }

        .card {
            position: relative;
            overflow: hidden;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 20px;
            padding: 30px 26px;
            cursor: default;
            transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, box-shadow 0.35s;
            backdrop-filter: blur(14px)
        }

        .card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(110deg, transparent 30%, rgba(52, 211, 153, 0.06) 50%, transparent 70%);
            transform: translateX(-100%);
            transition: transform 0.55s ease;
            pointer-events: none
        }

        .card:hover::before {
            transform: translateX(100%)
        }

        .card:hover {
            transform: translateY(-8px);
            border-color: var(--border-hover);
            box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 0 40px var(--glow)
        }

        .card-status {
            position: absolute;
            top: 16px;
            right: 16px;
            font-size: 0.6rem;
            font-weight: 800;
            letter-spacing: 0.07em;
            text-transform: uppercase;
            padding: 4px 10px;
            border-radius: 6px
        }

        .status-live {
            background: rgba(16, 185, 129, 0.15);
            color: var(--g3);
            border: 1px solid rgba(16, 185, 129, 0.3)
        }

        .status-neural {
            background: rgba(6, 182, 212, 0.12);
            color: #67e8f9;
            border: 1px solid rgba(6, 182, 212, 0.25)
        }

        .status-beta {
            background: rgba(251, 191, 36, 0.12);
            color: #fbbf24;
            border: 1px solid rgba(251, 191, 36, 0.25)
        }

        .status-ai {
            background: rgba(167, 139, 250, 0.12);
            color: var(--violet);
            border: 1px solid rgba(167, 139, 250, 0.25)
        }

        .card-icon {
            width: 48px;
            height: 48px;
            background: rgba(52, 211, 153, 0.1);
            border: 1px solid rgba(52, 211, 153, 0.18);
            border-radius: 13px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: var(--g3);
            margin-bottom: 18px;
            transition: background 0.3s, box-shadow 0.3s, transform 0.3s
        }

        .card:hover .card-icon {
            background: rgba(52, 211, 153, 0.18);
            box-shadow: 0 0 20px var(--glow);
            transform: scale(1.08) rotate(-2deg)
        }

        .card h3 {
            font-family: 'Syne', sans-serif;
            font-size: 1.12rem;
            font-weight: 700;
            margin-bottom: 8px
        }

        .card p {
            color: var(--text-dim);
            font-size: 0.85rem;
            line-height: 1.6
        }

        /* ── ARCHITECTURE ── */
        .architecture-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px
        }

        .arch-card {
            background: rgba(5, 20, 10, 0.5);
            padding: 25px;
            border-radius: 16px;
            border: 1px solid var(--border)
        }

        .arch-card.dashed {
            background: transparent;
            border-style: dashed
        }

        .arch-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 12px
        }

        .arch-top h4 {
            font-family: 'Syne', sans-serif;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.98rem
        }

        .arch-pill {
            font-size: 0.55rem;
            color: #fff;
            padding: 3px 8px;
            border-radius: 4px;
            font-weight: 800;
            white-space: nowrap;
            text-transform: uppercase
        }

        .arch-card p {
            font-size: 0.82rem;
            color: var(--text-muted);
            line-height: 1.55
        }

        .arch-foot {
            margin-top: 12px;
            font-size: 0.68rem;
            color: var(--text-dim);
            font-weight: 700
        }

        /* ── TUTORIAL / DEMO PREVIEW ── */
        .tutorial-panel {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 24px;
            padding: 8px;
            backdrop-filter: blur(16px);
            box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45)
        }

        .tutorial-topbar {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 16px;
            min-width: 0
        }

        .tutorial-topbar span:not(.url) {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            display: inline-block;
        }

        .tutorial-topbar span:nth-child(1) {
            background-color: #ff5f56; /* Close (Red) */
        }

        .tutorial-topbar span:nth-child(2) {
            background-color: #ffbd2e; /* Minimize (Yellow) */
        }

        .tutorial-topbar span:nth-child(3) {
            background-color: #27c93f; /* Maximize (Green) */
        }

        .tutorial-topbar .url {
            margin-left: 10px;
            font-size: 0.72rem;
            color: var(--text-dim);
            background: rgba(255, 255, 255, 0.03);
            padding: 4px 12px;
            border-radius: 6px;
            font-family: 'JetBrains Mono', monospace;
            min-width: 0;
            flex: 0 1 auto;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap
        }

        .tutorial-body {
            border-top: 1px solid var(--border);
            padding: 28px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px
        }

        .tut-mini-stat {
            background: rgba(52, 211, 153, 0.05);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 16px
        }

        .tut-mini-stat .l {
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--text-dim);
            font-weight: 700;
            margin-bottom: 6px
        }

        .tut-mini-stat .v {
            font-family: 'Syne', sans-serif;
            font-size: 1.2rem;
            font-weight: 800
        }

        .tut-bar-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px
        }

        .tut-bar-row .lbl {
            font-size: 0.7rem;
            color: var(--text-dim);
            width: 56px;
            flex-shrink: 0
        }

        .tut-bar-track {
            flex: 1;
            height: 6px;
            background: rgba(52, 211, 153, 0.08);
            border-radius: 4px;
            overflow: hidden
        }

        .tut-bar-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--g1), var(--g3));
            border-radius: 4px;
            width: 0
        }

        .tut-bar-fill.reveal-bar {
            transition: width 1.4s cubic-bezier(0.34, 1.56, 0.64, 1)
        }

        /* ── NEPRA STRIP ── */
        .nepra-panel {
            display: grid;
            grid-template-columns: 0.9fr 1.1fr;
            gap: 0;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 22px;
            overflow: hidden;
            backdrop-filter: blur(14px)
        }

        .nepra-left {
            padding: 44px;
            background: linear-gradient(160deg, rgba(5, 150, 105, 0.1), transparent)
        }

        .nepra-left h3 {
            font-family: 'Syne', sans-serif;
            font-size: 1.5rem;
            font-weight: 800;
            margin-bottom: 14px
        }

        .nepra-left p {
            color: var(--text-dim);
            font-size: 0.9rem;
            line-height: 1.7;
            margin-bottom: 20px
        }

        .nepra-right {
            padding: 44px;
            border-left: 1px solid var(--border);
            display: flex;
            flex-direction: column;
            gap: 14px
        }

        .nepra-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 16px;
            border-radius: 10px;
            background: rgba(52, 211, 153, 0.04);
            border: 1px solid var(--border);
            font-size: 0.82rem
        }

        .nepra-row b {
            color: var(--g3);
            font-family: 'Syne', sans-serif
        }

        /* ── TEAM ── */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 18px
        }

        .member-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 24px 20px;
            text-align: center;
            backdrop-filter: blur(14px);
            transition: transform 0.3s, border-color 0.3s
        }

        .member-card:hover {
            transform: translateY(-6px);
            border-color: var(--border-hover)
        }

        .member-card img {
            width: 74px;
            height: 74px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--border);
            margin: 0 auto 14px
        }

        .member-card h4 {
            font-family: 'Syne', sans-serif;
            font-weight: 700;
            font-size: 0.98rem;
            margin-bottom: 4px
        }

        .member-role {
            font-size: 0.72rem;
            color: var(--g3);
            font-weight: 600;
            margin-bottom: 8px
        }

        .member-email {
            font-size: 0.72rem;
            color: var(--text-dim);
            text-decoration: none;
            word-break: break-all
        }

        .member-email:hover {
            color: var(--g3)
        }

        .uni-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 40px;
            flex-wrap: wrap;
            text-align: center
        }

        .uni-badge .tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--g3);
            border: 1px solid var(--border);
            padding: 7px 16px;
            border-radius: 20px;
            background: rgba(52, 211, 153, 0.06)
        }

        /* ── SDG ── */
        .sdg-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px
        }

        .sdg-card {
            padding: 24px;
            border-radius: 16px
        }

        .sdg-top {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px
        }

        .sdg-num {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 800;
            font-size: 1.1rem;
            flex-shrink: 0
        }

        .sdg-card h4 {
            font-family: 'Syne', sans-serif;
            font-size: 0.95rem
        }

        .sdg-card p {
            font-size: 0.82rem;
            color: var(--text-muted);
            line-height: 1.6
        }

        /* ── FAQ ── */
        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            max-width: 820px
        }

        .faq-item {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 14px;
            overflow: hidden;
            transition: border-color 0.25s
        }

        .faq-item[open] {
            border-color: var(--border-hover)
        }

        .faq-item summary {
            list-style: none;
            cursor: pointer;
            padding: 20px 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: 'Syne', sans-serif;
            font-weight: 700;
            font-size: 0.95rem;
            gap: 16px
        }

        .faq-item summary::-webkit-details-marker {
            display: none
        }

        .faq-item summary i {
            color: var(--g3);
            transition: transform 0.3s;
            flex-shrink: 0
        }

        .faq-item[open] summary i {
            transform: rotate(45deg)
        }

        .faq-answer {
            padding: 0 24px 20px;
            color: var(--text-dim);
            font-size: 0.87rem;
            line-height: 1.7
        }

        /* ── CTA BANNER ── */
        .cta-banner {
            position: relative;
            overflow: hidden;
            border-radius: 28px;
            padding: 64px 40px;
            text-align: center;
            background: linear-gradient(135deg, rgba(5, 150, 105, 0.16), rgba(52, 211, 153, 0.05));
            border: 1px solid var(--border-hover)
        }

        .cta-banner::before {
            content: '';
            position: absolute;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 70%);
            top: -100px;
            left: 50%;
            transform: translateX(-50%);
            animation: orbPulse 5s ease-in-out infinite;
            pointer-events: none
        }

        .cta-banner h2 {
            position: relative;
            font-family: 'Syne', sans-serif;
            font-size: clamp(1.7rem, 3.6vw, 2.4rem);
            font-weight: 800;
            margin-bottom: 14px
        }

        .cta-banner p {
            position: relative;
            color: var(--text-muted);
            font-size: 0.95rem;
            margin-bottom: 30px;
            max-width: 520px;
            margin-left: auto;
            margin-right: auto
        }

        .cta-actions {
            position: relative;
            display: flex;
            gap: 14px;
            justify-content: center;
            flex-wrap: wrap
        }

        /* ── FOOTER ── */
        .footer {
            position: relative;
            z-index: 1;
            background: rgba(3, 10, 6, 0.85);
            border-top: 1px solid var(--border);
            padding: 60px 5% 30px
        }

        .footer-grid {
            max-width: 1240px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px
        }

        .footer-brand-logo {
            font-family: 'Syne', sans-serif;
            font-size: 1.2rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 14px
        }

        .footer-brand-logo i {
            width: 30px;
            height: 30px;
            background: linear-gradient(135deg, var(--g1), var(--g3));
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            color: #fff
        }

        .footer-col p {
            color: var(--text-dim);
            font-size: 0.83rem;
            line-height: 1.7;
            max-width: 280px
        }

        .footer-col h5 {
            font-family: 'Syne', sans-serif;
            font-size: 0.82rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--text-muted);
            margin-bottom: 16px
        }

        .footer-col a {
            display: block;
            font-size: 0.83rem;
            color: var(--text-dim);
            text-decoration: none;
            margin-bottom: 12px;
            transition: color 0.2s
        }

        .footer-col a:hover {
            color: var(--g3)
        }

        .footer-bottom {
            max-width: 1240px;
            margin: 0 auto;
            padding-top: 26px;
            border-top: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px
        }

        .footer-bottom span {
            font-size: 0.78rem;
            color: var(--text-dim)
        }

        .footer-tag {
            display: inline-block;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--g3);
            border: 1px solid var(--border);
            padding: 5px 14px;
            border-radius: 20px;
            background: rgba(52, 211, 153, 0.06)
        }

        /* ── SCROLL TOP ── */
        .scroll-top {
            position: fixed;
            bottom: 28px;
            right: 28px;
            z-index: 500;
            width: 42px;
            height: 42px;
            background: var(--g1);
            border: none;
            border-radius: 12px;
            color: #fff;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 20px var(--glow);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s, transform 0.3s
        }

        .scroll-top.visible {
            opacity: 1;
            pointer-events: all
        }

        .scroll-top:hover {
            transform: translateY(-3px);
            background: var(--g2)
        }

        /* ── RESPONSIVE ── */
        @media (max-width:1024px) {
            .hero-grid {
                grid-template-columns: 1fr;
                gap: 50px
            }

            .hero-visual {
                max-width: 480px;
                margin: 0 auto
            }

            .problem-grid {
                grid-template-columns: 1fr
            }

            .steps-grid {
                grid-template-columns: 1fr 1fr
            }

            .steps-line {
                display: none
            }

            .architecture-grid {
                grid-template-columns: 1fr
            }

            .nepra-panel {
                grid-template-columns: 1fr
            }

            .nepra-right {
                border-left: none;
                border-top: 1px solid var(--border)
            }

            .team-grid {
                grid-template-columns: 1fr 1fr
            }

            .sdg-grid {
                grid-template-columns: 1fr
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 30px
            }

            .tutorial-body {
                grid-template-columns: 1fr
            }
        }

        @media (max-width:768px) {
            .nav-links {
                display: none
            }

            .nav-burger {
                display: flex;
                align-items: center;
                justify-content: center
            }

            .mobile-menu.open {
                display: flex
            }

            .mobile-menu {
                display: none;
                position: fixed;
                top: 68px;
                left: 0;
                right: 0;
                bottom: 0;
                z-index: 999;
                background: rgba(3, 10, 6, 0.98);
                backdrop-filter: blur(20px);
                flex-direction: column;
                padding: 30px 24px;
                gap: 6px;
                overflow-y: auto
            }

            .mobile-menu a {
                padding: 16px 6px;
                font-size: 1rem;
                font-weight: 600;
                color: var(--text-muted);
                text-decoration: none;
                border-bottom: 1px solid var(--border)
            }

            .mobile-menu .btn {
                margin-top: 16px
            }

            .nav-actions .btn-ghost {
                display: none
            }

            .nav-actions .btn-solid {
                display: none
            }

            .navbar {
                padding: 0 4%
            }
        }

        @media (max-width:640px) {
            .nav-logo {
                font-size: 1.15rem;
                gap: 8px
            }

            .nav-logo i {
                flex-shrink: 0
            }

            .grid-layout {
                grid-template-columns: 1fr
            }

            .sdg-grid {
                grid-template-columns: 1fr
            }

            .float-chip {
                display: none
            }

            .hero-visual {
                padding: 0;
                max-width: 420px
            }

            .steps-grid {
                grid-template-columns: 1fr
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 28px
            }

            .predict-amount {
                font-size: 2.1rem
            }

            .predict-slabs {
                gap: 6px
            }

            .slab-chip {
                padding: 8px 4px
            }

            .nepra-row {
                flex-direction: column;
                align-items: flex-start;
                gap: 4px
            }
        }

        @media (max-width:560px) {
            .nav-logo {
                font-size: 1.05rem;
                gap: 6px
            }

            .nav-logo i {
                width: 28px;
                height: 28px;
                font-size: 0.75rem
            }

            .nav-logo span.ai-tag {
                font-size: 0.5rem;
                padding: 2px 6px
            }

            .hero {
                padding: 44px 5% 32px
            }

            .section {
                padding: 52px 5%
            }

            .section-tight {
                padding-top: 36px;
                padding-bottom: 36px
            }

            .team-grid {
                grid-template-columns: 1fr
            }

            .hero-stats {
                gap: 18px
            }

            .hstat b {
                font-size: 1.2rem
            }

            .nepra-left,
            .nepra-right {
                padding: 24px 22px
            }

            .cta-banner {
                padding: 40px 20px
            }

            .hero-actions {
                flex-direction: column;
                align-items: stretch
            }

            .hero-actions .btn {
                width: 100%
            }

            .cta-actions {
                flex-direction: column;
                align-items: stretch
            }

            .cta-actions .btn {
                width: 100%
            }

            .predict-card {
                padding: 20px
            }

            .tutorial-body {
                padding: 20px;
                gap: 18px
            }

            .faq-item summary {
                padding: 16px 18px;
                font-size: 0.88rem
            }

            .faq-answer {
                padding: 0 18px 16px
            }
        }

        @media (max-width:380px) {
            .hero-copy h1 {
                font-size: 1.9rem
            }

            .predict-slabs {
                flex-direction: column
            }

            .nav-logo span.ai-tag {
                display: none
            }

            .nav-logo {
                font-size: 1rem;
                gap: 6px;
            }
        }

        /* ─── PLAYGROUND INTERACTIVE WIDGET ─── */
        .playground-tabs {
            display: flex;
            gap: 12px;
            margin-bottom: 18px;
            border-bottom: 1px solid var(--border);
            padding-bottom: 8px;
        }

        .play-tab {
            background: none;
            border: none;
            color: var(--text-dim);
            font-weight: 700;
            padding: 4px 6px;
            cursor: pointer;
            transition: 0.2s;
            font-size: 0.8rem;
            display: flex;
            align-items: center;
            gap: 6px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .play-tab:hover {
            color: var(--text-muted);
        }

        .play-tab.active {
            color: var(--g3);
            border-bottom: 2px solid var(--g3);
        }

        .play-tab-content {
            display: none;
        }

        .play-tab-content.active {
            display: block;
        }

        .play-select {
            background: var(--surface2);
            border: 1px solid var(--border);
            color: var(--text);
            padding: 8px 12px;
            border-radius: 8px;
            width: 100%;
            outline: none;
            cursor: pointer;
            font-size: 0.8rem;
            font-weight: 500;
            transition: border-color 0.2s;
        }

        .play-select:focus {
            border-color: var(--g2);
        }

        .play-slider-container {
            margin: 14px 0 16px;
        }

        .play-slider-header {
            display: flex;
            justify-content: space-between;
            font-size: 0.72rem;
            color: var(--text-muted);
            margin-bottom: 6px;
            text-transform: uppercase;
            font-weight: 700;
        }

        .play-slider {
            width: 100%;
            height: 6px;
            border-radius: 3px;
            outline: none;
            background: var(--surface2);
            accent-color: var(--g2);
            cursor: pointer;
        }

        .swap-items-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 16px;
        }

        .swap-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.02);
            padding: 8px 12px;
            border-radius: 12px;
            border: 1px solid var(--border);
            transition: border-color 0.2s;
        }

        .swap-item:hover {
            border-color: rgba(52, 211, 153, 0.25);
        }

        .swap-item-info {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.78rem;
        }

        .swap-item-info i {
            color: var(--g3);
            font-size: 0.95rem;
            width: 16px;
            text-align: center;
        }

        .swap-item-info span {
            font-weight: 600;
            display: block;
            color: var(--text);
        }

        .swap-item-info small {
            color: var(--text-dim);
            font-size: 0.65rem;
            display: block;
        }

        /* ─── SWITCH TOGGLE ─── */
        .switch {
            position: relative;
            display: inline-block;
            width: 38px;
            height: 20px;
            flex-shrink: 0;
        }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider-round {
            position: absolute;
            cursor: pointer;
            inset: 0;
            background-color: var(--surface2);
            border: 1px solid var(--border);
            transition: 0.3s;
            border-radius: 34px;
        }

        .slider-round:before {
            position: absolute;
            content: "";
            height: 12px;
            width: 12px;
            left: 3px;
            bottom: 3px;
            background-color: var(--text-dim);
            transition: 0.3s;
            border-radius: 50%;
        }

        input:checked + .slider-round {
            background-color: rgba(16, 185, 129, 0.15);
            border-color: var(--g2);
        }

        input:checked + .slider-round:before {
            transform: translateX(18px);
            background-color: var(--g3);
        }

        /* ─── ALERT BADGE ─── */
        .predict-alert {
            font-size: 0.7rem;
            padding: 8px 10px;
            border-radius: 10px;
            margin-top: 6px;
            display: flex;
            align-items: center;
            gap: 8px;
            line-height: 1.3;
            transition: all 0.25s ease-in-out;
            min-height: 42px;
        }

        .predict-alert.alert-unprotected {
            background: rgba(251, 191, 36, 0.08);
            border: 1px solid rgba(251, 191, 36, 0.25);
            color: var(--warn);
        }

        .predict-alert.alert-protected {
            background: rgba(16, 185, 129, 0.08);
            border: 1px solid rgba(16, 185, 129, 0.25);
            color: var(--g3);
        }

        .predict-alert.alert-lifeline {
            background: rgba(103, 232, 249, 0.08);
            border: 1px solid rgba(103, 232, 249, 0.25);
            color: var(--info);
        }

        .predict-alert i {
            font-size: 0.85rem;
            flex-shrink: 0;
        }

        @media (max-width: 768px) {
            .sandbox-container {
                grid-template-columns: 1fr !important;
                gap: 24px !important;
            }
        }

        /* ─── LIGHT THEME TERMS MODAL (MATCHING SIGNUP) ─── */
        .modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.65);
            backdrop-filter: blur(8px);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .modal-content {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            width: 100%;
            max-width: 500px;
            max-height: 80vh;
            display: flex;
            flex-direction: column;
            box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
            animation: modalFadeIn 0.3s cubic-bezier(0.23, 1, 0.32, 1);
        }

        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: scale(0.95) translateY(10px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 24px;
            border-bottom: 1px solid #e2e8f0;
        }

        .modal-header h2 {
            font-family: 'Syne', sans-serif;
            font-size: 1.25rem;
            font-weight: 800;
            color: #0f172a;
            margin: 0;
        }

        .modal-close-btn {
            background: none;
            border: none;
            color: #94a3b8;
            font-size: 1.5rem;
            cursor: pointer;
            transition: color 0.2s;
            padding: 0;
            line-height: 1;
        }

        .modal-close-btn:hover {
            color: #0f172a;
        }

        .modal-body {
            padding: 24px;
            overflow-y: auto;
            color: #334155;
            font-size: 0.88rem;
            line-height: 1.6;
            text-align: left;
        }

        .modal-body h3 {
            font-size: 0.95rem;
            font-weight: 700;
            color: #0f172a;
            margin: 16px 0 8px;
        }

        .modal-body h3:first-child {
            margin-top: 0;
        }

        .modal-body p {
            margin: 0 0 16px;
        }

        .modal-body p:last-child {
            margin-bottom: 0;
        }

        .modal-body ul {
            margin-left: 18px;
            margin-bottom: 16px;
        }

        .modal-body li {
            margin-bottom: 6px;
        }

        .modal-footer {
            padding: 16px 24px;
            border-top: 1px solid #e2e8f0;
            display: flex;
            justify-content: flex-end;
        }

        .modal-ok-btn {
            background: #0f172a;
            color: #ffffff;
            border: none;
            border-radius: 10px;
            padding: 10px 24px;
            font-weight: 700;
            font-size: 0.88rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .modal-ok-btn:hover {
            background: #1e293b;
            box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
        }
        
        .modal-body::-webkit-scrollbar {
            width: 6px;
        }
        .modal-body::-webkit-scrollbar-track {
            background: transparent;
        }
        .modal-body::-webkit-scrollbar-thumb {
            background: rgba(148, 163, 184, 0.3);
            border-radius: 3px;
        }
        .modal-body:hover::-webkit-scrollbar-thumb {
            background: rgba(148, 163, 184, 0.5);
        }



