/* RIDY Landing — Waymo-inspired, custom CSS (no framework) */

:root {
  --ridy-navy: #0a1628;
  --ridy-navy-soft: #132238;
  --ridy-slate: #3d4f66;
  --ridy-muted: #6b7c93;
  --ridy-cream: #f7f5f0;
  --ridy-white: #ffffff;
  --ridy-accent: #f5c400;
  --ridy-accent-dark: #dbae00;
  --ridy-accent-light: #ffe033;
  --ridy-accent-glow: rgba(245, 196, 0, 0.35);
  --ridy-success: #1abc9c;
  --ridy-radius: 20px;
  --ridy-radius-sm: 12px;
  --ridy-shadow: 0 24px 80px rgba(10, 22, 40, 0.12);
  --ridy-shadow-soft: 0 8px 32px rgba(10, 22, 40, 0.08);
  --nav-height: 76px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ridy-navy);
  background: var(--ridy-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-height);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(10, 22, 40, 0.06);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--ridy-white);
  transition: color 0.3s;
}

.nav.scrolled .nav__logo {
  color: var(--ridy-navy);
}

.nav__logo-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.nav__logo:hover .nav__logo-img {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(245, 196, 0, 0.35);
}

.nav__logo svg {
  width: 110px;
  height: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s;
}

.nav.scrolled .nav__links a {
  color: var(--ridy-slate);
}

.nav__links a:hover {
  color: var(--ridy-accent);
}

/* Nav dropdown — Corporativo */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s;
  padding: 0;
}

.nav.scrolled .nav__dropdown-trigger {
  color: var(--ridy-slate);
}

.nav__dropdown-trigger:hover,
.nav__dropdown.open .nav__dropdown-trigger {
  color: var(--ridy-accent);
}

.nav__dropdown-chevron {
  transition: transform 0.25s var(--ease-out);
}

.nav__dropdown.open .nav__dropdown-chevron,
.nav__dropdown:hover .nav__dropdown-chevron {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(10, 22, 40, 0.18);
  border: 1px solid rgba(10, 22, 40, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
  z-index: 110;
}

.nav__dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown.open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ridy-slate) !important;
  transition: background 0.2s, color 0.2s;
}

.nav__dropdown-menu a:hover {
  background: rgba(245, 196, 0, 0.1);
  color: var(--ridy-accent-dark) !important;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ridy-accent);
  color: var(--ridy-navy) !important;
  font-weight: 600;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.nav__cta:hover {
  background: var(--ridy-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--ridy-accent-glow);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--ridy-white);
}

.nav.scrolled .nav__toggle {
  color: var(--ridy-navy);
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background 0.2s;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease-out);
}

.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }

.nav__toggle.active span { background: transparent; }
.nav__toggle.active span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span::after { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--ridy-accent);
  color: var(--ridy-navy);
  box-shadow: 0 12px 32px var(--ridy-accent-glow);
}

.btn--primary:hover {
  background: var(--ridy-accent-dark);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ridy-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn--dark {
  background: var(--ridy-navy);
  color: var(--ridy-white);
}

.btn--dark:hover {
  background: var(--ridy-navy-soft);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--ridy-navy);
  color: var(--ridy-white);
  transition: transform 0.25s, box-shadow 0.25s;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--ridy-shadow-soft);
}

.store-badge small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.75;
  line-height: 1.2;
}

