/* ─── Reset & base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0b0d1a;
  --bg2:       #10132a;
  --bg3:       #181c35;
  --accent:    #6c63ff;
  --accent2:   #a78bfa;
  --text:      #f0f0ff;
  --muted:     #8b8fac;
  --border:    rgba(108, 99, 255, 0.18);
  --radius:    14px;
  --trans:     0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }

/* ─── Utility ───────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--trans);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: #5a53e0; transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn--ghost:hover { color: var(--text); border-color: rgba(108,99,255,.45); }

.btn--lg { padding: 13px 28px; font-size: 16px; border-radius: 10px; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; line-height: 1.25; margin-bottom: 12px; }
.section-header p  { color: var(--muted); font-size: 17px; }

/* ─── Nav ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11, 13, 26, 0.75);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.nav__logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}
.nav__logo span { color: var(--accent); }

.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--trans);
}
.nav__links a:hover { color: var(--text); }

.nav__inner .btn { margin-left: 8px; }

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.hero__badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__glow {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(108,99,255,0.18) 0%, transparent 65%);
  pointer-events: none;
}

/* ─── Stats ─────────────────────────────────────────────── */
.stats {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.stat__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent2);
}

.stat__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

/* ─── Features ──────────────────────────────────────────── */
.features {
  padding: 100px 0;
}

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

.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--trans), border-color var(--trans);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 99, 255, 0.4);
}

.feature-card--accent {
  background: linear-gradient(160deg, rgba(108,99,255,0.12) 0%, var(--bg2) 100%);
  border-color: rgba(108, 99, 255, 0.35);
}

.feature-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(108,99,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent2);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-card__list li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}
.feature-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

/* ─── How it works ──────────────────────────────────────── */
.how {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how__steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.step {
  flex: 1;
  padding: 32px;
  text-align: center;
}

.step__number {
  font-size: 48px;
  font-weight: 900;
  color: rgba(108, 99, 255, 0.2);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.step h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.step__divider {
  width: 60px;
  flex-shrink: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* ─── CTA ───────────────────────────────────────────────── */
.cta {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.cta__inner {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.cta p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 36px;
}

.cta__form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.cta__form input {
  padding: 13px 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg2);
  color: var(--text);
  font-size: 15px;
  width: 300px;
  outline: none;
  transition: border-color var(--trans);
}
.cta__form input::placeholder { color: var(--muted); }
.cta__form input:focus { border-color: var(--accent); }

.cta__note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0 !important;
}

.cta__glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(108,99,255,0.14) 0%, transparent 65%);
  pointer-events: none;
}

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  color: var(--muted);
  font-size: 14px;
}

.footer__links {
  display: flex;
  gap: 20px;
}
.footer__links a {
  color: var(--muted);
  font-size: 14px;
  transition: color var(--trans);
}
.footer__links a:hover { color: var(--text); }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links { display: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .features__grid { grid-template-columns: 1fr; }

  .how__steps {
    flex-direction: column;
    gap: 8px;
  }
  .step__divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
  }

  .cta__form input { width: 100%; }
  .cta__form { flex-direction: column; align-items: center; }
  .cta__form .btn { width: 100%; justify-content: center; }

  .footer__inner { flex-direction: column; text-align: center; }
}
