/* ── Variables ─────────────────────────────────────────────── */
    :root {
      --orange: #E35205;
      --orange-dim: #b84004;
      --orange-glow: rgba(227,82,5,0.18);
      --orange-subtle: rgba(227,82,5,0.08);
      --bg: #0a0a0c;
      --bg-2: #111115;
      --bg-card: #16161a;
      --bg-card-hover: #1c1c22;
      --border: rgba(255,255,255,0.07);
      --border-orange: rgba(227,82,5,0.3);
      --text: #f0ede8;
      --text-muted: #8a8790;
      --text-dim: #5a5760;
      --radius: 12px;
      --radius-sm: 8px;
    }

    /* ── Reset ─────────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    button { font-family: inherit; cursor: pointer; border: none; background: none; }

    /* ── Utility ───────────────────────────────────────────────── */
    .container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
    .tag {
      display: inline-flex; align-items: center; gap: 8px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--orange); background: var(--orange-subtle);
      border: 1px solid var(--border-orange);
      padding: 5px 12px; border-radius: 100px;
    }
    .tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); animation: pulse 2s infinite; }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

    /* ── NAV ───────────────────────────────────────────────────── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 40px; height: 64px;
      background: rgba(10,10,12,0.8);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border);
      transition: background 0.3s;
    }
    .nav-logo {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 26px; font-weight: 900; letter-spacing: -0.02em;
      color: var(--text);
    }
    .nav-logo span { color: var(--orange); }
    .nav-links {
      display: flex; align-items: center; gap: 36px;
      list-style: none;
      font-size: 14px; font-weight: 400; color: var(--text-muted);
    }
    .nav-links a:hover { color: var(--text); }
    .nav-cta {
      background: var(--orange); color: #fff;
      padding: 9px 22px; border-radius: 8px;
      font-size: 14px; font-weight: 500;
      transition: background 0.2s, transform 0.15s;
    }
    .nav-cta:hover { background: var(--orange-dim); transform: translateY(-1px); }
    .nav-right { display: flex; align-items: center; gap: 20px; }

    /* ── HERO ──────────────────────────────────────────────────── */
    #hero {
      position: relative; min-height: 100vh;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      text-align: center; padding: 120px 24px 80px;
      overflow: hidden;
    }
    .hero-grid {
      position: absolute; inset: 0; z-index: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
    }
    .hero-glow {
      position: absolute; top: 10%; left: 50%; transform: translateX(-50%);
      width: 600px; height: 600px;
      background: radial-gradient(circle, rgba(227,82,5,0.12) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero-content { position: relative; z-index: 1; max-width: 820px; }
    .hero-content .tag { margin-bottom: 28px; }
    .hero-headline {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(52px, 8vw, 100px);
      font-weight: 900;
      line-height: 0.92;
      letter-spacing: -0.03em;
      color: var(--text);
      margin-bottom: 28px;
    }
    .hero-headline .accent { color: var(--orange); }
    .hero-sub {
      font-size: clamp(17px, 2vw, 20px);
      color: var(--text-muted);
      font-weight: 300;
      max-width: 560px;
      margin: 0 auto 48px;
      line-height: 1.65;
    }
    .hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
    .btn-primary {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--orange); color: #fff;
      padding: 14px 30px; border-radius: 10px;
      font-size: 15px; font-weight: 500;
      transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
      box-shadow: 0 0 0 0 var(--orange-glow);
    }
    .btn-primary:hover {
      background: var(--orange-dim); transform: translateY(-2px);
      box-shadow: 0 8px 32px var(--orange-glow);
    }
    .btn-secondary {
      display: inline-flex; align-items: center; gap: 8px;
      background: transparent; color: var(--text-muted);
      border: 1px solid var(--border);
      padding: 14px 30px; border-radius: 10px;
      font-size: 15px; font-weight: 400;
      transition: border-color 0.2s, color 0.2s, transform 0.15s;
    }
    .btn-secondary:hover { border-color: var(--border-orange); color: var(--text); transform: translateY(-2px); }

    /* ── Hero Mockup ───────────────────────────────────────────── */
    .hero-mockup {
      position: relative; z-index: 1;
      margin-top: 72px;
      width: 100%; max-width: 1000px;
      border-radius: 16px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      overflow: hidden;
      box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
    }
    .mockup-bar {
      background: var(--bg-2); padding: 12px 20px;
      border-bottom: 1px solid var(--border);
      display: flex; align-items: center; gap: 8px;
    }
    .mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
    .mockup-dot:nth-child(1) { background: #ff5f56; }
    .mockup-dot:nth-child(2) { background: #ffbd2e; }
    .mockup-dot:nth-child(3) { background: #27c93f; }
    .mockup-url {
      margin-left: 12px; flex: 1;
      background: var(--bg-card); border-radius: 6px;
      padding: 5px 14px;
      font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-dim);
    }
    .mockup-inner {
      display: grid; grid-template-columns: 220px 1fr;
      min-height: 400px;
    }
    .mockup-sidebar {
      background: var(--bg-2);
      border-right: 1px solid var(--border);
      padding: 20px 0;
    }
    .ms-section { padding: 4px 0 16px; }
    .ms-label {
      font-family: 'JetBrains Mono', monospace; font-size: 10px;
      letter-spacing: 0.1em; color: var(--text-dim);
      padding: 0 16px 8px; text-transform: uppercase;
    }
    .ms-item {
      display: flex; align-items: center; gap: 10px;
      padding: 8px 16px; font-size: 13px; color: var(--text-muted);
      cursor: pointer; transition: background 0.15s, color 0.15s;
    }
    .ms-item:hover { background: rgba(255,255,255,0.04); color: var(--text); }
    .ms-item.active {
      background: var(--orange-subtle);
      color: var(--orange);
      border-left: 2px solid var(--orange);
    }
    .ms-icon { font-size: 14px; }
    .mockup-main { padding: 24px; overflow: hidden; }
    .mm-header {
      display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
    }
    .mm-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 22px; font-weight: 700; letter-spacing: 0.01em;
    }
    .mm-badge {
      font-family: 'JetBrains Mono', monospace; font-size: 10px;
      padding: 4px 10px; border-radius: 6px;
      background: rgba(39,201,63,0.1); color: #27c93f;
      border: 1px solid rgba(39,201,63,0.25);
    }
    .mm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
    .mm-card {
      background: var(--bg-2); border: 1px solid var(--border);
      border-radius: 10px; padding: 16px;
    }
    .mm-card-label { font-size: 11px; color: var(--text-dim); margin-bottom: 6px; }
    .mm-card-val {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 32px; font-weight: 800; line-height: 1;
    }
    .mm-card-val.orange { color: var(--orange); }
    .mm-card-val.green { color: #27c93f; }
    .mm-table { width: 100%; border-collapse: collapse; }
    .mm-table th {
      text-align: left; font-family: 'JetBrains Mono', monospace;
      font-size: 10px; letter-spacing: 0.1em; color: var(--text-dim);
      padding: 0 12px 10px; text-transform: uppercase;
    }
    .mm-table td {
      padding: 10px 12px; font-size: 13px; color: var(--text-muted);
      border-top: 1px solid var(--border);
    }
    .mm-table tr:hover td { background: rgba(255,255,255,0.02); }
    .status-dot {
      display: inline-block; width: 7px; height: 7px; border-radius: 50%;
      margin-right: 6px; vertical-align: middle;
    }
    .status-dot.green { background: #27c93f; }
    .status-dot.orange { background: var(--orange); }
    .status-dot.blue { background: #4a9eff; }

    /* ── LOGOS ─────────────────────────────────────────────────── */
    #logos {
      padding: 48px 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      text-align: center;
    }
    .logos-label {
      font-family: 'JetBrains Mono', monospace; font-size: 11px;
      letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim);
      margin-bottom: 28px;
    }
    .logos-strip {
      display: flex; align-items: center; justify-content: center;
      flex-wrap: wrap; gap: 40px;
    }
    .logo-pill {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 18px; font-weight: 700; letter-spacing: 0.02em;
      color: var(--text-dim); opacity: 0.5;
      transition: opacity 0.2s;
    }
    .logo-pill:hover { opacity: 1; }
    .logo-pill span { color: var(--orange); }

    /* ── TABS FEATURE SECTION ──────────────────────────────────── */
    #features { padding: 120px 0; }
    .section-label {
      font-family: 'JetBrains Mono', monospace; font-size: 11px;
      letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange);
      margin-bottom: 12px;
    }
    .section-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(36px, 5vw, 64px);
      font-weight: 900; letter-spacing: -0.02em; line-height: 0.95;
      margin-bottom: 16px;
    }
    .section-sub {
      font-size: 17px; color: var(--text-muted); font-weight: 300;
      max-width: 480px; line-height: 1.65;
    }
    .features-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }

    /* Tab nav */
    .tab-nav {
      display: flex; gap: 4px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 4px;
      flex-wrap: wrap;
    }
    .tab-btn {
      display: flex; align-items: center; gap: 8px;
      padding: 10px 18px; border-radius: 9px;
      font-size: 14px; font-weight: 400; color: var(--text-muted);
      transition: all 0.2s; cursor: pointer;
    }
    .tab-btn:hover { color: var(--text); background: rgba(255,255,255,0.04); }
    .tab-btn.active {
      background: var(--orange-subtle);
      color: var(--orange);
      border: 1px solid var(--border-orange);
      font-weight: 500;
    }
    .tab-icon { font-size: 16px; }

    /* Tab panels */
    .tab-content { position: relative; }
    .tab-panel { display: none; }
    .tab-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
    .tp-info .kicker {
      font-family: 'JetBrains Mono', monospace; font-size: 11px;
      letter-spacing: 0.1em; color: var(--orange); text-transform: uppercase;
      margin-bottom: 14px;
    }
    .tp-info h3 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(28px, 3vw, 44px);
      font-weight: 800; letter-spacing: -0.02em; line-height: 1.05;
      margin-bottom: 18px;
    }
    .tp-info p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
    .feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .feature-list li {
      display: flex; align-items: flex-start; gap: 12px;
      font-size: 14px; color: var(--text-muted);
    }
    .feature-list li::before {
      content: '→'; color: var(--orange); flex-shrink: 0; margin-top: 1px;
    }
    .tp-visual {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 16px; overflow: hidden;
      box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    }

    /* Pit board visual */
    .pit-board { padding: 24px; }
    .pit-team {
      display: flex; align-items: center; justify-content: space-between;
      background: var(--bg-2); border: 1px solid var(--border);
      border-radius: 10px; padding: 14px 18px; margin-bottom: 10px;
    }
    .pt-num {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 28px; font-weight: 900; color: var(--orange);
    }
    .pt-name { font-size: 13px; color: var(--text); font-weight: 500; }
    .pt-sub { font-size: 11px; color: var(--text-dim); }
    .pt-status {
      font-family: 'JetBrains Mono', monospace; font-size: 11px;
      padding: 4px 10px; border-radius: 20px;
    }
    .pt-status.ready { background: rgba(39,201,63,0.12); color: #27c93f; border: 1px solid rgba(39,201,63,0.25); }
    .pt-status.scouting { background: var(--orange-subtle); color: var(--orange); border: 1px solid var(--border-orange); }
    .pt-status.repair { background: rgba(74,158,255,0.1); color: #4a9eff; border: 1px solid rgba(74,158,255,0.25); }

    /* Scouting visual */
    .scout-visual { padding: 24px; }
    .sv-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
    .sv-title { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700; }
    .sv-match { font-size: 12px; font-family: 'JetBrains Mono', monospace; color: var(--text-dim); }
    .sv-stat { margin-bottom: 14px; }
    .sv-stat-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); margin-bottom: 6px; }
    .sv-bar-bg { background: rgba(255,255,255,0.06); border-radius: 4px; height: 8px; }
    .sv-bar { border-radius: 4px; height: 8px; transition: width 1s ease; }

    /* Match visual */
    .match-visual { padding: 24px; }
    .mv-match {
      background: var(--bg-2); border: 1px solid var(--border);
      border-radius: 10px; padding: 16px; margin-bottom: 10px;
    }
    .mv-teams { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
    .mv-alliance { text-align: center; }
    .mv-alliance-label {
      font-family: 'JetBrains Mono', monospace; font-size: 10px; text-transform: uppercase;
      letter-spacing: 0.1em; margin-bottom: 4px;
    }
    .mv-alliance.red .mv-alliance-label { color: #ff5f56; }
    .mv-alliance.blue .mv-alliance-label { color: #4a9eff; }
    .mv-robots { display: flex; gap: 6px; }
    .mv-robot {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 16px; font-weight: 800;
      padding: 4px 8px; border-radius: 6px;
    }
    .mv-robot.red { background: rgba(255,95,86,0.15); color: #ff5f56; }
    .mv-robot.blue { background: rgba(74,158,255,0.12); color: #4a9eff; }
    .mv-vs { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 900; color: var(--text-dim); }
    .mv-scores { display: flex; align-items: center; justify-content: space-between; }
    .mv-score {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 36px; font-weight: 900;
    }
    .mv-score.red { color: #ff5f56; }
    .mv-score.blue { color: #4a9eff; }
    .mv-time { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-dim); text-align: center; }

    /* ── MARQUEE ───────────────────────────────────────────────── */
    #marquee { padding: 0; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
    .marquee-track {
      display: flex; white-space: nowrap;
      animation: marquee 30s linear infinite;
    }
    .marquee-item {
      display: inline-flex; align-items: center; gap: 20px;
      padding: 18px 36px;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 18px; font-weight: 700;
      letter-spacing: 0.04em; text-transform: uppercase;
      color: var(--text-dim);
      border-right: 1px solid var(--border);
      flex-shrink: 0;
    }
    .marquee-item .dot { color: var(--orange); font-size: 24px; }
    @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

    /* ── SCROLLING FEATURES ────────────────────────────────────── */
    #how { padding: 120px 0; }
    .how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
    .how-sticky { position: sticky; top: 100px; }
    .how-items { display: flex; flex-direction: column; gap: 48px; }
    .how-item {
      padding: 28px; border-radius: 14px;
      border: 1px solid transparent;
      transition: border-color 0.3s, background 0.3s;
      cursor: default;
    }
    .how-item:hover, .how-item.active {
      border-color: var(--border-orange);
      background: var(--orange-subtle);
    }
    .how-num {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
      color: var(--orange); opacity: 0.7; margin-bottom: 8px;
    }
    .how-item-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 24px; font-weight: 800; letter-spacing: -0.01em;
      margin-bottom: 10px;
    }
    .how-item-body { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

    /* ── STATS ─────────────────────────────────────────────────── */
    #stats { padding: 80px 0; }
    .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
    .stat-item { background: var(--bg-card); padding: 40px 32px; text-align: center; transition: background 0.2s; }
    .stat-item:hover { background: var(--bg-card-hover); }
    .stat-val {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 56px; font-weight: 900; letter-spacing: -0.03em;
      line-height: 1; margin-bottom: 6px;
    }
    .stat-val .orange { color: var(--orange); }
    .stat-label { font-size: 14px; color: var(--text-muted); }

    /* ── COMING SOON / WAITLIST ────────────────────────────────── */
    #waitlist { padding: 120px 0; }
    .waitlist-inner {
      background: var(--bg-card); border: 1px solid var(--border);
      border-radius: 24px; padding: 80px 60px;
      text-align: center; position: relative; overflow: hidden;
    }
    .waitlist-glow {
      position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%);
      width: 500px; height: 300px;
      background: radial-gradient(ellipse, rgba(227,82,5,0.15) 0%, transparent 70%);
      pointer-events: none;
    }
    .waitlist-inner .tag { margin-bottom: 28px; }
    .waitlist-inner h2 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(36px, 5vw, 72px);
      font-weight: 900; letter-spacing: -0.03em; line-height: 0.95;
      margin-bottom: 20px;
    }
    .waitlist-inner p { font-size: 18px; color: var(--text-muted); max-width: 440px; margin: 0 auto 40px; line-height: 1.6; }
    .waitlist-form {
      display: flex; gap: 10px; max-width: 480px; margin: 0 auto;
      background: var(--bg-2); border: 1px solid var(--border);
      border-radius: 12px; padding: 6px;
    }
    .waitlist-input {
      flex: 1; background: none; border: none; outline: none;
      font-family: 'DM Sans', sans-serif; font-size: 15px;
      color: var(--text); padding: 0 14px;
    }
    .waitlist-input::placeholder { color: var(--text-dim); }
    .waitlist-submit {
      background: var(--orange); color: #fff;
      padding: 12px 22px; border-radius: 8px;
      font-size: 14px; font-weight: 500;
      transition: background 0.2s, transform 0.15s;
      white-space: nowrap;
    }
    .waitlist-submit:hover { background: var(--orange-dim); transform: translateY(-1px); }
    .waitlist-note { font-size: 13px; color: var(--text-dim); margin-top: 14px; }

    /* ── FOOTER ────────────────────────────────────────────────── */
    footer {
      border-top: 1px solid var(--border);
      padding: 48px 0 36px;
    }
    .footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 48px; flex-wrap: wrap; }
    .footer-brand .nav-logo { font-size: 22px; margin-bottom: 10px; }
    .footer-brand p { font-size: 14px; color: var(--text-dim); max-width: 240px; line-height: 1.6; }
    .footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
    .footer-col h4 { font-size: 13px; font-weight: 600; margin-bottom: 16px; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-col ul li a { font-size: 14px; color: var(--text-dim); transition: color 0.2s; }
    .footer-col ul li a:hover { color: var(--text); }
    .footer-bottom {
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 16px;
      border-top: 1px solid var(--border); padding-top: 28px;
    }
    .footer-bottom p { font-size: 13px; color: var(--text-dim); }
    .footer-socials { display: flex; gap: 16px; }
    .footer-socials a {
      width: 36px; height: 36px; border-radius: 8px;
      border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      font-size: 16px; color: var(--text-dim);
      transition: border-color 0.2s, color 0.2s;
    }
    .footer-socials a:hover { border-color: var(--border-orange); color: var(--orange); }

    /* ── Animations ────────────────────────────────────────────── */
    .fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
    .fade-in.visible { opacity: 1; transform: translateY(0); }
    .fade-in-delay-1 { transition-delay: 0.1s; }
    .fade-in-delay-2 { transition-delay: 0.2s; }
    .fade-in-delay-3 { transition-delay: 0.3s; }

    /* ── Responsive ────────────────────────────────────────────── */
    @media (max-width: 900px) {
      .tab-panel.active { grid-template-columns: 1fr; }
      .how-grid { grid-template-columns: 1fr; }
      .how-sticky { position: static; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .features-header { flex-direction: column; align-items: flex-start; }
      .mockup-inner { grid-template-columns: 1fr; }
      .mockup-sidebar { display: none; }
    }
    @media (max-width: 700px) {
      nav { padding: 0 20px; }
      .nav-links { display: none; }
      .stats-grid { grid-template-columns: 1fr 1fr; }
      .waitlist-inner { padding: 48px 24px; }
      .waitlist-form { flex-direction: column; }
      .footer-top { flex-direction: column; }
    }