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

:root {
  --bg: #000;
  --bg-2: #0a0a0a;
  --bg-3: #111;
  --surface: #1c1c1e;
  --surface-2: #2c2c2e;
  --border: rgba(255,255,255,.1);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #636366;
  --accent: #FF3B30;
  --accent-2: #FF6B35;
  --blue: #0A84FF;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ─── Scroll-reveal animations ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="up-slow"] {
  transform: translateY(48px);
  transition-duration: .9s;
}
[data-reveal="scale"] {
  opacity: 0;
  transform: scale(.94) translateY(24px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
[data-reveal="scale"].is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .40s; }
[data-delay="6"] { transition-delay: .48s; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 48px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  background: rgba(0,0,0,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.nav-logo { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; letter-spacing: -.3px; }
.nav-logo svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 13px; color: var(--text-2); transition: color .2s; font-weight: 400; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
/* download button removed */

/* ─── Hero ─── */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 100px 24px 80px;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255,59,48,.18) 0%, transparent 70%);
}
.hero-eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(52px, 9vw, 96px); font-weight: 700; line-height: 1.03;
  letter-spacing: -.04em; color: var(--text); max-width: 900px;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  margin-top: 20px; font-size: clamp(17px, 2.5vw, 21px); color: var(--text-2);
  max-width: 540px; line-height: 1.5; font-weight: 400;
}
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; font-size: 17px; font-weight: 600;
  padding: 14px 28px; border-radius: 980px; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 0 0 rgba(255,59,48,0);
}
.btn-primary:hover { transform: scale(1.03); box-shadow: 0 8px 32px rgba(255,59,48,.4); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); color: var(--text); font-size: 17px; font-weight: 500;
  padding: 14px 28px; border-radius: 980px; border: 1px solid var(--border);
  backdrop-filter: blur(10px); transition: background .2s;
}
.btn-secondary:hover { background: rgba(255,255,255,.16); }

.hero-phones {
  margin-top: 64px; display: flex; align-items: flex-end; justify-content: center;
  gap: -12px; position: relative; width: 100%; max-width: 700px;
  will-change: transform;
}
.phone-mockup {
  position: relative; flex-shrink: 0;
}
.phone-mockup.center { z-index: 2; width: 220px; }
.phone-mockup.side { width: 170px; opacity: .75; filter: blur(.5px); }
.phone-mockup.left { transform: rotate(-8deg) translateX(24px); }
.phone-mockup.right { transform: rotate(8deg) translateX(-24px); }
.phone-frame {
  width: 100%; border-radius: 36px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.12);
  position: relative;
}
.phone-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-frame::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none;
  border: 1px solid rgba(255,255,255,.18);
}

/* ─── Section shell ─── */
.section { padding: 120px 24px; }
.section.alt { background: var(--bg-2); }
.container { max-width: 1080px; margin: 0 auto; }
.section-tag {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(34px, 5vw, 52px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
}
.section-sub {
  margin-top: 16px; font-size: 17px; color: var(--text-2); line-height: 1.65; max-width: 540px;
}

/* ─── Feature Rows ─── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  padding: 80px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--border); }
.feature-row.flip { direction: rtl; }
.feature-row.flip > * { direction: ltr; }
.feature-text { }
.feature-title { font-size: clamp(26px, 3.5vw, 38px); font-weight: 700; letter-spacing: -.03em; line-height: 1.18; }
.feature-desc { margin-top: 16px; font-size: 17px; color: var(--text-2); line-height: 1.65; }
.feature-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill {
  font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 980px;
  background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border);
}
.feature-image .phone-frame {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1);
  max-width: 260px; margin: 0 auto;
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s;
}
.feature-image:hover .phone-frame {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 40px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.15);
}

/* ─── Feature Grid ─── */
.feat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2px;
  background: var(--border); border-radius: var(--radius); overflow: hidden;
}
.feat-card {
  background: var(--bg-2); padding: 32px 28px;
  transition: background .3s, transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
}
.feat-card:hover { background: var(--surface); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.feat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 20px;
}
.feat-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.feat-card p { font-size: 14px; color: var(--text-2); line-height: 1.5; }

/* ─── Pro Section ─── */
.pro-section {
  background: linear-gradient(135deg, rgba(255,59,48,.15) 0%, rgba(255,107,53,.05) 100%);
  border: 1px solid rgba(255,59,48,.2);
  border-radius: 24px; padding: 64px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.pro-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(255,59,48,.12) 0%, transparent 70%);
  pointer-events: none;
}
.pro-title { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -.03em; }
.pro-sub { margin-top: 12px; font-size: 17px; color: var(--text-2); max-width: 480px; margin-left: auto; margin-right: auto; }
.pro-features { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 32px 0; }
.pro-feature {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); padding: 10px 16px; border-radius: 980px;
  border: 1px solid var(--border); font-size: 14px; font-weight: 500;
}
.pro-feature span { font-size: 16px; }

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border); padding: 48px 24px;
  color: var(--text-3); font-size: 12px;
}
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: gap;
  gap: 16px;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-3); transition: color .2s; }
.footer-links a:hover { color: var(--text-2); }
.footer-copy { color: var(--text-3); }

/* ─── Privacy / Support pages ─── */
.page-hero {
  padding: 140px 24px 60px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 700; letter-spacing: -.04em; }
.page-hero p { margin-top: 14px; font-size: 17px; color: var(--text-2); }

.prose {
  max-width: 700px; margin: 0 auto; padding: 0 24px 100px;
  font-size: 16px; line-height: 1.75; color: var(--text-2);
}
.prose h2 { font-size: 22px; font-weight: 700; color: var(--text); margin: 48px 0 12px; letter-spacing: -.02em; }
.prose h3 { font-size: 17px; font-weight: 600; color: var(--text); margin: 28px 0 8px; }
.prose p { margin-bottom: 16px; }
.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose ul li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* Support cards */
.support-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 40px 0; }
.support-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: border-color .3s, background .3s, transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
}
.support-card:hover { background: var(--surface-2); border-color: rgba(255,255,255,.2); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.5); }
.support-card-icon { font-size: 28px; margin-bottom: 12px; }
.support-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.support-card p { font-size: 14px; color: var(--text-2); line-height: 1.5; }
.support-card .card-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--accent);
}

.faq { max-width: 700px; margin: 0 auto; padding: 0 24px 100px; }
.faq h2 { font-size: 30px; font-weight: 700; margin-bottom: 28px; letter-spacing: -.02em; }
details {
  border-bottom: 1px solid var(--border); padding: 20px 0;
}
details:first-of-type { border-top: 1px solid var(--border); }
summary {
  font-size: 16px; font-weight: 600; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text); user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 20px; font-weight: 300; color: var(--text-3); flex-shrink: 0; margin-left: 16px; }
details[open] summary::after { content: "−"; }
details .faq-body { margin-top: 14px; font-size: 15px; line-height: 1.65; color: var(--text-2); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.flip { direction: ltr; }
  .feature-image { order: -1; }
  .phone-mockup.side { display: none; }
  .phone-mockup.center { width: 200px; }
  .pro-section { padding: 40px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
