/* =========================================================
   FINANCE.CSS — finance.html only
   .btn styles live in style.css — not repeated here
   ========================================================= */

.finance-main { padding: 40px 0 60px; }

/* ── Header ─────────────────────────────────────────────── */
.finance-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}
.finance-kicker {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.finance-title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.finance-desc {
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

/* ── Calculator card ────────────────────────────────────── */
.calc-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  padding: 28px;
}

.calc-bike-row { margin-bottom: 24px; }
.calc-bike-row .calc-field { max-width: 420px; }

.calc-label {
  display: block;
  font-weight: 900;
  font-size: 14px;
  color: rgba(255,255,255,.82);
  margin-bottom: 8px;
}

/* Field wrapper */
.calc-field {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.calc-field:focus-within {
  border-color: rgba(111,178,255,.50);
  box-shadow: 0 0 0 3px rgba(47,124,255,.18);
}

.calc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-width: 46px;
  height: 48px;
  background: rgba(255,255,255,.04);
  border-right: 1px solid rgba(255,255,255,.10);
  font-size: 16px;
  color: rgba(255,255,255,.55);
}
.calc-icon--blue { color: var(--blue); font-weight: 900; font-size: 17px; }

.calc-input {
  flex: 1;
  padding: 12px 14px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  outline: none;
  min-width: 0;
}
.calc-input::placeholder { color: rgba(255,255,255,.30); }
.calc-input::-webkit-inner-spin-button,
.calc-input::-webkit-outer-spin-button { opacity: .4; }

.calc-suffix {
  padding: 0 14px 0 4px;
  color: rgba(255,255,255,.50);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.calc-select {
  flex: 1;
  padding: 12px 40px 12px 14px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.calc-select option { background: #0b1426; color: #fff; }
.calc-arrow {
  position: absolute;
  right: 14px;
  color: rgba(255,255,255,.55);
  pointer-events: none;
  font-size: 13px;
}

/* Slider */
.calc-slider {
  width: 100%;
  margin-top: 10px;
  accent-color: var(--blue);
  height: 4px;
  cursor: pointer;
}
.calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.40);
  margin-top: 4px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 26px;
}
@media (max-width: 640px) { .calc-grid { grid-template-columns: 1fr; } }

/* ── Results bar ────────────────────────────────────────── */
.result-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  background: rgba(47,124,255,.08);
  border: 1px solid rgba(47,124,255,.25);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 18px;
}
.result-item   { text-align: center; padding: 4px 12px; }
.result-label  {
  font-size: 12px;
  font-weight: 900;
  color: rgba(255,255,255,.60);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}
.result-value  { font-size: 22px; font-weight: 900; color: #fff; letter-spacing: -0.02em; }
.result-value.has-value { color: var(--blue); }
.result-divider { width: 1px; height: 44px; background: rgba(255,255,255,.12); }

@media (max-width: 760px) {
  .result-bar { grid-template-columns: 1fr 1fr; gap: 16px; }
  .result-divider { display: none; }
}
@media (max-width: 440px) { .result-bar { grid-template-columns: 1fr; } }

/* ── Breakdown bar ──────────────────────────────────────── */
.breakdown-wrap { margin-bottom: 18px; }
.breakdown-bar {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  margin-bottom: 10px;
}
.breakdown-principal {
  background: var(--blue);
  border-radius: 999px 0 0 999px;
  transition: width .4s ease;
}
.breakdown-interest {
  background: rgba(255,180,60,.85);
  border-radius: 0 999px 999px 0;
  transition: width .4s ease;
}
.breakdown-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(255,255,255,.65);
}
.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
}
.legend-dot--principal { background: var(--blue); }
.legend-dot--interest  { background: rgba(255,180,60,.85); margin-left: 14px; }

.calc-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,.40);
  line-height: 1.6;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 14px;
}

/* ── CTA strip ──────────────────────────────────────────── */
.finance-cta {
  margin-top: 28px;
  padding: 28px;
  border-radius: 20px;
  background: rgba(47,124,255,.07);
  border: 1px solid rgba(47,124,255,.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.finance-cta__title { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.finance-cta__sub   { color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.6; max-width: 46ch; }
.finance-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
