/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #6366F1;
  --primary-dark: #4F46E5;
  --primary-light: #EEF2FF;
  --text: #111827;
  --text-muted: #6B7280;
  --bg: #FFFFFF;
  --bg-alt: #F9FAFB;
  --border: #E5E7EB;
  --success: #10B981;
  --radius: 16px;
}

html { scroll-behavior: smooth; }

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

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
}
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-light); text-decoration: none; }

/* ── Sections ── */
section { padding: 80px 24px; }
.container { max-width: 1000px; margin: 0 auto; }

/* ── Hero ── */
.hero {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 60%);
  padding: 100px 24px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  border: 1px solid #C7D2FE;
}

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

.hero h1 span { color: var(--primary); }

.hero p {
  font-size: clamp(17px, 2.5vw, 20px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-cta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

.store-badge-link { display: inline-block; line-height: 0; }
.store-badge { height: 54px; width: auto; display: block; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: #fff;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s;
  height: 54px;
  box-sizing: border-box;
}
.store-btn:hover { background: #374151; text-decoration: none; }
.store-btn .store-icon { font-size: 22px; }
.store-btn-sub { font-size: 11px; font-weight: 400; opacity: 0.8; display: block; }
.store-btn-main { display: block; font-size: 16px; font-weight: 700; line-height: 1; }

/* ── Features ── */
.features { background: var(--bg-alt); }
.features h2, .section-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: 0 8px 30px rgba(99,102,241,0.12); }

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── How It Works ── */
.steps { counter-reset: step; }
.step-list { display: flex; flex-direction: column; gap: 32px; max-width: 640px; margin: 0 auto; }

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  counter-increment: step;
}
.step-num::before { content: counter(step); }

.step-body h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.step-body p { font-size: 14px; color: var(--text-muted); }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 72px 24px;
}
.cta-banner h2 { font-size: clamp(26px, 5vw, 40px); font-weight: 900; margin-bottom: 12px; }
.cta-banner p { font-size: 18px; opacity: 0.85; margin-bottom: 32px; }
.cta-banner .btn-primary { background: #fff; color: var(--primary); }
.cta-banner .btn-primary:hover { background: var(--primary-light); }

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

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo { font-size: 16px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 6px; }
.footer-logo .logo-icon { width: 20px; height: 20px; }
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { font-size: 14px; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* ── Privacy page ── */
.prose-page { padding: 60px 24px 80px; }
.prose-page .container { max-width: 720px; }
.prose-page h1 { font-size: 36px; font-weight: 900; margin-bottom: 8px; }
.prose-page .last-updated { color: var(--text-muted); font-size: 14px; margin-bottom: 40px; }
.prose-page h2 { font-size: 20px; font-weight: 800; margin: 36px 0 10px; }
.prose-page p, .prose-page li { font-size: 15px; color: #374151; line-height: 1.75; margin-bottom: 12px; }
.prose-page ul { padding-left: 20px; }
.prose-page ul li { margin-bottom: 6px; }
.prose-page a { color: var(--primary); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
