/* ========================================
   HOME.CSS — Homepage-specific styles
   Requires base.css to be loaded first
   ======================================== */

/* Global link reset */
a { text-decoration: none; color: inherit; }

/* ============================================
   HERO BACKGROUND GRADIENT SHIFT
   ============================================ */
@keyframes heroGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Phone shell breathing */
@keyframes phoneBreathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   1. HERO
   ============================================ */
.hero {
  background: linear-gradient(145deg, rgba(2,42,142,0.92) 0%, rgba(1,29,94,0.95) 50%, rgba(0,16,64,0.97) 100%),
              url('https://storage.googleapis.com/msgsndr/aKgwHOki1nDlPYj6cgVQ/media/68d18c0483739ae82572243b.webp') center/cover no-repeat;
  background-size: 200% 200%;
  animation: heroGradientShift 12s ease-in-out infinite;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 899px) {
  .hero { padding-bottom: 40px; animation: none; background-size: cover; background-position: center; }
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(8,132,237,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,144,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .hero h1 { font-size: 56px; }
}
.hero h1 .highlight { color: #5eb8ff; }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 500px;
}
.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: '✓';
  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-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
@media (max-width: 899px) {
  .hero-visual { gap: 12px; text-align: center; }
}
.hero-cta-pill {
  display: none;
}
@media (max-width: 899px) {
  .hero-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--blue);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 40px;
    padding: 10px 24px 10px 16px;
    min-width: 260px;
    margin-top: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
  }
  .google-trust-mobile .google-trust {
    min-width: 260px;
    justify-content: center;
  }
  .hero-cta-pill:hover { background: #2563eb; transform: translateY(-2px); }
  .hero-cta-pill-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-cta-pill-info {
    display: flex;
    flex-direction: column;
  }
  .hero-cta-pill-label {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.01em;
  }
  .hero-cta-pill-ssl {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
  }
}
.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 40px 32px;
  backdrop-filter: blur(10px);
  text-align: center;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.hero-card h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
}
.hero-card p {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  margin-bottom: 24px;
}
.hero-card .btn-primary { width: 100%; justify-content: center; font-size: 16px; }
.hero-card-trust {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.hero-card-ssl {
  margin-top: 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.hero-card-ssl svg {
  flex-shrink: 0;
}

/* Device mockup combo */
.device-combo {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 420px;
  animation: phoneBreathe 5s ease-in-out infinite;
}
@media (max-width: 899px) {
  .device-combo {
    max-width: 400px;
    height: 360px;
    margin: 0 auto;
    animation: none;
  }
}

/* Tablet */
.tablet-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 340px;
  height: 100%;
  background: #1a1a2e;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 30px 80px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  z-index: 1;
}
@media (max-width: 899px) {
  .tablet-frame { width: 280px; }
}
.tablet-camera {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin: 0 auto 8px;
}
.tablet-screen {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  height: calc(100% - 40px);
  display: flex;
  flex-direction: column;
}
.tablet-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 14px;
  background: var(--navy-deep);
  border-bottom: none;
}
.tablet-nav-logo {
  font-size: 9px;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: 0.5px;
}
.tablet-nav-btn {
  font-size: 7px;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.tablet-content {
  flex: 1;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.tablet-content-list {
  text-align: left;
  justify-content: flex-start;
  padding: 16px 18px;
  background: var(--off-white);
}
.tablet-eyebrow {
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-align: center;
}
.tablet-product-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tablet-product-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
@media (max-width: 899px) {
  .tablet-product-item { font-size: 9px; padding: 7px 0; }
}
.tablet-product-item:last-child { border-bottom: none; }
.tablet-product-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.tablet-bar {
  display: flex;
  justify-content: center;
  padding: 6px 0 2px;
}
.tablet-bar span {
  width: 50px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

/* Phone (overlapping) */
.phone-frame {
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 190px;
  height: 340px;
  background: #1a1a2e;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  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);
  z-index: 2;
}
@media (max-width: 899px) {
  .phone-frame {
    width: 160px;
    height: 290px;
    bottom: -5px;
  }
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 16px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0 0 10px 10px;
  z-index: 5;
}
.phone-notch::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
.phone-screen {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 16px 20px;
}
.phone-screen-form {
  padding: 32px 14px 16px;
  justify-content: flex-start;
  align-items: stretch;
  text-align: left;
}
.phone-form-heading {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
@media (max-width: 899px) {
  .phone-form-heading { font-size: 10px; margin-bottom: 10px; }
}
.phone-form-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.phone-field-label {
  font-size: 6px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}
.phone-field-input {
  height: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}
@media (max-width: 899px) {
  .phone-field-input { height: 20px; }
  .phone-form-fields { gap: 6px; }
}
.phone-screen-cta {
  display: block;
  background: var(--blue);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(8, 132, 237, 0.4);
  text-align: center;
  cursor: pointer;
}
/* Desktop CTA pill (mirrors Google trust pill layout) */
.hero-cta-desktop {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--blue);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 40px;
  padding: 10px 24px 10px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-bottom: 0;
}
.hero-cta-desktop:hover {
  background: #2563eb;
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.hero-cta-desktop-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-cta-desktop-info {
  display: flex;
  flex-direction: column;
}
.hero-cta-desktop-label {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.01em;
}
.hero-cta-desktop-ssl {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
@media (max-width: 899px) {
  .hero-cta-desktop { display: none; }
}
.google-trust-mobile { display: none; }
@media (max-width: 899px) {
  .hero-content { text-align: center; }
  .hero-content .hero-checks { text-align: left; display: inline-block; }
  .hero-content .btn-primary { width: 100%; justify-content: center; }
  .hero-content .google-trust { display: none; }
  .google-trust-mobile { display: flex; justify-content: center; }
  .hero-content .hero-sub { margin-left: auto; margin-right: auto; }
  .usp-item-app { display: none; }
}
.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;
}

/* Phone credit draw mockup */
.phone-screen-credit {
  padding: 32px 14px 16px;
  justify-content: flex-start;
  align-items: stretch;
  text-align: left;
  background: #ffffff;
  border-radius: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.phone-credit-label {
  font-size: 9px;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 4px;
}
@media (max-width: 899px) {
  .phone-credit-label { font-size: 7px; }
}
.phone-credit-amount {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
  margin-bottom: 8px;
}
@media (max-width: 899px) {
  .phone-credit-amount { font-size: 16px; }
}
.phone-credit-total {
  font-size: 10px;
  font-weight: 500;
  color: #6b7280;
}
@media (max-width: 899px) {
  .phone-credit-total { font-size: 8px; }
}
.phone-credit-bar {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  margin-bottom: 14px;
  overflow: hidden;
}
.phone-credit-bar-fill {
  width: 57%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  border-radius: 3px;
}
.phone-credit-draw-label {
  font-size: 8px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
@media (max-width: 899px) {
  .phone-credit-draw-label { font-size: 7px; }
}
.phone-credit-draw-input {
  border: 1.5px solid var(--border-light);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 8px;
  background: #ffffff;
}
@media (max-width: 899px) {
  .phone-credit-draw-input { font-size: 11px; padding: 6px 8px; }
}
.phone-credit-draw-btn {
  background: var(--navy-deep);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
@media (max-width: 899px) {
  .phone-credit-draw-btn { font-size: 8px; padding: 6px 10px; }
}
.phone-credit-divider {
  height: 1px;
  background: var(--border-light);
  margin-bottom: 10px;
}
.phone-credit-payment-label {
  font-size: 8px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 6px;
}
@media (max-width: 899px) {
  .phone-credit-payment-label { font-size: 7px; }
}
.phone-credit-payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phone-credit-payment-type {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-primary);
}
.phone-credit-payment-date {
  font-size: 7px;
  color: #9ca3af;
}
.phone-credit-payment-amount {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
}
@media (max-width: 899px) {
  .phone-credit-payment-type { font-size: 8px; }
  .phone-credit-payment-date { font-size: 6px; }
  .phone-credit-payment-amount { font-size: 8px; }
}

/* ============================================
   2. USP BANNER (with animated counters)
   ============================================ */
.usp-banner {
  background: linear-gradient(160deg, rgba(1,29,94,0.95) 0%, rgba(1,16,64,0.97) 100%),
              url('https://storage.googleapis.com/msgsndr/aKgwHOki1nDlPYj6cgVQ/media/68d18c0483739ae82572243b.webp') center/cover no-repeat;
  padding: 0;
  position: relative;
  z-index: 3;
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 768px) {
  .usp-grid { grid-template-columns: repeat(5, 1fr); }
}
.usp-item {
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (min-width: 768px) {
  .usp-item { border-bottom: none; }
}
.usp-item:last-child { border-right: none; }
.usp-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: #5eb8ff;
  line-height: 1.1;
  margin-bottom: 6px;
  white-space: nowrap;
}
.usp-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   3. HOW IT WORKS
   ============================================ */
.how-it-works { background: var(--off-white); }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
.step-card {
  text-align: center;
  padding: 48px 28px 40px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-light);
  position: relative;
  transition: all var(--transition-smooth);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--navy));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-smooth);
}
.step-card:hover::before { transform: scaleY(1); }
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(8, 132, 237, 0.2);
}
.step-num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}
.step-num-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.step-num-text {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.step-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}
.step-connector {
  display: none;
}
@media (min-width: 768px) {
  .step-connector {
    display: block;
    position: absolute;
    top: 70px;
    right: -20px;
    color: #0884ed;
    font-size: 22px;
    font-weight: 700;
    opacity: 0.5;
  }
}