.store-badge strong {
  font-size: 1rem;
  font-weight: 600;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 48px) 0 80px;
  overflow: hidden;
  background: var(--ridy-navy);
  color: var(--ridy-white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(245, 196, 0, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(26, 188, 156, 0.12) 0%, transparent 50%),
    linear-gradient(160deg, #0a1628 0%, #132238 45%, #1a2d4a 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
}

.hero__dots {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: radial-gradient(circle, rgba(245, 196, 0, 0.5) 1px, transparent 1px);
  background-size: 28px 28px;
  animation: driftDots 40s linear infinite;
}

@keyframes driftDots {
  from { transform: translate(0, 0); }
  to { transform: translate(28px, 28px); }
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__content {
  max-width: 600px;
}

.hero__device {
  position: relative;
  display: flex;
  justify-content: center;
  animation: floatDevice 5s ease-in-out infinite;
}

.hero__device-glow {
  position: absolute;
  inset: 10% 0;
  background: radial-gradient(ellipse, rgba(245, 196, 0, 0.22) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
}

@keyframes floatDevice {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ridy-success);
  box-shadow: 0 0 12px var(--ridy-success);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--ridy-accent), var(--ridy-accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__line {
  display: inline;
}

.hero__line--accent em {
  font-style: normal;
  background: linear-gradient(135deg, var(--ridy-accent), var(--ridy-accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 769px) {
  .hero__line + .hero__line::before {
    content: " ";
  }
}

.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 36px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero slider — mobile only */
.hero__slider,
.hero__slider-progress {
  display: none;
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s var(--ease-out);
  pointer-events: none;
}

.hero__slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__slide-stores {
  display: none;
}

.hero__slider-progress {
  position: absolute;
  z-index: 4;
  display: none;
  gap: 5px;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
}

.hero__slider-segment {
  flex: 1;
  height: 2px;
  padding: 0;
  border: none;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 0.35s var(--ease-out);
}

.hero__slider-segment.active {
  background: var(--ridy-white);
}

.hero__slider-segment:focus-visible {
  outline: 2px solid var(--ridy-accent);
  outline-offset: 3px;
}

/* ── Section shared ── */
.section {
  padding: 100px 0;
}

.section--cream {
  background: var(--ridy-cream);
}

.section__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ridy-accent-dark);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--ridy-muted);
  max-width: 560px;
  margin: 0 0 56px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Cities map section ── */
.cities {
  position: relative;
}

.cities__layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.cities__map-wrap {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8edf4, #f7f5f0);
  box-shadow: var(--ridy-shadow);
  overflow: hidden;
}

.cities__map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.cities__map-wrap:hover .cities__map-img {
  transform: scale(1.04);
}

.cities__map-badge {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ridy-navy);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.12);
  white-space: nowrap;
}

.cities__map-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ridy-success);
  box-shadow: 0 0 8px var(--ridy-success);
  animation: pulse 2s ease-in-out infinite;
}

.cities__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.city-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--ridy-radius-sm);
  background: var(--ridy-white);
  border: 1px solid rgba(10, 22, 40, 0.06);
  font-weight: 500;
  font-size: 0.92rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  cursor: default;
}

.city-chip:hover {
  border-color: var(--ridy-accent);
  box-shadow: var(--ridy-shadow-soft);
  transform: translateX(4px);
}

.city-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ridy-success);
  flex-shrink: 0;
}

.city-chip--soon .city-chip__dot {
  background: var(--ridy-muted);
}

.city-chip--soon {
  opacity: 0.7;
}

.city-chip--active {
  border-color: rgba(26, 188, 156, 0.35);
  background: linear-gradient(135deg, #ffffff 0%, #f0faf8 100%);
  box-shadow: var(--ridy-shadow-soft);
}

.city-chip--active .city-chip__dot {
  background: var(--ridy-success);
  box-shadow: 0 0 8px var(--ridy-success);
  animation: pulse 2s ease-in-out infinite;
}

.city-chip--soon:hover {
  transform: none;
  border-color: rgba(10, 22, 40, 0.06);
  box-shadow: none;
}

/* ── How it works ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 32px 24px;
  border-radius: var(--ridy-radius);
  background: var(--ridy-white);
  border: 1px solid rgba(10, 22, 40, 0.06);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ridy-shadow);
}

.step-card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(245, 196, 0, 0.25);
  margin-bottom: 20px;
}

.step-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 196, 0, 0.15), rgba(245, 196, 0, 0.05));
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--ridy-accent-dark);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 10px;
}

.step-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ridy-muted);
  line-height: 1.55;
}

/* ── App Showcase Carousel ── */
.app-showcase {
  position: relative;
  padding: 120px 0;
  background: var(--ridy-navy);
  color: var(--ridy-white);
  overflow: hidden;
}

.app-showcase__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.app-showcase__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.app-showcase__orb--1 {
  width: 500px;
  height: 500px;
  top: -10%;
  right: -5%;
  background: rgba(245, 196, 0, 0.18);
}

.app-showcase__orb--2 {
  width: 400px;
  height: 400px;
  bottom: -15%;
  left: -8%;
  background: rgba(26, 188, 156, 0.12);
}

.app-showcase__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.section__eyebrow--light {
  color: var(--ridy-accent);
}

.section__title--light {
  color: var(--ridy-white);
}

.section__subtitle--light {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
}

.app-showcase__captions {
  position: relative;
  min-height: 140px;
  margin-bottom: 36px;
}

.app-caption {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
}

.app-caption.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.app-caption__tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(245, 196, 0, 0.15);
  border: 1px solid rgba(245, 196, 0, 0.3);
  color: var(--ridy-accent-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.app-caption h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 10px;
}

.app-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 420px;
}

.app-showcase__controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-showcase__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ridy-white);
  display: grid;
  place-items: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  flex-shrink: 0;
}

