:root {
  --bg: #050208;
  --bg-2: #0d0418;
  --text: #f4f1ff;
  --text-dim: rgba(244, 241, 255, 0.62);
  --text-faint: rgba(244, 241, 255, 0.38);
  --accent: #b04bff;
  --accent-2: #00e0ff;
  --accent-3: #ff3e89;
  --border: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.04);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── Background gradient + glow ──────────────────────────── */

.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(176, 75, 255, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(0, 224, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 70%, rgba(255, 62, 137, 0.18), transparent 60%),
    linear-gradient(180deg, #050208 0%, #0a0312 50%, #050208 100%);
}

.bg-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
  opacity: 0.5;
}

/* ─── Layout ──────────────────────────────────────────────── */

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

.container--narrow {
  max-width: 720px;
}

/* ─── Nav ─────────────────────────────────────────────────── */

.nav {
  padding: 28px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px);
  background: rgba(5, 2, 8, 0.55);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px rgba(176, 75, 255, 0.5), 0 0 48px rgba(0, 224, 255, 0.25);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  .nav-links { display: none; }
}

/* ─── Hero ────────────────────────────────────────────────── */

.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-2);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 8px var(--accent-2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 .gradient {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.hero p {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 44px;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  letter-spacing: -0.005em;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: white;
  box-shadow: 0 8px 32px rgba(176, 75, 255, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn--primary:hover {
  box-shadow: 0 12px 40px rgba(176, 75, 255, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.btn--ghost {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

/* ─── Sections ────────────────────────────────────────────── */

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.section-title p {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Feature grid ────────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  transition: transform 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 28px rgba(176, 75, 255, 0.35);
}

.feature-card .icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.55;
}

/* ─── Steps ───────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  padding: 32px 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 26px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 8px 22px rgba(176, 75, 255, 0.4);
}

.step h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 16px 0 8px;
}

.step p {
  color: var(--text-dim);
  font-size: 14px;
}

/* ─── CTA section ─────────────────────────────────────────── */

.cta-section {
  text-align: center;
  padding: 100px 0;
}

.cta-section h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 36px;
}

/* ─── Footer ──────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 60px;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-inner small {
  color: var(--text-faint);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

/* ─── Legal pages ─────────────────────────────────────────── */

.legal {
  padding: 60px 0 100px;
}

.legal h1 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.legal .updated {
  color: var(--text-faint);
  font-size: 14px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 38px 0 14px;
  color: var(--text);
}

.legal h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--text);
}

.legal p {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 14px;
  line-height: 1.7;
}

.legal ul {
  color: var(--text-dim);
  font-size: 16px;
  padding-left: 22px;
  margin-bottom: 14px;
  line-height: 1.7;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 224, 255, 0.3);
  transition: border-color 0.2s;
}

.legal a:hover {
  border-bottom-color: var(--accent-2);
}

.legal strong {
  color: var(--text);
  font-weight: 600;
}
