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

:root {
  --accent: #5B5FEF;
  --accent-dark: #4347d4;
  --text: #111827;
  --muted: #6B7280;
  --bg: #ffffff;
  --bg-alt: #F9FAFB;
  --border: #E5E7EB;
  --radius: 14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

/* ── Nav ──────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.3px;
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--accent-dark); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 96px 24px 80px;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: #EEF2FF;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: 0.2px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s;
}
.btn-secondary:hover { background: var(--border); }

.app-store-badge img {
  height: 48px;
  display: block;
}

/* ── Phone mockup ─────────────────────────────────────── */
.mockup-wrap {
  display: flex;
  justify-content: center;
  padding: 16px 24px 64px;
}

.phone {
  width: 220px;
  background: var(--text);
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.10);
}

.phone-screen {
  background: #1a1a2e;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 9/19;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
}

.pin-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.pin-label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
  text-align: center;
}

.pin-map-dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
}

/* ── Section shared ───────────────────────────────────── */
section { padding: 80px 24px; }

.section-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  text-align: center;
  font-size: 17px;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

/* ── Features ─────────────────────────────────────────── */
.features { background: var(--bg-alt); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.15s;
}
.feature-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.07); }

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── How it works ─────────────────────────────────────── */
.steps {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 48px;
  width: 2px;
  height: calc(100% - 8px);
  background: var(--border);
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.step-body {
  padding-bottom: 40px;
}

.step-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── CTA ──────────────────────────────────────────────── */
.cta-section {
  background: var(--accent);
  text-align: center;
  padding: 80px 24px;
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--accent);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: opacity 0.15s;
}
.btn-white:hover { opacity: 0.9; }

/* ── Footer ───────────────────────────────────────────── */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}

.footer-brand {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 480px) {
  .hero { padding: 64px 20px 56px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .step:not(:last-child)::after { left: 19px; }
}

/* ── Legal pages ──────────────────────────────────────── */
.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.legal-wrap h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  margin-bottom: 8px;
}
.legal-updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}
.legal-wrap h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 10px;
}
.legal-wrap h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 6px;
}
.legal-wrap p, .legal-wrap li {
  font-size: 15px;
  color: var(--text-muted, var(--muted));
  line-height: 1.7;
}
.legal-wrap ul {
  padding-left: 20px;
  margin: 8px 0;
}
.legal-wrap a {
  color: var(--accent);
  text-decoration: underline;
}
