/* ─── RESET & BASE ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --dark:        #111827;
  --darker:      #0f172a;
  --navy:        #1E3A8A;
  --navy-dark:   #162d6e;
  --navy-deeper: #0f1f52;
  --white:       #FFFFFF;
  --gray-50:     #F8FAFC;
  --gray-100:    #F1F5F9;
  --gray-200:    #E2E8F0;
  --gray-400:    #94A3B8;
  --gray-600:    #475569;
  --red:         #E63946;
  --red-dark:    #C0392B;
  --green:       #059669;
  --blue:        #1E3A8A;
  --blue-dark:   #162d6e;
  --radius:      14px;
  --radius-lg:   24px;
  --shadow:      0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }


/* ─── TYPOGRAPHY ────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { color: var(--gray-600); line-height: 1.7; }


/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--gray-200);
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }

.btn-green { background: var(--green); color: #fff; box-shadow: 0 4px 16px rgba(5,150,105,.25); }
.btn-green:hover { background: #047857; box-shadow: 0 6px 20px rgba(5,150,105,.35); }

.btn-blue  { background: var(--navy); color: #fff; box-shadow: 0 4px 16px rgba(30,58,138,.25); }
.btn-blue:hover  { background: var(--navy-dark); box-shadow: 0 6px 20px rgba(30,58,138,.35); }

.btn-lg { padding: 1.1rem 2.4rem; font-size: 1.1rem; }
.btn-full { width: 100%; }


/* ─── SECTION WRAPPER ───────────────────────────────────────── */
.section { padding: 80px 20px; }
.section-sm { padding: 48px 20px; }
.container { max-width: 1100px; margin: 0 auto; }
.container-sm { max-width: 760px; margin: 0 auto; }

.text-center { text-align: center; }
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }


/* ─── NAV ───────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-logo {
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}
.nav-logo .logo-blue { color: #2563EB; }
.nav-logo .logo-red  { color: var(--red); }
.nav-back {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-600);
  display: flex; align-items: center; gap: .3rem;
  transition: color .2s;
}
.nav-back:hover { color: var(--navy); }


/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-eyebrow-green { background: #D1FAE5; color: var(--green); }
.hero-eyebrow-blue  { background: #DBEAFE; color: var(--blue); }

.hero h1 { max-width: 780px; }
.hero p  { max-width: 540px; margin: 1.2rem auto 0; font-size: 1.1rem; }

.hero-cta { margin-top: 2rem; }


/* ─── PRICE TOGGLE ──────────────────────────────────────────── */
.price-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 2.5rem;
}
.price-toggle-label { font-weight: 600; font-size: .95rem; color: var(--gray-400); transition: color .2s; }
.price-toggle-label.active { color: var(--dark); }

.toggle-switch {
  position: relative;
  width: 56px;
  height: 30px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--gray-200);
  border-radius: 50px;
  cursor: pointer;
  transition: background .3s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  left: 4px; top: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transition: transform .3s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--green); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(26px); }

.price-badge {
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 50px;
  background: #D1FAE5;
  color: var(--green);
}


/* ─── PRICE CARD ─────────────────────────────────────────────── */
.price-display { transition: opacity .25s, transform .25s; }

.price-block { display: flex; align-items: baseline; gap: .3rem; justify-content: center; }
.price-amount { font-size: 3rem; font-weight: 800; line-height: 1; }
.price-period { font-size: 1rem; color: var(--gray-400); }
.price-original { font-size: .9rem; text-decoration: line-through; color: var(--gray-400); margin-top: .3rem; }
.price-savings { font-size: .85rem; font-weight: 700; color: var(--green); margin-top: .25rem; }


