/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-dark:   #0a2c6e;
  --blue-mid:    #1a4ab0;
  --blue-light:  #2563eb;
  --green:       #16a34a;
  --green-dark:  #15803d;
  --green-hover: #14532d;
  --gold:        #f59e0b;
  --purple:      #7c3aed;
  --highlight:   #7c3aed; /* Match logo purple */
  --text-dark:   #0f172a;
  --text-mid:    #334155;
  --text-light:  #64748b;
  --bg-light:    #f8fafc;
  --white:       #ffffff;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 8px 30px rgba(0,0,0,.12);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.18);
  --transition:  all .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  padding-top: 75px;
}

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

/* ===== CONTAINER ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ===== SECTION BASE ===== */
.section { padding: 72px 0; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ===== CALL BUTTONS ===== */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border: none;
  letter-spacing: .3px;
}

.btn-call-hero {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: var(--white);
  font-size: 1.2rem;
  padding: 18px 36px;
  box-shadow: 0 6px 24px rgba(22,163,74,.4);
}
.btn-call-hero:hover {
  background: linear-gradient(135deg, #15803d, #16a34a);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(22,163,74,.5);
}

.btn-call-green {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: var(--white);
  font-size: 1.05rem;
  padding: 16px 32px;
  box-shadow: 0 4px 16px rgba(22,163,74,.35);
}
.btn-call-green:hover {
  background: linear-gradient(135deg, #15803d, #16a34a);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,163,74,.45);
}

.btn-call-widget {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: var(--white);
  font-size: 1.3rem;
  padding: 18px 28px;
  box-shadow: 0 6px 20px rgba(22,163,74,.4);
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-md);
  letter-spacing: .5px;
}
.btn-call-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(22,163,74,.5);
}

.btn-call-sticky {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: var(--white);
  font-size: 1.1rem;
  padding: 16px 28px;
  box-shadow: 0 4px 16px rgba(22,163,74,.4);
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-md);
}

.btn-phone-icon { font-size: 1.2em; }

/* ===== PULSE ANIMATION ===== */
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  70%  { box-shadow: 0 0 0 14px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.pulse { animation: pulse 2.2s infinite; }

/* ===== TOP BAR ===== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--blue-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  height: 75px;
}
.top-bar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 8px 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.top-bar-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--white);
  padding: 3px;
  flex-shrink: 0;
}
.top-bar-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.2px;
}
.logo-nongov {
  font-size: .58rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  letter-spacing: .6px;
  text-transform: uppercase;
}
.top-bar-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.top-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  padding: 9px 22px;
  border-radius: 50px;
  box-shadow: 0 3px 10px rgba(22,163,74,.4);
  transition: var(--transition);
}
.top-bar-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(22,163,74,.5);
}
.top-bar-availability {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(145deg, var(--blue-dark) 0%, var(--blue-mid) 60%, #1e5fcc 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 24px 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.hero-headline {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0,0,0,.3);
  letter-spacing: -1px;
}
.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  opacity: .92;
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-disclaimer {
  margin-top: 14px;
  font-size: .82rem;
  opacity: .7;
  letter-spacing: .5px;
}
.hero-trust-row {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: .88rem;
  opacity: .9;
}
.hero-trust-row span {
  background: rgba(255,255,255,.1);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.2);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: #1e293b;
  padding: 14px 24px;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.stat-item {
  color: #cbd5e1;
  font-size: .88rem;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 20px;
  background: #475569;
}

/* ===== SAVINGS ===== */
.savings-section { background: var(--white); }

.savings-left h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.highlight { color: var(--highlight); }

.savings-intro {
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.7;
}

.check-list {
  list-style: none;
  margin-bottom: 32px;
}
.check-list li {
  padding: 8px 0;
  font-size: 1rem;
  color: var(--text-mid);
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
}
.check-list li:last-child { border-bottom: none; }

/* ===== SENIOR PHOTO ===== */
.senior-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  aspect-ratio: 16/9;
}
.senior-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.senior-photo:hover { transform: scale(1.03); }

/* ===== CALL WIDGET ===== */
.call-widget {
  background: linear-gradient(145deg, var(--blue-dark), var(--blue-mid));
  border-radius: var(--radius-lg);
  padding: 4px;
  box-shadow: var(--shadow-lg);
}
.call-widget-inner {
  background: linear-gradient(145deg, #0d3a8a, #1a55c4);
  border-radius: calc(var(--radius-lg) - 4px);
  padding: 40px 32px;
  text-align: center;
  color: var(--white);
}
.call-widget-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.call-widget-inner h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.call-widget-inner p {
  font-size: .95rem;
  opacity: .88;
  margin-bottom: 24px;
  line-height: 1.6;
}
.widget-note {
  margin-top: 14px !important;
  font-size: .78rem !important;
  opacity: .6 !important;
  margin-bottom: 0 !important;
}

/* ===== ENROLLMENT ===== */
.enroll-section { background: var(--bg-light); }

.enroll-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.enroll-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  position: relative;
  border: 2px solid transparent;
}
.enroll-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}
.enroll-card-featured {
  border-color: var(--blue-light);
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
}
.enroll-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #78350f;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.enroll-icon { font-size: 2.4rem; margin-bottom: 14px; }
.enroll-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.enroll-period {
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue-light);
  margin-bottom: 10px;
}
.enroll-card p { color: var(--text-mid); font-size: .9rem; line-height: 1.6; }

.enroll-cta-wrap { text-align: center; }

/* ===== HOW IT WORKS ===== */
.hiw-section { background: var(--white); }

.hiw-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.hiw-step {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
  padding: 20px 12px;
}

