/* EvenDrive landing — styles critiques (self-hosted). Utilitaires = Tailwind CDN. */
:root {
  --ink: #071318;
  --atlantic: #0A5C64;
  --lagoon: #12A0A8;
  --corniche: #F0A833;
  --sand: #F3E7D3;
  --foam: #F7FBFA;
  --mist: #E8F1F2;
}

body {
  font-family: Outfit, system-ui, sans-serif;
  background: var(--ink);
  color: var(--foam);
}

.font-display {
  font-family: Syne, system-ui, sans-serif;
}

.hero-bg {
  background-image:
    linear-gradient(105deg, rgba(7, 19, 24, 0.94) 0%, rgba(7, 19, 24, 0.72) 42%, rgba(7, 19, 24, 0.35) 100%),
    url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&w=2400&q=85');
  background-size: cover;
  background-position: center 38%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 8rem;
  background: linear-gradient(to top, var(--ink), transparent);
  pointer-events: none;
}

.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-bar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.panel-light {
  background: var(--mist);
  color: #0f2a30;
}

.media-frame {
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 28px 60px rgba(7, 19, 24, 0.18);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.media-frame:hover img {
  transform: scale(1.04);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.nav-scrolled {
  background: rgba(7, 19, 24, 0.92) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.step-rail {
  position: relative;
}

.step-rail::before {
  content: '';
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  right: 1.15rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10, 92, 100, 0.35), transparent);
}

.quote-mark {
  font-family: Syne, system-ui, sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(10, 92, 100, 0.18);
}

.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.reveal:nth-child(4) {
  transition-delay: 0.24s;
}

@media (max-width: 767px) {
  .step-rail::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .media-frame:hover img {
    transform: none;
  }
}
