/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text, #1d1d1f);
  background: var(--bg, #fff);
  -webkit-font-smoothing: antialiased;
}

/* ── Variables (override per-app) ── */
:root {
  --accent: #5e5ce6;
  --accent-dark: #4b49c8;
  --accent-light: #ededff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --bg: #fff;
  --bg-alt: #f5f5f7;
  --border: #e5e5e5;
  --radius: 18px;
}

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  height: 56px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.nav-logo .icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-glow, #a78bfa));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.nav-logo .icon svg { width: 18px; height: 18px; fill: #fff; }
.nav-logo span { font-weight: 600; font-size: 17px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: var(--accent) !important; color: #fff !important;
  padding: 8px 18px; border-radius: 20px; font-weight: 500 !important;
  transition: opacity .2s !important;
}
.btn-nav:hover { opacity: .85; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text); color: #fff;
  padding: 14px 28px; border-radius: 14px;
  font-size: 16px; font-weight: 500;
  text-decoration: none; transition: opacity .2s;
}
.btn-primary:hover { opacity: .8; }
.btn-primary svg { width: 20px; height: 20px; fill: #fff; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--accent);
  padding: 14px 28px; border-radius: 14px;
  font-size: 16px; font-weight: 500; text-decoration: none;
  border: 1.5px solid var(--accent); transition: background .2s;
}
.btn-secondary:hover { background: var(--accent-light); }
.btn-contact {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; background: var(--accent); color: #fff;
  border-radius: 10px; text-decoration: none;
  font-size: 15px; font-weight: 500; transition: opacity .2s;
}
.btn-contact:hover { opacity: .85; }
.btn-contact svg { width: 16px; height: 16px; fill: #fff; }

/* ── Section base ── */
section { padding: 80px 24px; }
.section-center { text-align: center; }
.section-label {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--accent); margin-bottom: 12px;
}
section h2 {
  font-size: clamp(26px, 4vw, 42px); font-weight: 700;
  letter-spacing: -.5px; margin-bottom: 16px;
}
section .sub {
  font-size: 17px; color: var(--muted);
  max-width: 500px; margin: 0 auto 56px; line-height: 1.65;
}

/* ── Feature grid ── */
.features-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.feat-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 32px; box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.feat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feat-icon svg { width: 26px; height: 26px; }
.feat-card h3 { font-size: 18px; margin-bottom: 10px; }
.feat-card p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ── Privacy pills section ── */
.privacy-section { background: linear-gradient(135deg, #1c1c2e 0%, #16213e 100%); color: #fff; }
.privacy-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.privacy-section .section-label { color: var(--accent-glow, #a78bfa); }
.privacy-section h2 { color: #fff; }
.privacy-section .sub { color: rgba(255,255,255,.6); }
.privacy-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  color: #fff; padding: 10px 20px; border-radius: 40px;
  font-size: 14px; font-weight: 500;
}
.pill svg { width: 16px; height: 16px; fill: var(--accent-glow, #a78bfa); }

/* ── Steps ── */
.steps-inner { max-width: 800px; margin: 0 auto; }
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0; width: 44px; height: 44px;
  background: var(--accent); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px;
}
.step-content h3 { font-size: 18px; margin-bottom: 6px; }
.step-content p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ── CTA ── */
.cta-section { background: var(--bg-alt); text-align: center; }
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section > .cta-inner > p { font-size: 17px; color: var(--muted); margin-bottom: 36px; line-height: 1.65; }

/* ── Hero ── */
.hero {
  padding: 100px 24px 80px; text-align: center;
  background: linear-gradient(180deg, var(--hero-top, #f0f0ff) 0%, #fff 100%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-light); color: var(--accent);
  font-size: 13px; font-weight: 500; padding: 6px 14px;
  border-radius: 20px; margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px); font-weight: 700;
  letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }
.hero > p, .hero .hero-desc {
  font-size: clamp(16px, 2vw, 20px); color: var(--muted);
  max-width: 520px; margin: 0 auto 40px; line-height: 1.65;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Support page ── */
.support-page { background: var(--bg-alt); min-height: 100vh; }
.support-main { max-width: 720px; margin: 0 auto; padding: 48px 24px 64px; }
.page-title { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.page-sub { color: var(--muted); font-size: 16px; margin-bottom: 36px; line-height: 1.6; }
.card {
  background: var(--bg); border-radius: var(--radius);
  padding: 32px; margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.card h2 { font-size: 20px; margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item h3 { font-size: 16px; margin-bottom: 8px; }
.faq-item p { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 0; }

/* ── Privacy page ── */
.privacy-card { max-width: 720px; margin: 48px auto; padding: 0 24px 64px; }
.privacy-card .card h2 { font-size: 26px; margin-bottom: 6px; }
.privacy-card .card .date { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.privacy-card .card h3 { font-size: 16px; margin: 24px 0 8px; color: var(--text); }
.privacy-card .card a { color: var(--accent); }

/* ── Footer ── */
footer { background: #1d1d1f; color: rgba(255,255,255,.5); padding: 40px 24px; }
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 15px; }
.footer-logo .icon {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-glow, #a78bfa));
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
}
.footer-logo .icon svg { width: 15px; height: 15px; fill: #fff; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: #fff; }
footer > .footer-inner > p { font-size: 13px; }
.footer-copy { font-size: 13px; }

@media (max-width: 600px) {
  .nav-link-hide { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  section { padding: 56px 20px; }
}
