/* Custom styles complementing Tailwind */
:root { --brand: #ff6a13; }

.brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo__image { display: block; width: 148px; height: auto; }
.brand-logo--footer .brand-logo__image { width: 184px; }
@media (min-width: 640px) {
  .brand-logo--header .brand-logo__image { width: 164px; }
}
@media (min-width: 1280px) {
  .brand-logo--header .brand-logo__image { width: 172px; }
}

#header.scrolled {
  background: rgba(13, 13, 16, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .3);
}
.nav-link { position: relative; padding-bottom: 4px; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brand); border-radius: 2px;
}

/* Hero */
.hero { background: #0d0d10; }
.hero-glow {
  background:
    radial-gradient(circle at 75% 35%, rgba(255, 106, 19, .35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 106, 19, .15), transparent 40%);
}
.speed-lines {
  background: repeating-linear-gradient(100deg, transparent 0 40px, rgba(255, 255, 255, .04) 40px 42px);
  mask-image: linear-gradient(90deg, transparent, #000 40%, transparent);
}
.btn-primary:hover svg { transform: translateX(4px); }
.btn-primary svg { transition: transform .2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-slow { animation: float 5s ease-in-out infinite; }

/* Phone mockup */
.phone {
  aspect-ratio: 9 / 18.5; border-radius: 2.2rem; padding: .5rem;
  background: #111; border: 2px solid #333; box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}
.phone-screen { height: 100%; border-radius: 1.8rem; overflow: hidden; background: #fff; color: #111; }
.map {
  background:
    linear-gradient(35deg, transparent 48%, #fff 48% 52%, transparent 52%),
    linear-gradient(125deg, transparent 48%, #fff 48% 51%, transparent 51%),
    linear-gradient(80deg, transparent 60%, #cfe3f7 60% 66%, transparent 66%),
    #e6ecef;
  background-size: 90px 90px, 70px 70px, 100% 100%, 100% 100%;
}
.pin { position: absolute; width: 14px; height: 14px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); }

/* Store badges */
.store-badge {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .9rem; border-radius: .6rem;
  font-size: .95rem; font-weight: 600; line-height: 1.1; transition: transform .2s, border-color .2s;
}
.store-badge small { display: block; font-size: .6rem; font-weight: 400; opacity: .8; }
.store-badge-dark { background: #000; color: #fff; border: 1px solid #555; }
.store-badge:hover { transform: translateY(-2px); border-color: var(--brand); }

/* Steps */
.step-icon {
  position: relative; margin: 0 auto; display: grid; place-items: center; width: 4.5rem; height: 4.5rem;
  border-radius: 50%; background: #fff1e8; color: var(--brand); transition: transform .3s;
}
.step:hover .step-icon { transform: scale(1.1) rotate(-4deg); }
.step-icon b {
  position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
  width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #ffd9c2; font-size: .7rem; display: grid; place-items: center;
}
@media (min-width: 1024px) {
  .step:not(:last-child)::after { content: "›"; position: absolute; right: -1.2rem; top: 1.2rem; color: #bbb; font-size: 1.6rem; }
}
.step { position: relative; }

.feature-ico {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  border: 2px solid var(--brand); color: var(--brand);
}

.blob { background: var(--brand); border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; opacity: .9; transform: rotate(-4deg) scale(.96) translate(-6%, 4%); }

/* Ride cards */
.ride-card {
  position: relative; text-align: left; padding: 1rem; border-radius: 1rem; background: #1b1b22;
  border: 2px solid transparent; transition: border-color .2s, transform .2s, background .2s;
}
.ride-card:hover { transform: translateY(-4px); background: #22222b; }
.ride-card.selected { border-color: var(--brand); }
.ride-card .radio {
  position: absolute; right: 1rem; bottom: 1rem; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  border: 2px solid #777; display: grid; place-items: center; transition: all .2s;
}
.ride-card.selected .radio { background: var(--brand); border-color: var(--brand); }
.ride-card.selected .radio::after { content: "✓"; font-size: .8rem; font-weight: 700; color: #fff; }

/* Cities */
.city {
  padding: .6rem .4rem; border-radius: .5rem; font-size: .75rem; font-weight: 500;
  background: #24242d; border: 1px solid #3a3a45; transition: all .2s;
}
.city:hover { border-color: var(--brand); }
.city.selected { border-color: var(--brand); background: rgba(255, 106, 19, .15); color: #fff; }

/* Testimonials */
.t-card { padding: 1.25rem; border-radius: 1rem; background: #fff; border: 1px solid #eee; box-shadow: 0 10px 30px rgba(0,0,0,.06); transition: transform .3s; }
.t-card:hover { transform: translateY(-4px); }
.avatar { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; }
.stars { display: flex; gap: 2px; color: var(--brand); }
.stars svg { width: .85rem; height: .85rem; }
#dots button { width: .5rem; height: .5rem; border-radius: 50%; background: #ddd; transition: all .2s; }
#dots button.active { background: var(--brand); width: 1.2rem; border-radius: 1rem; }
@media (max-width: 767px) {
  #testimonials { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; scrollbar-width: none; }
  #testimonials::-webkit-scrollbar { display: none; }
  #testimonials .t-card { flex: 0 0 85%; scroll-snap-align: center; }
}

/* Footer */
.footer-h { font-size: .85rem; font-weight: 600; }
.footer-l { margin-top: .75rem; display: grid; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.6); }
.footer-l a:hover { color: var(--brand); }
.social { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; transition: background .2s; }
.social:hover { background: var(--brand); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-slow { animation: none; }
}


/* ---- Fidelity tweaks ---- */
.ico-sq { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--brand); }
.step-icon { background: none !important; color: var(--brand); width: auto; height: 3.2rem; }
.step-icon b { display: none; }
.step-num {
  display: grid; place-items: center; margin: .35rem auto 0; width: 1.25rem; height: 1.25rem;
  border-radius: 50%; background: #ffe3d2; color: var(--brand); font-size: .65rem; font-weight: 700;
}
.hero-img { mask-image: linear-gradient(to right, transparent 0, #000 22%); }
.driver-img { mask-image: linear-gradient(to right, transparent 0, #000 18%); }
.avatar { object-fit: cover; }
.city-panel { padding-top: .5rem; }
#dots { display: flex; }
@media (min-width: 768px) { #dots { display: none; } }
.t-card { background: #fff; }

.nav-link, #header a, #langBtn { white-space: nowrap; }
