/* ==========================================================================
   AutoRebuildFax — Landing page (welcome.blade.php)
   Prefix: hp-* (home page)
   ========================================================================== */

/* ── Header overrides ────────────────────────────────────────────────── */
.main-header.style2 .header-account { gap: 8px; }
.main-header.style2 .header-account .register { margin-right: 4px; }
.main-header.style2 .flat-bt-top .sc-button {
  border-radius: 8px;
  box-shadow: 0 6px 18px -8px rgba(138,26,31,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.main-header.style2 .flat-bt-top .sc-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(138,26,31,.7);
}
.main-header.style2 .arf-header-inspect {
  min-height: 40px;
  padding: 8px 16px;
  font-size: .85rem;
  border-radius: 8px;
  margin-right: 8px;
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hp-hero {
  background: linear-gradient(135deg, #21252f 0%, #171a21 100%);
  position: relative;
  overflow: hidden;
  padding: 140px 0 0;
}
.hp-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,26,31,.22) 0%, transparent 68%);
  pointer-events: none;
}
.hp-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -100px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,26,31,.10) 0%, transparent 70%);
  pointer-events: none;
}
.hp-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.hp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 52px;
  align-items: center;
  padding-bottom: 64px;
}
.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  font-size: .70rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  margin-bottom: 22px;
}
.hp-eyebrow i { color: #14a077; font-size: .88rem; }
.hp-hero-h1 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.022em;
  color: #fff;
  margin: 0 0 20px;
}
.hp-hero-accent { color: #c2474d; }
.hp-hero-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.68;
  color: rgba(255,255,255,.64);
  margin: 0 0 32px;
  max-width: 520px;
}
.hp-hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}
.hp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: #8a1a1f;
  color: #fff;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 24px -8px rgba(138,26,31,.55);
}
.hp-btn-primary:hover {
  background: #a51f25;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(138,26,31,.65);
  color: #fff;
  text-decoration: none;
}
.hp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.86);
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.14);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.hp-btn-secondary:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.26);
  color: #fff;
  text-decoration: none;
}
.hp-hero-stats {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
}
.hp-stat { flex: 1; text-align: center; }
.hp-stat:first-child { text-align: left; }
.hp-stat-div {
  width: 1px; height: 36px;
  background: rgba(255,255,255,.10);
  flex: 0 0 auto;
}
.hp-stat-num {
  display: block;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.hp-stat-label {
  display: block;
  font-size: .74rem;
  color: rgba(255,255,255,.46);
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* Trust pills variant (replaces stat numbers) */
.hp-trust-pill {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center !important;
}
.hp-trust-pill:first-child { text-align: center !important; }
.hp-trust-icon {
  font-size: 1.25rem;
  color: rgba(255,255,255,.55);
  display: block;
  line-height: 1;
}
.hp-trust-pill .hp-stat-label {
  text-transform: none;
  letter-spacing: 0;
  font-size: .76rem;
  line-height: 1.45;
  color: rgba(255,255,255,.42);
}

/* VIN card (right side of hero) */
.hp-vin-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hp-vin-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.hp-vin-head-icon { font-size: 1.75rem; color: #8a1a1f; flex: 0 0 auto; margin-top: 2px; }
.hp-vin-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 3px;
  line-height: 1.25;
}
.hp-vin-subtitle {
  font-size: .80rem;
  color: rgba(255,255,255,.50);
  line-height: 1.45;
  margin: 0;
}
.hp-vin-form { margin-bottom: 0; }
.hp-vin-row { display: flex; gap: 0; margin-bottom: 8px; }
.hp-vin-input {
  flex: 1; min-width: 0;
  height: 46px;
  padding: 0 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: #fff;
  font-size: .85rem;
  font-family: 'JetBrains Mono', 'Fira Mono', 'Courier New', monospace;
  letter-spacing: .07em;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.hp-vin-input::placeholder { color: rgba(255,255,255,.28); }
.hp-vin-input:focus {
  background: rgba(255,255,255,.10);
  border-color: rgba(138,26,31,.55);
}
.hp-vin-btn {
  flex: 0 0 46px; width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #8a1a1f; color: #fff;
  border: none; border-radius: 0 8px 8px 0;
  cursor: pointer; font-size: 1.05rem;
  transition: background .2s ease;
}
.hp-vin-btn:hover:not([disabled]) { background: #a51f25; }
.hp-vin-btn--disabled { opacity: .42; cursor: not-allowed; }
.hp-vin-error { font-size: .76rem; color: #e05a5a; margin: 0 0 8px; }
.hp-vin-stages {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 18px;
  margin-top: 16px;
}
.hp-vin-stage {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .80rem;
  color: rgba(255,255,255,.52);
}
.hp-vin-stage i { color: #14a077; font-size: .88rem; }

/* ── Rebuild Journey ──────────────────────────────────────────────────── */
.hp-journey {
  background: #f5f5f7;
  padding: 76px 0;
}
.hp-journey-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}
.hp-section-title {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -.022em;
  color: #24272c;
  margin: 0 0 10px;
}
.hp-section-title::after {
  content: '';
  display: block;
  width: 40px; height: 3px;
  background: #8a1a1f;
  border-radius: 100px;
  margin-top: 12px;
}
.hp-section-sub {
  font-size: .95rem;
  color: #696665;
  line-height: 1.68;
  margin: 10px 0 44px;
  max-width: 580px;
}
.hp-journey-header { margin-bottom: 0; }

/* Step tabs */
.hp-journey-steps {
  display: flex;
  align-items: stretch;
  gap: 6px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #e8e8eb;
  border-radius: 12px;
  padding: 6px;
}
.hp-journey-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background .22s ease, color .22s ease;
  text-align: left;
  color: #8e8e93;
}
.hp-journey-step:hover { background: rgba(138,26,31,.05); color: #24272c; }
.hp-journey-step.is-active {
  background: linear-gradient(135deg, #21252f 0%, #171a21 100%);
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(23,26,33,.38);
}
.hp-journey-step-num {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .1em;
  opacity: .45;
  line-height: 1;
  align-self: flex-start;
  margin-top: 2px;
}
.hp-journey-step.is-active .hp-journey-step-num { opacity: .55; }
.hp-journey-step-icon {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 7px;
  background: rgba(138,26,31,.08);
  color: #8a1a1f;
  font-size: .95rem;
  flex: 0 0 auto;
  transition: background .2s ease, color .2s ease;
}
.hp-journey-step.is-active .hp-journey-step-icon {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.hp-journey-step-name {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.25;
  color: inherit;
}

/* Panels */
.hp-journey-panel {
  display: none;
  background: #fff;
  border: 1px solid #e8e8eb;
  border-radius: 16px;
  padding: 36px;
  align-items: flex-start;
  gap: 28px;
}
.hp-journey-panel.is-active {
  display: flex;
  animation: hp-fade-in .3s ease;
}
@keyframes hp-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hp-journey-panel-icon {
  flex: 0 0 54px;
  width: 54px; height: 54px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #21252f 0%, #2c313d 100%);
  color: #fff;
  font-size: 1.55rem;
  position: relative;
  overflow: hidden;
}
.hp-journey-panel-icon::after {
  content: '';
  position: absolute;
  top: -10px; right: -10px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(138,26,31,.28);
}
.hp-journey-panel-content { flex: 1; min-width: 0; }
.hp-journey-panel-title {
  font-size: 1.10rem;
  font-weight: 700;
  color: #24272c;
  margin: 0 0 10px;
}
.hp-journey-panel-text {
  font-size: .91rem;
  color: #696665;
  line-height: 1.70;
  margin: 0 0 18px;
}
.hp-journey-panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.hp-journey-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  background: #f4f4f6;
  border-radius: 100px;
  font-size: .76rem;
  font-weight: 500;
  color: #24272c;
}
.hp-journey-tag i { color: #8a1a1f; font-size: .82rem; }

/* ── Trust Strip ─────────────────────────────────────────────────────── */
.hp-trust {
  background: #fff;
  border-top: 1px solid #ededed;
  border-bottom: 1px solid #ededed;
}
.hp-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 32px 0;
}
.hp-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 8px 32px;
  border-right: 1px solid #ededed;
}
.hp-trust-item:last-child { border-right: none; }
.hp-trust-icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(138,26,31,.07);
  color: #8a1a1f;
  font-size: 1.25rem;
}
.hp-trust-title {
  font-size: .95rem;
  font-weight: 700;
  color: #24272c;
  margin: 0 0 4px;
}
.hp-trust-text {
  font-size: .84rem;
  color: #696665;
  line-height: 1.55;
  margin: 0;
}

/* ── Generic section heading (car makes carousel etc.) ───────────────── */
.heading-section h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -.022em;
  color: #24272c;
}
.heading-section h2::after {
  content: '';
  display: block;
  width: 40px; height: 3px;
  margin-top: 12px;
  border-radius: 100px;
  background: #8a1a1f;
}
.tf-section .heading-section { text-align: center; }
.tf-section .heading-section h2::after { margin-left: auto; margin-right: auto; }
.heading-section p { color: #696665; }

/* ── How It Works ────────────────────────────────────────────────────── */
.hp-how { padding: 76px 0; background: #fff; }
.hp-how-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}
.hp-how-header { max-width: 560px; margin-bottom: 48px; }
.hp-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}
.hp-how-card {
  background: #f5f5f7;
  border: 1px solid #e8e8eb;
  border-radius: 16px;
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.hp-how-card:hover {
  background: #fff;
  border-color: #ddd;
  transform: translateY(-4px);
  box-shadow: 0 14px 44px -10px rgba(36,39,44,.10);
}
.hp-how-icon {
  width: 50px; height: 50px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(138,26,31,.08);
  color: #8a1a1f;
  font-size: 1.45rem;
  margin-bottom: 18px;
  transition: background .2s ease;
}
.hp-how-card:hover .hp-how-icon { background: rgba(138,26,31,.14); }
.hp-how-title { font-size: .97rem; font-weight: 700; color: #24272c; margin: 0 0 10px; }
.hp-how-title a { color: inherit; text-decoration: none; transition: color .2s ease; }
.hp-how-title a:hover { color: #8a1a1f; text-decoration: none; }
.hp-how-text { font-size: .87rem; color: #696665; line-height: 1.66; margin: 0 0 18px; }
.hp-how-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .83rem; font-weight: 700; color: #8a1a1f;
  text-decoration: none; transition: gap .2s ease;
}
.hp-how-link:hover { gap: 9px; color: #8a1a1f; text-decoration: none; }
.hp-how-ctas {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.hp-link-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .9rem; font-weight: 600; color: #24272c;
  text-decoration: none; transition: gap .2s ease, color .2s ease;
}
.hp-link-cta:hover { gap: 10px; color: #8a1a1f; text-decoration: none; }

/* ── Get Started ─────────────────────────────────────────────────────── */
.hp-start { padding: 76px 0; background: #f5f5f7; }
.hp-start-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}
.hp-start-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}
.hp-start-header .hp-section-title::after { margin-left: auto; margin-right: auto; }
.hp-start-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hp-start-card {
  background: #fff;
  border: 1px solid #e8e8eb;
  border-radius: 16px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hp-start-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px -10px rgba(36,39,44,.10);
  border-color: #ddd;
}
.hp-start-icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: rgba(138,26,31,.07);
  color: #8a1a1f;
  font-size: 1.35rem;
  margin-bottom: 16px;
  transition: background .2s ease;
}
.hp-start-card:hover .hp-start-icon { background: rgba(138,26,31,.13); }
.hp-start-title { font-size: .95rem; font-weight: 700; color: #24272c; margin: 0 0 8px; }
.hp-start-title a { color: inherit; text-decoration: none; transition: color .2s ease; }
.hp-start-title a:hover { color: #8a1a1f; text-decoration: none; }
.hp-start-text { font-size: .84rem; color: #696665; line-height: 1.60; margin: 0 0 20px; flex: 1; }
.hp-start-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .82rem; font-weight: 700; color: #8a1a1f;
  text-decoration: none; transition: gap .2s ease;
}
.hp-start-link:hover { gap: 9px; color: #8a1a1f; text-decoration: none; }

/* ── Banner section ──────────────────────────────────────────────────── */
.tf-section-banner .tf-image-box.style1 {
  border-radius: 14px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tf-section-banner .tf-image-box.style1:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px -10px rgba(36,39,44,.18);
}
.tf-section-banner .tf-image-box .find-cars {
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap .2s ease;
}
.tf-section-banner .tf-image-box .find-cars:hover { gap: 14px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
#footer .box-footer-top .icon { color: #8a1a1f; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hp-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hp-vin-card { max-width: 500px; }
  .hp-hero-h1 { max-width: 660px; }
  .hp-hero-sub { max-width: 100%; }
  .hp-start-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .main-header.style2 .flat-bt-top { display: none; }
  .hp-hero { padding: 110px 0 0; }
  .hp-hero-grid { padding-bottom: 48px; }
  .hp-journey-steps {
    flex-direction: column;
    gap: 4px;
  }
  .hp-journey-panel { flex-direction: column; gap: 18px; }
  .hp-trust-grid { grid-template-columns: 1fr; }
  .hp-trust-item {
    border-right: none;
    border-bottom: 1px solid #ededed;
    padding: 18px 16px;
  }
  .hp-trust-item:last-child { border-bottom: none; }
  .hp-how-grid { grid-template-columns: 1fr; }
  .hp-start-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .hp-hero-ctas { flex-direction: column; align-items: flex-start; }
  .hp-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding-top: 20px;
  }
  .hp-stat-div { display: none; }
  .hp-stat { flex: none; text-align: center; }
  .hp-stat:first-child { text-align: center; }
  /* VIN card full-width on mobile */
  .hp-vin-card { max-width: 100%; padding: 20px; }
  .hp-vin-head { margin-bottom: 16px; gap: 10px; }
  .hp-vin-head-icon { font-size: 1.45rem; }
  .hp-vin-title { font-size: .95rem; }
  .hp-vin-input {
    height: 50px;
    font-size: .80rem;
    letter-spacing: .04em;
    padding: 0 11px;
  }
  .hp-vin-btn {
    flex: 0 0 50px; width: 50px; height: 50px;
    font-size: .95rem;
  }
  .hp-vin-stages { margin-top: 12px; padding-top: 14px; gap: 7px; }
  .hp-vin-stage { font-size: .76rem; }
  .hp-how-grid { grid-template-columns: 1fr; }
  .hp-start-grid { grid-template-columns: 1fr; }
  .tf-section-banner .tf-image-box.style1 { margin-bottom: 16px; }
}

@media (max-width: 480px) {
  .hp-stat-num { font-size: clamp(18px, 5vw, 26px); }
  .hp-stat-label { font-size: .64rem; letter-spacing: .05em; }
  .hp-vin-card { padding: 16px; border-radius: 12px; }
  .hp-vin-subtitle { font-size: .74rem; }
  .hp-vin-input { font-size: .76rem; letter-spacing: .02em; }
}

@media (max-width: 575px) {
  .main-header.style2 .arf-header-inspect { display: none; }
  .hp-journey-steps { background: transparent; border: none; padding: 0; gap: 6px; }
  .hp-journey-step {
    background: #fff;
    border: 1px solid #e8e8eb;
    border-radius: 10px;
    padding: 12px 14px;
  }
  .hp-journey-panel { padding: 22px 18px; }
  .hp-journey-panel-icon { width: 46px; height: 46px; font-size: 1.3rem; }
  .hp-how-card { padding: 22px; }
  .hp-start-card { padding: 20px 18px; }
}
