/* ============================================================
   Variant I — duplicate of G with CTA "Check my rate"
   Same visual design as G; only intro CTA text differs (in KV config)
   ============================================================ */

/* ── Benefit rows — all breakpoints ─────────────────────── */
.variant-perks-rows-i {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 0 0 24px;
}
.variant-perk-row-i {
  background: #f6f6f6;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}
.variant-perk-row-label-i {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.32px;
  text-transform: uppercase;
  color: #6e6e73;
  line-height: 1.15;
}
.variant-perk-row-value-i {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.48px;
  color: #1c1c1e;
  line-height: 1.15;
}

/* Mobile-only line break in subtitle — hidden on desktop */
.i-mobile-break {
  display: none;
}

/* ── Heading elements — desktop base (eyebrow hidden, headline matches F) ── */
.variant-i-heading-wrap {
  text-align: center;
  width: 100%;
  margin-bottom: 18px;
}
.variant-i-eyebrow {
  display: none;
}
.variant-i-headline {
  font-size: 29px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #1c1c1e;
  text-align: center;
  margin: 0;
}

/* ── Desktop baseline — same structure as Variant G ─────── */
.variant-shell-i .variant-card-body-c {
  padding-top: 20px;
}
.variant-shell-i .variant-card-strip-c {
  background: #ffffff;
}
.variant-shell-i .variant-title-c {
  color: #1c1c1e;
  font-weight: 600;
}
.variant-shell-i .variant-subtitle {
  color: #6a655d;
}
.variant-shell-i .variant-cta-b {
  background: #17b465;
  color: #ffffff;
  border-radius: 20px;
  box-shadow: none;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.variant-shell-i .primary-btn.glow-btn {
  background: #17b465 !important;
  color: #ffffff;
  font-weight: 600;
  border-radius: 40px;
  box-shadow: none;
}
.variant-shell-i .form-h2 {
  color: #1c1c1e;
  font-weight: 400;
}

/* ── Stepper row with circle back button — all breakpoints ── */
.variant-shell-i .variant-f-stepper-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 10px;
  margin-bottom: 22px;
}
.variant-shell-i .variant-f-back-circle {
  width: 39px;
  height: 39px;
  min-width: 39px;
  flex-shrink: 0;
  border: 1px solid #efefef;
  border-radius: 41px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #1c1c1e;
  padding: 0;
  transition: background 0.15s;
}
.variant-shell-i .variant-f-back-circle:hover,
.variant-shell-i .variant-f-back-circle:focus-visible {
  background: #f5f5f5;
}
.variant-shell-i .variant-f-back-spacer {
  width: 39px;
  height: 39px;
  min-width: 39px;
  flex-shrink: 0;
}
.variant-shell-i .variant-f-stepper-row .variant-progress-dashes {
  flex: 1;
  width: auto;
  min-width: 0;
  gap: 6px;
  justify-content: center;
}
.variant-shell-i .variant-dash {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 57.866px;
  background: #efefef;
}
.variant-shell-i .variant-dash.active {
  flex: 0 0 24px;
  width: 24px;
  background: #28cd41;
}

/* ── Loan Amount step — same visual style as G, green accent ── */
.variant-shell-i .slider-controls {
  background: #efefef;
  border-radius: 80px;
  gap: 0;
  justify-content: space-between;
  flex-direction: row-reverse;
  padding: 14px;
  margin-bottom: 24px;
}
.variant-shell-i .adjust-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: #ffffff;
  border: none;
  border-radius: 55px;
  padding: 10px;
  font-size: 0;
  color: transparent;
  box-shadow: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
}
.variant-shell-i .adjust-btn:hover,
.variant-shell-i .adjust-btn:focus-visible {
  background-color: #f5f5f5;
  border-color: transparent;
}
.variant-shell-i .slider-controls .adjust-btn:first-child {
  background-image: url('/assets/variant-f/plus-01.svg');
}
.variant-shell-i .slider-controls .adjust-btn:last-child {
  background-image: url('/assets/variant-f/Minus%20Button%20Icon.svg');
}
.variant-shell-i .val-hero {
  color: #241c11;
  font-weight: 700;
  letter-spacing: -2px;
  min-width: auto;
}
.variant-shell-i .form-h2 {
  color: #241c11;
  font-weight: 500;
}
.variant-shell-i .zen-range {
  height: 24px;
  border-radius: 80px;
  margin-bottom: 24px;
  background: linear-gradient(
    to right,
    rgba(23, 180, 101, 0.4) 0%,
    rgba(23, 180, 101, 0.4) var(--range-progress, 0%),
    #efefef var(--range-progress, 0%),
    #efefef 100%
  ) !important;
}
.variant-shell-i .zen-range::-webkit-slider-runnable-track {
  height: 24px;
  border-radius: 80px;
}
.variant-shell-i .zen-range::-webkit-slider-thumb {
  background: #17b465 !important;
  border: none !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 55px !important;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25) !important;
  margin-top: -10px !important;
}
.variant-shell-i .zen-range::-moz-range-thumb {
  background: #17b465 !important;
  border: none !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 55px !important;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25) !important;
}

