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

:root {
  --bg:        #0a0e1a;
  --bg2:       #111827;
  --bg3:       #1a2235;
  --accent:    #3b82f6;
  --accent2:   #6366f1;
  --green:     #10b981;
  --text:      #f1f5f9;
  --muted:     #94a3b8;
  --border:    rgba(255,255,255,0.08);
  --radius:    14px;
  --shadow:    0 4px 32px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: #60a5fa; }

img, svg { max-width: 100%; display: block; }

/* ─── Typography ────────────────────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { color: var(--muted); }

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

section { padding: 100px 0; }
section:nth-child(even) { background: var(--bg2); }

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(59,130,246,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59,130,246,0.5); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(59,130,246,0.07); }

/* ─── Nav ───────────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.nav-logo svg { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
#hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 120px;
  background: var(--bg);
}
.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.hero-glow2 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  bottom: -50px;
  left: -80px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--green);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge::before { content: "●"; font-size: 0.6rem; }
.hero-title { margin-bottom: 20px; }
.hero-title span {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 1.15rem; color: var(--muted); margin-bottom: 40px; max-width: 560px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.stat { }
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--text); }
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }

/* ─── Cards grid ────────────────────────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 56px; }

.card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(99,102,241,0.4); transform: translateY(-4px); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.icon-blue  { background: rgba(59,130,246,0.15); }
.icon-purple{ background: rgba(99,102,241,0.15); }
.icon-green { background: rgba(16,185,129,0.15); }
.icon-amber { background: rgba(245,158,11,0.15); }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }

/* ─── Steps ─────────────────────────────────────────────────────────────────── */
.steps { display: flex; gap: 0; margin-top: 56px; flex-wrap: wrap; }
.step {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px 28px 0;
  position: relative;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 60%;
  background: var(--border);
  transform: translateY(-50%);
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  color: #fff;
}
.step-text h3 { margin-bottom: 6px; }
.step-text p { font-size: 0.9rem; }

/* ─── Pricing ───────────────────────────────────────────────────────────────── */
#pricing { background: var(--bg); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.price-card {
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}
.price-card:hover { border-color: rgba(99,102,241,0.5); transform: translateY(-4px); }
.price-card.popular {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(59,130,246,0.08), var(--bg3));
}
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-period { font-size: 0.85rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.price-amount { font-size: 2.4rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-save { font-size: 0.8rem; color: var(--green); font-weight: 600; margin-bottom: 24px; min-height: 18px; }
.price-features { list-style: none; margin-bottom: 28px; flex: 1; }
.price-features li {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-features li::before { content: "✓"; color: var(--green); font-weight: 700; }
.price-card .btn { width: 100%; justify-content: center; }

/* ─── FAQ ───────────────────────────────────────────────────────────────────── */
.faq-list { margin-top: 56px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  padding: 22px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q::after { content: "+"; font-size: 1.4rem; font-weight: 300; flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 22px; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ─── Section header ────────────────────────────────────────────────────────── */
.section-header { text-align: center; max-width: 620px; margin: 0 auto; }
.section-header p { margin-top: 12px; font-size: 1.05rem; }
.section-tag {
  display: inline-block;
  background: rgba(99,102,241,0.12);
  color: #818cf8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand { max-width: 340px; }
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; }
.footer-links-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-bottom: 14px; }
.footer-links-col a { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 8px; transition: color 0.2s; }
.footer-links-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-reqs { font-size: 0.8rem; color: var(--muted); }

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .steps { flex-direction: column; }
  .step:not(:last-child)::after { display: none; }
  .nav-links { display: none; }
  .hero-stats { gap: 24px; }
  .footer-top { flex-direction: column; }
}

/* ─── Legal pages ───────────────────────────────────────────────────────────── */
.legal-page { padding: 80px 0 120px; }
.legal-page h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 48px; }
.legal-body { max-width: 820px; }
.legal-body h2 { font-size: 1.2rem; margin: 36px 0 12px; color: var(--text); }
.legal-body p { margin-bottom: 14px; font-size: 0.95rem; line-height: 1.75; }
.legal-body ul { padding-left: 20px; margin-bottom: 14px; }
.legal-body ul li { font-size: 0.95rem; color: var(--muted); margin-bottom: 6px; line-height: 1.7; }
.legal-body table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 0.9rem; }
.legal-body table th, .legal-body table td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.legal-body table th { background: var(--bg3); color: var(--text); font-weight: 600; }
.legal-body table td { color: var(--muted); }
