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

:root {
  --blue: #007AFF;
  --indigo: #5856D6;
  --green: #34C759;
  --text-primary: #1D1D1F;
  --text-secondary: #6E6E73;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F5F7;
  --bg-blue-tint: #EFF6FF;
  --border: rgba(0, 0, 0, 0.1);
  --card-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  --phone-shadow: 0 40px 80px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255,255,255,0.06);
  --radius-card: 20px;
  --max-width: 1100px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── NAV ────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.nav-logo:hover { text-decoration: none; }

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

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text-primary); text-decoration: none; }

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  border: none;
}
.btn:hover { text-decoration: none; opacity: 0.85; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--blue); color: white; }
.btn-dark    { background: var(--text-primary); color: white; font-size: 15px; padding: 12px 24px; }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }

/* ─── LAYOUT ──────────────────────────────────────────────────── */
section { padding: 88px 24px; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 560px;
}

/* ─── HERO ────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(155deg, var(--bg-blue-tint) 0%, var(--bg-primary) 55%);
  padding: 80px 24px 100px;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 72px;
}

.hero-text { flex: 1; min-width: 0; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 122, 255, 0.1);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 980px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.07;
  margin-bottom: 22px;
  color: var(--text-primary);
}

.hero-title span {
  background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.hero-note {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 14px;
}

.hero-media { flex-shrink: 0; }

/* ─── PHONE MOCKUP ────────────────────────────────────────────── */
.phone-mockup {
  width: 270px;
  background: #1C1C1E;
  border-radius: 52px;
  padding: 14px;
  box-shadow: var(--phone-shadow);
  position: relative;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 104px;
  height: 26px;
  background: #1C1C1E;
  border-radius: 13px;
  z-index: 2;
}

.phone-screen {
  border-radius: 40px;
  overflow: hidden;
  background: #f5f5f5;
  line-height: 0;
}

.phone-screen img {
  width: 100%;
  display: block;
}

/* ─── FEATURES ────────────────────────────────────────────────── */
.features { background: var(--bg-secondary); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.feature-card {
  background: var(--bg-primary);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
  background: rgba(0, 122, 255, 0.1);
}
.feature-icon.green  { background: rgba(52, 199, 89, 0.1); }
.feature-icon.indigo { background: rgba(88, 86, 214, 0.1); }
.feature-icon.orange { background: rgba(255, 149, 0, 0.12); }
.feature-icon.red    { background: rgba(255, 59, 48, 0.1); }
.feature-icon.teal   { background: rgba(90, 200, 250, 0.12); }

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── SCREENSHOTS ─────────────────────────────────────────────── */
.screenshots { padding: 88px 0; overflow: hidden; }
.screenshots .container { padding: 0 24px; }

.screenshots-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 24px 24px 48px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.screenshots-scroll::-webkit-scrollbar { display: none; }

.screenshots-scroll .phone-mockup {
  width: 196px;
  border-radius: 40px;
  padding: 11px;
  flex-shrink: 0;
  animation: none;
}

.screenshots-scroll .phone-mockup::before {
  width: 78px;
  height: 20px;
  top: 11px;
  border-radius: 10px;
}

.screenshots-scroll .phone-screen { border-radius: 30px; }

/* ─── PRO ─────────────────────────────────────────────────────── */
.pro {
  background: linear-gradient(150deg, #0F0F1E 0%, #1A1A3E 50%, #0F0F1E 100%);
  color: white;
  text-align: center;
}

.pro .section-label  { color: rgba(255, 255, 255, 0.45); }
.pro .section-title  { color: white; }
.pro .section-subtitle { color: rgba(255, 255, 255, 0.55); margin: 0 auto 44px; }

.pro-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.pro-feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 980px;
  padding: 9px 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.pro-feature-pill::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}

.pro-price {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 14px;
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--bg-secondary);
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
}
.footer-links a:hover { color: var(--text-primary); text-decoration: none; }

.footer-copy {
  font-size: 13px;
  color: var(--text-secondary);
  width: 100%;
  margin-top: 8px;
}

/* ─── PAGE HERO (support / privacy) ──────────────────────────── */
.page-hero {
  background: var(--bg-secondary);
  padding: 64px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── SUPPORT / FAQ ───────────────────────────────────────────── */
.faq-wrap { max-width: 720px; margin: 0 auto; }

.faq-group { margin-bottom: 48px; }

.faq-group-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

details { border-bottom: 1px solid var(--border); }
details:first-of-type { border-top: 1px solid var(--border); }

summary {
  padding: 18px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text-primary);
  user-select: none;
}
summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--blue);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}
details[open] summary::after { transform: rotate(45deg); }

details .answer {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

details .answer a { color: var(--blue); }

.contact-section { background: var(--bg-secondary); }

.contact-card {
  background: var(--bg-primary);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--card-shadow);
}

.contact-card .contact-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.contact-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.contact-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ─── PRIVACY / PROSE ────────────────────────────────────────── */
.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
}

.prose h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 44px 0 12px;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.prose ul {
  margin: 0 0 16px 22px;
}

.prose ul li {
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.prose strong { color: var(--text-primary); font-weight: 600; }

.prose .updated {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }

  .hero-actions, .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-media { display: flex; justify-content: center; }

  .phone-mockup { width: 230px; }

  .nav-links { display: none; }

  section { padding: 64px 24px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links  { justify-content: center; }
}

@media (max-width: 540px) {
  .features-grid { grid-template-columns: 1fr; }
  .pro-features  { gap: 10px; }
}