/* ============================================
   4. PROBLEM / SOLUTION (Smarter Way)
   ============================================ */
.problem-solution {
  padding: 96px 0;
  background: linear-gradient(160deg, #022a8e 0%, #011d5e 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.problem-solution::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;
}
.problem-solution::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1, 16, 64, 0.92), rgba(2, 42, 142, 0.85));
}
.problem-solution .container {
  position: relative;
  z-index: 2;
}
.problem-solution .section-heading {
  color: #ffffff;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #0d78b0;
  margin-bottom: 16px;
}
.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
  align-items: start;
}
@media (max-width: 1024px) {
  .ps-grid { grid-template-columns: 1fr; gap: 40px; }
}
.ps-problem,
.ps-solution {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 28px;
  backdrop-filter: blur(4px);
}
.ps-problem h3,
.ps-solution h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.01em;
}
.ps-problem h3 { color: #f87171; }
.ps-solution h3 { color: #34d399; }
.ps-list {
  list-style: none;
}
.ps-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}
.ps-list li:last-child { border-bottom: none; }
.ps-icon-x {
  width: 22px;
  height: 22px;
  background: rgba(239, 68, 68, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #f87171;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}
.ps-icon-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   5. BENEFITS (Zigzag Alternating Layout)
   ============================================ */
.benefits { background: var(--white); }
.zigzag-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.zigzag-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border-light);
}
.zigzag-row:last-child { border-bottom: none; }
@media (min-width: 768px) {
  .zigzag-row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .zigzag-row.reverse .zigzag-icon { order: -1; }
}
.zigzag-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.zigzag-icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.zigzag-row:hover .zigzag-icon img {
  transform: scale(1.06);
}
.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;
}
@media (max-width: 767px) {
  .zigzag-row { padding: 40px 0; text-align: center; }
  .zigzag-icon { padding: 0 0 20px; }
  .zigzag-text p { max-width: 100%; }
}

