:root {
  --navy: #1a1a3e;
  --navy-soft: #34345f;
  --blue: #2488ff;
  --purple: #7a4cff;
  --teal: #24d4d2;
  --text: #1e2034;
  --muted: #6f7488;
  --line: #e7e8f0;
  --surface: #ffffff;
  --surface-soft: #f7f8ff;
  --gradient: linear-gradient(120deg, #168cff 0%, #784cff 52%, #1ed1cf 100%);
  --shadow: 0 24px 70px rgba(26, 26, 62, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: 'Poppins', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(231,232,240,.8);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.brand-name { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 30px; font-size: .96rem; font-weight: 600; }
.nav a:not(.nav-cta):hover { color: var(--purple); }
.nav-cta { color: #fff; background: var(--gradient); padding: 10px 18px; border-radius: 12px; box-shadow: 0 10px 25px rgba(77,80,255,.22); }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 1.5rem; color: var(--navy); }

.hero { position: relative; overflow: hidden; padding: 72px 0 64px; background: linear-gradient(180deg, #fbfcff 0%, #f2f5ff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 60px; position: relative; z-index: 2; }
.hero-copy h1 { margin: 14px 0 24px; color: var(--navy); font-size: clamp(3rem, 5vw, 5.45rem); line-height: 1.02; letter-spacing: -.055em; }
.hero-copy h1 span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy > p { max-width: 650px; color: var(--muted); font-size: 1.18rem; }
.eyebrow { color: #5d52dc; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; }
.hero-actions { display: flex; gap: 14px; margin: 32px 0 24px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 22px; border: 0; border-radius: 14px; font-weight: 800; cursor: pointer; }
.button-primary { color: #fff; background: var(--gradient); box-shadow: 0 14px 30px rgba(64,90,255,.25); }
.button-primary:hover { transform: translateY(-2px); }
.button-secondary { color: var(--navy); background: #fff; border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.button-secondary:hover { background: var(--surface-soft); border-color: #c8cadf; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: var(--navy-soft); font-size: .92rem; font-weight: 700; }
.hero-media { position: relative; max-width: 400px; margin-inline: auto; }
.hero-card { border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.85); }
.hero-card img { width: 100%; max-height: 560px; object-fit: cover; object-position: top; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(6px); opacity: .36; }
.hero-glow-one { width: 430px; height: 430px; background: #9f7cff; right: -180px; top: 40px; }
.hero-glow-two { width: 380px; height: 380px; background: #36d8de; left: -220px; bottom: -130px; }

.section { padding: 100px 0; }
.section-light { background: var(--surface-soft); }
.section-heading { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.section-heading h2, .trust-copy h2, .cta-card h2 { margin: 10px 0 16px; color: var(--navy); font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.12; letter-spacing: -.04em; }
.section-heading p, .trust-copy > p, .cta-card p { color: var(--muted); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: 0 12px 35px rgba(26,26,62,.05); transition: transform .25s ease, box-shadow .25s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(26,26,62,.1); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--gradient); font-size: 1.2rem; font-weight: 900; flex-shrink: 0; }
.feature-card h3 { margin: 20px 0 8px; color: var(--navy); font-size: 1.25rem; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.showcase { background: var(--navy); color: #fff; }
.showcase .section-heading h2 { color: #fff; }
.showcase .eyebrow { color: #9fc8ff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 30px; border-radius: 22px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); }
.step span { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(158,217,255,.12); border: 1.5px solid rgba(158,217,255,.25); margin-bottom: 24px; color: #9ed9ff; font-weight: 900; font-size: .88rem; letter-spacing: .08em; }
.step h3 { margin: 0 0 10px; font-size: 1.35rem; }
.step p { margin: 0; color: rgba(255,255,255,.7); }

.screen-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 38px; }
.screen-tab { border: 1px solid var(--line); background: #fff; color: var(--navy-soft); padding: 11px 18px; border-radius: 999px; cursor: pointer; font-weight: 800; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.screen-tab:hover:not(.active) { border-color: var(--purple); color: var(--purple); }
.screen-tab.active { color: #fff; background: var(--gradient); border-color: transparent; }
.screen-stage { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 54px; box-shadow: 0 24px 70px rgba(26,26,62,.09); }
.screen-copy h3 { margin: 10px 0 14px; color: var(--navy); font-size: clamp(2rem, 3vw, 3rem); line-height: 1.12; }
.screen-copy p, .screen-copy li { color: var(--muted); }
.screen-copy ul { padding-left: 20px; margin-top: 24px; }
.screen-copy li { margin: 8px 0; }
.screen-preview { max-height: 670px; overflow: hidden; border-radius: 26px; box-shadow: var(--shadow); background: #eef4ff; }
.screen-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.trust-section { background: linear-gradient(135deg, #f4f0ff 0%, #eefaff 100%); }
.trust-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.trust-cards { display: grid; gap: 14px; margin-top: 32px; }
.trust-cards div { display: grid; gap: 3px; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.9); }
.trust-cards strong { color: var(--navy); }
.trust-cards span { color: var(--muted); }
.trust-visual { display: grid; place-items: center; position: relative; min-height: 320px; }
.trust-visual::before { content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: linear-gradient(135deg, rgba(122,76,255,.1), rgba(36,212,210,.07)); border: 1.5px solid rgba(122,76,255,.14); }
.trust-visual::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: linear-gradient(135deg, rgba(122,76,255,.06), rgba(36,212,210,.04)); border: 1px solid rgba(122,76,255,.08); }
.trust-visual img { width: 120px; height: 120px; border-radius: 28px; box-shadow: 0 20px 50px rgba(26,26,62,.2); position: relative; z-index: 1; }

.cta-section { padding: 90px 0; }
.cta-card { display: grid; grid-template-columns: 1fr .9fr; gap: 50px; align-items: center; padding: 56px; border-radius: 30px; background: var(--navy); color: #fff; overflow: hidden; position: relative; }
.cta-card::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--gradient); opacity: .35; right: -160px; top: -180px; }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: #fff; }
.cta-card p { color: rgba(255,255,255,.72); }
.signup-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.signup-form input { min-width: 0; height: 52px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 0 16px; background: rgba(255,255,255,.1); color: #fff; outline: none; }
.signup-form input::placeholder { color: rgba(255,255,255,.55); }
.form-message { grid-column: 1 / -1; margin: 0; font-size: .9rem; }

.site-footer { background: #101027; color: #fff; padding: 54px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.footer-brand { color: #fff; }
.footer-brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.footer-brand span { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 700; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; color: rgba(255,255,255,.72); }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.5); font-size: .9rem; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Testimonials ─────────────────────────────────── */
.testi-section { background: var(--surface-soft); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 8px 28px rgba(26,26,62,.06); }
.testi-stars { color: #f59e0b; letter-spacing: 2px; font-size: 1rem; }
.testi-quote { font-size: .98rem; color: var(--text); line-height: 1.7; flex: 1; margin: 0; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.av-blue { background: var(--gradient); }
.av-teal { background: linear-gradient(135deg, var(--teal), var(--blue)); }
.av-purple { background: linear-gradient(135deg, #7a4cff, #a78bfa); }
.testi-name { font-weight: 700; font-size: .9rem; color: var(--navy); }
.testi-role { font-size: .82rem; color: var(--muted); }

/* ── FAQ ──────────────────────────────────────────── */
.faq-section { background: #fff; }
.faq-list { max-width: 760px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-size: 1rem; font-weight: 700; color: var(--navy); gap: 16px; list-style: none; user-select: none; -webkit-user-select: none; }
summary::-webkit-details-marker { display: none; }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; color: var(--purple); flex-shrink: 0; transition: border-color .2s, background .2s, color .2s; }
details[open] .faq-icon { background: var(--purple); color: #fff; border-color: var(--purple); }
.faq-body { padding: 0 0 20px; font-size: .97rem; color: var(--muted); line-height: 1.75; }
.faq-body strong { color: var(--navy); }

/* ── Privacy link ─────────────────────────────────── */
.priv-link { display: inline-block; margin-top: 20px; font-weight: 700; font-size: .95rem; color: var(--blue); }
.priv-link:hover { color: var(--purple); }

/* ── CTA updates ──────────────────────────────────── */
.cta-copy { display: flex; flex-direction: column; }
.cta-store-btn { margin-top: 24px; align-self: flex-start; font-size: 1rem; }
.cta-ios { display: flex; flex-direction: column; gap: 10px; }
.ios-label { color: rgba(255,255,255,.75); font-size: .92rem; margin: 0; }

/* ── Footer columns ───────────────────────────────── */
.footer-brand-col { flex: 0 0 auto; }
.footer-brand-col p { color: rgba(255,255,255,.6); font-size: .93rem; line-height: 1.6; margin-top: 10px; }
.footer-cols { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col-head { color: rgba(255,255,255,.4); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; }
.footer-links-col { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a { color: rgba(255,255,255,.62); font-size: .9rem; transition: color .2s; }
.footer-links-col a:hover { color: #fff; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: rgba(255,255,255,.45); font-size: .88rem; transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.8); }

@media (max-width: 960px) {
  .hero-grid, .screen-stage, .trust-grid, .cta-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-card { max-width: 680px; margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .screen-stage { gap: 38px; padding: 34px; }
  .screen-copy { text-align: center; }
  .screen-copy ul { display: inline-block; text-align: left; }
  .screen-preview { max-width: 640px; margin-inline: auto; }
  .trust-copy { text-align: center; }
  .cta-card { text-align: center; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .cta-store-btn { align-self: center; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav { display: none; position: absolute; top: 68px; left: 14px; right: 14px; padding: 18px; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero { padding-top: 64px; }
  .hero-copy h1 { font-size: 3rem; }
  .section { padding: 76px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .screen-stage { padding: 22px; }
  .screen-preview { max-height: 560px; }
  .cta-card { padding: 34px 24px; }
  .signup-form { grid-template-columns: 1fr; }
  .footer-grid, .footer-bottom { flex-direction: column; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-legal { flex-wrap: wrap; gap: 12px; }
}
