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

:root {
  --navy:       #2A6496;
  --navy-mid:   #3A7BBD;
  --blue:       #5BB8F5;
  --blue-dark:  #3A9EE0;
  --blue-light: #EBF6FF;
  --teal:       #3ABFB0;
  --text:       #1E3A4F;
  --muted:      #5E7D94;
  --border:     #D6EDFC;
  --white:      #FFFFFF;
  --bg:         #F0F8FF;
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  20px;
  --shadow:     0 2px 16px rgba(91,184,245,0.12);
  --shadow-md:  0 8px 32px rgba(91,184,245,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 96px 0; }

.section-header {
  max-width: 560px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-cta {
  background: var(--blue-dark);
  color: var(--white);
  text-decoration: none;
  padding: 9px 22px;
  border-radius: 32px;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--navy); transform: translateY(-1px); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: var(--blue-light);
  border-bottom: 1px solid var(--border);
  padding: 80px 0 72px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-text { flex: 1; }

.hero-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 32px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.hero-image {
  flex: 0 0 auto;
}

.hero-image img {
  width: 260px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(12,27,46,0.06);
}

/* ── App Store Button ────────────────────────────────────── */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-dark);
  color: var(--white);
  text-decoration: none;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(12,27,46,0.2);
}
.btn-appstore:hover {
  background: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(58,158,224,0.35);
}
.btn-appstore--light {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.btn-appstore--light:hover {
  background: var(--bg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ── Differentiator ──────────────────────────────────────── */
.diff { background: var(--white); }

.diff-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.diff-text h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text);
}

.diff-text p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 0.97rem;
  line-height: 1.75;
}

.diff-text p strong { color: var(--text); font-weight: 600; }

.diff-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diff-card {
  border-radius: var(--radius);
  padding: 24px 28px;
}

.diff-card-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.diff-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.diff-card ul li {
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.diff-card ul li::before {
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}

.diff-card--other {
  background: var(--bg);
  border: 1px solid var(--border);
}
.diff-card--other .diff-card-label { color: var(--muted); }
.diff-card--other ul li { color: var(--muted); }
.diff-card--other ul li::before { content: "✗"; color: #CBD5E1; }

.diff-card--ally {
  background: var(--blue-dark);
  border: 1px solid var(--blue-dark);
}
.diff-card--ally .diff-card-label { color: rgba(255,255,255,0.5); }
.diff-card--ally ul li { color: rgba(255,255,255,0.9); }
.diff-card--ally ul li::before { content: "✓"; color: var(--teal); }

/* ── Features ────────────────────────────────────────────── */
.features { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card {
  background: var(--white);
  padding: 32px 28px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg); }

.feature-icon {
  width: 40px;
  height: 40px;
  color: var(--blue);
  margin-bottom: 16px;
}
.feature-icon svg { width: 100%; height: 100%; }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── How it works ────────────────────────────────────────── */
.how { background: var(--white); }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 0 24px;
}
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--text);
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.step-line {
  flex: 0 0 1px;
  align-self: stretch;
  background: var(--border);
  margin-top: 4px;
}

/* ── Trust ───────────────────────────────────────────────── */
.trust { background: var(--blue-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 48px;
  align-items: start;
}

.trust-icon {
  width: 32px;
  height: 32px;
  color: var(--teal);
  margin-bottom: 14px;
}
.trust-icon svg { width: 100%; height: 100%; }

.trust-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

.trust-item--link {
  display: flex;
  align-items: flex-end;
  padding-bottom: 2px;
}

.trust-item--link a {
  color: var(--blue);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s;
}
.trust-item--link a:hover { color: var(--text); }

/* ── CTA ─────────────────────────────────────────────────── */
.cta { background: var(--blue); }

.cta-inner { text-align: center; }

.cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 12px;
}

.cta p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
  font-size: 1rem;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--blue-dark);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.9);
}

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

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-copy {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.35);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-item--link { align-items: flex-start; }
  .diff-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }

  .hero { padding: 56px 0 52px; }
  .hero-inner { flex-direction: column-reverse; gap: 40px; }
  .hero-image img { width: 220px; }
  .hero-sub { max-width: 100%; }

  .feature-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 28px; }

  .steps { flex-direction: column; gap: 0; }
  .step { padding: 24px 0; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .step-line { display: none; }

  .footer-inner { flex-direction: column; text-align: center; gap: 12px; }
}
