:root {
      --void: #05080F;
      --ink: #090F1C;
      --panel: #0F1729;
      --panel-hi: #142038;
      --paper: #F6F7F4;
      --white: #FFFFFF;
      --slate: #94A3B8;
      --line: rgba(148, 163, 184, 0.16);
      --mint: #10F29A;
      --cyan: #22D3EE;
      --cobalt: #3B82F6;
      --amber: #F59E0B;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--void);
      color: #F8FAFC;
      font-family: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
      line-height: 1.56;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    h1, h2, h3, h4 {
      font-family: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
      letter-spacing: -0.025em;
    }
    .mono { font-family: "IBM Plex Mono", "Consolas", monospace; font-variant-numeric: tabular-nums; }
    .wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
    a { color: inherit; text-decoration: none; }

    /* Glass Nav */
    header.nav {
      position: sticky;
      top: 0;
      z-index: 40;
      background: rgba(5, 8, 15, 0.82);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--line);
    }
    .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
    .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: #FFFFFF; }
    .brand-pulse {
      width: 11px; height: 11px; border-radius: 50%;
      background: var(--mint); box-shadow: 0 0 14px var(--mint);
      animation: pulseRing 2.2s ease-in-out infinite;
    }
    @keyframes pulseRing {
      0%, 100% { box-shadow: 0 0 0 0 rgba(16, 242, 154, 0.75); }
      50% { box-shadow: 0 0 0 9px rgba(16, 242, 154, 0); }
    }
    .nav-links { display: flex; align-items: center; gap: 24px; font-size: 14.5px; color: #CBD5E1; }
    .nav-links a:hover { color: #FFFFFF; }

    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      padding: 13px 24px; border-radius: 10px; font-weight: 800; font-size: 14.5px;
      border: 1.5px solid transparent; cursor: pointer;
      transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
    }
    .btn:active { transform: translateY(1px); }
    .btn-mint {
      background: linear-gradient(135deg, var(--mint), #00D484);
      color: #022114;
      box-shadow: 0 10px 30px rgba(16, 242, 154, 0.3);
    }
    .btn-mint:hover { box-shadow: 0 14px 36px rgba(16, 242, 154, 0.48); }
    .btn-glass {
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(255, 255, 255, 0.22);
      color: #FFFFFF;
    }
    .btn-glass:hover { border-color: var(--mint); background: rgba(16, 242, 154, 0.08); }

    /* 3D Globe & Global Search Constellation Hero */
    .hero-stage {
      position: relative;
      padding: 68px 0 76px;
      overflow: hidden;
      border-bottom: 1px solid var(--line);
      background: radial-gradient(circle at 72% 45%, rgba(34, 211, 238, 0.12), transparent 52%),
                  radial-gradient(circle at 18% 25%, rgba(16, 242, 154, 0.12), transparent 46%),
                  var(--void);
    }
    #mesh-canvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      display: block;
      z-index: 0;
    }
    .hero-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1.12fr 0.88fr;
      gap: 40px;
      align-items: center;
      pointer-events: none;
    }
    .hero-grid > * { pointer-events: auto; }
    @media (max-width: 940px) {
      .hero-grid { grid-template-columns: 1fr; }
      .nav-links a:not(.btn) { display: none; }
    }
    .hero-pill {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 6px 14px; border-radius: 999px;
      background: rgba(16, 242, 154, 0.1);
      border: 1px solid rgba(16, 242, 154, 0.45);
      color: var(--mint); font-size: 13px; font-weight: 700; margin-bottom: 18px;
    }
    h1 {
      margin: 0 0 18px;
      font-size: clamp(38px, 5vw, 60px);
      line-height: 1.02;
      font-weight: 800;
      color: #FFFFFF;
    }
    .grad-text {
      background: linear-gradient(90deg, #FFFFFF 0%, #10F29A 55%, #22D3EE 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .hero-lead { margin: 0 0 28px; font-size: 18.5px; color: #CBD5E1; max-width: 56ch; }
    .hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
    .hero-kpis {
      display: grid; grid-template-columns: repeat(3, 1fr);
      border: 1px solid var(--line); border-radius: 12px;
      background: rgba(15, 23, 41, 0.78); backdrop-filter: blur(10px);
      overflow: hidden; max-width: 600px;
    }
    .kpi { padding: 15px 16px; border-right: 1px solid var(--line); }
    .kpi:last-child { border-right: 0; }
    .kpi strong { display: block; font-size: 20px; color: var(--mint); line-height: 1.15; }
    .kpi span { font-size: 12.5px; color: #94A3B8; }

    /* Live Global Simulator Card */
    .sim-card {
      background: rgba(9, 15, 28, 0.85);
      border: 1px solid rgba(16, 242, 154, 0.35);
      border-radius: 18px;
      padding: 24px;
      backdrop-filter: blur(16px);
      box-shadow: 0 26px 70px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
    .sim-head {
      display: flex; justify-content: space-between; align-items: center;
      margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
    }
    .sim-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; color: var(--mint); }
    .sim-region {
      font-size: 12px; padding: 4px 10px; border-radius: 6px;
      background: rgba(34, 211, 238, 0.14); color: #67E8F9; font-weight: 700;
    }
    .sim-query {
      background: #05080F; border: 1px solid #1E2D47; border-radius: 10px;
      padding: 11px 14px; font-size: 13.5px; color: #E2E8F0;
      margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center;
    }
    .sim-steps { display: grid; gap: 8px; margin-bottom: 16px; }
    .sim-step {
      padding: 10px 13px; border-radius: 9px;
      background: rgba(255, 255, 255, 0.03); border: 1px solid transparent;
      display: flex; justify-content: space-between; align-items: center;
      font-size: 13.5px; color: #94A3B8; transition: all 0.28s ease;
    }
    .sim-step.active {
      background: rgba(16, 242, 154, 0.1);
      border-color: rgba(16, 242, 154, 0.45);
      color: #FFFFFF; font-weight: 600;
    }
    .scroll-bar-bg { height: 8px; background: #17233B; border-radius: 99px; overflow: hidden; margin-bottom: 14px; }
    .scroll-bar-fill { height: 100%; width: 84%; background: linear-gradient(90deg, var(--cobalt), var(--cyan), var(--mint)); border-radius: 99px; transition: width 0.55s ease; }
    .sim-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .sim-stat { background: #05080F; border: 1px solid #1E2D47; border-radius: 10px; padding: 11px 12px; }
    .sim-stat strong { display: block; font-size: 19px; color: var(--mint); }
    .sim-stat span { font-size: 11.5px; color: #94A3B8; }

    /* Global Regions Ticker */
    .geo-strip {
      background: var(--ink);
      border-bottom: 1px solid var(--line);
      padding: 15px 0;
      font-size: 13.5px;
      color: #CBD5E1;
    }
    .geo-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
    .geo-pill {
      padding: 4px 11px; border-radius: 999px;
      background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
      font-size: 12.5px; font-weight: 600;
    }

    /* Dark Studio Sections */
    section.band { padding: 76px 0; border-bottom: 1px solid var(--line); }
    section.band.alt { background: var(--ink); }
    .sec-head { max-width: 74ch; margin-bottom: 36px; }
    .sec-head h2 { margin: 0 0 8px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.08; color: #FFFFFF; }
    .sec-head p { margin: 0; font-size: 17px; color: #94A3B8; }

    /* Calculator Luminous Bento */
    .split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
    @media (max-width: 880px) { .split-grid { grid-template-columns: 1fr; } }
    .glass-panel {
      background: var(--panel);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 28px;
      box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
    }
    .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    @media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
    .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
    .field label { font-size: 13px; font-weight: 700; color: #CBD5E1; }
    .field input, .field select {
      width: 100%; padding: 11px 13px; border-radius: 9px;
      border: 1px solid #263756; background: var(--void); color: #FFFFFF;
      font-family: inherit; font-size: 14.5px;
    }
    .field input:focus, .field select:focus { outline: 2px solid var(--mint); border-color: transparent; }
    .results-panel {
      background: linear-gradient(155deg, #0D1B30 0%, #071918 100%);
      border: 1px solid rgba(16, 242, 154, 0.35);
      border-radius: 16px;
      padding: 30px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .big-reach { font-size: 42px; font-weight: 800; color: var(--mint); line-height: 1.08; margin: 6px 0 4px; }
    dl.est-list { margin: 18px 0; border-top: 1px solid var(--line); }
    dl.est-list div {
      display: flex; justify-content: space-between; padding: 12px 0;
      border-bottom: 1px solid var(--line); font-size: 15px;
    }
    dl.est-list dt { color: #CBD5E1; }
    dl.est-list dd { margin: 0; font-weight: 700; color: #FFFFFF; font-family: "IBM Plex Mono", monospace; }

    /* Interactive Proof Explorer */
    .tab-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
    .tab-btn {
      padding: 11px 18px; border-radius: 10px;
      border: 1px solid #263756; background: var(--panel); color: #CBD5E1;
      font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit;
      transition: all 0.15s ease;
    }
    .tab-btn[aria-selected="true"] {
      background: var(--mint); border-color: var(--mint); color: #022114;
      box-shadow: 0 6px 20px rgba(16, 242, 154, 0.25);
    }
    .proof-box {
      background: var(--void); border: 1px solid #243552;
      border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    }
    .proof-bar {
      padding: 13px 20px; background: var(--panel); border-bottom: 1px solid #243552;
      display: flex; justify-content: space-between; align-items: center; font-size: 14px;
    }
    .proof-box img { width: 100%; display: block; }

    /* Pricing */
    .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
    @media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
    .tier {
      background: var(--panel); border: 1px solid var(--line);
      border-radius: 16px; padding: 28px 24px;
      display: flex; flex-direction: column;
    }
    .tier.featured {
      background: linear-gradient(165deg, #10203B 0%, #071F1B 100%);
      border: 2px solid var(--mint);
      box-shadow: 0 20px 50px rgba(16, 242, 154, 0.14);
    }
    .t-badge {
      display: inline-block; align-self: flex-start;
      font-size: 12px; font-weight: 800; padding: 4px 11px;
      border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: #E2E8F0; margin-bottom: 12px;
    }
    .tier.featured .t-badge { background: var(--mint); color: #022114; }
    .tier h3 { margin: 0 0 6px; font-size: 22px; color: #FFFFFF; }
    .t-price { font-size: 42px; font-weight: 800; line-height: 1.05; margin: 6px 0 4px; color: #FFFFFF; }
    .t-price small { font-size: 15px; font-weight: 500; color: #94A3B8; }
    .tier ul { list-style: none; padding: 0; margin: 16px 0 24px; flex: 1; }
    .tier li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: #CBD5E1; }
    .tier li::before { content: "✓ "; color: var(--mint); font-weight: 800; }

    .voucher {
      margin-top: 26px;
      background: rgba(245, 158, 11, 0.1);
      border: 2px dashed rgba(245, 158, 11, 0.65);
      border-radius: 14px;
      padding: 20px 26px;
      display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
      color: #FDE68A;
    }

    /* Lead Form */
    .honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
    .status-msg { margin-top: 12px; font-size: 14px; font-weight: 700; min-height: 20px; }
    .status-msg.ok { color: var(--mint); }
    .status-msg.err { color: #F87171; }

    footer { background: #03050A; color: #64748B; padding: 36px 0; font-size: 13.5px; text-align: center; }
    @media (prefers-reduced-motion: reduce) { .brand-pulse { animation: none; } }
