:root {
      --bg:        #0a0a12;
      --bg2:       #12121f;
      --bg3:       #1a1a2e;
      --accent:    #e879f9;
      --accent2:   #a78bfa;
      --accent3:   #f472b6;
      --cyan:      #22d3ee;
      --amber:     #fbbf24;
      --green:     #34d399;
      --text:      #e8e0f0;
      --muted:     #9088a8;
      --border:    #2a2245;
      --glow:      0 0 20px rgba(232,121,249,0.2);
      --glow2:     0 0 20px rgba(167,139,250,0.2);
      --radius:    14px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
      font-size: 16px;
      line-height: 1.75;
    }

    ::-webkit-scrollbar { width: 7px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: #2a2245; border-radius: 4px; }

    /* ── HERO ── */
    .hero {
      position: relative;
      overflow: hidden;
      padding: 100px 20px 80px;
      text-align: center;
      background: radial-gradient(ellipse 80% 60% at 50% 0%, #1a0a2e 0%, var(--bg) 70%);
      border-bottom: 1px solid var(--border);
    }
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 25% 50%, rgba(232,121,249,0.06) 0%, transparent 50%),
        radial-gradient(circle at 75% 30%, rgba(167,139,250,0.06) 0%, transparent 50%);
      pointer-events: none;
    }

    .hero-dots {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }
    .hero-dots span {
      position: absolute;
      border-radius: 50%;
      background: var(--accent);
      opacity: 0;
      animation: pulse 4s infinite;
    }
    @keyframes pulse {
      0%,100% { opacity: 0; transform: scale(1); }
      50%      { opacity: 0.5; transform: scale(1.5); }
    }

    .badge {
      display: inline-block;
      background: rgba(232,121,249,0.12);
      border: 1px solid rgba(232,121,249,0.35);
      color: var(--accent);
      font-size: 0.72rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      padding: 4px 14px;
      border-radius: 100px;
      margin-bottom: 22px;
    }

    .hero h1 {
      font-size: clamp(2rem, 5vw, 3.6rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.15;
      background: linear-gradient(135deg, #f0e0ff 0%, var(--accent) 40%, var(--accent2) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 18px;
    }

    .hero-sub {
      max-width: 740px;
      margin: 0 auto 36px;
      color: var(--muted);
      font-size: 1.05rem;
    }

    .hero-tags {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
    }
    .tag {
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      color: var(--muted);
      font-size: 0.8rem;
      padding: 5px 14px;
      border-radius: 100px;
    }

    /* ── NAV ── */
    .sticky-nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(10,10,18,0.9);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border);
      padding: 0 24px;
      display: flex;
      justify-content: center;
      gap: 0;
      overflow-x: auto;
    }
    .sticky-nav a {
      display: inline-block;
      padding: 14px 16px;
      font-size: 0.8rem;
      color: var(--muted);
      text-decoration: none;
      white-space: nowrap;
      border-bottom: 2px solid transparent;
      transition: color .2s, border-color .2s;
    }
    .sticky-nav a:hover {
      color: var(--accent);
      border-bottom-color: var(--accent);
    }

    /* ── LAYOUT ── */
    .page { max-width: 1080px; margin: 0 auto; padding: 60px 24px; }

    /* ── SECTION HEADERS ── */
    .sec-header {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 36px;
    }
    .sec-icon {
      width: 46px; height: 46px;
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.3rem;
      flex-shrink: 0;
    }
    .ic-purple { background: rgba(232,121,249,0.12); border: 1px solid rgba(232,121,249,0.3); }
    .ic-violet { background: rgba(167,139,250,0.12); border: 1px solid rgba(167,139,250,0.3); }
    .ic-pink   { background: rgba(244,114,182,0.12); border: 1px solid rgba(244,114,182,0.3); }
    .ic-cyan   { background: rgba(34,211,238,0.12);  border: 1px solid rgba(34,211,238,0.3); }
    .ic-amber  { background: rgba(251,191,36,0.12);  border: 1px solid rgba(251,191,36,0.3); }
    .ic-green  { background: rgba(52,211,153,0.12);  border: 1px solid rgba(52,211,153,0.3); }

    .sec-title h2 {
      font-size: 1.55rem;
      font-weight: 700;
      color: var(--text);
    }
    .sec-title span {
      font-size: 0.78rem;
      color: var(--muted);
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    /* ── SEPARATOR ── */
    .sep {
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--border), transparent);
      margin: 60px 0;
    }

    /* ── CARDS ── */
    .card {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px 28px;
      transition: border-color .25s, box-shadow .25s;
    }
    .card:hover {
      border-color: rgba(232,121,249,0.3);
      box-shadow: var(--glow);
    }

    .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
    .grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }

    @media(max-width:900px) {
      .grid-3,.grid-4 { grid-template-columns: 1fr 1fr; }
    }
    @media(max-width:600px) {
      .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
    }

    .card-title {
      font-size: 0.95rem;
      font-weight: 600;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .dot-purple { width:8px;height:8px;border-radius:50%;background:var(--accent);  flex-shrink:0; }
    .dot-violet { width:8px;height:8px;border-radius:50%;background:var(--accent2); flex-shrink:0; }
    .dot-pink   { width:8px;height:8px;border-radius:50%;background:var(--accent3); flex-shrink:0; }
    .dot-cyan   { width:8px;height:8px;border-radius:50%;background:var(--cyan);    flex-shrink:0; }
    .dot-amber  { width:8px;height:8px;border-radius:50%;background:var(--amber);   flex-shrink:0; }
    .dot-green  { width:8px;height:8px;border-radius:50%;background:var(--green);   flex-shrink:0; }

    .card p, .card li { font-size: 0.9rem; color: #a098b8; }
    .card ul { padding-left: 18px; }
    .card li { margin-bottom: 4px; }

    /* ── CALLOUT ── */
    .callout {
      border-radius: var(--radius);
      padding: 20px 24px;
      margin: 24px 0;
      font-size: 0.9rem;
    }
    .callout-purple { background: rgba(232,121,249,0.07); border-left: 3px solid var(--accent); }
    .callout-violet { background: rgba(167,139,250,0.07); border-left: 3px solid var(--accent2); }
    .callout-pink   { background: rgba(244,114,182,0.07); border-left: 3px solid var(--accent3); }
    .callout-cyan   { background: rgba(34,211,238,0.07);  border-left: 3px solid var(--cyan); }
    .callout-amber  { background: rgba(251,191,36,0.07);  border-left: 3px solid var(--amber); }
    .callout-green  { background: rgba(52,211,153,0.07);  border-left: 3px solid var(--green); }
    .callout strong { color: var(--text); }

    /* ── STAT CARDS ── */
    .stat-card {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 22px 20px;
      text-align: center;
    }
    .stat-num {
      font-size: 1.6rem;
      font-weight: 800;
      line-height: 1;
      margin-bottom: 6px;
    }
    .stat-label { font-size: 0.78rem; color: var(--muted); }
    .c-purple { color: var(--accent); }
    .c-violet { color: var(--accent2); }
    .c-pink   { color: var(--accent3); }
    .c-cyan   { color: var(--cyan); }
    .c-amber  { color: var(--amber); }
    .c-green  { color: var(--green); }

    /* ── TABLE ── */
    .spec-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.86rem;
      margin-top: 14px;
    }
    .spec-table th {
      background: rgba(232,121,249,0.1);
      color: var(--accent);
      padding: 11px 16px;
      text-align: left;
      font-weight: 600;
      font-size: 0.78rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      border-bottom: 1px solid var(--border);
    }
    .spec-table td {
      padding: 10px 16px;
      border-bottom: 1px solid var(--border);
      color: #a098b8;
      vertical-align: top;
    }
    .spec-table tr:last-child td { border-bottom: none; }
    .spec-table tr:hover td { background: rgba(255,255,255,0.02); }
    .spec-table td:first-child { color: var(--text); font-weight: 500; }

    /* ── TIMELINE ── */
    .timeline { display: flex; flex-direction: column; gap: 0; }
    .timeline-item {
      display: grid;
      grid-template-columns: 60px 1fr;
      gap: 20px;
      position: relative;
    }
    .timeline-item:not(:last-child)::before {
      content: '';
      position: absolute;
      left: 29px;
      top: 50px;
      bottom: -20px;
      width: 2px;
      background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
      opacity: 0.25;
    }
    .timeline-num {
      width: 44px; height: 44px;
      border-radius: 50%;
      background: rgba(232,121,249,0.12);
      border: 2px solid rgba(232,121,249,0.4);
      display: flex; align-items: center; justify-content: center;
      font-weight: 700;
      font-size: 0.95rem;
      color: var(--accent);
      flex-shrink: 0;
      margin-top: 4px;
    }
    .timeline-body {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px 24px;
      margin-bottom: 20px;
    }
    .timeline-body h3 { font-size: 1rem; color: var(--text); margin-bottom: 10px; }
    .timeline-body p, .timeline-body li { font-size: 0.88rem; color: #a098b8; }
    .timeline-body ul { padding-left: 18px; }
    .timeline-body li { margin-bottom: 4px; }

    /* ── FOOTER ── */
    footer {
      border-top: 1px solid var(--border);
      padding: 36px 24px;
      text-align: center;
      color: var(--muted);
      font-size: 0.82rem;
    }
    footer strong { color: var(--text); }

    /* ── HELPERS ── */
    .mt-16 { margin-top: 16px; }
    .mt-24 { margin-top: 24px; }
    .mt-32 { margin-top: 32px; }
    .mb-16 { margin-bottom: 16px; }
    h3.sub { font-size: 1rem; color: var(--text); font-weight: 600; margin: 22px 0 10px; }
    p.body { font-size: 0.92rem; color: #a098b8; margin-bottom: 14px; }
    code { background: rgba(232,121,249,0.1); color: var(--accent); font-size: 0.82em; padding: 2px 7px; border-radius: 5px; font-family: 'Cascadia Code','Fira Code',monospace; }

    /* ── FEATURE HIGHLIGHT ── */
    .feature-card {
      background: linear-gradient(135deg, rgba(232,121,249,0.06) 0%, rgba(167,139,250,0.06) 100%);
      border: 1px solid rgba(232,121,249,0.2);
      border-radius: var(--radius);
      padding: 22px 26px;
    }
    .feature-card .feat-label {
      font-size: 0.7rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 10px;
      font-weight: 600;
    }
    .feature-card p, .feature-card li { font-size: 0.88rem; color: #c4b5fd; }
    .feature-card ul { padding-left: 18px; }
    .feature-card li { margin-bottom: 5px; }

    /* ── BOM TABLE ── */
    .bom-table { width:100%; border-collapse:collapse; font-size:0.84rem; margin-top:16px; }
    .bom-table th { background: rgba(167,139,250,0.1); color: var(--accent2); padding:10px 14px; text-align:left; border-bottom:1px solid var(--border); font-size:0.76rem; letter-spacing:0.05em; text-transform:uppercase; }
    .bom-table td { padding:9px 14px; border-bottom:1px solid var(--border); color:#a098b8; }
    .bom-table td:first-child { color: var(--text); font-weight:500; }
    .bom-table tr:last-child td { border-bottom:none; }
    .bom-table tr:hover td { background: rgba(255,255,255,0.02); }