/* ─── SINGLE PRICE BOX (Pulse Home) ─────────────────────────── */
.price-box {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  border: 2px solid var(--gray-200);
}
.price-box.featured {
  background: var(--darker);
  color: #fff;
  border-color: var(--darker);
}
.price-box.featured p,
.price-box.featured .price-period { color: var(--gray-400); }
.price-box.featured .price-amount { color: #fff; }


/* ─── PLAN CARDS (Pulse Protect) ────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.plan-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.plan-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.plan-card.recommended {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.recommended-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 50px;
  letter-spacing: .05em;
  white-space: nowrap;
}
.plan-name { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); margin-bottom: 1rem; }
.plan-features { list-style: none; margin: 1.5rem 0; }
.plan-features li {
  padding: .45rem 0;
  font-size: .92rem;
  color: var(--gray-600);
  display: flex; align-items: center; gap: .6rem;
  border-bottom: 1px solid var(--gray-100);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }


/* ─── FEATURE GRID ───────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.feature-item {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.feature-icon { font-size: 2rem; margin-bottom: .75rem; }
.feature-item h3 { font-size: 1rem; margin-bottom: .4rem; }
.feature-item p  { font-size: .9rem; }


/* ─── INCLUDES LIST ──────────────────────────────────────────── */
.includes-list { list-style: none; margin-top: 1.5rem; display: grid; gap: .75rem; }
.includes-list li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  font-size: 1rem;
}
.includes-list li .check {
  width: 24px; height: 24px;
  background: var(--green);
  border-radius: 50%;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}


/* ─── OBJECTION BLOCK ────────────────────────────────────────── */
.objection-block {
  background: var(--darker);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
}
.objection-block h2 { color: #fff; margin-bottom: 1rem; }
.objection-block p  { color: var(--gray-400); max-width: 500px; margin: 0 auto; font-size: 1.05rem; }


/* ─── CONTEXT BLOCK ─────────────────────────────────────────── */
.context-block {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
}
.context-block .context-items { display: flex; flex-direction: column; gap: .5rem; margin: 1.5rem 0; }
.context-item { font-size: 1.1rem; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: .5rem; }
.context-item .crossed { text-decoration: line-through; color: var(--gray-400); }
.context-arrow { font-size: 1.5rem; font-weight: 800; color: var(--red); margin-top: 1rem; }


/* ─── CTA FOOTER SECTION ─────────────────────────────────────── */
.cta-footer {
  background: linear-gradient(135deg, var(--navy-deeper) 0%, var(--navy) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}
.cta-footer h2 { color: #fff; margin-bottom: 1rem; }
.cta-footer p  { color: rgba(255,255,255,.65); margin-bottom: 2rem; }

/* ─── STAT STRIP ─────────────────────────────────────────────── */
.stat-strip {
  display: flex !important;
  flex-direction: row !important;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 900px;
  width: 100%;
}
.stat-item {
  text-align: center;
  flex: 1 1 180px;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--gray-200);
}
.stat-item:last-child { border-right: none; }
.stat-item.inverted { border-right-color: rgba(255,255,255,.15); }
.stat-number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.03em;
  line-height: 1;
  display: block;
}
.stat-number.green { color: var(--green); }
.stat-number.navy  { color: var(--navy);  }
.stat-item.inverted .stat-number { color: #fff; }
.stat-label {
  display: block;
  font-size: .82rem;
  color: var(--gray-600);
  margin-top: .4rem;
  font-weight: 500;
  line-height: 1.4;
}
.stat-item.inverted .stat-label { color: rgba(255,255,255,.6); }

@media (max-width: 580px) {
  .stat-item { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .stat-item:last-child { border-bottom: none; }
}


/* ─── WHATSAPP FAB ───────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 999;
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,.5); }
.whatsapp-fab svg { width: 30px; height: 30px; fill: #fff; }


/* ─── DIVIDER ─────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--gray-200); margin: 0 24px; }


/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .section { padding: 60px 20px; }
  .objection-block, .context-block { padding: 36px 24px; }
  .price-box { padding: 32px 24px; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card.recommended { margin-top: 1rem; }
  .btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }
}
