:root {
  --bg: #0d0719;
  --bg-soft: #130a24;
  --panel: rgba(27, 14, 48, 0.72);
  --text: #ffffff;
  --muted: #c8bfd8;
  --purple: #8b5cf6;
  --purple-bright: #a855f7;
  --purple-deep: #6d28d9;
  --border: rgba(139, 92, 246, 0.32);
  --max-width: 1180px;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(28, 7, 57, 0.36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(92, 38, 173, 0.18), transparent 38rem),
    linear-gradient(180deg, #0d0719 0%, #10071e 48%, #0a0614 100%);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.container.narrow { max-width: 860px; }
.section { position: relative; padding: 100px 0; }
.section-bordered { border-top: 1px solid rgba(255,255,255,.06); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(10, 5, 19, .78);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { width: 185px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: .92rem; font-weight: 600; }
.site-nav > a:not(.nav-cta) { color: #e8e3f0; transition: color .2s ease; }
.site-nav > a:not(.nav-cta):hover { color: var(--purple-bright); }
.nav-cta {
  padding: 12px 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  box-shadow: 0 10px 30px rgba(139,92,246,.25);
}
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 27px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

.hero { min-height: 760px; padding-top: 170px; display: grid; place-items: center; text-align: center; }
.hero-inner { position: relative; z-index: 1; }
.hero-logo { width: min(460px, 78vw); margin: 0 auto 44px; }
.hero h1 { margin: 0; font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: 1.05; letter-spacing: -.055em; }
.hero h1 span { color: var(--purple-bright); }
.hero p { max-width: 680px; margin: 28px auto 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.22rem); }
.ambient { position: absolute; border-radius: 999px; filter: blur(80px); opacity: .32; pointer-events: none; }
.ambient-one { width: 440px; height: 440px; background: #5b21b6; left: -160px; top: 120px; }
.ambient-two { width: 360px; height: 360px; background: #2563eb; right: -180px; bottom: 10px; opacity: .12; }

.cta-row { display: flex; justify-content: center; gap: 20px; margin-top: 38px; flex-wrap: wrap; }
.button {
  min-width: 190px;
  min-height: 56px;
  padding: 14px 26px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button img { width: 22px; height: 22px; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, #a855f7, #7c3aed); box-shadow: 0 14px 34px rgba(124,58,237,.30); }
.button-primary:hover { box-shadow: 0 18px 46px rgba(124,58,237,.42); }
.button-secondary { color: #a78bfa; border-color: #7c3aed; background: rgba(0,0,0,0); }
.button-secondary:hover { color: #fff; background: rgba(42,23,67,.9); border-color: #a78bfa; }

.section-heading { max-width: 770px; margin: 0 auto 54px; text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 12px; color: #a78bfa; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; letter-spacing: -.04em; }
.section-heading p { margin: 18px auto 0; color: var(--muted); font-size: 1.08rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-item { position: relative; text-align: center; padding: 14px 44px; }
.feature-item + .feature-item { border-left: 1px solid rgba(139,92,246,.25); }
.feature-icon { width: 74px; height: 74px; margin: 0 auto 24px; color: var(--purple-bright); filter: drop-shadow(0 0 14px rgba(168,85,247,.35)); }
.feature-icon img { width: 100%; height: 100%; }
.feature-item h3 { margin: 0 0 16px; font-size: 1.28rem; line-height: 1.2; }
.feature-item p { margin: 0; color: var(--muted); }

.stats-panel { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, rgba(33,17,56,.75), rgba(14,7,26,.68)); box-shadow: var(--shadow); overflow: hidden; }
.stat-item { padding: 36px 22px; text-align: center; }
.stat-item + .stat-item { border-left: 1px solid rgba(139,92,246,.22); }
.stat-item img { width: 52px; height: 52px; margin: 0 auto 14px; color: var(--purple-bright); }
.stat-item strong { display: block; color: var(--purple-bright); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; }
.stat-item span { display: block; margin-top: 10px; color: #f0ebf7; font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; gap: 60px; }
.steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 28px; border-top: 1px dashed rgba(168,85,247,.52); }
.step { text-align: center; position: relative; z-index: 1; }
.step-number { width: 58px; height: 58px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 999px; background: linear-gradient(135deg, var(--purple-bright), var(--purple-deep)); font-weight: 800; box-shadow: 0 0 24px rgba(139,92,246,.25); }
.step h3 { margin: 0 0 10px; font-size: 1.15rem; }
.step p { max-width: 280px; margin: 0 auto; color: var(--muted); }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { margin: 0; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(24,12,42,.62); text-align: center; transition: transform .2s ease, border-color .2s ease; }
.testimonial-card:hover { transform: translateY(-5px); border-color: rgba(168,85,247,.65); }
.stars { color: var(--purple-bright); letter-spacing: 5px; font-size: 1.2rem; }
.testimonial-card blockquote { margin: 22px 0; color: #eee8f5; }
.testimonial-card figcaption { display: grid; gap: 2px; }
.testimonial-card figcaption span { color: var(--muted); font-size: .9rem; }

.final-cta { padding-top: 70px; }
.cta-panel { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 40px; padding: 46px 56px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(135deg, rgba(36,17,62,.92), rgba(21,10,38,.78)); box-shadow: var(--shadow); }
.cta-panel h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.8rem); line-height: 1.02; }
.cta-panel h2 span { color: var(--purple-bright); }
.cta-panel p { margin: 16px 0 0; color: var(--muted); }
.cta-stack { display: grid; gap: 14px; }
.cta-stack .button { width: 100%; }

.faq { padding-top: 60px; }
.accordion { display: grid; gap: 14px; }
details { border: 1px solid var(--border); border-radius: 12px; background: rgba(24,12,42,.52); padding: 0 22px; }
summary { cursor: pointer; list-style: none; font-weight: 700; padding: 20px 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--purple-bright); font-size: 1.3rem; }
details[open] summary::after { content: "–"; }
details p { margin: 0; padding: 0 0 20px; color: var(--muted); }

.site-footer { border-top: 1px solid rgba(255,255,255,.07); padding: 30px 0; }
.footer-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-wrap > img { width: 145px; }
.footer-wrap p { margin: 0; color: var(--muted); font-size: .88rem; text-align: center; }
.footer-links { justify-self: end; display: flex; gap: 24px; color: var(--muted); font-size: .88rem; }
.footer-links a:hover { color: var(--purple-bright); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .menu-toggle { display: block; cursor: pointer; }
  .site-nav { position: absolute; top: 82px; left: 20px; right: 20px; padding: 22px; display: grid; gap: 16px; background: rgba(12,6,22,.97); border: 1px solid var(--border); border-radius: 14px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .2s ease; box-shadow: var(--shadow); }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav .nav-cta { text-align: center; }
  .feature-grid, .testimonial-grid { grid-template-columns: 1fr; gap: 26px; }
  .feature-item { padding: 30px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(24,12,42,.46); }
  .feature-item + .feature-item { border-left: 1px solid var(--border); }
  .stats-panel { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3) { border-left: 0; border-top: 1px solid rgba(139,92,246,.22); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(139,92,246,.22); }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { display: none; }
  .cta-panel { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; }
  .footer-wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-links { justify-self: auto; }
}

@media (max-width: 580px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .section { padding: 76px 0; }
  .hero { min-height: 720px; padding-top: 140px; }
  .hero-logo { margin-bottom: 34px; }
  .cta-row { display: grid; grid-template-columns: 1fr; width: 100%; max-width: 360px; margin-inline: auto; margin-top: 32px; }
  .button { width: 100%; min-width: 0; }
  .stats-panel { grid-template-columns: 1fr; }
  .stat-item + .stat-item { border-left: 0; border-top: 1px solid rgba(139,92,246,.22); }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
