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

:root {
  --navy:   #1E3A5F;
  --navy2:  #0F2040;
  --blue:   #2563EB;
  --accent: #3B82F6;
  --gold:   #F59E0B;
  --text:   #1E293B;
  --muted:  #64748B;
  --light:  #F8FAFC;
  --border: #E2E8F0;
  --white:  #FFFFFF;
  --radius: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --px: clamp(20px, 5vw, 64px);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── Nav ──────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--px);
  background: transparent;
  transition: background .2s, box-shadow .2s;
}
.nav-scrolled {
  background: rgba(15,32,64,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; color: var(--white);
}
.nav-icon { width: 32px; height: 32px; border-radius: 8px; }
.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 14px; font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--white) !important;
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: opacity .15s !important;
}
.nav-cta:hover { opacity: 0.9; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy) 50%, #1a4a7a 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 100px var(--px) 64px;
  gap: clamp(32px, 5vw, 72px);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(59,130,246,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  flex: 1; max-width: 540px; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900; line-height: 1.05;
  color: var(--white);
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}
.hero-accent {
  background: linear-gradient(90deg, #60A5FA, #93C5FD);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
}
.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
}
.btn-store {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  border-radius: 14px;
  font-weight: 600;
  transition: transform .15s, opacity .15s;
  white-space: nowrap;
}
.btn-store:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-apple  { background: var(--white); color: var(--navy); }
.btn-google {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.btn-web {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.55);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.store-icon { width: 20px; height: 20px; flex-shrink: 0; }
.store-label { display: block; font-size: 10px; font-weight: 500; opacity: 0.72; }
.store-name  { display: block; font-size: 15px; font-weight: 800; }
.hero-note { font-size: 12px; color: rgba(255,255,255,0.38); }

/* Phone mockup */
.hero-phone { flex-shrink: 0; position: relative; z-index: 1; }
.phone-frame {
  width: clamp(200px, 22vw, 260px);
  height: clamp(420px, 46vw, 540px);
  border-radius: 40px;
  overflow: hidden;
  border: 8px solid rgba(255,255,255,0.15);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    var(--shadow-lg),
    0 0 80px rgba(59,130,246,0.25);
  background: #000;
}
.phone-screen {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}

/* ── Shared section layout ───────────────────────────────────── */
.section-wrap { max-width: 1140px; margin: 0 auto; padding: 0 var(--px); }
.section-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 1.3px;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 10px;
}
section h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800; letter-spacing: -0.6px;
  line-height: 1.15; margin-bottom: 12px;
}
.section-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--muted); line-height: 1.6;
  max-width: 500px; margin-bottom: 44px;
}

/* ── Features ────────────────────────────────────────────────── */
.features { padding: clamp(64px, 8vw, 100px) 0; background: var(--light); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 44px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-highlight {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a7a 100%);
  border-color: transparent; color: var(--white);
}
.feature-highlight h3 { color: var(--white); }
.feature-highlight p  { color: rgba(255,255,255,0.72); }
.feat-icon { font-size: 32px; margin-bottom: 14px; display: block; }
.feature-card h3 { font-size: clamp(15px, 1.5vw, 17px); font-weight: 700; margin-bottom: 8px; letter-spacing: -0.2px; }
.feature-card p  { font-size: 13px; line-height: 1.65; color: var(--muted); }

