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

:root {
  --navy: #1a2744;
  --navy-mid: #243460;
  --blue: #2e6fbd;
  --blue-light: #4a8fd4;
  --sky: #e8f2fb;
  --sky-mid: #d0e6f7;
  --teal: #1a8c7a;
  --teal-light: #23b89f;
  --sand: #f7f3ee;
  --warm-white: #fdfcfa;
  --text-dark: #111827;
  --text-mid: #374151;
  --text-muted: #6b7280;
  --danger: #c0392b;
  --danger-soft: #fdecea;
  --gold: #e8a020;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: rgba(253,252,250,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46,111,189,0.1);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Lora', serif; font-weight: 700; font-size: 1.35rem;
  color: var(--navy);
  text-decoration: none;
}
.logo-shield {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 8px 8px 14px 14px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 14px;
}
.nav-cta {
  background: var(--navy);
  color: white;
  border: none; border-radius: 8px;
  padding: 10px 22px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--blue); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--danger-soft);
  border: 1px solid rgba(192,57,43,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--danger);
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--danger);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--blue);
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-sub strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Hero form */
.hero-form {
  display: flex; gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.hero-form input {
  flex: 1; min-width: 220px;
  padding: 15px 18px;
  border: 2px solid var(--sky-mid);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  background: white;
  color: var(--text-dark);
  transition: border-color 0.2s;
  outline: none;
}
.hero-form input::placeholder { color: var(--text-muted); }
.hero-form input:focus { border-color: var(--blue); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-mid) 100%);
  color: white;
  border: none; border-radius: 10px;
  padding: 15px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(46,111,189,0.3);
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,111,189,0.4); }
.hero-trust {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.82rem; color: var(--text-muted);
}
.hero-trust-item { display: flex; align-items: center; gap: 5px; }
.hero-trust-item svg { color: var(--teal); }
.trust-sep { color: var(--sky-mid); }

/* Hero visual panel */
.hero-visual {
  position: relative;
}
.phone-mockup {
  background: var(--navy);
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 32px 80px rgba(26,39,68,0.3), 0 8px 24px rgba(26,39,68,0.15);
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}
.phone-screen {
  background: #0f1a30;
  border-radius: 20px;
  padding: 20px;
  min-height: 420px;
}
.phone-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.phone-brand {
  font-family: 'Lora', serif;
  font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.phone-status {
  font-size: 0.7rem; color: var(--teal-light);
  font-weight: 500;
}
.alert-card {
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.4);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  animation: slideIn 0.6s ease both;
}
.alert-card.safe {
  background: rgba(26,140,122,0.12);
  border-color: rgba(26,140,122,0.3);
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.alert-label {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 6px;
}
.alert-card .alert-label { color: #e57373; }
.alert-card.safe .alert-label { color: var(--teal-light); }
.alert-msg {
  font-size: 0.78rem; color: rgba(255,255,255,0.85);
  line-height: 1.5;
  margin-bottom: 8px;
}
.alert-time {
  font-size: 0.65rem; color: rgba(255,255,255,0.35);
}
.weekly-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px;
  margin-top: 12px;
}
.weekly-title {
  font-size: 0.7rem; color: rgba(255,255,255,0.5);
  margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.06em;
}
.week-bars {
  display: flex; align-items: flex-end; gap: 6px; height: 50px;
}
.week-bar {
  flex: 1; border-radius: 4px 4px 0 0;
  background: rgba(46,111,189,0.4);
  transition: height 0.3s;
}
.week-bar.flagged { background: rgba(192,57,43,0.6); }
.week-bar.ok { background: rgba(26,140,122,0.5); }
.badge-float {
  position: absolute;
  top: -16px; right: -16px;
  background: white;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.badge-float2 {
  position: absolute;
  bottom: 16px; left: -20px;
  background: var(--danger-soft);
  border: 1px solid rgba(192,57,43,0.2);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--danger);
  animation: float 3s ease-in-out infinite 1.5s;
}

/* ── SOCIAL PROOF STRIP ── */
.proof-strip {
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 48px 40px;
}
.proof-strip p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.testimonials-row {
  display: flex;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
  flex-wrap: wrap;
}
.testimonial {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
  max-width: 280px;
  text-align: left;
}
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 10px; }
.testimonial blockquote {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  margin-bottom: 12px;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}
.cite-name { color: rgba(255,255,255,0.75); display: block; margin-bottom: 2px; }