/* ============================================
   CTA BANNER (repeated)
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, #0672d0 0%, #044aaf 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .cta-banner h2 { font-size: 40px; }
}
.cta-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}
.cta-banner .btn-primary {
  background: var(--white);
  color: var(--navy);
  font-size: 16px;
  padding: 17px 40px;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  animation: none;
}
.cta-banner .btn-primary:hover { background: #f0f4f8; box-shadow: 0 6px 24px rgba(0,0,0,0.2); transform: translateY(-1px); }


/* ============================================
   7. WHO WE SERVE (3 Persona Self-Identification)
   ============================================ */
.who-we-serve { background: var(--off-white); }
.persona-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) {
  .persona-grid { grid-template-columns: repeat(3, 1fr); }
}
.persona-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 28px 36px;
  border: 1px solid var(--border-light);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-align: center;
  display: flex;
  flex-direction: column;
}
.persona-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--navy));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-smooth);
}
.persona-card:hover::before { transform: scaleY(1); }
.persona-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(8, 132, 237, 0.2);
}
.persona-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}
.persona-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.persona-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.2;
}
.persona-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.persona-fit {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}
.persona-fit li {
  font-size: 13.5px;
  color: var(--text-body);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.persona-fit li::before {
  content: '✓';
  color: #10b981;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}
.persona-fit {
  flex: 1;
}
.persona-btn {
  border-radius: 50px;
  font-size: 13px;
  padding: 12px 28px;
  margin-top: auto;
  align-self: center;
}

/* ============================================
   INLINE CTA (Split Layout Variation)
   ============================================ */
.inline-cta {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}
.inline-cta::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;
}
.inline-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1, 16, 64, 0.92), rgba(2, 42, 142, 0.85));
}
.inline-cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .inline-cta-inner { grid-template-columns: 1.2fr 0.8fr; }
}
.inline-cta-text h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
@media (min-width: 768px) {
  .inline-cta-text h2 { font-size: 36px; }
}
.inline-cta-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}
.inline-cta-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
@media (min-width: 768px) {
  .inline-cta-action { align-items: flex-end; text-align: right; }
}
.inline-cta-action .btn-primary {
  font-size: 16px;
  padding: 18px 40px;
}
.inline-cta-note {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

/* ============================================
   URGENCY PANEL
   ============================================ */
.urgency {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.urgency-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.urgency-icon {
  font-size: 40px;
  margin-bottom: 20px;
}
.urgency h2 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
@media (min-width: 768px) {
  .urgency h2 { font-size: 38px; }
}
.urgency p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}
.urgency .btn-primary {
  font-size: 16px;
  padding: 17px 40px;
}

/* ============================================
   TESTIMONIALS CAROUSEL
   ============================================ */
.testimonials {
  background: linear-gradient(160deg, #022a8e 0%, #011d5e 100%);
  position: relative;
  overflow: hidden;
}
.testimonials::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;
}
.testimonials::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1, 16, 64, 0.92), rgba(2, 42, 142, 0.85));
}
.testimonials .container { position: relative; z-index: 2; }
.testimonials .eyebrow { color: #5eb8ff; }
.testimonials .section-heading { color: #ffffff; }
.testimonials .section-sub { color: rgba(255,255,255,0.7); }

/* Google trust badge */
.google-trust {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 40px;
  padding: 10px 24px 10px 16px;
  margin-bottom: 12px;
  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: 28px;
  height: 28px;
  flex-shrink: 0;
}
.google-trust-info {
  display: flex;
  flex-direction: column;
}
.google-trust-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}
.google-trust-score {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}
.google-trust-stars {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 1px;
}
.google-trust-count {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* Carousel */
.carousel-viewport {
  overflow: hidden;
  margin: 0 -12px;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel-slide {
  min-width: 100%;
  padding: 0 12px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .carousel-slide { min-width: 33.333%; }
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  backdrop-filter: blur(4px);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial-stars {
  color: #fbbf24;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-quote {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}
.testimonial-role {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.testimonial-time {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 2px;
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.carousel-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.carousel-dot.active {
  background: var(--blue-bright);
  width: 28px;
  border-radius: 5px;
}

/* ============================================
   9. COMPARISON TABLE
   ============================================ */
.comparison { background: var(--white); }
.comp-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.comp-table thead th {
  padding: 18px 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  background: var(--off-white);
  border-bottom: 2px solid var(--border-light);
}
.comp-table thead th:first-child { width: 30%; }
.comp-table thead th.highlight {
  background: #022a8e;
  color: #ffffff;
  position: relative;
}
.comp-table thead th.highlight::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  background: #0884ed;
  color: #ffffff;
  padding: 3px 12px;
  border-radius: 0 0 6px 6px;
}
.comp-table tbody td {
  padding: 16px 24px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
}
.comp-table tbody td.highlight {
  background: rgba(2,42,142,0.03);
  color: #022a8e;
  font-weight: 600;
}
.comp-table tbody tr:last-child td { border-bottom: none; }
.check { color: #10b981; font-weight: 700; }
.x-mark { color: #ccc; }

/* ============================================
   10. FAQ
   ============================================ */
.faq { background: var(--off-white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.3s ease;
  background: var(--white);
}
.faq-item:hover {
  border-color: var(--blue);
}
.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(--text-primary);
  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(8, 132, 237, 0.06);
}
.faq-icon {
  width: 28px;
  height: 28px;
  background: rgba(8, 132, 237, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0884ed;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q {
  background: rgba(8, 132, 237, 0.06);
}
.faq-item.open .faq-q .faq-icon {
  background: #0884ed;
  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: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   11. GUARANTEE
   ============================================ */
.guarantee {
  background: linear-gradient(160deg, rgba(2,42,142,0.95) 0%, rgba(1,29,94,0.97) 100%),
              url('https://storage.googleapis.com/msgsndr/aKgwHOki1nDlPYj6cgVQ/media/68d18c0483739ae82572243b.webp') center/cover no-repeat;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.guarantee::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,144,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.guarantee-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 2;
}
.guarantee-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.guarantee h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .guarantee h2 { font-size: 40px; }
}
.guarantee p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* ============================================
   12. FINAL CTA (Qualification + CTA Hybrid)
   ============================================ */
.final-cta {
  background: var(--white);
  text-align: center;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 18px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .final-cta h2 { font-size: 44px; }
}
.qual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 48px;
  margin-bottom: 48px;
  text-align: left;
}
@media (min-width: 768px) {
  .qual-grid { grid-template-columns: 1fr 1fr; }
}
.qual-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}
.qual-card h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.qual-card.fit h3 { color: #10b981; }
.qual-card.also h3 { color: var(--blue); }
.qual-list {
  list-style: none;
}
.qual-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-body);
}
.qual-list li:last-child { border-bottom: none; }
.qual-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}
.qual-card.fit .qual-check { background: #10b981; }
.qual-card.also .qual-check { background: var(--blue); }
.final-cta-bottom {
  text-align: center;
}
.final-cta-bottom .btn-primary {
  font-size: 16px;
  padding: 17px 40px;
}

/* LATEST INSIGHTS */
.insights { background: var(--white); }
.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .insights-grid { grid-template-columns: repeat(3, 1fr); }
}
.insight-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(1, 16, 64, 0.08);
}
.insight-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.insight-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.25;
}
.insight-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}


/* ============================================
   APPLICATION MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  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;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.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 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}
.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); }

/* Left panel */
.modal-left {
  position: relative;
  width: 40%;
  background: linear-gradient(160deg, #011d5e 0%, #011040 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;
  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);
}

/* Right panel — form */
.modal-form {
  position: relative;
  width: 60%;
  background: #fff;
  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-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;
}

/* 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;
}
.form-consent input.error {
  outline: 2px solid #e74c3c;
  outline-offset: 2px;
}
.form-consent input.error + label {
  color: #e74c3c;
}

/* 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 message */
.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; }

/* 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);
}

/* 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;
}

/* Responsive */
@media (max-width: 768px) {
  .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;
  }
}
