:root {
  --bg: #07050a;
  --bg-elevated: #0f0d14;
  --surface: #15121d;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f2ff;
  --muted: rgba(244, 242, 255, 0.62);
  --subtle: rgba(244, 242, 255, 0.38);
  --purple: #a855f7;
  --purple-soft: rgba(168, 85, 247, 0.18);
  --indigo: #818cf8;
  --radius: 18px;
  --phone-radius: 34px;
  --max: 1120px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 5, 10, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.04em; }
.brand img { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--purple); color: white; box-shadow: 0 12px 40px rgba(168, 85, 247, 0.28); }
.btn-secondary { background: rgba(255,255,255,0.04); border-color: var(--border); color: var(--text); }

.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 72px;
}
.hero-glow {
  position: absolute; inset: auto;
  width: 680px; height: 680px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.28), transparent 68%);
  top: -220px; right: -120px; pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--muted); font-size: 12px; margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 20px;
}
.hero h1 span { color: #c4b5fd; }
.hero p { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.phone-frame {
  position: relative; width: min(100%, 320px); margin: 0 auto;
  padding: 12px; border-radius: var(--phone-radius);
  background: linear-gradient(180deg, #2a2438 0%, #12101a 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 100px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
}
.phone-notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 24px; border-radius: 999px; background: #07050a; z-index: 2;
}
.phone-screen {
  overflow: hidden; border-radius: calc(var(--phone-radius) - 10px);
  background: #07050a; aspect-ratio: 9/19.5;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.section { padding: 88px 0; }
.section-label { color: var(--purple); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.section h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 16px;
}
.section-lead { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 0 48px; }

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.feature-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.35);
  background: rgba(168, 85, 247, 0.05);
}
.feature-card h3 { margin: 16px 0 8px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; }

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.showcase.reverse { direction: rtl; }
.showcase.reverse > * { direction: ltr; }
.showcase-copy p { color: var(--muted); font-size: 17px; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.price-card {
  padding: 28px; border-radius: var(--radius);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.price-card.featured {
  border-color: rgba(168, 85, 247, 0.55);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.12), rgba(255,255,255,0.02));
}
.price-card h3 { margin: 0 0 8px; }
.price { font-size: 34px; font-weight: 700; margin: 0 0 6px; }
.price-note { color: var(--subtle); font-size: 13px; margin-bottom: 18px; }

.legal-page { padding: 72px 0 96px; }
.legal-page h1 { font-family: var(--display); font-size: 42px; margin: 0 0 12px; }
.legal-meta { color: var(--subtle); margin-bottom: 36px; font-size: 14px; }
.legal-page h2 { margin-top: 36px; font-size: 22px; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page ul { padding-left: 20px; }

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 56px;
  color: var(--subtle); font-size: 14px;
}
.footer-grid {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .showcase, .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .showcase.reverse { direction: ltr; }
  .nav-links { display: none; }
  .hero { padding-top: 72px; }
}
