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

    :root {
      --bg-deep:    #f7f8ff;
      --bg-mid:     #edeeff;
      --bg-card:    #ffffff;
      --border:     rgba(79,70,229,0.11);
      --cyan:       #6366f1;
      --cyan-dim:   #4f46e5;
      --blue:       #7c3aed;
      --green:      #059669;
      --red:        #e11d48;
      --text:       #0f0e17;
      --text-muted: #6b7280;
      --radius:     14px;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg-deep);
      color: var(--text);
      overflow-x: hidden;
      line-height: 1.6;
    }

    /* ── GRID BACKGROUND ── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image:
        linear-gradient(rgba(15,23,42,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,23,42,0.05) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
      z-index: 0;
    }

    section, nav, footer { position: relative; z-index: 1; }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 5%;
      height: 70px;
      background: rgba(248,250,252,0.92);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    }

    .nav-logo {
      display: flex;
      align-items: center;
      text-decoration: none;
      flex-shrink: 0;
      opacity: 0;
      transform: translateY(-6px);
      transition: opacity .3s ease, transform .3s ease;
      pointer-events: none;
    }
    .nav-logo.visible {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .hero-logo-svg {
      max-width: min(960px, 88vw);
      height: auto;
      border-radius: 12px;
      margin-bottom: 1.4rem;
      animation: fadeInDown .75s ease both;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
    }

    .nav-links a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: .9rem;
      font-weight: 500;
      transition: color .2s;
    }

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

    .nav-cta {
      background: linear-gradient(135deg, var(--blue), var(--cyan-dim));
      color: #fff !important;
      padding: .45rem 1.2rem;
      border-radius: 8px;
      font-weight: 600;
      font-size: .85rem;
      transition: opacity .2s;
    }
    .nav-cta:hover { opacity: .85; color: #fff !important; }

    /* ── HERO ── */
    #hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 100px 5% 60px;
      overflow: hidden;
    }

    .hero-glow {
      position: absolute;
      width: 700px;
      height: 700px;
      border-radius: 50%;
      background: radial-gradient(ellipse at 40% 50%, rgba(99,102,241,0.09) 0%, rgba(168,85,247,0.06) 40%, transparent 70%);
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      pointer-events: none;
      animation: pulse-glow 6s ease-in-out infinite;
    }

    @keyframes pulse-glow {
      0%, 100% { opacity: .7; transform: translate(-50%, -50%) scale(1); }
      50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      background: rgba(99,102,241,0.07);
      border: 1px solid rgba(99,102,241,0.22);
      border-radius: 999px;
      padding: .35rem 1rem;
      font-size: .78rem;
      font-weight: 600;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: var(--cyan);
      margin-bottom: 1.8rem;
      animation: fadeInDown .8s ease both;
    }

    .hero-badge-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--cyan);
      animation: blink 1.8s ease-in-out infinite;
    }
    @keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }

    .hero-title {
      font-size: clamp(2.4rem, 5.5vw, 4.5rem);
      font-weight: 900;
      letter-spacing: -0.03em;
      line-height: 1.0;
      animation: fadeInDown .9s .1s ease both;
    }

    .hero-title span {
      background: linear-gradient(135deg, #6366f1 0%, #7c3aed 50%, #a855f7 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-sub {
      margin-top: 1rem;
      font-size: clamp(.9rem, 2.2vw, 1.25rem);
      color: var(--cyan);
      font-weight: 500;
      letter-spacing: .02em;
      animation: fadeInDown .9s .2s ease both;
    }

    .hero-desc {
      max-width: 640px;
      margin: 1.8rem auto 0;
      color: var(--text-muted);
      font-size: 1.05rem;
      animation: fadeInDown .9s .3s ease both;
    }

    .hero-actions {
      display: flex;
      gap: 1rem;
      margin-top: 2.4rem;
      flex-wrap: wrap;
      justify-content: center;
      animation: fadeInDown .9s .4s ease both;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      background: linear-gradient(135deg, #6366f1, var(--cyan-dim));
      color: #fff;
      padding: .8rem 1.8rem;
      border-radius: 10px;
      font-size: 1rem;
      font-weight: 700;
      text-decoration: none;
      box-shadow: 0 0 30px rgba(99,102,241,0.35);
      transition: transform .2s, box-shadow .2s;
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 45px rgba(99,102,241,0.55); }

    .btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      border: 1px solid var(--border);
      color: var(--text);
      padding: .8rem 1.8rem;
      border-radius: 10px;
      font-size: 1rem;
      font-weight: 600;
      text-decoration: none;
      background: rgba(0,0,0,0.03);
      transition: border-color .2s, background .2s;
    }
    .btn-ghost:hover { border-color: var(--cyan); background: rgba(99,102,241,0.07); }

    .hero-chips {
      display: flex;
      gap: .7rem;
      margin-top: 3.5rem;
      flex-wrap: wrap;
      justify-content: center;
      animation: fadeInDown .9s .5s ease both;
    }

    .chip {
      background: rgba(0,0,0,0.04);
      border: 1px solid var(--border);
      border-radius: 999px;
      padding: .35rem .9rem;
      font-size: .78rem;
      font-weight: 500;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: .4rem;
    }

    .chip-icon { font-size: .9rem; }

    @keyframes fadeInDown {
      from { opacity: 0; transform: translateY(-20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ── SECTION COMMONS ── */
    .section-label {
      display: inline-block;
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--cyan);
      margin-bottom: .8rem;
    }

    .section-title {
      font-size: clamp(2.6rem, 6vw, 4.2rem);
      font-weight: 800;
      letter-spacing: -.02em;
      line-height: 1.15;
    }

    .section-desc {
      color: var(--text-muted);
      font-size: 1.05rem;
      margin-top: .8rem;
      max-width: 580px;
    }

    /* ── FEATURES GRID ── */
    #features {
      padding: 100px 5%;
      background: #f0fdf9;
    }

    .features-header {
      text-align: center;
      margin-bottom: 4rem;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .feature-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 2rem;
      transition: transform .25s, border-color .25s, box-shadow .25s;
      position: relative;
      overflow: hidden;
    }

    .feature-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--accent, var(--cyan)), transparent);
      opacity: 0;
      transition: opacity .3s;
    }

    .feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.10); }
    .feature-card:hover::before { opacity: 1; }
    .feature-card:hover { border-color: var(--accent, var(--cyan)); }

    .feature-icon {
      width: 52px;
      height: 52px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin-bottom: 1.4rem;
      background: rgba(99,102,241,0.08);
      border: 1px solid rgba(99,102,241,0.2);
    }

    .feature-title {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: .6rem;
    }

    .feature-desc {
      color: var(--text-muted);
      font-size: .92rem;
      line-height: 1.65;
    }

    /* ── HOW IT WORKS ── */
    #how-it-works {
      padding: 100px 5%;
      background: #e8e5fb;
    }

    .hiw-wrapper {
      max-width: 1200px;
      margin: 0 auto;
    }

    .hiw-header {
      text-align: center;
      margin-bottom: 4rem;
    }

    .hiw-cols {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 2rem;
    }

    .flow-card {
      background: #ffffff;
      border: 1px solid var(--border);
      box-shadow: 0 2px 12px rgba(99,102,241,0.07);
      border-radius: var(--radius);
      padding: 1.6rem;
      display: flex;
      flex-direction: column;
      gap: 1.1rem;
    }

    /* ── INLINE DIAGRAMS ── */
    .diag {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      gap: 0;
    }

    .diag-node {
      border-radius: 8px;
      padding: .4rem .85rem;
      font-size: .72rem;
      font-weight: 700;
      text-align: center;
      width: 100%;
      max-width: 210px;
      line-height: 1.35;
    }

    .dn-blue   { background:rgba(99,102,241,0.08);  border:1px solid rgba(99,102,241,0.22);  color:#4338ca; }
    .dn-green  { background:rgba(21,128,61,0.09);  border:1px solid rgba(21,128,61,0.28);  color:#15803d; }
    .dn-red    { background:rgba(220,38,38,0.08);  border:1px solid rgba(220,38,38,0.22);  color:#dc2626; }
    .dn-gray   { background:rgba(100,116,139,0.07);border:1px solid rgba(100,116,139,0.2); color:#475569; }
    .dn-orange { background:rgba(234,88,12,0.08);  border:1px solid rgba(234,88,12,0.22);  color:#c2410c; }

    .diag-arrow {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1px;
      padding: 1px 0;
      color: #94a3b8;
      font-size: .62rem;
      font-style: italic;
    }
    .diag-arrow::before { content:''; width:1px; height:10px; background:#cbd5e1; display:block; }
    .diag-arrow::after  { content:'↓'; font-style:normal; font-size:.72rem; color:#94a3b8; line-height:1; }

    .diag-row {
      display: flex;
      gap: .5rem;
      width: 100%;
      justify-content: center;
    }
    .diag-row .diag-node { flex:1; max-width:none; }

    .diag-branch {
      display: flex;
      align-items: flex-start;
      width: 62%;
      position: relative;
      height: 10px;
      margin: 2px 0;
    }
    .diag-branch::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 1px;
      background: #cbd5e1;
    }
    .diag-branch::after {
      content: '';
      position: absolute;
      top: 0; left: 50%;
      transform: translateX(-50%);
      width: 1px; height: 10px;
      background: #cbd5e1;
    }

    .flow-card-img {
      width: 70%;
      height: auto;
      border-radius: 10px;
      display: block;
      margin: 0 auto;
      background-color: #ffffff;
      box-shadow: 0 4px 20px rgba(99,102,241,0.12);
      transition: transform .3s, box-shadow .3s;
    }

    .flow-card-img:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 36px rgba(99,102,241,0.18);
    }

    .flow-header {
      display: flex;
      align-items: center;
      gap: .75rem;
    }

    .flow-num {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .75rem;
      font-weight: 800;
      font-family: 'JetBrains Mono', monospace;
      flex-shrink: 0;
    }

    .flow-title { font-size: 1rem; font-weight: 700; }

    .flow-steps { display: flex; flex-direction: column; gap: .5rem; }

    .flow-step {
      display: flex;
      align-items: center;
      gap: .75rem;
    }

    .flow-step-node {
      width: 38px;
      height: 32px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .68rem;
      font-weight: 700;
      font-family: 'JetBrains Mono', monospace;
      text-align: center;
      flex-shrink: 0;
      line-height: 1.2;
    }

    .flow-step-label {
      font-size: .82rem;
      color: var(--text-muted);
      font-style: italic;
    }

    .flow-arrow {
      height: 16px;
      display: flex;
      align-items: center;
      padding-left: 19px;
      color: var(--text-muted);
      font-size: .75rem;
    }

    /* A/B diagram */
    .ab-diagram {
      display: flex;
      flex-direction: column;
      gap: .6rem;
      align-items: center;
    }

    .ab-top {
      display: flex;
      align-items: center;
      gap: .6rem;
      font-size: .78rem;
      font-weight: 600;
      color: var(--text-muted);
      background: rgba(0,0,0,0.03);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: .5rem 1rem;
      width: 100%;
      justify-content: center;
    }

    .ab-agent {
      background: rgba(99,102,241,0.09);
      border: 1px solid rgba(99,102,241,0.25);
      border-radius: 8px;
      padding: .5rem 1rem;
      font-size: .78rem;
      font-weight: 700;
      color: #1d4ed8;
      width: 100%;
      text-align: center;
    }

    .ab-parts {
      display: flex;
      gap: .6rem;
      width: 100%;
    }

    .ab-part {
      flex: 1;
      border-radius: 8px;
      padding: .6rem;
      text-align: center;
      font-size: .75rem;
      font-weight: 700;
    }

    .ab-active {
      background: rgba(34,212,106,0.15);
      border: 1px solid rgba(34,212,106,0.4);
      color: var(--green);
    }

    .ab-inactive {
      background: rgba(255,77,106,0.1);
      border: 1px solid rgba(255,77,106,0.3);
      color: var(--red);
    }

    .ab-labels {
      display: flex;
      gap: .6rem;
      width: 100%;
      font-size: .7rem;
      color: var(--text-muted);
    }
    .ab-labels span { flex:1; text-align: center; }

    /* ── SERVICES ── */
    #services {
      padding: 100px 5%;
      background: #fef9ec;
    }

    /* ── INTEGRATION STEPS DIAGRAM ── */
    .int-steps-wrapper {
      max-width: 1100px;
      margin: 2.5rem auto 3.5rem;
      background: rgba(255,255,255,0.75);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 2rem 2.5rem;
    }
    .int-steps-label {
      font-size: 1.35rem;
      font-weight: 800;
      letter-spacing: -.01em;
      text-transform: none;
      color: var(--text);
      text-align: center;
      margin-bottom: 1.8rem;
    }
    .int-steps {
      display: flex;
      align-items: flex-start;
      justify-content: center;
      flex-wrap: wrap;
      gap: .5rem 0;
    }
    .int-step {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: .75rem;
      flex: 1;
      min-width: 150px;
      text-align: center;
      padding: 0 .75rem;
    }
    .int-bubble {
      width: 62px;
      height: 62px;
      border-radius: 50%;
      background: color-mix(in srgb, var(--bc) 11%, white);
      border: 2px solid var(--bc);
      color: var(--bc);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .95rem;
      font-weight: 800;
      font-family: 'JetBrains Mono', monospace;
      flex-shrink: 0;
      transition: transform .2s, box-shadow .2s;
    }
    .int-bubble--loop { border-style: dashed; }
    .int-step:hover .int-bubble {
      transform: translateY(-4px);
      box-shadow: 0 8px 20px color-mix(in srgb, var(--bc) 25%, transparent);
    }
    .int-step-title {
      font-size: .85rem;
      font-weight: 700;
      color: var(--text);
      line-height: 1.3;
    }
    .int-step-desc {
      font-size: .74rem;
      color: var(--text-muted);
      line-height: 1.5;
    }
    .int-conn {
      flex: 0 0 auto;
      margin-top: 18px;
      color: #d1d5db;
      font-size: 1.3rem;
      align-self: flex-start;
    }
    @media (max-width: 680px) {
      .int-conn { display: none; }
      .int-step { min-width: 45%; }
    }

    .services-wrapper {
      max-width: 1200px;
      margin: 0 auto;
    }

    .services-header {
      text-align: center;
      margin-bottom: 1rem;
    }

    .services-sub {
      text-align: center;
      color: var(--text-muted);
      font-size: .95rem;
      margin-bottom: 4rem;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1.8rem;
    }

    .service-card {
      background: #ffffff;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      border: 1px solid var(--border);
      border-top: 3px solid var(--svc-color, var(--cyan));
      border-radius: var(--radius);
      padding: 2rem;
      position: relative;
      overflow: hidden;
    }

    .service-num {
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--svc-color, var(--cyan));
      margin-bottom: .8rem;
      font-family: 'JetBrains Mono', monospace;
    }

    .service-title {
      font-size: 1.25rem;
      font-weight: 800;
      margin-bottom: .7rem;
    }

    .service-desc {
      color: var(--text-muted);
      font-size: .9rem;
      margin-bottom: 1.4rem;
      line-height: 1.65;
    }

    .service-items { display: flex; flex-direction: column; gap: .6rem; }

    .service-item {
      display: flex;
      flex-direction: column;
      gap: .15rem;
    }

    .service-item-title {
      font-size: .88rem;
      font-weight: 700;
      color: var(--cyan);
    }

    .service-item-desc {
      font-size: .82rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* ── SERVICE PACKAGES ── */
    .packages-wrapper {
      max-width: 1100px;
      margin: 3.5rem auto 0;
    }
    .packages-label {
      text-align: center;
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 1.4rem;
    }
    .packages-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.6rem;
    }
    @media (max-width: 860px) { .packages-grid { grid-template-columns: 1fr; } }
    .pkg-card {
      background: #ffffff;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 2rem 2.2rem;
      box-shadow: 0 2px 12px rgba(99,102,241,0.07);
      display: flex;
      flex-direction: column;
      gap: 1rem;
      position: relative;
      overflow: hidden;
    }
    .pkg-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      background: var(--pkg-color, var(--cyan));
    }
    .pkg-badge {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--pkg-color, var(--cyan));
    }
    .pkg-title {
      font-size: 1.2rem;
      font-weight: 800;
      line-height: 1.25;
      color: var(--text);
    }
    .pkg-desc {
      font-size: .9rem;
      color: var(--text-muted);
      line-height: 1.6;
    }
    .pkg-steps {
      display: flex;
      gap: .5rem;
      flex-wrap: wrap;
    }
    .pkg-step-tag {
      font-size: .72rem;
      font-weight: 700;
      padding: .25rem .7rem;
      border-radius: 999px;
      background: color-mix(in srgb, var(--pkg-color, var(--cyan)) 10%, white);
      border: 1px solid color-mix(in srgb, var(--pkg-color, var(--cyan)) 28%, transparent);
      color: var(--pkg-color, var(--cyan));
      font-family: 'JetBrains Mono', monospace;
    }
    .pkg-cta {
      margin-top: auto;
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      background: var(--pkg-color, var(--cyan));
      color: #fff;
      text-decoration: none;
      font-size: .88rem;
      font-weight: 700;
      padding: .65rem 1.4rem;
      border-radius: 9px;
      align-self: flex-start;
      transition: opacity .2s, transform .2s;
    }
    .pkg-cta:hover { opacity: .88; transform: translateY(-2px); }

    /* ── STEP TABS ── */
    .int-step { cursor: pointer; }
    .int-step.is-active .int-bubble {
      background: var(--bc);
      color: #fff;
      transform: scale(1.12);
      box-shadow: 0 6px 22px color-mix(in srgb, var(--bc) 32%, transparent);
    }
    .int-step.is-active .int-step-title { color: var(--bc); }

    .step-detail {
      display: none;
      margin-top: 1.5rem;
      background: #fff;
      border: 1px solid var(--border);
      border-top: 3px solid var(--sd-color, var(--cyan));
      border-radius: var(--radius);
      padding: 1.8rem 2.2rem;
      animation: sdFadeIn .22s ease;
    }
    .step-detail.is-active { display: block; }
    @keyframes sdFadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

    .sd-header { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
    .sd-num {
      width: 40px; height: 40px; border-radius: 50%;
      background: color-mix(in srgb, var(--sd-color, var(--cyan)) 11%, white);
      border: 2px solid var(--sd-color, var(--cyan));
      color: var(--sd-color, var(--cyan));
      font-size: .88rem; font-weight: 800;
      font-family: 'JetBrains Mono', monospace;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .sd-title { font-size: 1.1rem; font-weight: 800; color: var(--text); }
    .sd-desc { color: var(--text-muted); font-size: .93rem; margin-bottom: 1.2rem; line-height: 1.6; }
    .sd-items {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
      gap: .9rem;
    }
    .sd-item {
      background: color-mix(in srgb, var(--sd-color, var(--cyan)) 5%, white);
      border: 1px solid color-mix(in srgb, var(--sd-color, var(--cyan)) 16%, transparent);
      border-radius: 10px;
      padding: .9rem 1rem;
    }
    .sd-item-title { font-size: .82rem; font-weight: 700; color: var(--text); margin-bottom: .3rem; }
    .sd-item-desc  { font-size: .78rem; color: var(--text-muted); line-height: 1.5; }

    /* ── STATS BAND ── */
    #stats {
      padding: 60px 5%;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background: #fdf4ff;
    }

    .stats-grid {
      display: flex;
      justify-content: center;
      gap: 4rem;
      flex-wrap: wrap;
      max-width: 900px;
      margin: 0 auto;
    }

    .stat {
      text-align: center;
    }

    .stat-num {
      font-size: 2.8rem;
      font-weight: 900;
      font-family: 'JetBrains Mono', monospace;
      background: linear-gradient(135deg, var(--text), var(--cyan));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1;
    }

    .stat-label {
      font-size: .82rem;
      color: var(--text-muted);
      margin-top: .4rem;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: .06em;
    }

    /* ── MARKETS ── */
    #markets {
      padding: 100px 5%;
      background: #f0f9ff;
    }

    .markets-wrapper {
      max-width: 1200px;
      margin: 0 auto;
      text-align: center;
    }

    .markets-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.4rem;
      margin-top: 3rem;
      text-align: left;
    }

    @media (max-width: 960px) {
      .markets-grid { grid-template-columns: repeat(2, 1fr); }
      .market-pill--more { grid-column: span 2; }
    }

    @media (max-width: 560px) {
      .markets-grid { grid-template-columns: 1fr; }
      .market-pill--more { grid-column: span 1; }
    }

    .market-pill {
      background: #ffffff;
      box-shadow: 0 1px 4px rgba(0,0,0,0.06);
      border: 1px solid var(--border);
      border-left: 4px solid var(--m-color, var(--cyan));
      border-radius: var(--radius);
      padding: 1.5rem 1.5rem 1.5rem 1.3rem;
      transition: transform .22s, box-shadow .22s;
      display: flex;
      flex-direction: column;
    }

    .market-pill:hover {
      transform: translateY(-5px);
      box-shadow: 0 18px 36px color-mix(in srgb, var(--m-color, var(--cyan)) 14%, rgba(0,0,0,0.07));
    }

    .market-label {
      font-size: 1rem;
      font-weight: 800;
      color: var(--text);
      margin-bottom: .6rem;
      display: flex;
      align-items: center;
      gap: .55rem;
    }

    .market-label::before {
      content: '';
      display: block;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--m-color, var(--cyan));
      flex-shrink: 0;
    }

    .market-desc {
      font-size: .85rem;
      color: var(--text-muted);
      line-height: 1.65;
      flex: 1;
    }

    .market-tag {
      display: inline-block;
      margin-top: 1rem;
      font-size: .67rem;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--m-color, var(--cyan));
      background: color-mix(in srgb, var(--m-color, var(--cyan)) 8%, transparent);
      border: 1px solid color-mix(in srgb, var(--m-color, var(--cyan)) 22%, transparent);
      border-radius: 999px;
      padding: .22rem .75rem;
      align-self: flex-start;
    }

    /* Last "more" card */
    .market-pill--more {
      grid-column: span 3;
      background: var(--bg-mid);
      border: 1px dashed rgba(100,116,139,0.35);
      border-left: 4px solid #94a3b8;
      flex-direction: row;
      flex-wrap: wrap;
      gap: 1.2rem 2.5rem;
      align-items: flex-start;
    }

    .market-pill--more .market-more-text {
      flex: 1;
      min-width: 200px;
    }

    .market-pill--more .market-more-list {
      flex: 2;
      min-width: 260px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: .2rem .5rem;
      list-style: none;
      padding: 0;
      margin: 0;
      align-self: center;
    }

    .market-pill--more .market-more-list li {
      font-size: .84rem;
      color: var(--text-muted);
      padding: .3rem 0;
      display: flex;
      align-items: center;
      gap: .45rem;
    }

    .market-pill--more .market-more-list li::before {
      content: '→';
      color: #94a3b8;
      font-size: .75rem;
      flex-shrink: 0;
    }

    /* ── CTA ── */
    #cta {
      padding: 120px 5%;
      text-align: center;
      position: relative;
      overflow: hidden;
      background: #1e1b4b;
      color: #e2e8f0;
    }

    #cta::before {
      content: '';
      position: absolute;
      width: 600px;
      height: 600px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(99,102,241,0.22) 0%, transparent 70%);
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
      pointer-events: none;
    }

    .cta-wrapper { position: relative; z-index: 1; }

    .cta-label {
      display: inline-block;
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: #7dd3fc;
      margin-bottom: .8rem;
    }

    .cta-title {
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 900;
      letter-spacing: -.03em;
      line-height: 1.1;
      max-width: 700px;
      margin: 0 auto;
      color: #f8fafc;
    }

    .cta-desc {
      color: #94a3b8;
      font-size: 1.05rem;
      margin: 1.2rem auto 0;
      max-width: 520px;
    }

    .cta-actions {
      display: flex;
      gap: 1rem;
      justify-content: center;
      margin-top: 2.5rem;
      flex-wrap: wrap;
    }

    /* ── FOOTER ── */
    footer {
      padding: 40px 5%;
      background: #1e1b4b;
      color: #94a3b8;
      border-top: 1px solid rgba(255,255,255,0.07);
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 1rem;
    }

    .footer-logo {
      display: flex;
      align-items: center;
    }

    .footer-info {
      display: flex;
      flex-direction: column;
      gap: .3rem;
      font-size: .82rem;
      color: #64748b;
      text-align: center;
    }

    .footer-info a {
      color: #7dd3fc;
      text-decoration: none;
    }

    .footer-contact {
      display: flex;
      flex-direction: column;
      gap: .3rem;
      font-size: .82rem;
      color: #64748b;
    }

    .footer-contact a {
      color: #64748b;
      text-decoration: none;
      transition: color .2s;
    }
    .footer-contact a:hover { color: #7dd3fc; }

    /* ── SCROLL REVEAL ── */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity .7s ease, transform .7s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: none;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 700px) {
      .nav-links { display: none; }
      footer { flex-direction: column; align-items: flex-start; }
      .footer-info { text-align: left; }
      .stats-grid { gap: 2rem; }
    }

    /* ── TERMINAL CARD ── */
    .terminal {
      background: #0d1117;
      border: 1px solid rgba(0,200,255,0.12);
      border-radius: 12px;
      padding: 1.4rem 1.6rem;
      font-family: 'JetBrains Mono', monospace;
      font-size: .82rem;
      color: #cdd9e5;
      margin-top: 2rem;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
      text-align: left;
    }

    .terminal-bar {
      display: flex;
      gap: .4rem;
      margin-bottom: 1rem;
    }

    .t-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }

    .t-red    { background: #ff5f57; }
    .t-yellow { background: #febc2e; }
    .t-green  { background: #28c840; }

    .t-line { margin-bottom: .3rem; }
    .t-prompt { color: var(--cyan); }
    .t-cmd    { color: #7eb5ff; }
    .t-out    { color: var(--green); }
    .t-dim    { color: #566575; }
    .t-cursor {
      display: inline-block;
      width: 8px;
      height: 14px;
      background: var(--cyan);
      vertical-align: middle;
      animation: blink 1.2s step-end infinite;
    }

    /* ── GITHUB BADGE ── */
    .github-badge {
      display: inline-flex;
      align-items: center;
      gap: .6rem;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.14);
      border-radius: 999px;
      padding: .5rem 1.2rem;
      font-size: .82rem;
      font-weight: 600;
      color: #e2e8f0;
      text-decoration: none;
      transition: border-color .2s, background .2s;
      margin-top: 1.5rem;
    }
    .github-badge:hover { border-color: #7dd3fc; background: rgba(125,211,252,0.08); }

    /* ── STICKY SCROLLBAR ── */
    ::-webkit-scrollbar { width: 5px; }
    ::-webkit-scrollbar-track { background: var(--bg-deep); }
    ::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 99px; }