:root {
  --primary: #6c5ce7;
  --primary-dark: #5a4bd1;
  --accent: #00cec9;
  --bg: #f8f9fe;
  --surface: #ffffff;
  --text: #1b1b2f;
  --text-secondary: #6b6b7a;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(107, 92, 231, 0.10);
  --max-w: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, 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 { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 249, 254, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 27, 47, 0.06);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 0.95rem;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--text-secondary); font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-block; padding: 10px 20px; border-radius: 12px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(107,92,231,.35); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid rgba(27,27,47,.18); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero .glow {
  position: absolute; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(107,92,231,.12), transparent 60%);
  top: -200px; left: 50%; transform: translateX(-50%); z-index: -1;
}
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(107,92,231,.1); color: var(--primary);
  font-weight: 600; font-size: .85rem; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.hero h1 span { background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.sub { margin: 22px auto 32px; max-width: 560px; color: var(--text-secondary); font-size: 1.15rem; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.meta-note { margin-top: 18px; color: var(--text-secondary); font-size: .88rem; }

/* ---------- Phone mockup ---------- */
.phone-wrap { margin-top: 56px; display: flex; justify-content: center; }
.phone {
  width: 300px; height: 610px; border-radius: 44px;
  background: var(--surface); box-shadow: var(--shadow), 0 20px 60px rgba(27,27,47,.12);
  border: 8px solid #101020; padding: 10px; position: relative;
}
.phone .screen {
  width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
  background: linear-gradient(160deg, #f8f9fe, #eef0fd);
  padding: 18px 16px; display: flex; flex-direction: column; gap: 12px;
}
.screen .status { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 600; }
.mock-brand { display: flex; align-items: center; gap: 10px; }
.mock-brand .logo {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid; place-items: center; color: #fff; font-weight: 700;
}
.mock-brand p { font-size: .8rem; }
.mock-brand small { color: var(--text-secondary); }
.mock-card {
  background: var(--surface); border-radius: 14px; padding: 12px;
  box-shadow: 0 3px 12px rgba(27,27,47,.05);
}
.mock-spark { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 14px; background: linear-gradient(90deg, var(--primary), var(--accent)); color: #fff; font-weight: 600; font-size: .9rem; }
.mock-spark i { font-style: normal; font-size: 1.2rem; }
.mock-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(107,92,231,.1); color: var(--primary); font-size: .72rem; font-weight: 600; }
.mock-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-cta { background: var(--primary); color: #fff; text-align: center; border-radius: 12px; padding: 12px; font-weight: 600; font-size: .9rem; }

/* ---------- Features ---------- */
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.01em; }
.section-head p { color: var(--text-secondary); margin-top: 12px; font-size: 1.05rem; }
.tick { display: inline-block; color: var(--accent); }
.platforms { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.badge { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--surface); box-shadow: 0 2px 8px rgba(27,27,47,.06); font-weight: 600; font-size: .9rem; }
.badge .ico { margin-right: 6px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.card {
  background: var(--surface); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); border: 1px solid rgba(27,27,47,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(107,92,231,.14); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem;
  background: rgba(107,92,231,.1); color: var(--primary); margin-bottom: 16px;
}
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-secondary); font-size: .95rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--surface); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.step .num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: .95rem; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: var(--surface); border-radius: var(--radius); padding: 32px 26px;
  box-shadow: var(--shadow); border: 1.5px solid transparent; display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--primary); position: relative; }
.plan.featured .tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; padding: 5px 16px; border-radius: 999px; font-size: .78rem; font-weight: 700;
}
.plan h3 { font-size: 1.15rem; font-weight: 700; }
.plan .price { font-size: 2rem; font-weight: 800; margin: 14px 0 4px; }
.plan .price small { font-size: .9rem; font-weight: 500; color: var(--text-secondary); }
.plan ul { list-style: none; margin: 22px 0 26px; display: grid; gap: 10px; }
.plan li { font-size: .95rem; display: flex; gap: 8px; align-items: start; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.plan .btn { margin-top: auto; }

/* ---------- CTA ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  border-radius: 24px; padding: 56px 32px; text-align: center; color: #fff;
  box-shadow: 0 20px 60px rgba(107,92,231,.35);
}
.cta-banner h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; }
.cta-banner p { margin: 14px auto 28px; max-width: 480px; opacity: .95; }
.cta-banner .btn-primary { background: #fff; color: var(--primary); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.cta-banner .btn-primary:hover { background: #f0f0ff; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid rgba(27,27,47,.06); padding: 40px 0 32px; margin-top: 40px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-secondary); font-size: .9rem; }
.copyright { color: var(--text-secondary); font-size: .85rem; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 120px; }
.legal h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.legal .updated { color: var(--text-secondary); font-size: .88rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.25rem; font-weight: 700; margin: 28px 0 10px; }
.legal p, .legal li { color: #3a3a4a; font-size: .98rem; }
.legal ul { margin: 8px 0 16px 22px; display: grid; gap: 6px; }
.legal .card { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin: 18px 0; }
.legal code { background: rgba(107,92,231,.08); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.legal a { font-weight: 500; }
.waitlist {
  margin-top: 28px; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap;
}
.waitlist input {
  padding: 13px 18px; border-radius: 12px; border: 1.5px solid rgba(107,92,231,.2);
  font-size: 1rem; min-width: 300px; background: var(--surface);
}
.waitlist input:focus { outline: none; border-color: var(--primary); }
#waitlist-msg { display: block; margin-top: 14px; font-size: .92rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards, .steps, .plans { grid-template-columns: 1fr; }
  .nav-links a.link { display: none; }
  .phone-wrap { transform: scale(0.9); }
}
@media (max-width: 480px) {
  .hero { padding: 72px 0 48px; }
  .waitlist input { min-width: 0; width: 100%; }
}