/* ========================================
   PRODUCT.CSS — Shared styles for all product pages
   Extracted from inline <style> blocks (L3.6)
   Requires: base.css loaded first
   ======================================== */

/* ========================================
   HERO — 50/50 grid, image fades into navy
   ======================================== */

.hero {
  position: relative;
  background: var(--navy-dark);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.hero-content {
  padding: 120px 48px 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 16px;
}
.hero h1 { margin-bottom: 20px; }
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* Stats bar */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}
.hero-stat { text-align: left; }
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
}
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* CTAs row */
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Google trust badge */
.hero-ctas-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.google-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 40px;
  padding: 8px 20px 8px 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.google-trust:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.google-g { width: 22px; height: 22px; flex-shrink: 0; }
.google-trust-info { display: flex; align-items: center; gap: 8px; }
.google-trust-rating { display: flex; align-items: center; gap: 4px; }
.google-trust-score { font-size: 15px; font-weight: 800; color: #ffffff; }
.google-trust-stars { color: #fbbf24; font-size: 13px; letter-spacing: 0.5px; }
.google-trust-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.25); }
.google-trust-label { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 600; letter-spacing: 0.3px; }

/* Hero checkmarks */
.hero-checks {
  list-style: none;
  margin-bottom: 36px;
}
.hero-checks li {
  color: rgba(255,255,255,0.92);
  font-size: 15px;
  font-weight: 500;
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-checks li::before {
  content: '\2713';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(94,184,255,0.15);
  color: #5eb8ff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Hero image with gradient blend */
.hero-image {
  position: relative;
  clip-path: inset(64px 0 0 0);
  margin-top: -64px;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, transparent 60%, var(--navy-dark) 100%);
}

/* ========================================
   PROGRAM OVERVIEW — Matcher Cards + Feature Cards + Relationship Box
   ======================================== */

.programs-section { background: var(--off-white); }

/* Hero stat mobile/desktop toggle (used on some product pages) */
.hero-stat-mobile { display: none; }

.matcher-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.matcher-card {
  background: linear-gradient(160deg, rgba(8,132,237,0.06) 0%, rgba(2,42,142,0.08) 100%);
  border: 1px solid rgba(8,132,237,0.15);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(8,132,237,0.08);
}
.matcher-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(8,132,237,0.15);
  border-color: rgba(8,132,237,0.3);
  border-top-color: var(--blue);
}
.matcher-card-bg {
  position: absolute;
  bottom: -15%;
  right: -15%;
  width: 75%;
  height: 75%;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.matcher-card-bg svg { width: 100%; height: 100%; fill: var(--blue); }
.matcher-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(8,132,237,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}
.matcher-card-icon svg { width: 38px; height: 38px; fill: var(--blue); }
.matcher-card h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}
.matcher-card-meta {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.matcher-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Feature Cards (alternate layout used on some product pages) */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.feature-card {
  background: linear-gradient(160deg, rgba(8,132,237,0.06) 0%, rgba(2,42,142,0.08) 100%);
  border: 1px solid rgba(8,132,237,0.15);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(8,132,237,0.08);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(8,132,237,0.15);
  border-color: rgba(8,132,237,0.3);
  border-top-color: var(--blue);
}
.feature-card-bg {
  position: absolute;
  bottom: -15%;
  right: -15%;
  width: 75%;
  height: 75%;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.feature-card-bg svg { width: 100%; height: 100%; fill: var(--blue); }
.feature-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(8,132,237,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}
.feature-card-icon svg { width: 38px; height: 38px; fill: var(--blue); }
.feature-card h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.feature-card-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.feature-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* Relationship Box */
.relationship-box {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: var(--white);
}
.relationship-box h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--white);
}
.relationship-box p {
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* ========================================
   CALCULATOR + WHO QUALIFIES
   ======================================== */

.calc-qualify-section {
  position: relative;
  background: linear-gradient(160deg, #022a8e 0%, #011d5e 100%);
  overflow: hidden;
}
.calc-qualify-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://storage.googleapis.com/msgsndr/aKgwHOki1nDlPYj6cgVQ/media/68d18c0483739ae82572243b.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  pointer-events: none;
}
.calc-qualify-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1, 16, 64, 0.92), rgba(2, 42, 142, 0.85));
  pointer-events: none;
}
.calc-qualify-section .container {
  position: relative;
  z-index: 2;
}
.calc-qualify-section .eyebrow { color: #5eb8ff; }
.calc-qualify-section .section-heading { color: var(--white); }
.calc-qualify-section .section-sub { color: rgba(255,255,255,0.7); }
.calc-qualify-section .accent-line { background: #5eb8ff; }
.calc-qualify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* Calculator */
.calculator-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
.calculator-card .calc-results { flex: 1; }
.calculator-card h3 {
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.calculator-card .calc-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.calc-group { margin-bottom: 24px; }
.calc-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.calc-group label span { color: var(--blue); font-weight: 700; }
.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  box-shadow: 0 2px 8px var(--blue-glow);
}
.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  border: none;
}
.calc-results {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 28px;
}
.calc-result-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.calc-result-row:last-child { border-bottom: none; }
.calc-result-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.calc-result-value {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.05rem;
}
.calc-result-value.primary {
  font-size: 1.35rem;
  color: var(--blue);
}
.calc-cta {
  width: 100%;
  margin-top: 20px;
  justify-content: center;
}

/* Who Qualifies */
.qualify-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
.qualify-card .qualify-items { flex: 1; }
.qualify-card h3 {
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.qualify-card .qualify-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.qualify-items { display: flex; flex-direction: column; gap: 20px; }
.qualify-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
}
.qualify-item-icon {
  width: 64px;
  height: 64px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.qualify-item-icon svg { width: 34px; height: 34px; fill: var(--blue); }
.qualify-item-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.qualify-item-value {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.05rem;
}
.qualify-note {
  margin-top: 24px;
  padding: 16px;
  background: rgba(8,132,237,0.06);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ========================================
   USE CASES GRID
   ======================================== */

.use-cases-section { background: var(--off-white); }

/* Zigzag alternating layout */
.zigzag-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.zigzag-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border-light);
}
.zigzag-row:last-child { border-bottom: none; }
.zigzag-row.reverse .zigzag-icon { order: -1; }
.zigzag-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.zigzag-icon-circle {
  width: 100px;
  height: 100px;
  background: rgba(8,132,237,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, background 0.3s ease;
}
.zigzag-row:hover .zigzag-icon-circle {
  transform: scale(1.06);
  background: rgba(8,132,237,0.14);
}
.zigzag-icon-circle svg { width: 44px; height: 44px; fill: var(--blue); }
.zigzag-icon-circle img { width: 80px; height: 80px; object-fit: contain; border-radius: 50%; }
.zigzag-icon-circle:has(img) { background: transparent; }
.zigzag-icon-circle .emoji-icon { font-size: 48px; line-height: 1; }
.zigzag-text h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.zigzag-text p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 480px;
}

/* ========================================
   WHAT IS [PRODUCT]? — SEO Explainer
   ======================================== */

.explainer-section { background: var(--white); }
.explainer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.explainer-text h2 { margin-bottom: 20px; }
.explainer-text p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--text-body);
}
.explainer-highlights {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
}
.explainer-highlights h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.explainer-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.explainer-highlight-item:last-child { margin-bottom: 0; }
.explainer-check {
  width: 24px;
  height: 24px;
  background: rgba(8,132,237,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.explainer-check svg { width: 14px; height: 14px; color: var(--blue); }
.explainer-highlight-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ========================================
   SUCCESS STORY
   ======================================== */

.success-section {
  position: relative;
  background: linear-gradient(160deg, rgba(1,29,94,0.95) 0%, rgba(1,16,64,0.97) 100%);
  overflow: hidden;
}
.success-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://storage.googleapis.com/msgsndr/aKgwHOki1nDlPYj6cgVQ/media/68d18c0483739ae82572243b.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  pointer-events: none;
}
.success-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1, 16, 64, 0.92), rgba(2, 42, 142, 0.85));
  pointer-events: none;
}
.success-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.success-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #5eb8ff;
  margin-bottom: 16px;
}
.success-inner h2 {
  color: var(--white);
  margin-bottom: 24px;
}
.success-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 24px;
}
.success-result {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Carousel */
.success-carousel {
  position: relative;
  overflow: hidden;
}
.success-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.success-slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.success-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.success-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.success-dot.active {
  background: #5eb8ff;
  transform: scale(1.3);
}
.success-dot:hover {
  background: rgba(255,255,255,0.45);
}
.success-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #5eb8ff;
  background: rgba(94,184,255,0.12);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* ========================================
   HOW IT WORKS — Steps left, Phone right
   ======================================== */

.how-section { background: var(--white); }
.how-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
}
.step-item:last-child { border-bottom: none; }
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(8,132,237,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--blue);
}
.step-text h3 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-size: 1.05rem;
}
.step-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Phone mockup */
.phone-mockup-wrap {
  display: flex;
  justify-content: center;
  animation: phoneBreathe 5s ease-in-out infinite;
}
@keyframes phoneBreathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.phone-frame {
  width: 280px;
  height: 570px;
  background: #1a1a2e;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #1a1a2e;
  border-radius: 0 0 14px 14px;
  z-index: 5;
}
.phone-notch::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
.phone-screen {
  background: #ffffff;
  border-radius: 32px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
}
.phone-status-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}
.phone-status-icons span {
  display: block;
  width: 14px;
  height: 10px;
  background: var(--text-primary);
  border-radius: 2px;
  opacity: 0.4;
}
.phone-step-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 12px;
  border-bottom: 1px solid var(--border-light);
}
.phone-step-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.phone-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
}
.phone-step-dot.done {
  background: var(--blue);
}
.phone-step-dot.active {
  background: var(--blue-bright);
  box-shadow: 0 0 6px rgba(0,144,255,0.4);
}
.phone-step-label {
  font-size: 8px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}
