/* ===================================================
   Lenora – shared styles
   =================================================== */

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

:root {
  --brand:        #007AFF;
  --brand-dark:   #0055CC;
  --orange:       #FF9500;
  --purple:       #AF52DE;
  --green:        #34C759;
  --bg:           #ffffff;
  --bg-alt:       #F5F5F7;
  --text:         #1d1d1f;
  --text-muted:   #6e6e73;
  --border:       #d2d2d7;
  --radius:       16px;
  --shadow:       0 4px 24px rgba(0,0,0,.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #000000;
    --bg-alt:    #1c1c1e;
    --text:      #f5f5f7;
    --text-muted:#98989d;
    --border:    #38383a;
    --shadow:    0 4px 24px rgba(0,0,0,.4);
  }
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Layout ── */
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid var(--border);
}
@media (prefers-color-scheme: dark) {
  nav { background: rgba(0,0,0,.72); }
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 52px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); }
.nav-logo svg { flex-shrink: 0; }
.nav-links { display: flex; gap: 24px; font-size: .9rem; }
.nav-links a { color: var(--text-muted); font-weight: 500; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 96px 24px 80px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,122,255,.12) 0%, transparent 70%);
}
.hero-icon {
  width: 96px; height: 96px;
  background: linear-gradient(135deg, #007AFF, #5AC8FA);
  border-radius: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 12px 40px rgba(0,122,255,.35);
}
.hero-icon svg { width: 52px; height: 52px; fill: #fff; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.hero h1 span { color: var(--brand); }
.hero p {
  margin: 16px auto 36px;
  max-width: 520px;
  font-size: 1.15rem;
  color: var(--text-muted);
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.12); text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn svg { width: 22px; height: 22px; fill: currentColor; }

/* ── Features ── */
.section { padding: 80px 0; }
.section-label {
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 52px;
  font-size: 1.05rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.feature-card p  { font-size: .9rem; color: var(--text-muted); line-height: 1.5; }

/* ── How it works ── */
.steps { display: flex; flex-direction: column; gap: 32px; max-width: 620px; margin: 0 auto; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.step-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.step-body p  { font-size: .9rem; color: var(--text-muted); }

/* ── Plans ── */
.bg-alt { background: var(--bg-alt); }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}
.plan-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.plan-card.featured { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,122,255,.12); }
.plan-badge {
  display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 20px;
  background: var(--brand); color: #fff;
  align-self: flex-start;
}
.plan-name  { font-size: 1.1rem; font-weight: 800; }
.plan-price { font-size: 1.6rem; font-weight: 800; }
.plan-price span { font-size: .9rem; font-weight: 400; color: var(--text-muted); }
.plan-desc  { font-size: .85rem; color: var(--text-muted); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.plan-features li { font-size: .85rem; display: flex; gap: 8px; align-items: flex-start; }
.plan-features li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ── CTA ── */
.cta-section {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--brand), #5AC8FA);
  color: #fff;
}
.cta-section h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.cta-section p  { font-size: 1.05rem; opacity: .85; margin-bottom: 32px; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #f0f0f0; }

/* ── Footer ── */
footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted);
}
footer a { color: var(--text-muted); }
footer a:hover { color: var(--brand); }
.footer-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }

/* ── Privacy page ── */
.prose {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 24px 80px;
}
.prose h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.prose .updated { font-size: .85rem; color: var(--text-muted); margin-bottom: 40px; }
.prose h2 { font-size: 1.2rem; font-weight: 700; margin: 36px 0 8px; }
.prose p, .prose li { font-size: .975rem; color: var(--text-muted); line-height: 1.75; }
.prose ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.prose a { color: var(--brand); }

/* ── Responsive ── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero { padding: 64px 20px 56px; }
}