/* ── Screenshots ─────────────────────────────────────────────── */
.screenshots { padding: clamp(64px, 8vw, 100px) 0 clamp(40px, 5vw, 60px); overflow: hidden; }
.screenshots .section-wrap { text-align: center; }
.screenshots .section-sub  { margin: 0 auto 40px; }
.screenshot-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding: 16px var(--px) 32px; scrollbar-width: none;
}
.screenshot-scroll::-webkit-scrollbar { display: none; }
.screenshot-track { display: flex; gap: 16px; width: max-content; margin: 0 auto; }
.screenshot-item {
  width: clamp(150px, 18vw, 200px); flex-shrink: 0;
  border-radius: 22px; overflow: hidden;
  border: 5px solid var(--border);
  box-shadow: var(--shadow); background: #000;
  transition: transform .2s;
}
.screenshot-item:hover { transform: scale(1.03); }
.screenshot-item img { width: 100%; height: auto; object-fit: cover; display: block; }

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing { padding: clamp(64px, 8vw, 100px) 0; background: var(--light); }
.pricing .section-wrap { text-align: center; }
.pricing .section-sub  { margin: 0 auto 44px; }
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 22px; max-width: 720px; margin: 0 auto;
}
.pricing-card {
  background: var(--white); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px); border: 1px solid var(--border);
  text-align: left; position: relative;
}
.pricing-card-pro {
  background: linear-gradient(145deg, var(--navy2) 0%, var(--navy) 100%);
  border-color: transparent; color: var(--white);
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #000;
  font-size: 11px; font-weight: 800; letter-spacing: 0.5px;
  padding: 4px 16px; border-radius: 50px; white-space: nowrap;
}
.plan-name { font-size: 13px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pricing-card-pro .plan-name { color: rgba(255,255,255,0.55); }
.plan-price { font-size: clamp(36px, 4vw, 48px); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 4px; }
.plan-price span { font-size: 18px; font-weight: 500; opacity: 0.55; }
.plan-alt { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.plan-desc { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 24px; }
.pricing-card-pro .plan-desc { color: rgba(255,255,255,0.65); }
.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li { font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.pricing-card-pro .plan-features li { border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); }
.check { width: 18px; height: 18px; background: #DCFCE7; color: #16A34A; border-radius: 50%; font-size: 10px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pricing-card-pro .check { background: rgba(255,255,255,0.15); color: #86EFAC; }
.plan-btn { display: block; text-align: center; padding: 13px 20px; border-radius: 14px; font-size: 14px; font-weight: 700; transition: transform .15s, opacity .15s; }
.plan-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.plan-btn-outline { border: 2px solid var(--navy); color: var(--navy); }
.plan-btn-pro { background: var(--white); color: var(--navy2); }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { background: var(--navy2); padding: clamp(36px, 5vw, 48px) var(--px); }
.footer-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-icon { width: 40px; height: 40px; border-radius: 10px; }
.footer-name  { font-size: 16px; font-weight: 800; color: var(--white); }
.footer-parent { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px; }
.footer-parent a { color: #93C5FD; }
.footer-parent a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color .15s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); width: 100%; text-align: center; border-top: 1px solid rgba(255,255,255,0.07); padding-top: 20px; margin-top: 4px; }

/* ── Responsive — Tablet (≤900px) ───────────────────────────── */
@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) { display: none; }

  .hero {
    flex-direction: column-reverse;
    padding-top: 90px; padding-bottom: 56px;
    text-align: center;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-btns {
    flex-direction: column;
    align-items: center;
    width: 100%; max-width: 300px;
    margin-left: auto; margin-right: auto;
  }
  .btn-store { width: 100%; justify-content: center; }
  .hero-note { text-align: center; }
  .hero-phone { order: -1; }
  .phone-frame { width: 200px; height: 420px; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
}

/* ── Responsive — Mobile (≤600px) ───────────────────────────── */
@media (max-width: 600px) {
  :root { --px: 18px; }

  .hero h1 { letter-spacing: -0.8px; }
  .hero-btns { max-width: 260px; }
  .phone-frame { width: 170px; height: 356px; border-radius: 28px; border-width: 6px; }

  .feature-grid { grid-template-columns: 1fr; }

  .screenshot-item { width: 130px; }

  .footer-inner { flex-direction: column; gap: 16px; }
  .footer-links { gap: 16px; }
}

/* ── Responsive — Large screens (≥1400px) ────────────────────── */
@media (min-width: 1400px) {
  :root { --px: 80px; }
  .hero { gap: 96px; }
}