.app-showcase__arrow:hover {
  background: var(--ridy-accent);
  border-color: var(--ridy-accent);
  color: var(--ridy-navy);
  transform: scale(1.05);
}

.app-showcase__dots {
  display: flex;
  gap: 10px;
}

.app-showcase__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.35s var(--ease-out), background 0.25s, border-radius 0.35s;
}

.app-showcase__dot.active {
  width: 32px;
  border-radius: 999px;
  background: var(--ridy-accent);
}

.app-showcase__dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.45);
}

/* ── CSS Device Mockup ── */
.device {
  position: relative;
  z-index: 2;
}

.device__frame {
  position: relative;
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(160deg, #4a4f58 0%, #1a1d24 35%, #2d3139 70%, #3e434c 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 30px 70px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.device__screen {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  background: #0a0a0a;
  aspect-ratio: 9 / 19.5;
}

.device__screen .phone-carousel {
  position: absolute;
  inset: 0;
}

.device__screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.device__island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 24px;
  background: #0a0a0a;
  border-radius: 20px;
  z-index: 5;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.device__island::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1a2540, #0a1628);
}

.device__indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  z-index: 5;
}

.device__btn {
  position: absolute;
  background: linear-gradient(90deg, #2a2e36, #3d424b);
  border-radius: 2px;
  z-index: 1;
}

.device__btn--silent {
  left: -3px;
  top: 100px;
  width: 3px;
  height: 28px;
}

.device__btn--vol-up {
  left: -3px;
  top: 148px;
  width: 3px;
  height: 44px;
}

.device__btn--vol-down {
  left: -3px;
  top: 202px;
  width: 3px;
  height: 44px;
}

.device__btn--power {
  right: -3px;
  top: 160px;
  width: 3px;
  height: 64px;
}

.device--hero {
  width: min(260px, 55vw);
}

.device--showcase {
  width: min(290px, 72vw);
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-out);
}

.phone-stage:hover .device--showcase {
  transform: rotateY(-2deg) rotateX(0deg) scale(1.02);
}

/* Phone carousel */
.phone-carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.phone-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.6s var(--ease-out);
}

.phone-carousel__slide {
  flex: 0 0 100%;
  height: 100%;
}

.phone-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.phone-stage__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(245, 196, 0, 0.3) 0%, transparent 70%);
  z-index: 0;
  filter: blur(40px);
}

.phone-stage__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.phone-stage__ring--1 {
  width: 380px;
  height: 380px;
  animation: ringPulse 4s ease-in-out infinite;
}

.phone-stage__ring--2 {
  width: 460px;
  height: 460px;
  animation: ringPulse 4s ease-in-out infinite 0.5s;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.03); }
}

/* ── Vehicles showcase ── */
.vehicles-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.vehicle-card {
  background: var(--ridy-white);
  border-radius: var(--ridy-radius);
  padding: 24px 16px 20px;
  text-align: center;
  box-shadow: var(--ridy-shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  border: 1px solid rgba(10, 22, 40, 0.04);
}

.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ridy-shadow);
}

.vehicle-card img {
  width: 100%;
  max-height: 90px;
  object-fit: contain;
  margin-bottom: 16px;
}

.vehicle-card__info h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 4px;
}

.vehicle-card__info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ridy-muted);
}

/* ── Features ── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  border-radius: var(--ridy-radius);
  overflow: hidden;
  background: var(--ridy-white);
  box-shadow: var(--ridy-shadow-soft);
  transition: transform 0.35s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card__visual {
  height: 200px;
  display: grid;
  place-items: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--ridy-navy) 0%, var(--ridy-navy-soft) 100%);
  overflow: hidden;
}

.feature-card__visual--img {
  background: linear-gradient(160deg, #f0f2f5 0%, #e8edf4 100%);
  padding: 20px;
}

.feature-card__visual--img img {
  max-height: 140px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s var(--ease-out);
}

.feature-card:hover .feature-card__visual--img img {
  transform: scale(1.06);
}

.feature-card__visual--map {
  padding: 0;
  background: #f0f2f5;
}

.feature-card__visual--map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card__visual--accent {
  background: linear-gradient(135deg, var(--ridy-accent) 0%, var(--ridy-accent-dark) 100%);
}

.feature-card__icon {
  font-size: 3.5rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.feature-card__body {
  padding: 28px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.feature-card p {
  margin: 0;
  color: var(--ridy-muted);
  font-size: 0.95rem;
}

/* ── Stats ── */
.stats {
  background: var(--ridy-navy);
  color: var(--ridy-white);
  padding: 80px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--ridy-white), rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__value span {
  font-size: 0.5em;
  color: var(--ridy-accent);
  -webkit-text-fill-color: var(--ridy-accent);
}