/* ── Mobile overrides — Figma pixel-exact ────────────────── */
@media (max-width: 768px) {
  body:has(.variant-shell-i) {
    background: #ffffff;
  }

  /* Progress dots (Figma: circles + active pill) */
  .variant-shell-i .variant-progress-wrap-dash {
    margin-bottom: 18px;
  }
  .variant-shell-i .variant-progress-dashes {
    gap: 6px;
    justify-content: center;
  }
  .variant-shell-i .variant-dash {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    border-radius: 57.866px;
    background: #efefef;
  }
  .variant-shell-i .variant-dash.active {
    flex: 0 0 24px;
    width: 24px;
    background: #28cd41;
  }

  /* Card — flush, white, no forced height */
  .variant-shell-i .variant-card,
  .variant-shell-i .variant-card-c {
    background: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    min-height: 0 !important;
  }

  body:has(.variant-shell-i) .zen-container {
    min-height: 0;
    flex: 0 0 auto;
    padding: 0;
  }

  /* Logo strip — white */
  .variant-shell-i .variant-card-strip-c {
    background: #ffffff !important;
    min-height: 64px;
  }

  /* Logo — fixed Figma size on mobile */
  .variant-shell-i .variant-logo-inside {
    width: 236px;
    height: 51px;
  }

  /* Card body */
  .variant-shell-i .variant-card-body-c {
    background: #ffffff !important;
    padding: 20px 20px 32px;
    margin-bottom: 20vh;
  }

  /* Eyebrow + headline wrapper */
  .variant-i-heading-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 0 0 12px;
    width: 100%;
    text-align: center;
  }

  /* "GET YOUR" eyebrow — shown on mobile only */
  .variant-i-eyebrow {
    display: block;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.45;
    text-transform: uppercase;
    color: #1c1c1e;
    text-align: center;
    margin: 0;
  }

  /* "Personal Loan in minutes" — Figma 40px semibold, two lines */
  .variant-i-headline {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 45px;
    letter-spacing: -1px;
    color: #1c1c1e;
    text-align: center;
    margin: 0;
  }

  /* Subtitle */
  .variant-shell-i .variant-subtitle {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.45;
    color: #6a655d;
    text-align: center;
    margin: 0 0 24px;
    max-width: none;
  }

  .variant-shell-i .i-mobile-break {
    display: inline;
  }

  /* Benefit rows */
  .variant-shell-i .variant-perks-rows-i {
    margin: 0 0 16px;
  }

  /* CTA button */
  .variant-shell-i .variant-cta-b {
    background: #17b465;
    color: #ffffff;
    border-radius: 20px;
    height: auto;
    padding: 26px 24px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.5px;
    box-shadow: none;
    line-height: 1;
  }

  /* Compliance */
  .variant-shell-i .variant-compliance {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: #adadb4;
    text-align: center;
    margin-top: 16px;
  }
  .variant-shell-i .variant-compliance strong,
  .variant-shell-i .variant-compliance a {
    font-weight: 600;
    color: #adadb4;
  }

  /* ── Loan Amount step — mobile pixel sizes ─────────────── */
  .variant-shell-i .form-h2 {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -1px;
    color: #241c11;
    text-align: center;
    margin-bottom: 40px;
  }
  .variant-shell-i .slider-controls {
    margin-bottom: 16px;
  }
  .variant-shell-i .val-hero {
    font-size: 38px;
    line-height: 48px;
    color: #241c11;
  }
  .variant-shell-i .zen-range {
    height: 24px;
    margin-bottom: 16px;
  }
  .variant-shell-i .primary-btn.glow-btn {
    background: #17b465 !important;
    color: #ffffff;
    border-radius: 40px;
    box-shadow: none;
    font-weight: 600;
    margin-top: 24px;
  }
  .variant-shell-i .back-btn {
    color: #6a655d;
  }
  .variant-shell-i .back-btn:hover,
  .variant-shell-i .back-btn:focus-visible {
    color: #1c1c1e;
  }
}