/* ── HOW IT WORKS ── */
.how-section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 60px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  position: relative;
  padding: 32px;
  background: white;
  border: 1px solid rgba(46,111,189,0.12);
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(26,39,68,0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,39,68,0.1); }
.step-num {
  width: 36px; height: 36px;
  background: var(--sky);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
  color: var(--blue);
  margin-bottom: 20px;
}
.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.step h3 {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.step-example {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--sky);
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 500;
  border-left: 3px solid var(--blue);
}

/* ── ALERT DEMO ── */
.demo-section {
  background: var(--sand);
  padding: 100px 40px;
}
.demo-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.demo-alerts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.demo-alert {
  background: white;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 16px rgba(26,39,68,0.07);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-left: 4px solid transparent;
  transition: transform 0.2s;
}
.demo-alert:hover { transform: translateX(4px); }
.demo-alert.risk { border-color: var(--danger); }
.demo-alert.caution { border-color: var(--gold); }
.demo-alert.clear { border-color: var(--teal); }
.demo-alert-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.risk .demo-alert-icon { background: var(--danger-soft); }
.caution .demo-alert-icon { background: #fff8e1; }
.clear .demo-alert-icon { background: rgba(26,140,122,0.1); }
.demo-alert-body h4 {
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.demo-alert-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.demo-alert-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: auto;
  flex-shrink: 0;
}

/* ── PRIVACY ── */
.privacy-section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.privacy-pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.pillar-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--sky);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.pillar h4 {
  font-size: 0.95rem; font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}
.pillar p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── FAQ ── */
.faq-section {
  background: var(--sky);
  padding: 100px 40px;
}
.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(26,39,68,0.05);
}
.faq-q {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q:hover { color: var(--blue); }
.faq-chevron {
  transition: transform 0.25s;
  color: var(--text-muted);
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 24px 20px;
}

/* ── MID-PAGE CTA ── */
.mid-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--blue) 100%);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mid-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E") repeat;
}
.mid-cta-inner { position: relative; max-width: 600px; margin: 0 auto; }
.mid-cta h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: white;
  line-height: 1.25;
  margin-bottom: 16px;
}
.mid-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 1.6;
}
.mid-form {
  display: flex; gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.mid-form input {
  flex: 1; min-width: 240px; max-width: 340px;
  padding: 15px 18px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.mid-form input::placeholder { color: rgba(255,255,255,0.45); }
.mid-form input:focus { border-color: rgba(255,255,255,0.5); }
.btn-white {
  background: white;
  color: var(--navy);
  border: none; border-radius: 10px;
  padding: 15px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-white:hover { opacity: 0.92; transform: translateY(-2px); }
.form-note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.4);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}
footer a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover { color: white; }
.footer-links { display: flex; gap: 24px; }

/* ── SUCCESS STATE ── */
.success-msg {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(26,140,122,0.1);
  border: 1px solid var(--teal);
  border-radius: 10px;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
}
.success-msg.show { display: flex; }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .hero { grid-template-columns: 1fr; padding: 90px 20px 40px; gap: 40px; }
  .hero-visual { display: none; }
  .how-section, .privacy-section { padding: 60px 20px; }
  .steps { grid-template-columns: 1fr; }
  .demo-inner { grid-template-columns: 1fr; padding: 60px 20px; }
  .privacy-section { grid-template-columns: 1fr; }
  .demo-section { padding: 60px 20px; }
  .proof-strip { padding: 48px 20px; }
  .mid-cta { padding: 60px 20px; }
  footer { flex-direction: column; text-align: center; padding: 32px 20px; }
}