.stat__label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ── Testimonials ── */
.testimonials__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  padding: 36px;
  border-radius: var(--ridy-radius);
  background: var(--ridy-white);
  border: 1px solid rgba(10, 22, 40, 0.06);
  position: relative;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: rgba(245, 196, 0, 0.15);
}

.testimonial blockquote {
  margin: 0 0 24px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ridy-slate);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ridy-accent), var(--ridy-accent-dark));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--ridy-navy);
  font-size: 1rem;
}

.testimonial__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial__city {
  font-size: 0.85rem;
  color: var(--ridy-muted);
}

/* ── CTA / Availability ── */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--ridy-cream) 0%, var(--ridy-white) 100%);
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px;
  border-radius: 28px;
  background: var(--ridy-navy);
  color: var(--ridy-white);
  box-shadow: var(--ridy-shadow);
  overflow: hidden;
  position: relative;
}

.cta-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(circle, rgba(245, 196, 0, 0.2) 0%, transparent 65%);
  pointer-events: none;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 12px;
  position: relative;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  position: relative;
}

.availability-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.availability-form label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.availability-form input {
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ridy-white);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}

.availability-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.availability-form input:focus {
  border-color: var(--ridy-accent);
  background: rgba(255, 255, 255, 0.12);
}

.form-message {
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: 10px;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(26, 188, 156, 0.2);
  color: #7bedd6;
}

.form-message.info {
  display: block;
  background: rgba(245, 196, 0, 0.2);
  color: var(--ridy-accent-light);
}

/* ── Driver CTA ── */
.driver-banner {
  padding: 64px 0;
  text-align: center;
}

.driver-banner__inner {
  padding: 48px;
  border-radius: var(--ridy-radius);
  border: 2px dashed rgba(10, 22, 40, 0.1);
  background: var(--ridy-white);
}

.driver-banner h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0 0 12px;
}

.driver-banner p {
  color: var(--ridy-muted);
  margin: 0 0 24px;
}

/* ── Footer ── */
.footer {
  background: var(--ridy-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}

.footer__corporate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 24px;
  margin-bottom: 40px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__corporate-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer__corporate-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__corp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.footer__corp-link:hover {
  background: rgba(245, 196, 0, 0.15);
  border-color: rgba(245, 196, 0, 0.35);
  color: var(--ridy-accent);
}

.footer__logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 16px;
  object-fit: cover;
}

.footer__brand svg {
  width: 100px;
  margin-bottom: 16px;
  color: var(--ridy-white);
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer h4 {
  color: var(--ridy-white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 10px;
}

.footer a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--ridy-accent);
}

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a,
.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}

.footer__social a:hover,
.footer__social-link:hover {
  background: var(--ridy-accent);
  border-color: var(--ridy-accent);
  color: var(--ridy-navy);
  transform: translateY(-2px);
}

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ridy-accent);
  color: var(--ridy-navy);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 32px var(--ridy-accent-glow), 0 4px 16px rgba(10, 22, 40, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition:
    opacity 0.4s var(--ease-out),
    visibility 0.4s,
    transform 0.4s var(--ease-out),
    background 0.25s,
    box-shadow 0.25s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: var(--ridy-accent-dark);
  box-shadow: 0 12px 40px var(--ridy-accent-glow), 0 6px 20px rgba(10, 22, 40, 0.25);
  transform: translateY(-3px) scale(1.05);
}

.back-to-top:active {
  transform: translateY(0) scale(0.97);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--ridy-white);
  outline-offset: 3px;
}