.phone-content {
  flex: 1;
  padding: 24px 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.phone-section-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.phone-approved-amount {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--blue);
  margin: 4px 0 10px;
  line-height: 1.2;
}
.phone-slider-track {
  width: 100%;
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  position: relative;
}
.phone-slider-fill {
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  border-radius: 3px;
}
.phone-slider-thumb {
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 3px solid var(--blue);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.phone-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 6px;
}
.phone-term-value {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-primary);
  margin: 4px 0 10px;
}
.phone-term-track {
  width: 100%;
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  position: relative;
}
.phone-term-fill {
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--navy-deep), var(--navy));
  border-radius: 3px;
}
.phone-term-thumb {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 3px solid var(--navy-deep);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.phone-term-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 6px;
}
.phone-fund-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: default;
  box-shadow: 0 4px 15px rgba(8, 132, 237, 0.3);
}
.phone-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

/* ========================================
   FAQ ACCORDION
   ======================================== */

.faq-section {
  position: relative;
  background: linear-gradient(160deg, rgba(1,29,94,0.95) 0%, rgba(1,16,64,0.97) 100%);
  overflow: hidden;
}
.faq-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://storage.googleapis.com/msgsndr/aKgwHOki1nDlPYj6cgVQ/media/68d18c0483739ae82572243b.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  pointer-events: none;
}
.faq-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1, 16, 64, 0.92), rgba(2, 42, 142, 0.85));
  pointer-events: none;
}
.faq-section .container { position: relative; z-index: 2; }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  transition: border-color 0.3s ease;
  cursor: pointer;
}
.faq-item:hover {
  border-color: var(--blue-bright);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  transition: background 0.3s ease;
  -webkit-user-select: none;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  gap: 16px;
}
.faq-q:hover {
  background: rgba(255, 255, 255, 0.04);
}
.faq-icon {
  width: 28px;
  height: 28px;
  background: rgba(0, 144, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q {
  background: rgba(255, 255, 255, 0.04);
}
.faq-item.open .faq-q .faq-icon {
  background: var(--blue-bright);
  color: #ffffff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 24px 22px;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ========================================
   FINAL CTA
   ======================================== */

.final-cta-section {
  position: relative;
  background: var(--white);
  overflow: hidden;
}
.final-cta-inner {
  position: relative;
}
.final-cta-inner h2 {
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 48px;
}
.cta-qual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.cta-qual-card {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
}
.cta-qual-card h3 {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 1.15rem;
}
.cta-qual-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-qual-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.5;
}
.cta-qual-card li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.final-cta-btn {
  text-align: center;
}

/* ========================================
   APPLICATION MODAL
   ======================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 8, 30, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-card {
  display: flex;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  transform: translateY(24px) scale(0.97);
  transition: transform var(--transition-spring);
}
.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

/* Modal left */
.modal-left {
  position: relative;
  width: 40%;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.modal-left-logo img { height: 32px; width: auto; margin-bottom: 28px; }
.modal-left h2 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 8px;
}
.modal-left .modal-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}
.modal-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.modal-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.modal-bullet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.modal-left-phone {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: auto;
}
.modal-left-phone strong { color: rgba(255,255,255,0.8); }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.modal-close:hover { background: rgba(255,255,255,0.2); }

/* Modal right — form */
.modal-form {
  position: relative;
  width: 60%;
  background: var(--white);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.modal-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.modal-progress-bar {
  flex: 1;
  height: 4px;
  background: #e8ecf2;
  border-radius: 4px;
  overflow: hidden;
}
.modal-progress-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.modal-form h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-primary);
  margin: 20px 0 6px;
}
.modal-form .modal-form-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Form steps */
.form-step { display: none; }
.form-step.active { display: block; }

