:root {
  --bg: #0b0d12;
  --bg-alt: #11141b;
  --surface: #161a23;
  --surface-2: #1c212c;
  --border: #262c3a;
  --text: #eef1f7;
  --text-dim: #9aa4b8;
  --accent: #7c6cf0;
  --accent-2: #5b8def;
  --green: #4ade80;
  --radius: 20px;
  --max-width: 1160px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7fb;
    --bg-alt: #ffffff;
    --surface: #ffffff;
    --surface-2: #f0f1f7;
    --border: #e5e7ef;
    --text: #14161f;
    --text-dim: #5b6274;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Background glow */
.glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px circle at 15% 0%, rgba(124,108,240,0.18), transparent 60%),
    radial-gradient(500px circle at 90% 15%, rgba(91,141,239,0.14), transparent 55%);
  pointer-events: none;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--text-dim);
  font-weight: 500;
  transition: color .15s, background .15s;
}

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

.nav-links a.cta {
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}

.nav-links a.cta:hover {
  opacity: .88;
  background: var(--text);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 88px 0 40px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 24px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

h1 {
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  font-weight: 750;
}

h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 18px;
  color: var(--text-dim);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 650;
  font-size: 15.5px;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(124,108,240,0.55);
}

.btn-primary:hover { transform: translateY(-2px); }

.btn-secondary {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover { background: var(--surface); }

.hero-note {
  font-size: 13.5px;
  color: var(--text-dim);
}

/* Showcase */
.showcase {
  padding: 20px 0 100px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.phone {
  position: relative;
  border-radius: 34px;
  padding: 10px;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);
  transition: transform .25s ease;
}

.phone:hover { transform: translateY(-8px); }

.phone .screen {
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 720 / 1600;
  background: #000;
}

.phone .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-caption {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 12px;
  font-weight: 500;
}

/* Features */
.section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.section-tag {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: block;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 700;
}

.section-head p {
  color: var(--text-dim);
  font-size: 16.5px;
  margin: 0;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color .15s, transform .15s;
}

.feature-card:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  transform: translateY(-4px);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  background: var(--surface-2);
}

.feature-card h3 {
  font-size: 17.5px;
  margin: 0 0 8px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14.5px;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px 24px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 15px;
}

.step h3 {
  font-size: 16.5px;
  margin: 0 0 8px;
  font-weight: 650;
}

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

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, #6f5ff0, #4f7fe8);
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.cta-banner p {
  margin: 0 0 30px;
  opacity: 0.92;
  font-size: 16px;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #4b3fd6;
  box-shadow: none;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

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

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
}

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

.footer-copy {
  color: var(--text-dim);
  font-size: 13.5px;
}

/* Privacy page */
.legal {
  padding: 60px 0 100px;
}

.legal-header {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin: 0 0 10px;
}

.legal-header .updated {
  color: var(--text-dim);
  font-size: 14px;
}

.legal-body h2 {
  font-size: 19px;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body p {
  color: var(--text-dim);
  margin: 0 0 12px;
  font-size: 15px;
}

.legal-body ul {
  color: var(--text-dim);
  font-size: 15px;
  padding-left: 20px;
  margin: 0 0 12px;
}

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

.legal-body strong { color: var(--text); }

.legal-body a.mail {
  color: var(--accent-2);
  font-weight: 600;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.back-link:hover { color: var(--text); }

/* Responsive */
@media (max-width: 860px) {
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); max-width: 480px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
  }
  .nav-links.open a { width: 100%; text-align: left; }
  .features, .steps { grid-template-columns: 1fr; }
  .cta-banner { padding: 48px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
