/* ── INDEX PAGE COMPONENTS ── */
.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 60% 50%, rgba(228, 226, 226, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(197, 196, 196, 0.06) 0%, transparent 50%),
    var(--surface-dark);
  padding: 4rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(228, 226, 226, 0.03) 60px, rgba(228, 226, 226, 0.03) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(228, 226, 226, 0.03) 60px, rgba(228, 226, 226, 0.03) 61px);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(228, 226, 226, 0.15);
  border: 1px solid rgba(228, 226, 226, 0.4);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-tag span {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 7.5vw, 5rem);
  word-break: break-word;
  hyphens: auto;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media(max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
  }

  .hero-btns {
    flex-direction: column;
  }

}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 5rem;
  max-width: 600px;
}

@media(max-width:768px) {
  .hero-stats {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: calc(100% + 2.5rem);
    margin-left: -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .hero-stats::-webkit-scrollbar {
    display: none;
  }

  .hero-stats .stat {
    min-width: 75%;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
}

.stat {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.stat-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px var(--secondary-glow);
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

@media(max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.service-card {
  padding: 2.5rem 2rem;
  border-radius: 20px;
  background: var(--surface-dark);
  border: 1px solid var(--surface-border);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  border-color: rgba(228, 226, 226, 0.4);
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(var(--surface-rgb), 0.6), 0 0 20px rgba(228, 226, 226, 0.1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(228, 226, 226, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--surface-dark);
  box-shadow: 0 0 20px var(--primary-glow);
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.service-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--surface) 100%);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(228, 226, 226, 0.3);
}

.cta-strip::after {
  content: 'SUPERFLOW';
  position: absolute;
  right: -5%;
  bottom: -20px;
  font-family: 'Orbitron', sans-serif;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(var(--text-rgb), 0.04);
  white-space: nowrap;
  pointer-events: none;
}

.cta-strip h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 1rem;
}

.cta-strip p {
  color: rgba(var(--text-rgb), 0.8);
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media(max-width: 640px) {
  .cta-strip {
    padding: 2.5rem 1.25rem;
  }
}


/* ── ABOUT PAGE COMPONENTS ── */
.about-hero {
  background: radial-gradient(ellipse at 30% 50%, rgba(228, 226, 226, 0.15) 0%, transparent 60%), var(--surface-dark);
  padding: 6rem 1.25rem 4rem;
  text-align: center;
}

@media(max-width: 640px) {
  .about-hero {
    padding: 3rem 1rem 2.5rem;
  }
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media(max-width:768px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid rgba(228, 226, 226, 0.3);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 0.25rem;
  width: 14px;
  height: 14px;
  background: var(--secondary);
  border-radius: 50%;
  border: 3px solid var(--surface-dark);
  box-shadow: 0 0 10px var(--secondary-glow);
}

.timeline-year {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.timeline-item h4 {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.timeline-item p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

@media(max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.value-item {
  padding: 2rem 1.5rem;
  background: rgba(197, 196, 196, 0.03);
  border: 1px solid rgba(197, 196, 196, 0.1);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s;
}

.value-item:hover {
  background: rgba(197, 196, 196, 0.06);
  border-color: rgba(197, 196, 196, 0.3);
  transform: translateY(-5px);
}

.value-item .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(197, 196, 196, 0.5));
}

.value-item h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.value-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}


/* ── CONTACT PAGE COMPONENTS ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

@media(max-width:768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--surface-dark);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  margin-bottom: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-method:hover {
  border-color: rgba(197, 196, 196, 0.4);
  transform: translateX(8px);
  box-shadow: 0 10px 20px rgba(var(--surface-rgb), 0.5);
}

.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.contact-method-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.contact-method-value {
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  word-break: break-all;
}

.contact-method-sub {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--surface-dark);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 16px;
  transition: all 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(var(--text-rgb), 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: var(--surface);
}

.form-group select option {
  background: var(--surface);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media(max-width:600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.form-success h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.form-success p {
  color: var(--muted);
  line-height: 1.7;
}

.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wa-float:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.wa-float svg {
  width: 32px;
  height: 32px;
  fill: var(--text);
}

/* -- VEHICLE LOOKUP PAGE COMPONENTS -- */
#vpl-wrapper {
  padding: 2rem 1.25rem;
  flex: 1;
}

@media(max-width: 640px) {
  #vpl-wrapper {
    padding: 1.25rem 0.75rem;
  }
}

.glass-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(var(--surface-rgb), 0.5);
}

.accent-glow {
  position: relative;
}

.accent-glow::after {
  content: '';
  position: absolute;
  inset: -5px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  filter: blur(15px);
  opacity: 0.5;
  z-index: -1;
}

.perf-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-dark));
  border: 1px solid rgba(var(--text-rgb), 0.1);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(var(--surface-rgb), 0.8), 0 0 0 1px rgba(var(--text-rgb), 0.05);
  transition: all 0.4s ease;
}