/* Fields */
.form-row {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid #dfe3ea;
  border-radius: 10px;
  background: #fafbfc;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 132, 237, 0.12);
  background: #fff;
}
.form-group input.error,
.form-group select.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}
.form-consent input.error {
  outline: 2px solid #e74c3c;
  outline-offset: 2px;
}
.form-consent input.error + label {
  color: #e74c3c;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Navigation */
.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  gap: 16px;
}
.form-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.2s;
}
.form-back:hover { color: var(--text-primary); }
.form-next,
.form-submit {
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  margin-left: auto;
}
.form-next:hover,
.form-submit:hover {
  background: #0672d0;
  box-shadow: 0 4px 20px rgba(8, 132, 237, 0.3);
}
.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.active { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; }
.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f7ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 8px;
}
.form-success p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 300px;
}

/* Form error */
.form-error {
  background: #fef2f2;
  color: #b91c1c;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 12px;
  display: none;
}
.form-error.visible { display: block; }

/* Consent checkbox */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 4px;
}
.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.form-consent label {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-muted);
  cursor: pointer;
}
.form-consent label a {
  color: var(--blue);
  text-decoration: underline;
}

/* SSL / trust badge */
.form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e8ecf2;
}
.form-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}
.form-trust-item svg {
  flex-shrink: 0;
}

