:root {
  --bg: #0d0b1a;
  --surface: #161329;
  --border: #262041;
  --primary: #7c5cff;
  --accent: #46d3c6;
  --text: #eceaf7;
  --muted: #9a9ab2;
  --success: #34d399;
  --radius: 20px;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(13, 11, 26, 0.72);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), #a488ff);
  color: #fff; font-weight: 800;
}
.nav a { color: var(--muted); margin-left: 22px; font-size: 15px; }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }

/* Hero */
.hero { text-align: center; padding: 96px 0 72px; }
.hero .eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  max-width: 640px;
  margin: 22px auto 34px;
  font-size: 19px;
  color: var(--muted);
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.trial-note { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* Sections */
section { padding: 64px 0; }
.section-title { text-align: center; font-size: 30px; font-weight: 800; letter-spacing: -0.01em; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 12px auto 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 44px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card .icon { font-size: 26px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Steps */
.steps { counter-reset: step; margin-top: 40px; display: grid; gap: 16px; max-width: 720px; margin-left: auto; margin-right: auto; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step .num {
  counter-increment: step;
  flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(124, 92, 255, 0.16);
  color: var(--primary);
  display: grid; place-items: center; font-weight: 700;
}
.step .num::before { content: counter(step); }

/* Pricing */
.price-card {
  max-width: 420px;
  margin: 44px auto 0;
  text-align: center;
  border: 1px solid var(--primary);
  background: linear-gradient(180deg, rgba(124,92,255,0.10), var(--surface));
}
.price-card .amount { font-size: 44px; font-weight: 800; }
.price-card .amount span { font-size: 18px; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; text-align: left; margin: 22px auto; max-width: 280px; }
.price-card li { padding: 6px 0; color: var(--text); }
.price-card li::before { content: "✓"; color: var(--success); margin-right: 10px; font-weight: 700; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-footer a { color: var(--muted); margin-left: 18px; }
.site-footer a:first-child { margin-left: 0; }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: 34px; font-weight: 800; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 20px; margin: 30px 0 8px; }
.legal p { color: var(--muted); margin-bottom: 12px; }
.legal a.back { display: inline-block; margin-bottom: 28px; }

@media (max-width: 600px) {
  .nav { display: none; }
  .hero { padding: 64px 0 48px; }
}