.perf-card:hover {
  border-color: rgba(228, 226, 226, 0.4);
  box-shadow: 0 25px 60px rgba(var(--surface-rgb), 0.9), 0 0 30px rgba(228, 226, 226, 0.15);
}

.watermark-overlay {
  position: absolute;
  right: -5%;
  bottom: -5%;
  pointer-events: none;
  opacity: 0.03;
  font-family: 'Orbitron', sans-serif;
  transform: rotate(-10deg);
  user-select: none;
}

.watermark-text span {
  display: block;
  font-size: 6rem;
  font-weight: 900;
  line-height: 0.8;
  white-space: nowrap;
}

.perf-header {
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(228, 226, 226, 0.2);
  background: rgba(var(--text-rgb), 0.02);
}

@media(max-width:768px) {
  .perf-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

@media(max-width:480px) {
  .perf-header {
    padding: 1.25rem 1rem;
  }
}

.perf-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.perf-logo-box {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--surface-border));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(228, 226, 226, 0.3);
}

.perf-brand-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 2px;
}

.perf-brand-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  color: var(--secondary);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.perf-vehicle-info p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.perf-vehicle-info span {
  color: var(--text);
  font-weight: 700;
}

.perf-title-bar {
  padding: 1.5rem 2.5rem;
  background: rgba(var(--surface-rgb), 0.4);
  border-bottom: 1px solid rgba(var(--text-rgb), 0.05);
}

.perf-title-bar h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 1px;
}

@media(max-width:480px) {
  .perf-title-bar {
    padding: 1rem;
  }
}

/* ── PERFORMANCE TABLE — MOBILE RESPONSIVE ── */
.perf-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.perf-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.perf-table th {
  padding: 1.25rem 2.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  background: rgba(var(--text-rgb), 0.02);
  border-bottom: 1px solid rgba(var(--text-rgb), 0.1);
}

.perf-table td {
  padding: 1.5rem 2.5rem;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(var(--text-rgb), 0.05);
}

.perf-table .bold-col {
  font-weight: 700;
  color: var(--text);
  background: rgba(var(--text-rgb), 0.02);
}

/* Transform 4-column table to 2x2 card grid on mobile — no horizontal scroll needed */
@media(max-width: 640px) {
  .perf-table-wrap {
    overflow-x: visible;
  }

  .perf-table {
    display: block;
  }

  .perf-table thead {
    display: none;
  }

  .perf-table tbody {
    display: block;
  }

  .perf-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(var(--text-rgb), 0.08);
  }

  .perf-table td {
    padding: 1rem 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-right: 1px solid rgba(var(--text-rgb), 0.05);
  }

  .perf-table td:nth-child(2),
  .perf-table td:nth-child(4) {
    border-right: none;
  }

  .perf-table td:nth-child(3),
  .perf-table td:nth-child(4) {
    border-top: 1px solid rgba(var(--text-rgb), 0.05);
  }

  /* Auto-labels from CSS — no HTML data-label attributes needed */
  .perf-table td::before {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
  }

  .perf-table td:nth-child(1)::before {
    content: 'ORIGINAL HP / KW';
  }

  .perf-table td:nth-child(2)::before {
    content: 'HP / KW GAIN';
  }

  .perf-table td:nth-child(3)::before {
    content: 'ORIGINAL TORQUE';
  }

  .perf-table td:nth-child(4)::before {
    content: 'TORQUE GAIN';
  }
}

