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

:root {
  --bg:           #0f0820;
  --card:         #1e0f40;
  --accent:       #7c3aed;
  --accent-light: #a78bfa;
  --text:         #f0e6ff;
  --muted:        #9d8cbb;
  --font: system-ui, -apple-system, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}

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

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at 50% 40%, #2d1b69 0%, transparent 65%);
}

.hero__inner { padding: 2rem 1.5rem; }

.hero__title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 30%, var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover  { background: #6d28d9; }
.btn:active { transform: scale(0.97); }

/* ── Shared section heading ─────────────────────── */

.section-title {
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
}

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

.steps { padding: 5rem 0; }

.steps__grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.step-card {
  flex: 1 1 200px;
  background: var(--card);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 1rem;
  padding: 1.5rem;
}

.step-card__num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-card p   { color: var(--muted); font-size: 0.95rem; }

.step-card code {
  background: rgba(124, 58, 237, 0.2);
  color: var(--accent-light);
  padding: 0.1em 0.35em;
  border-radius: 0.25em;
  font-size: 0.85em;
  word-break: break-all;
}

/* ── Notification preview ───────────────────────── */

.preview {
  padding: 5rem 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(45, 27, 105, 0.15),
    transparent
  );
}

.tg-bubble {
  background: var(--card);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  max-width: 400px;
  margin: 0 auto;
}

.tg-bubble pre {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.875rem;
  white-space: pre-wrap;
  line-height: 1.7;
}

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

.footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__free  { color: var(--muted); font-size: 0.9rem; }

.footer__links { display: flex; gap: 1.5rem; }

.footer__links a {
  color: var(--accent-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}
.footer__links a:hover { color: #fff; }
