/* OBER — fake rideshare site. Uber-dark aesthetic with a lemon accent. */

:root {
  --bg: #0b0b0b;
  --bg-alt: #141414;
  --card: #1c1c1c;
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --accent: #f7d51d;
  --border: #2a2a2a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.4s, color 0.4s;
}

/* ---------- Lemon mode: the whole site turns lemon ---------- */
body.lemon-mode {
  --bg: #fff9c4;
  --bg-alt: #fff59d;
  --card: #fffde7;
  --text: #5d4a00;
  --muted: #8a7420;
  --accent: #c9a800;
  --border: #f0e68c;
}
body.lemon-mode .hero h1 .accent { color: #c9a800; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.logo-dot { color: var(--accent); }

.nav-links { display: flex; gap: 1.5rem; }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--text); }

.lemon-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s;
}
.lemon-btn:hover { transform: rotate(20deg) scale(1.15); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 7rem 1.5rem 6rem;
}

/* Background promo video + darkening overlay (only visible once a file loads) */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(11, 11, 11, 0.55), rgba(11, 11, 11, 0.75));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 60rem;
  margin: 0 auto;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: 1.3rem;
  color: var(--muted);
  margin: 2rem 0 2.5rem;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: transform 0.15s;
}
.cta:hover { transform: scale(1.04); }