/* Mobile vertical HIW card */
.hiw-step-mobile {
  display: none;
}

.hiw-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--highlight));
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.hiw-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.hiw-step p { font-size: .88rem; color: var(--text-light); line-height: 1.6; }

.hiw-arrow {
  font-size: 1.8rem;
  color: #cbd5e1;
  flex-shrink: 0;
  padding: 0 4px;
  margin-top: -20px;
}

/* ===== CARRIERS ===== */
.carrier-section {
  background: var(--bg-light);
  padding: 40px 24px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.carrier-label {
  text-align: center;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 24px;
}
.carrier-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.carrier-item {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-mid);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.carrier-item:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
  transform: translateY(-2px);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #bfdbfe;
}
.stars { font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-card p {
  font-size: .93rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}
.testimonial-author {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ===== FAQ ===== */
.faq-section { background: var(--bg-light); }
.faq-container { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}
.faq-item:hover { border-color: #93c5fd; box-shadow: var(--shadow-sm); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-weight: 600;
  font-size: .97rem;
  color: var(--text-dark);
  user-select: none;
}
.faq-arrow {
  color: var(--blue-light);
  font-size: .8rem;
  transition: transform .3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  padding: 0 22px;
  font-size: .93rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 22px 18px;
}

/* ===== FINAL CTA ===== */
.cta-section {
  background: linear-gradient(145deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 80px 24px;
  text-align: center;
  color: var(--white);
}
.cta-inner { max-width: 700px; margin: 0 auto; }
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 1rem;
  opacity: .88;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cta-trust-row {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: .85rem;
  opacity: .8;
}
.cta-trust-row span {
  background: rgba(255,255,255,.1);
  padding: 6px 16px;
  border-radius: 50px;
}

/* ===== FOOTER ===== */
.footer {
  background: #0f172a;
  padding: 32px 24px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #1e293b;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
  padding: 3px;
  flex-shrink: 0;
}
.footer-logo-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
}
.footer-nongov {
  font-size: .62rem;
  font-weight: 500;
  color: rgba(255,255,255,.4);
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-top: 2px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #94a3b8;
  font-size: .82rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-phone {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.footer-phone a {
  color: #22c55e;
  font-weight: 700;
  font-size: .95rem;
  transition: var(--transition);
  text-decoration: none;
}
.footer-phone a:hover { color: #4ade80; }

#footer-email {
  color: var(--white);
  font-weight: 500;
  font-size: 0.82rem;
}
#footer-email:hover { color: var(--purple); }

.footer-legal {
  padding: 20px 0 24px;
  color: #475569;
  font-size: .72rem;
  line-height: 1.85;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}
.footer-legal p { margin-bottom: 12px; }
.footer-legal a { color: #64748b; text-decoration: underline; }
.footer-legal a:hover { color: #94a3b8; }
.footer-copyright {
  border-top: 1px solid #1e293b;
  padding-top: 14px;
  font-size: .7rem;
  color: #334155;
  letter-spacing: .2px;
  line-height: 1.9;
}

/* ===== STICKY MOBILE CTA ===== */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 12px 16px;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .savings-left { text-align: center; }
  .savings-left .check-list { display: inline-block; text-align: left; margin: 0 auto 32px; }
  .savings-right { display: flex; flex-direction: column; gap: 0; }
  .enroll-grid { grid-template-columns: 1fr; }
  .enroll-cta-wrap { text-align: center; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hiw-arrow { display: none; }
  .hiw-grid { gap: 24px; }
  .hiw-step { max-width: 100%; min-width: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 30px; }
  .footer-phone { align-items: flex-start; }
  .sticky-mobile-cta { display: block; }
  body { padding-bottom: 80px; }
}

@media (max-width: 700px) {
  /* Nav: tighten up on small screens */
  .top-bar-inner { padding: 8px 20px; }
  .top-bar-logo-img { width: 24px; height: 24px; padding: 2px; }
  .logo-name { font-size: 0.85rem; }
  .logo-nongov { font-size: 0.5rem; }
  .top-bar-cta { font-size: 0.75rem; padding: 6px 12px; gap: 4px; }
  .top-bar-cta .phone-icon { font-size: 0.85rem; }
  .top-bar-availability { display: block; font-size: 0.5rem; margin-top: 1px; }

  /* How it works: vertical card layout */
  .hiw-grid {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .hiw-step {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
    max-width: 100%;
  }
  .hiw-step:last-child { border-bottom: none; }
  .hiw-number {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin: 0;
  }
  .hiw-step-text { flex: 1; }
  .hiw-step h3 { font-size: 1rem; margin-bottom: 2px; }
  .hiw-step p { font-size: 0.88rem; }
}

@media (max-width: 600px) {
  .hero { padding: 60px 20px 52px; display: flex; flex-direction: column; align-items: center; }
  .section { padding: 52px 0; }
  .savings-left { display: flex; flex-direction: column; align-items: center; }
  .enroll-cta-wrap { display: flex; justify-content: center; }
  .cta-inner { display: flex; flex-direction: column; align-items: center; }
  .hero-trust-row { gap: 10px; justify-content: center; }
  .hero-trust-row span { font-size: .78rem; padding: 5px 12px; }
  .stat-divider { display: none; }
  .stats-inner { gap: 8px; }
  .stat-item { font-size: .78rem; }
  .carrier-grid { gap: 8px; }
  .carrier-item { font-size: .82rem; padding: 8px 14px; }
  .btn-call-hero, .btn-call-green { font-size: 1rem; padding: 15px 24px; width: fit-content; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .enroll-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 12px; }
}