/* Textarea */
.form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid #dfe3ea;
  border-radius: 10px;
  background: #fafbfc;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  resize: vertical;
  min-height: 60px;
}
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8, 132, 237, 0.12);
  background: #fff;
}

/* Pre-qualified screen */
.form-prequalified {
  display: none;
  text-align: center;
  padding: 32px 20px;
}
.form-prequalified.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.prequal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.prequal-icon.qualified {
  background: #e8f7ee;
  color: #22c55e;
}
.prequal-icon.declined {
  background: #fef3c7;
  color: #f59e0b;
}
.form-prequalified h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.form-prequalified p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 340px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.form-prequalified .prequal-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.7;
  max-width: 340px;
  margin-top: 16px;
  line-height: 1.5;
}
.prequal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 300px;
}
.prequal-btn-primary {
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
  text-align: center;
}
.prequal-btn-primary:hover {
  background: #0672d0;
  box-shadow: 0 4px 20px rgba(8, 132, 237, 0.3);
}
.prequal-btn-secondary {
  background: none;
  border: 1.5px solid #dfe3ea;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.prequal-btn-secondary:hover {
  border-color: var(--blue);
  background: rgba(8, 132, 237, 0.04);
}

/* ========================================
   COMPARISON TABLE
   ======================================== */

.compare-section { background: var(--white); }
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 700px;
}
.compare-table th,
.compare-table td {
  padding: 18px 24px;
  text-align: center;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-light);
}
.compare-table thead th {
  background: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  padding: 20px 24px;
}
.compare-table thead th:first-child {
  text-align: left;
  background: transparent;
}
.compare-table thead th.highlight-col {
  background: var(--navy-deep);
  color: var(--white);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.compare-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
}
.compare-table tbody td.highlight-col {
  background: rgba(1, 16, 64, 0.04);
  font-weight: 600;
  color: var(--navy-deep);
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table tbody tr:last-child td.highlight-col {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* ========================================
   RESPONSIVE — PRODUCT PAGES
   ======================================== */

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-image { display: none; }
  .hero-content {
    padding: 100px 24px 60px;
    text-align: center;
    align-items: center;
  }
  .hero-checks { display: inline-block; text-align: left; }
  .hero-stats {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
  .hero-ctas-wrap {
    display: flex;
    width: 100%;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .google-trust {
    justify-content: center;
  }

  .hero-stat-desktop { display: none; }
  .hero-stat-mobile { display: block; }

  .matcher-cards { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .relationship-box { padding: 32px 24px; }

  .calc-qualify-grid { grid-template-columns: 1fr; }
  .calculator-card, .qualify-card { padding: 28px 20px; }

  .zigzag-row {
    grid-template-columns: 1fr;
    padding: 40px 0;
    text-align: center;
    gap: 0;
  }
  .zigzag-row.reverse .zigzag-icon { order: 0; }
  .zigzag-icon { padding: 0 0 20px; }
  .zigzag-text p { max-width: 100%; }

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

  .how-layout { grid-template-columns: 1fr; gap: 40px; }
  .phone-mockup-wrap { order: -1; }

  .cta-qual-grid { grid-template-columns: 1fr; }

  .modal-card {
    flex-direction: column;
    max-height: 95vh;
  }
  .modal-left {
    width: 100%;
    padding: 28px 24px 20px;
  }
  .modal-left h2 { font-size: 20px; }
  .modal-bullets { margin-bottom: 0; }
  .modal-left-phone { display: none; }
  .modal-form { width: 100%; padding: 28px 24px; }
  .form-row { flex-direction: column; gap: 16px; }
  .modal-close {
    background: rgba(0,0,0,0.08);
    color: var(--text-primary);
  }
  .form-group select {
    -webkit-appearance: menulist !important;
    appearance: menulist !important;
    background-image: none !important;
    padding-right: 14px !important;
    font-size: 16px !important;
  }
  .form-group input {
    font-size: 16px;
  }
  .form-nav {
    flex-direction: column;
    gap: 12px;
  }
  .form-next, .form-submit {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }
  .form-back {
    order: 1;
  }
}

/* ========================================
   FILE UPLOAD (shared across product forms)
   ======================================== */

.form-upload-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e8ecf2;
}
.form-upload-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  display: block;
}
.form-upload-hint {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.7;
  margin-bottom: 10px;
  line-height: 1.5;
}
.form-upload-area {
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fafbfc;
  border: 1.5px dashed #dfe3ea;
  border-radius: 10px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.form-upload-btn:hover {
  border-color: var(--blue);
  background: rgba(8, 132, 237, 0.04);
  color: var(--blue);
}
.form-upload-status {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.6;
}
.form-upload-status.has-files {
  color: #22c55e;
  opacity: 1;
  font-weight: 600;
}

/* ========================================
   PREQUAL ICON VARIANTS
   ======================================== */

.prequal-icon.conditional {
  background: #dbeafe;
  color: #2563eb;
}
.prequal-icon.amber {
  background: #fff3e0;
  color: #e67e22;
}
.prequal-icon.flagged {
  background: #dbeafe;
  color: #3b82f6;
}