.hero-fineprint {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 1.5rem;
  max-width: 70rem;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.section-sub { color: var(--muted); font-size: 1.1rem; margin-bottom: 2.5rem; }

.section-alt {
  max-width: none;
  background: var(--bg-alt);
}
.section-alt > * { max-width: 70rem; margin-left: auto; margin-right: auto; }
.section-alt h2, .section-alt .section-sub { margin-left: auto; margin-right: auto; }

.section-dark {
  max-width: none;
  text-align: center;
  background: var(--accent);
  color: #111;
}
.section-dark h2 { color: #111; }

.muted { color: var(--muted); font-weight: 400; font-size: 0.9em; }

/* ---------- Ride widget ---------- */
.ride-widget {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 3rem;
}

.ride-left { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.ride-form { min-width: 0; }
.ride-left .licence { margin: 0; max-width: none; }

.ride-inputs { display: flex; flex-direction: column; gap: 0.85rem; }

.ride-inputs input {
  width: 100%;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
}

.ride-inputs button {
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  border: none;
  background: var(--accent);
  color: #111;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s;
}
.ride-inputs button:hover { transform: scale(1.04); }
.ride-inputs button:disabled { opacity: 0.6; cursor: default; transform: none; }

.ride-hint { margin-top: 1rem; color: var(--muted); font-size: 0.9rem; }

/* ---------- Fake Pixel 10 phone ---------- */
.phone {
  flex: 0 0 auto;
  width: 300px;
  max-width: 100%;
  padding: 10px;
  background: #0c0c0e;
  border-radius: 44px;
  box-shadow: 0 0 0 2px #2a2a2e, 0 24px 55px rgba(0, 0, 0, 0.55);
  justify-self: center;
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 460px;
  background: #0b0b0d;
  border-radius: 34px;
  overflow: hidden;
}

.phone-statusbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 16px;
  background: #111317;
  color: #fff;
  font-size: 0.72rem;
}
.phone-time { font-weight: 600; }
.phone-camera {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  background: #000;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #26262b;
}
.phone-icons { display: flex; gap: 3px; }
.phone-ico { font-size: 0.65rem; }

/* Ober app bar */
.app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #15171c;
  border-bottom: 1px solid #23262d;
}
.app-back { color: var(--accent); font-size: 1.3rem; line-height: 1; }
.app-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.app-driver { flex: 1; min-width: 0; }
.app-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-rating { color: var(--accent); font-weight: 600; font-size: 0.72rem; }
.app-status { font-size: 0.68rem; color: #8a8f98; display: flex; align-items: center; gap: 5px; }
.app-dot { width: 7px; height: 7px; border-radius: 50%; background: #35c759; display: inline-block; }
.app-status.typing { color: var(--accent); }
.app-status.typing .app-dot { background: var(--accent); }
.app-logo { font-size: 0.8rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }

/* Chat */
.chat {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 12px;
  background: #0b0b0d;
}
.chat-day { align-self: center; font-size: 0.62rem; color: #6b7077; margin-bottom: 4px; }

.bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  line-height: 1.35;
  word-wrap: break-word;
  animation: bubble-in 0.25s ease;
}
.bubble.received {
  align-self: flex-start;
  background: #23262d;
  color: #f1f1f1;
  border-bottom-left-radius: 5px;
}
.bubble.sent {
  align-self: flex-end;
  background: var(--accent);
  color: #1a1500;
  font-weight: 500;
  border-bottom-right-radius: 5px;
}

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.bubble.typing { display: flex; gap: 4px; align-items: center; padding: 12px 14px; }
.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8a8f98;
  animation: typing-bounce 1.2s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: 0.18s; }
.typing-dot:nth-child(3) { animation-delay: 0.36s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Voice note bubble */
.bubble.voice { display: flex; align-items: center; gap: 9px; padding: 8px 11px; min-width: 175px; }
.voice-play {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #1a1500;
  font-size: 0.72rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.voice-wave { display: flex; align-items: center; gap: 2px; height: 26px; flex: 1; }
.voice-wave span { width: 2px; background: #8a8f98; border-radius: 2px; opacity: 0.7; }
.bubble.voice.playing .voice-wave span {
  background: var(--accent);
  animation: voice-pulse 0.9s infinite ease-in-out;
}
.voice-dur { font-size: 0.64rem; color: #8a8f98; flex: 0 0 auto; }

@keyframes voice-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@media (max-width: 760px) {
  .ride-widget { grid-template-columns: 1fr; }
  .phone { justify-self: center; }
}

.hidden { display: none; }

@keyframes slide-in {
  from { opacity: 0; transform: translateY(0.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Tiers ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
}

.tier-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.2s, border-color 0.2s;
}
.tier-card:hover { transform: translateY(-4px); border-color: var(--accent); }

.tier-featured { border-color: var(--accent); }

.tier-emoji { font-size: 2.5rem; margin-bottom: 0.75rem; }

.tier-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

.tier-card p { color: var(--muted); font-size: 0.95rem; }

.tier-price {
  margin-top: 1rem;
  color: var(--accent) !important;
  font-weight: 600;
}

/* ---------- Driver licence ---------- */
.licence {
  position: relative;
  max-width: 660px;
  margin: 0 auto 3rem;
  border-radius: 16px;
  overflow: hidden;
  color: #2b2533;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.55), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(255, 255, 255, 0.4), transparent 45%),
    repeating-linear-gradient(45deg, rgba(120, 80, 140, 0.06) 0 3px, transparent 3px 8px),
    repeating-linear-gradient(-45deg, rgba(120, 80, 140, 0.05) 0 3px, transparent 3px 8px),
    linear-gradient(135deg, #f7dbe2 0%, #f4e6d3 45%, #dcecdd 100%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.licence-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: linear-gradient(90deg, #08246b, #1d4ed8);
  color: #fff;
}
.eu-emblem { flex: 0 0 auto; }
.licence-titles { flex: 1; min-width: 0; }
.lic-t1 { font-size: 0.95rem; font-weight: 700; }
.lic-t2 { font-size: 0.72rem; letter-spacing: 0.12em; opacity: 0.85; }
.lic-stamp {
  flex: 0 0 auto;
  text-align: center;
  color: #ffdada;
  border: 2px solid rgba(255, 120, 120, 0.85);
  border-radius: 8px;
  padding: 4px 8px;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.05;
  transform: rotate(6deg);
}
.lic-stamp small { font-size: 0.48rem; letter-spacing: 0.06em; font-weight: 600; }

.licence-body { display: flex; gap: 20px; padding: 18px 20px; }
.licence-left { flex: 0 0 130px; text-align: center; }
.licence-photo {
  width: 130px;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.licence-sig {
  margin-top: 8px;
  font-family: "Brush Script MT", "Segoe Script", "Snell Roundhand", cursive;
  font-size: 1.4rem;
  color: #16162e;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  padding-bottom: 2px;
}
.licence-right { flex: 1; min-width: 0; }

.lic-field {
  font-size: 0.82rem;
  font-weight: 600;
  color: #241f30;
  padding: 3px 0;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.12);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.lic-driverno { margin-top: 10px; border: none; font-size: 0.78rem; letter-spacing: 0.04em; }
.lic-num { color: #1d4ed8; font-weight: 800; margin-right: 6px; }
.lic-label {
  color: #8a7f97;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-right: 6px;
}

.licence-foot {
  padding: 12px 20px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.28);
}
.licence-endorsements { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.badge {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}
.licence-endorsements .badge {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.18);
  color: #2b2533;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.72rem;
}
.licence-note { font-size: 0.66rem; color: #5c5468; line-height: 1.4; }

@media (max-width: 560px) {
  .licence-body { flex-direction: column; align-items: center; text-align: center; }
  .licence-left { flex-basis: auto; }
  .licence-right { width: 100%; text-align: left; }
}

/* ---------- Tracker ---------- */
.tracker {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
}

.tracker h3 { margin-bottom: 0.5rem; }

.tracker-status { color: var(--muted); margin-bottom: 1.25rem; }

.steps-bar {
  height: 0.8rem;
  background: var(--bg);
  border-radius: 1rem;
  overflow: hidden;
}

.steps-fill {
  height: 100%;
  width: 92%;
  background: var(--accent);
  border-radius: 1rem;
  transition: width 0.8s ease;
}

.steps-label { margin-top: 0.75rem; font-size: 0.9rem; color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem;
}

.review {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
}

.stars { color: var(--accent); letter-spacing: 0.15em; margin-bottom: 0.75rem; }

.reviewer { margin-top: 1rem; color: var(--muted); font-size: 0.9rem; }

/* ---------- Featured video reviews ---------- */
.reviews-featured {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.review-featured {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--accent);
  border-radius: 1rem;
  padding: 1.75rem;
}

.review-video {
  flex: 0 0 auto;
  width: 15rem;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #000;
}
.review-video iframe { width: 100%; height: 100%; border: 0; }

.review-quote { flex: 1 1 18rem; margin: 0; }

.review-text { font-size: 1.35rem; margin: 0.5rem 0 1rem; line-height: 1.4; }

.review-badge { color: var(--accent); font-size: 0.85rem; font-weight: 600; margin-top: 0.5rem; }

/* ---------- Ober Eats ---------- */
.eats-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.5rem;
}

.eats-card h3 { margin-bottom: 1.5rem; font-size: 1.4rem; }

.menu { list-style: none; }

.menu li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
}

.menu-note { color: var(--muted); font-size: 0.9rem; text-align: right; }

.eats-footer { margin-top: 1.5rem; color: var(--accent); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
}

.faq-list summary { font-weight: 600; font-size: 1.05rem; }

.faq-list details p { margin-top: 0.75rem; color: var(--muted); }

/* ---------- Stag section ---------- */
.stag-text { font-size: 1.4rem; margin: 1.5rem 0; }

.stag-countdown {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.stag-fineprint { font-size: 0.9rem; opacity: 0.7; }

/* ---------- Dashcam footage (video embeds) ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.5rem;
}

.video-card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card figcaption {
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Evidence Locker carousel ---------- */
.carousel { max-width: 62rem; margin: 0 auto; }

.carousel-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60vh;
  min-height: 360px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}

.car-figure {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.car-figure img { max-width: 100%; max-height: 100%; object-fit: contain; }

.car-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1.25rem 1rem;
  text-align: center;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.car-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.car-nav:hover { background: var(--accent); color: #111; }
.car-prev { left: 0.75rem; }
.car-next { right: 0.75rem; }

.car-counter {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  z-index: 2;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 1rem;
}

.car-fs {
  position: absolute;
  top: 0.75rem;
  left: 0.9rem;
  z-index: 2;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  font-size: 0.95rem;
  padding: 0.3rem 0.55rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.car-fs:hover { background: var(--accent); color: #111; }

.car-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-bottom: 0.5rem;
  overflow-x: auto;
}
.car-thumb {
  flex: 0 0 auto;
  width: 4.5rem;
  height: 4.5rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
  opacity: 0.5;
  transition: opacity 0.15s, border-color 0.15s;
}
.car-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-thumb:hover { opacity: 0.85; }
.car-thumb.active { opacity: 1; border-color: var(--accent); }

/* Fullscreen presentation mode */
.carousel:fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #000;
  padding: 1rem;
}
.carousel:fullscreen .carousel-stage {
  flex: 1;
  height: auto;
  border: none;
  border-radius: 0;
  background: #000;
}
.carousel:fullscreen .car-thumbs { flex: 0 0 auto; }

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer .logo { font-size: 2rem; margin-bottom: 1rem; display: block; }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .nav { padding: 1rem; }
  .nav-links { display: none; }
  .hero { padding: 4rem 1rem 3rem; }
  .driver-photo { flex-basis: 100%; }
}
