:root {
  --bg:      #07070f;
  --surface: #10101e;
  --card:    #141426;
  --border:  #1e1e36;
  --purple:  #7c5cfc;
  --purple2: #a78bfa;
  --cyan:    #38bdf8;
  --green:   #4ade80;
  --red:     #f87171;
  --text:    #e2e2f0;
  --muted:   #6b6b8a;
  --white:   #ffffff;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg); color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; line-height: 1.7; overflow-x: hidden;
}

/* ── HERO ── */
.hero {
  text-align: center; padding: 80px 24px 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 900px 500px at 50% -100px, rgba(124,92,252,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(124,92,252,.4); border-radius: 100px;
  padding: 6px 18px; font-size: .8rem; color: var(--purple2);
  background: rgba(124,92,252,.08); margin-bottom: 24px;
}
.hero-badge span.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); display: inline-block; }
.hero h1 {
  font-family: 'Sora', sans-serif; font-size: clamp(1.9rem, 5vw, 3.6rem);
  font-weight: 800; line-height: 1.15; color: var(--white); margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--purple2); }
.hero p { max-width: 640px; margin: 0 auto 40px; color: var(--muted); font-size: 1rem; }

.toc { display: inline-flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.toc a {
  border: 1px solid var(--border); border-radius: 100px; padding: 7px 18px;
  font-size: .83rem; color: var(--text); text-decoration: none; background: var(--surface);
  transition: border-color .2s, color .2s, background .2s; min-height: 36px;
  display: inline-flex; align-items: center;
}
.toc a:hover { border-color: var(--purple); color: var(--purple2); background: rgba(124,92,252,.08); }

/* ── SECTION WRAPPER ── */
section { max-width: 1680px; margin: 0 auto; padding: 64px 24px; }
.section-label {
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple); font-weight: 600; margin-bottom: 10px;
}
.section-title {
  font-family: 'Sora', sans-serif; font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; color: var(--white); margin-bottom: 14px; line-height: 1.2;
}
.section-sub { color: var(--muted); max-width: 580px; margin-bottom: 48px; font-size: .97rem; }
hr.divider { border: none; border-top: 1px solid var(--border); margin: 0 24px; }

/* ── FEATURE ROWS ── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; margin-bottom: 72px;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-text h3 {
  font-family: 'Sora', sans-serif; font-size: 1.4rem; font-weight: 700;
  color: var(--white); margin-bottom: 12px;
}
.feature-text p { color: var(--muted); margin-bottom: 16px; font-size: .95rem; }
.feature-text ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-text ul li {
  display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: .92rem;
}
.feature-text ul li::before {
  content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple); margin-top: 9px;
}
.feature-visual {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 24px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(124,92,252,.07);
}
.mock { width: 100%; display: block; }

/* ── STEPS ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
.step {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 20px; position: relative; overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.step:hover { border-color: rgba(124,92,252,.4); transform: translateY(-4px); }
.step-num {
  font-family: 'Sora', sans-serif; font-size: 2.5rem; font-weight: 800;
  color: rgba(56,189,248,.25); margin-bottom: 14px; line-height: 1;
}
.step h4 { font-family: 'Sora', sans-serif; font-weight: 700; color: var(--white); font-size: .97rem; margin-bottom: 8px; }
.step p  { color: var(--muted); font-size: .87rem; }

/* ── TECH STACK ── */
.tech-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.tech-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 20px; transition: border-color .25s, transform .25s;
}
.tech-card:hover { border-color: rgba(124,92,252,.4); transform: translateY(-3px); }
.tech-icon { font-size: 1.7rem; margin-bottom: 10px; }
.tech-card h4 { font-family: 'Sora', sans-serif; font-weight: 700; color: var(--white); font-size: .95rem; margin-bottom: 6px; }
.tech-card p  { color: var(--muted); font-size: .85rem; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; background: var(--card); overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  padding: 18px 22px; color: var(--white); font-family: 'DM Sans', sans-serif;
  font-size: .95rem; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  transition: color .2s; min-height: 52px;
}
.faq-q:hover { color: var(--purple2); }
.faq-q .arrow { font-size: 1.1rem; transition: transform .3s; color: var(--muted); flex-shrink: 0; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .3s;
  padding: 0 22px; color: var(--muted); font-size: .9rem;
}
.faq-item.open .faq-q .arrow { transform: rotate(45deg); color: var(--purple2); }
.faq-item.open .faq-a { max-height: 200px; padding: 0 22px 18px; }

/* ── GLOSSARY ── */
.glossary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gloss-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.gloss-card dt { font-weight: 600; color: var(--purple2); margin-bottom: 4px; font-size: .93rem; }
.gloss-card dd { color: var(--muted); font-size: .87rem; }

/* ── CTA ── */
.cta-box {
  background: linear-gradient(135deg,rgba(124,92,252,.18) 0%,rgba(56,189,248,.1) 100%);
  border: 1px solid rgba(124,92,252,.25); border-radius: 20px;
  padding: 52px 36px; text-align: center; margin: 0 24px 72px;
}
.cta-box h2 { font-family: 'Sora', sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--white); margin-bottom: 12px; }
.cta-box p  { color: var(--muted); margin-bottom: 28px; }
.btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg,#7c5cfc,#38bdf8); color: #fff;
  border: none; padding: 12px 26px; border-radius: 10px; font-size: .93rem;
  font-weight: 600; cursor: pointer; text-decoration: none;
  transition: opacity .2s, transform .15s; min-height: 44px;
  display: inline-flex; align-items: center;
}
.btn-primary:hover { opacity: .88; transform: translateY(-2px); }
.btn-outline {
  background: none; border: 1px solid var(--border); color: var(--text);
  padding: 12px 26px; border-radius: 10px; font-size: .93rem; font-weight: 600;
  cursor: pointer; text-decoration: none; transition: border-color .2s, color .2s;
  min-height: 44px; display: inline-flex; align-items: center;
}
.btn-outline:hover { border-color: var(--purple2); color: var(--purple2); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border); padding: 24px 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.foot-logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: 'Sora', sans-serif; font-weight: 700; font-size: .93rem; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: .85rem; transition: color .2s; min-height: 32px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--white); }
.foot-copy { color: var(--muted); font-size: .8rem; }

/* ============================================
   RESPONSIVE — Tablet (max-width: 900px)
   ============================================ */
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 52px; }
  .feature-row.reverse { direction: ltr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid  { grid-template-columns: 1fr 1fr; }
  .glossary-grid { grid-template-columns: 1fr; }
  section { padding: 48px 20px; }
  .cta-box { margin: 0 12px 52px; padding: 40px 24px; }
}

/* ============================================
   RESPONSIVE — Mobile (max-width: 600px)
   ============================================ */
@media (max-width: 600px) {
  .hero { padding: 60px 20px 48px; }
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .tech-grid  { grid-template-columns: 1fr; }
  .btn-group  { flex-direction: column; align-items: center; }
  .btn-group .btn-primary, .btn-group .btn-outline { width: 100%; max-width: 320px; justify-content: center; }
  .cta-box { margin: 0 0 48px; border-radius: 14px; padding: 32px 20px; }
  footer { flex-direction: column; align-items: flex-start; padding: 20px; gap: 12px; }
  .foot-links { gap: 10px 16px; }
  .faq-q { padding: 14px 16px; font-size: .9rem; }
  .faq-a { padding: 0 16px; }
  .faq-item.open .faq-a { padding: 0 16px 14px; }
  section { padding: 40px 16px; }
  .section-sub { margin-bottom: 32px; }
}