.perf-footer {
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(var(--surface-rgb), 0.3);
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media(max-width:768px) {
  .perf-footer {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
  }
}

@media(max-width:480px) {
  .perf-footer {
    padding: 1.25rem 1rem;
  }
}

.perf-contact .contact-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.perf-contact p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.perf-contact strong {
  color: var(--text);
}

.perf-output-badge {
  background: rgba(228, 226, 226, 0.1);
  border: 1px solid rgba(228, 226, 226, 0.3);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 25px rgba(228, 226, 226, 0.15);
  width: 100%;
}

@media(min-width: 769px) {
  .perf-output-badge {
    width: auto;
  }
}

.badge-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-row {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.torque-row {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ECU strip */
.ecu-strip {
  background: #000;
  padding: 0.75rem 1.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--primary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

@media(max-width: 480px) {
  .ecu-strip {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
    flex-direction: column;
  }
}

/* Custom Form elements for the lookup page */
.custom-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23aaaaaa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2em;
  font-size: 16px;
  /* prevent iOS zoom */
}

.custom-select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(197, 196, 196, 0.2);
}

.custom-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.search-input {
  font-size: 16px !important;
  /* prevent iOS zoom */
}

.search-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(197, 196, 196, 0.2);
  background: rgba(var(--text-rgb), 0.1);
}

.btn-secondary {
  background: rgba(var(--text-rgb), 0.1);
  color: var(--text);
  border: 1px solid rgba(var(--text-rgb), 0.2);
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(var(--text-rgb), 0.2);
  border-color: rgba(var(--text-rgb), 0.4);
}

.fade-slide-up {
  animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(197, 196, 196, 0.2);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 20px rgba(197, 196, 196, 0.2);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* -- REVIEWS PAGE COMPONENTS -- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media(max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }
}

.stat-box {
  background: var(--surface-dark);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-box .num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(197, 196, 196, 0.3);
}

.stat-box .lbl {
  color: var(--muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.stars {
  color: var(--secondary);
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.featured-review {
  background: var(--surface-dark);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  padding: 3rem;
  margin-bottom: 4rem;
  position: relative;
  box-shadow: 0 15px 40px rgba(var(--surface-rgb), 0.5);
}

@media(max-width: 640px) {
  .featured-review {
    padding: 1.75rem 1.25rem;
    margin-bottom: 2.5rem;
    border-radius: 16px;
  }
}

.featured-tag {
  display: inline-flex;
  background: var(--primary);
  color: var(--text);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.featured-review blockquote {
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-style: italic;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-border);
  border: 2px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

.review-name {
  font-weight: 700;
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.review-vehicle {
  color: var(--muted);
  font-size: 0.9rem;
}

.review-gain {
  background: rgba(197, 196, 196, 0.1);
  color: var(--secondary);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(197, 196, 196, 0.2);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

@media(max-width: 640px) {
  .review-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 3rem;
  }
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--text-rgb), 0.2);
  box-shadow: 0 10px 30px rgba(var(--surface-rgb), 0.5);
}

.review-quote {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: serif;
  font-size: 5rem;
  color: rgba(var(--text-rgb), 0.05);
  line-height: 1;
  pointer-events: none;
}

.review-text {
  color: var(--text);
  line-height: 1.7;
  margin: 1.5rem 0 2rem;
  font-size: 1.05rem;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(var(--text-rgb), 0.05);
  flex-wrap: wrap;
}

.review-footer .review-gain {
  margin-left: auto;
}

.cta-review {
  background: var(--surface-dark);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}

@media(max-width: 640px) {
  .cta-review {
    padding: 1.75rem 1.25rem;
  }
}


/* -- TERMS PAGE COMPONENTS -- */
.updated-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(var(--text-rgb), 0.05);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.toc {
  background: var(--surface-dark);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 4rem;
}

.toc h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.toc ol {
  columns: 2;
  column-gap: 3rem;
  margin-left: 1.5rem;
  color: var(--muted);
}

@media(max-width:600px) {
  .toc ol {
    columns: 1;
  }

  .toc {
    padding: 1.25rem;
    margin-bottom: 2rem;
  }
}

.toc li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

.toc a {
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
  border-bottom: 1px solid transparent;
}

.toc a:hover {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

.terms-section {
  margin-bottom: 4rem;
}

.terms-section h2 {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1rem, 4vw, 1.5rem);
  color: var(--text);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(var(--text-rgb), 0.1);
  padding-bottom: 1rem;
  word-break: break-word;
  line-height: 1.3;
}

.terms-section .num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  width: 32px;
  height: 32px;
  background: rgba(228, 226, 226, 0.15);
  color: var(--primary);
  font-size: 1rem;
  border-radius: 8px;
  flex-shrink: 0;
}

.terms-section p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.terms-section ul,
.terms-section ol {
  color: var(--muted);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.terms-section li {
  margin-bottom: 0.5rem;
}

/* Glass card mobile padding fix for terms */
@media(max-width: 640px) {
  .glass {
    padding: 1.25rem !important;
    border-radius: 14px !important;
  }

  .terms-section {
    margin-bottom: 2.5rem;
  }

  .terms-section h2 {
    font-size: 1rem;
    gap: 0.75rem;
  }

  .terms-section p {
    font-size: 0.95rem;
  }

  .terms-section li {
    font-size: 0.95rem;
  }
}

.warning-box {
  display: flex;
  gap: 1rem;
  background: rgba(197, 196, 196, 0.05);
  border-left: 4px solid var(--secondary);
  padding: 1.5rem;
  border-radius: 0 12px 12px 0;
  margin-bottom: 1.5rem;
}

.warning-box .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.warning-box p {
  margin-bottom: 0;
  color: var(--text);
}


/* Force input legibility */
input,
select,
textarea {
  background-color: var(--surface-dark) !important;
  color: var(--text) !important;
  border: 1px solid var(--surface-border) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted) !important;
}

.review-quote {
  color: var(--surface-border) !important;
}

.review-text {
  color: var(--text) !important;
}

.featured-review blockquote {
  color: var(--text) !important;
}

.btn-primary,
.btn-secondary,
.btn-red,
.btn-yellow,
.btn {
  color: var(--surface-dark) !important;
  background: var(--text) !important;
}

.btn-outline {
  color: var(--text) !important;
  background: transparent !important;
  border: 1px solid var(--text) !important;
}

.btn:hover {
  background: var(--primary) !important;
  color: var(--surface-dark) !important;
}

/* ========================================= */
/* ULTIMATE LEGIBILITY & THEME CONFORMANCE   */
/* ========================================= */
body {
  background: var(--surface) !important;
  color: var(--text) !important;
}

section[style*="background"] {
  background: var(--surface-dark) !important;
}

.service-card {
  background: var(--surface-dark) !important;
  border: 1px solid var(--surface-border) !important;
}

.service-icon {
  background: rgba(var(--primary-rgb), 0.1) !important;
  color: var(--primary) !important;
}

.service-card h3 {
  color: var(--text) !important;
}

.service-card p {
  color: var(--muted) !important;
}

.service-card:hover {
  background: var(--surface) !important;
  border-color: var(--primary) !important;
}

.service-card:hover .service-icon {
  background: var(--primary) !important;
  color: var(--surface-dark) !important;
}

input,
select,
textarea {
  background-color: var(--surface) !important;
  color: var(--text) !important;
  border: 2px solid var(--surface-border) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted) !important;
}

input:focus,
select:focus,
textarea:focus {
  background-color: var(--surface-dark) !important;
  border-color: var(--primary) !important;
  color: var(--text) !important;
}

.form-group label {
  color: var(--text) !important;
  font-weight: bold;
}

.about-hero,
.about-split {
  background: transparent !important;
}

.section-title {
  color: var(--text) !important;
}

.timeline-item h4,
.value-item h4 {
  color: var(--text) !important;
}

.timeline-item p,
.value-item p,
.about-hero p,
.about-split p {
  color: var(--muted) !important;
}

.value-item {
  background: var(--surface-dark) !important;
  border: 1px solid var(--surface-border) !important;
}

.review-card {
  background: var(--surface-dark) !important;
  border: 1px solid var(--surface-border) !important;
}

.review-card:hover {
  border-color: var(--primary) !important;
}

.review-text {
  color: var(--muted) !important;
}

.review-name {
  color: var(--text) !important;
}

.review-vehicle {
  color: var(--muted) !important;
}

.featured-review {
  background: var(--primary) !important;
  color: var(--surface-dark) !important;
  border: 2px solid var(--primary) !important;
}

.featured-review blockquote,
.featured-review .review-name,
.featured-review .review-vehicle {
  color: var(--surface-dark) !important;
}

.featured-tag {
  background: var(--surface-dark) !important;
  color: var(--primary) !important;
}

.contact-method {
  background: var(--surface-dark) !important;
  border: 1px solid var(--surface-border) !important;
}

.contact-method-value {
  color: var(--text) !important;
}

.contact-method-sub {
  color: var(--muted) !important;
}

.contact-icon {
  color: var(--text) !important;
}

.btn-primary,
.btn-secondary,
.btn-red,
.btn-yellow,
.btn {
  background: var(--text) !important;
  color: var(--surface) !important;
  border: none !important;
}

.btn-outline {
  background: transparent !important;
  color: var(--text) !important;
  border: 2px solid var(--text) !important;
}

.btn:hover {
  background: var(--primary) !important;
  color: var(--surface-dark) !important;
}

.featured-review .stars {
  color: var(--surface-dark) !important;
}

.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  display: flex;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  margin-top: 5rem;
}

.marquee-content {
  display: flex;
  gap: 3rem;
  padding: 0 1.5rem;
  animation: scroll-left 40s linear infinite;
  min-width: max-content;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 1.5rem));
  }
}

@media (max-width: 640px) {
  .hero {
    align-items: flex-start !important;
    min-height: auto !important;
    padding-top: 2rem !important;
    padding-bottom: 4rem !important;
  }
}