/* ── TOKENS ─────────────────────────────────────────────────────── */
    :root {
      --ink:       #0d0f1a;
      --ink-soft:  #4a4f6a;
      --ink-faint: #8a90aa;
      --white:     #ffffff;
      --surface:   #f4f5fb;
      --border:    #e2e4f0;

      /* Signature gradient: cobalt → violet → fuchsia */
      --g1: #2563eb;
      --g2: #7c3aed;
      --g3: #db2777;
      --grad: linear-gradient(135deg, var(--g1) 0%, var(--g2) 55%, var(--g3) 100%);

      --live-green: #10b981;
      --live-red:   #ef4444;

      --radius-sm: 0.5rem;
      --radius-md: 0.875rem;
      --radius-lg: 1.5rem;

      --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
      --font-mono: 'JetBrains Mono', 'Courier New', monospace;

      --shadow-card: 0 4px 24px rgba(13,15,26,.08), 0 1px 4px rgba(13,15,26,.04);
      --shadow-glow: 0 0 40px rgba(124,58,237,.18);
    }

    /* ── RESET ───────────────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      color: var(--ink);
      background: var(--white);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    /* ── UTILITIES ────────────────────────────────────────────────────── */
    .container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
    .grad-text {
      background: var(--grad);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

    /* ── NAV ─────────────────────────────────────────────────────────── */
    nav {
      position: sticky; top: 0; z-index: 100;
      
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }
    .nav-inner {
      display: flex; align-items: center; justify-content: space-between;
      height: 64px;
    }
    .logo {
      font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em;
      background: var(--grad);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    .nav-links { display: flex; align-items: center; gap: 2rem; }
    .nav-links a { font-size: .9rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
    .nav-links a:hover { color: var(--ink); }
    .btn {
      display: inline-flex; align-items: center; gap: .45rem;
      font-family: var(--font-body); font-weight: 700; font-size: .9rem;
      padding: .6rem 1.4rem; border-radius: var(--radius-sm);
      border: none; cursor: pointer; transition: transform .15s, box-shadow .15s;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn-primary {
      background: var(--grad); color: var(--white);
      box-shadow: 0 4px 14px rgba(124,58,237,.35);
    }
    .btn-primary:hover { box-shadow: 0 6px 20px rgba(124,58,237,.45); }
    .btn-ghost { background: var(--surface); color: var(--ink); }

    /* ── HERO ────────────────────────────────────────────────────────── */
    .hero {
      padding: 6rem 0 4rem;
      text-align: center;
      position: relative; overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124,58,237,.08) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: .5rem;
      font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
      color: var(--g2); background: rgba(124,58,237,.08);
      padding: .35rem .9rem; border-radius: 99px;
      margin-bottom: 1.5rem;
    }
    .hero h1 {
      font-size: clamp(2.4rem, 6vw, 4rem);
      font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
      margin-bottom: 1.5rem; max-width: 820px; margin-left: auto; margin-right: auto;
    }
    .hero p {
      font-size: clamp(1rem, 2.5vw, 1.2rem);
      color: var(--ink-soft); max-width: 580px;
      margin: 0 auto 2.5rem;
    }
    .hero-ctas { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

    /* ── LIVE PULSE DOT ──────────────────────────────────────────────── */
    .pulse-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: var(--live-green);
      box-shadow: 0 0 0 0 rgba(16,185,129,.4);
      animation: pulse 2s infinite;
      flex-shrink: 0;
    }
    @keyframes pulse {
      0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
      70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
      100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
    }

    /* ── DASHBOARD PREVIEW ───────────────────────────────────────────── */
    .preview-wrap {
      max-width: 920px; margin: 3rem auto 0;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-card), var(--shadow-glow);
      overflow: hidden;
    }
    .preview-bar {
      background: var(--surface); border-bottom: 1px solid var(--border);
      padding: .75rem 1.25rem;
      display: flex; align-items: center; gap: .5rem;
    }
    .preview-bar span {
      width: 12px; height: 12px; border-radius: 50%; display: block;
    }
    .dot-red   { background: #ff5f57; }
    .dot-amber { background: #ffbd2e; }
    .dot-green { background: #28c840; }
    .preview-title {
      margin-left: .75rem; font-size: .8rem; font-weight: 600;
      color: var(--ink-soft); font-family: var(--font-mono);
    }
    .preview-body { padding: 1.5rem; }
    .preview-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
      gap: 1rem;
    }
    .stat-card {
      background: var(--surface); border-radius: var(--radius-md);
      padding: 1.1rem 1.25rem;
      border: 1px solid var(--border);
      transition: transform .2s, box-shadow .2s;
    }
    .stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
    .stat-label {
      font-size: .72rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: .07em; color: var(--ink-faint); margin-bottom: .4rem;
    }
    .stat-value {
      font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em;
      line-height: 1.1;
    }
    .stat-sub {
      font-size: .75rem; color: var(--ink-faint); margin-top: .2rem;
    }
    .stat-up   { color: var(--live-green); }
    .stat-live { color: var(--live-green); display: flex; align-items: center; gap: .4rem; }

    /* ── SOCIAL PROOF TICKER ─────────────────────────────────────────── */
    .ticker-wrap {
      padding: 2.5rem 0;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      overflow: hidden;
    }
    .ticker {
      display: flex; gap: 3rem; width: max-content;
      animation: ticker 28s linear infinite;
    }
    .ticker-item {
      white-space: nowrap; font-size: .85rem; font-weight: 600;
      color: var(--ink-soft);
      display: flex; align-items: center; gap: .5rem;
    }
    .ticker-item span { color: var(--g2); font-weight: 800; }
    @keyframes ticker {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    /* ── FEATURES ────────────────────────────────────────────────────── */
    .features { padding: 6rem 0; }
    .section-header { text-align: center; margin-bottom: 4rem; }
    .section-eyebrow {
      font-size: .78rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: .1em; color: var(--g2); margin-bottom: .75rem;
    }
    .section-header h2 {
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      font-weight: 800; letter-spacing: -.03em; margin-bottom: 1rem;
    }
    .section-header p { font-size: 1.05rem; color: var(--ink-soft); max-width: 520px; margin: 0 auto; }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.5rem;
    }
    .feature-card {
      background: var(--white); border: 1px solid var(--border);
      border-radius: var(--radius-md); padding: 2rem;
      transition: transform .2s, box-shadow .2s, border-color .2s;
    }
    .feature-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-card);
      border-color: rgba(124,58,237,.2);
    }
    .feature-icon {
      width: 48px; height: 48px; border-radius: var(--radius-sm);
      background: var(--grad); display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem; margin-bottom: 1.25rem;
    }
    .feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
    .feature-card p  { font-size: .9rem; color: var(--ink-soft); line-height: 1.65; }

    /* ── HOW IT WORKS ────────────────────────────────────────────────── */
    .how { background: var(--surface); padding: 6rem 0; }
    .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin-top: 3rem; }
    .step { text-align: center; }
    .step-num {
      width: 56px; height: 56px; border-radius: 50%;
      background: var(--grad); color: var(--white);
      font-size: 1.2rem; font-weight: 800;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 1.25rem;
      box-shadow: 0 4px 16px rgba(124,58,237,.3);
    }
    .step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
    .step p  { font-size: .88rem; color: var(--ink-soft); }

    /* ── CODE SNIPPET ────────────────────────────────────────────────── */
    .code-section { padding: 6rem 0; }
    .code-layout {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 4rem; align-items: center;
    }
    .code-layout .text h2 {
      font-size: clamp(1.6rem, 3.5vw, 2.4rem);
      font-weight: 800; letter-spacing: -.03em; margin-bottom: 1rem;
    }
    .code-layout .text p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
    .check-list { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
    .check-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; }
    .check-list li::before {
      content: '✓'; font-weight: 800; color: var(--live-green);
      flex-shrink: 0; margin-top: .05rem;
    }
    .code-block {
      background: #0d0f1a; border-radius: var(--radius-md);
      padding: 1.5rem; overflow: auto;
      border: 1px solid rgba(255,255,255,.06);
      box-shadow: var(--shadow-card);
    }
    .code-block pre {
      font-family: var(--font-mono);
      font-size: .8rem; line-height: 1.7;
      color: #e2e8f0; white-space: pre; overflow-x: auto;
    }
    .tok-comment { color: #64748b; }
    .tok-key     { color: #7dd3fc; }
    .tok-str     { color: #86efac; }
    .tok-fn      { color: #c084fc; }
    .tok-punc    { color: #94a3b8; }

    /* ── TESTIMONIALS ────────────────────────────────────────────────── */
    .testimonials { background: var(--surface); padding: 6rem 0; }
    .testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
    .testi-card {
      background: var(--white); border: 1px solid var(--border);
      border-radius: var(--radius-md); padding: 1.75rem;
    }
    .testi-stars { color: #f59e0b; font-size: 1rem; margin-bottom: .75rem; }
    .testi-card blockquote { font-size: .9rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 1rem; }
    .testi-author { font-size: .82rem; font-weight: 700; }
    .testi-role   { font-size: .78rem; color: var(--ink-faint); }

    /* ── CTA BANNER ──────────────────────────────────────────────────── */
    .cta-banner {
      padding: 6rem 0; text-align: center;
      background: var(--grad); position: relative; overflow: hidden;
    }
    .cta-banner::before {
      content: '';
      position: absolute; inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }
    .cta-banner h2 {
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 800; letter-spacing: -.03em; color: var(--white);
      margin-bottom: 1rem; position: relative;
    }
    .cta-banner p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 2rem; position: relative; }
    .btn-white { background: var(--white); color: var(--g2); box-shadow: 0 4px 20px rgba(0,0,0,.2); position: relative; }
    .btn-white:hover { box-shadow: 0 8px 28px rgba(0,0,0,.25); }

    /* ── FOOTER ──────────────────────────────────────────────────────── */
    footer {
      background: var(--ink); color: rgba(255,255,255,.5);
      padding: 3rem 0;
    }
    .footer-inner {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 1rem;
    }
    .footer-logo { font-size: 1.2rem; font-weight: 800; color: var(--white); }
    footer a { color: rgba(255,255,255,.5); font-size: .85rem; transition: color .2s; }
    footer a:hover { color: var(--white); }
    .footer-links { display: flex; gap: 1.5rem; }
    footer p { font-size: .82rem; }

    /* ── RESPONSIVE ──────────────────────────────────────────────────── */
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .code-layout { grid-template-columns: 1fr; gap: 2.5rem; }
      .hero { padding: 4rem 0 3rem; }
      .features, .how, .code-section, .testimonials { padding: 4rem 0; }
    }
    @media (max-width: 480px) {
      .preview-grid { grid-template-columns: 1fr 1fr; }
      .hero-ctas { flex-direction: column; align-items: center; }
      .btn { width: 100%; justify-content: center; }
    }

    /* ── SCROLL REVEAL ───────────────────────────────────────────────── */
    .reveal {
      opacity: 0; transform: translateY(24px);
      transition: opacity .55s ease, transform .55s ease;
    }
    .reveal.visible { opacity: 1; transform: none; }

    @media (prefers-reduced-motion: reduce) {
      .reveal { opacity: 1; transform: none; transition: none; }
      .ticker  { animation: none; }
      .pulse-dot { animation: none; }
    }