:root {
  --brand-primary: #b1c901;
  --brand-primary-strong: #9cad01;
  --title-color: #0f172a;
  --text-color: #334155;
  --radius-xl: 0.9rem;
  --shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text-color);
}

h1,
h2,
h3 {
  color: var(--title-color);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

p {
  line-height: 1.65;
}

.hero-grid {
  background-image:
    radial-gradient(circle at 20% 10%, rgba(177, 201, 1, 0.24) 0%, rgba(177, 201, 1, 0) 35%),
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.16) 0%, rgba(16, 185, 129, 0) 40%),
    linear-gradient(to bottom, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.35)),
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, auto, auto, 48px 48px, 48px 48px;
  background-position: center, center, center, 0 0, 0 0;
  mask-image: radial-gradient(circle at 30% 10%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sales-shell {
  background-image:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.12), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 1));
}

.sales-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.sales-card:hover {
  transform: translateY(-4px);
  border-color: #d1dd7e;
  box-shadow: var(--shadow-soft);
}

.sales-placeholder {
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(250, 204, 21, 0.14)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.7), transparent 38%),
    #f8fafc;
}

.sales-price {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.fleet-filter {
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.fleet-filter:hover {
  transform: translateY(-1px);
}

.fleet-filter.is-active {
  background: var(--brand-primary);
  color: #111827;
  border-color: var(--brand-primary-strong);
}

a[class*="bg-[#b1c901]"],
button[class*="bg-[#b1c901]"],
.ui-btn {
  transition: transform 160ms ease, box-shadow 200ms ease, background-color 200ms ease, color 200ms ease;
}

a[class*="bg-[#b1c901]"]:hover,
button[class*="bg-[#b1c901]"]:hover,
.ui-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(124, 143, 0, 0.24);
}

a[class*="bg-[#b1c901]"]:active,
button[class*="bg-[#b1c901]"]:active,
.ui-btn:active {
  transform: translateY(0) scale(0.99);
}

button:disabled,
.is-loading {
  opacity: 0.75;
  cursor: not-allowed;
}

.is-loading {
  position: relative;
}

.is-loading::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: -0.42rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: rgba(255, 255, 255, 0.95);
  animation: spin 700ms linear infinite;
}

.how-step {
  position: relative;
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.how-step::before {
  content: "";
  position: absolute;
  inset: -35% auto auto -35%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(209, 226, 127, 0.28) 0%, rgba(209, 226, 127, 0) 72%);
  pointer-events: none;
}

.how-step:hover {
  transform: translateY(-6px);
  border-color: #c2d47a;
  box-shadow: 0 20px 36px rgba(66, 84, 0, 0.18);
}

.how-step-icon {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 18px rgba(88, 112, 0, 0.22);
  animation: how-float 4.4s ease-in-out infinite;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.how-step:nth-child(2) .how-step-icon {
  animation-delay: 0.45s;
}

.how-step:nth-child(3) .how-step-icon {
  animation-delay: 0.9s;
}

.how-step:hover .how-step-icon {
  transform: translateY(-2px) scale(1.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 14px 22px rgba(88, 112, 0, 0.26);
}

.how-grid {
  position: relative;
  align-items: stretch;
}

@media (min-width: 640px) {
  .how-step {
    min-height: 190px;
  }
}

@media (max-width: 767px) {
  .mobile-brand-copy {
    max-width: 11.5rem;
  }

  .hero-badge,
  .hero-title,
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-badge {
    max-width: min(100%, 28rem);
    justify-content: center;
  }

  .hero-title {
    max-width: 12ch;
    font-size: clamp(2.1rem, 9vw, 3rem);
    line-height: 1.03;
    text-wrap: balance;
  }

  .hero-subtitle {
    max-width: 22rem;
    font-size: 0.98rem;
    line-height: 1.7;
    text-wrap: pretty;
  }

  .hero-cta-group {
    align-items: center;
  }

  .hero-trust-grid {
    margin-left: auto;
    margin-right: auto;
  }

  .mobile-brand-name {
    font-size: 1.05rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }

  .mobile-brand-tagline {
    font-size: 0.8rem;
    line-height: 1.15;
    max-width: 10rem;
  }

  .mobile-brand-logo {
    height: 3.5rem;
    width: auto;
  }

  .mobile-header-actions {
    padding-top: 0.1rem;
  }

  .mobile-header-actions > button {
    min-width: 5.4rem;
  }

  .mobile-fidelity-button {
    margin-top: 0.35rem;
    min-width: 5.4rem;
    max-width: 6.8rem;
    text-align: center;
    justify-content: center;
  }

  .pricing-policies-section .reveal {
    text-align: center;
  }

  .pricing-policies-section .reveal > div:first-child {
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-policies-section .reveal .mt-5 .text-xs {
    text-align: center;
  }

  .pricing-policies-section .reveal ul {
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-policies-section .reveal ul li {
    justify-content: center;
    text-align: center;
  }

  .maintenance-shell {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    align-items: flex-start;
  }

  .maintenance-card {
    border-radius: 1.4rem;
    padding: 1.15rem;
    overflow: hidden;
  }

  .maintenance-grid {
    margin-top: 1.25rem;
    gap: 1.25rem;
  }

  .maintenance-main h1 {
    font-size: 2.05rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  .maintenance-main p {
    max-width: 100%;
  }

  .maintenance-actions {
    width: 100%;
  }

  .maintenance-action {
    width: 100%;
    max-width: 100%;
  }

  .maintenance-side > div {
    padding: 1.1rem;
  }

  .maintenance-contact-value {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@keyframes how-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .how-step,
  .how-step-icon {
    transition: none;
    animation: none;
  }

  .is-loading::after {
    animation: none;
  }

}

