:root {
  --bg: #0d0c17;
  --surface: #17162a;
  --surface-2: #1f1e33;
  --border: #2c2b44;
  --primary: #7b5cfa;
  --primary-light: #a58bff;
  --lilac: #e9c8f7;
  --text: #ffffff;
  --text-2: #a9a8c0;
  --green: #4be3b0;
  --green-bg: #0f3a30;
  --violet-bg: #2a2356;
  --radius: 28px;
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; line-height: 1.1; max-width: 18ch; }
h3 { font-size: 1.2rem; font-weight: 700; }

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.lead { font-size: 1.15rem; color: var(--text-2); max-width: 46ch; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 30px -10px rgba(123, 92, 250, 0.7);
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); background: #8b6eff; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-small { padding: 11px 20px; font-size: 0.9rem; background: #fff; color: var(--bg); box-shadow: none; }
.btn-small:hover { background: var(--lilac); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(16px, 4vw, 48px);
  background: rgba(13, 12, 23, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.brand-mark { width: auto; height: 30px; }
.nav-links { display: flex; gap: 32px; color: var(--text-2); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  margin: 16px clamp(16px, 2vw, 24px) 0;
  border-radius: 36px;
  padding: clamp(56px, 8vw, 110px) clamp(24px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 48px;
  background:
    radial-gradient(120% 90% at 0% 40%, #d9cdfb 0%, transparent 55%),
    radial-gradient(90% 80% at 100% 0%, #6d63ee 0%, transparent 60%),
    radial-gradient(90% 70% at 30% 100%, #f2bdf2 0%, transparent 60%),
    linear-gradient(160deg, #c6b6fb 0%, #9d8cf6 45%, #5a4bd8 100%);
  color: #16151f;
}
.hero .eyebrow { color: #5b3fe0; }
.hero .lead { color: #3a3552; }
.hero .fine { margin: 18px 0 0; font-size: 0.9rem; color: #4a4466; }
.hero .btn-ghost { background: rgba(255, 255, 255, 0.55); color: #16151f; border-color: rgba(255, 255, 255, 0.8); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.8); }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-glow { position: absolute; inset: 0; pointer-events: none; }
.arc {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  filter: drop-shadow(0 0 10px #fff) drop-shadow(0 0 24px #f0a8ff);
}
.arc-1 { width: 160%; height: 120%; left: -55%; top: -95%; transform: rotate(14deg); }
.arc-2 { width: 150%; height: 110%; right: -70%; bottom: -88%; transform: rotate(-12deg); }

.hero-phones { position: relative; z-index: 1; height: 560px; }
.phone {
  position: absolute;
  margin: 0;
  width: 260px;
  border-radius: 40px;
  padding: 8px;
  background: #0d0c17;
  box-shadow: 0 40px 80px -30px rgba(30, 15, 90, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.phone img { border-radius: 32px; width: 100%; }
.phone-front { left: 50%; top: 20px; transform: translateX(-75%) rotate(-4deg); }
.phone-back { left: 50%; top: 60px; transform: translateX(5%) rotate(6deg); opacity: 0.95; }

/* Sections */
.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) clamp(16px, 4vw, 48px) 0;
}
.section h2 { margin-bottom: 48px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.card p { color: var(--text-2); margin: 10px 0 0; }

.steps, .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--primary);
  font-family: var(--font-display);
  font-weight: 800;
}
.step strong { color: var(--text); }

.vibes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.vibes li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 700;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.vibes li:hover { transform: translateY(-3px); border-color: var(--primary); }
.vibes img { flex: none; width: 56px; height: 56px; object-fit: contain; }
.vibes .vibe-accent { background: var(--primary); border-color: var(--primary); }

.stat strong {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}
.stat-green { background: var(--green-bg); border-color: #18503f; }
.stat-green strong { color: var(--green); }
.stat-violet { background: var(--violet-bg); border-color: #3a3170; }
.stat-violet strong { color: #c9bbff; }

.privacy { display: flex; gap: 20px; align-items: flex-start; margin-top: 20px; }
.privacy svg { flex: none; width: 32px; height: 32px; color: var(--text-2); margin-top: 2px; }

/* Final CTA */
.final {
  max-width: 1160px;
  margin: clamp(72px, 10vw, 128px) auto 0;
  padding: 0 clamp(16px, 4vw, 48px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.final h2 { max-width: 20ch; margin-bottom: 14px; }
.final-mark { width: auto; height: 72px; margin-bottom: 28px; filter: drop-shadow(0 0 30px rgba(123, 92, 250, 0.6)); }
.final .cta-row { justify-content: center; }

.footer {
  max-width: 1160px;
  margin: 96px auto 0;
  padding: 32px clamp(16px, 4vw, 48px) 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.9rem;
}
.footer p { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-phones { height: 480px; }
  .phone { width: 220px; }
  .steps, .features { grid-template-columns: 1fr; }
  .vibes { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .hero { margin: 8px 8px 0; border-radius: 28px; }
  .hero-phones { height: 400px; }
  .phone { width: 180px; border-radius: 30px; padding: 6px; }
  .phone img { border-radius: 25px; }
  .vibes { gap: 12px; }
  .vibes li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; font-size: 0.95rem; line-height: 1.25; }
  .vibes .vibe-accent { grid-column: span 2; }
  .card { padding: 26px; }
  .btn { width: 100%; justify-content: center; }
  .btn-small { width: auto; }
}