/* ── Mobile nav overlay ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ridy-white);
}

.mobile-dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}

.mobile-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ridy-white);
  padding: 0;
  transition: color 0.2s;
}

.mobile-dropdown__trigger svg {
  transition: transform 0.25s var(--ease-out);
}

.mobile-dropdown.open .mobile-dropdown__trigger svg {
  transform: rotate(180deg);
}

.mobile-dropdown__panel {
  display: grid;
  gap: 8px;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s var(--ease-out), opacity 0.25s;
}

.mobile-dropdown.open .mobile-dropdown__panel {
  max-height: 160px;
  opacity: 1;
}

.mobile-dropdown__link {
  display: block;
  padding: 14px 20px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem !important;
  font-weight: 500;
  text-align: center;
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s, border-color 0.2s;
}

.mobile-dropdown__link:hover {
  background: rgba(245, 196, 0, 0.15);
  border-color: rgba(245, 196, 0, 0.3);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .app-showcase__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .app-showcase__info {
    text-align: center;
  }

  .app-caption p {
    margin-inline: auto;
  }

  .app-showcase__controls {
    justify-content: center;
  }

  .device--showcase {
    transform: none;
  }

  .phone-stage:hover .device--showcase {
    transform: scale(1.02);
  }

  .vehicles-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .cities__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cities__map-wrap {
    max-width: 480px;
    margin-inline: auto;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__track {
    grid-template-columns: 1fr;
  }

  .cta-card {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__corporate {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__cta {
    display: inline-flex;
    padding: 9px 16px;
    font-size: 0.8rem;
    margin-left: auto;
    margin-right: 10px;
    background: transparent;
    color: var(--ridy-white) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    box-shadow: none;
  }

  .nav__cta:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: none;
    box-shadow: none;
  }

  .nav.scrolled .nav__cta {
    background: var(--ridy-accent);
    color: var(--ridy-navy) !important;
    border-color: var(--ridy-accent);
  }

  .nav.scrolled .nav__cta:hover {
    background: var(--ridy-accent-dark);
    box-shadow: 0 8px 24px var(--ridy-accent-glow);
  }

  .nav__toggle {
    display: flex;
  }

  /* Hero — inDrive mobile: full-bleed visual, text overlay top-left */
  .hero {
    min-height: 100dvh;
    padding: 0;
    display: block;
    overflow: hidden;
  }

  .hero > .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: 20px;
  }

  .hero__bg .hero__grid,
  .hero__bg .hero__dots {
    opacity: 0;
  }

  .hero__bg .hero__gradient {
    opacity: 0;
  }

  .hero__slider {
    display: block;
    z-index: 1;
  }

  .hero__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(10, 22, 40, 0.72) 0%, rgba(10, 22, 40, 0.35) 38%, rgba(10, 22, 40, 0.55) 72%, rgba(10, 22, 40, 0.88) 100%);
  }

  .hero__slide img {
    position: relative;
    z-index: 0;
  }

  .hero__slide-stores {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 48px;
    z-index: 2;
    display: flex;
    gap: 10px;
  }

  .store-badge--slide {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    gap: 8px;
    border-radius: 10px;
    background: rgba(10, 22, 40, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--ridy-white);
  }

  .store-badge--slide:hover {
    transform: none;
    background: rgba(10, 22, 40, 0.88);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: none;
  }

  .store-badge--slide svg {
    flex-shrink: 0;
  }

  .store-badge--slide small {
    font-size: 0.55rem;
    opacity: 0.7;
  }

  .store-badge--slide strong {
    font-size: 0.78rem;
    font-weight: 600;
  }

  .hero__slider-progress {
    display: flex;
    bottom: 28px;
    left: 20px;
    right: 20px;
  }

  .hero__layout {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100dvh;
    padding-top: calc(var(--nav-height) + 28px);
    padding-bottom: 56px;
    text-align: left;
    gap: 0;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
  }

  .hero__eyebrow,
  .hero__lead {
    display: none;
  }

  .hero h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: clamp(2.35rem, 10.5vw, 3rem);
    line-height: 1;
    letter-spacing: -0.03em;
    margin: 0 0 28px;
    text-align: left;
    transition: opacity 0.35s var(--ease-out);
  }

  .hero h1.is-fading {
    opacity: 0;
  }

  .hero__line {
    display: block;
  }

  .hero__line--accent {
    width: fit-content;
    max-width: 100%;
    padding: 8px 14px 10px;
    border-radius: 2px;
    background: var(--ridy-accent);
    color: var(--ridy-navy);
    line-height: 1.05;
  }

  .hero__line--accent em {
    background: none;
    -webkit-text-fill-color: inherit;
    color: inherit;
  }

  .hero__actions {
    margin: 0;
    gap: 0;
    width: auto;
  }

  .hero__actions .btn--ghost {
    display: none;
  }

  .hero__actions .btn--primary {
    border-radius: 8px;
    padding: 15px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: none;
    min-width: 0;
    max-width: none;
    flex: none;
    width: auto;
  }

  .hero__actions .btn--primary:hover {
    transform: none;
    filter: brightness(0.95);
  }

  .hero__device {
    display: none;
  }

  .hero__content .hero__stores {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .vehicles-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .vehicle-card {
    padding: 16px 12px 14px;
  }

  .app-showcase {
    padding: 80px 0;
  }

  .phone-stage__ring {
    display: none;
  }

  .cities__list {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero > .container {
    width: 100%;
    padding-inline: 18px;
  }

  .hero__slide-stores {
    left: 18px;
    right: 18px;
    bottom: 44px;
  }

  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
  }
}
