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

/* Palette mirrors the TRVOO app dark theme (material-theme.scss). */
:root {
  --bg: #0A0A0F;
  --surface: #1A1A2E;
  --surface-elevated: #252540;
  --primary: #00E5CC;
  --primary-light: #5EFCE8;
  --primary-dark: #00BCD4;
  --primary-muted: rgba(0, 229, 204, 0.15);
  --secondary: #7B2FBE;
  --secondary-light: #9C5FD9;
  --secondary-muted: rgba(123, 47, 190, 0.2);
  --text: #FFFFFF;
  --text-secondary: #B4B4C4;
  --text-muted: #6B6B80;
  --border: #2A2A3E;
  --border-light: #3A3A50;
  --gradient: linear-gradient(135deg, #7B2FBE, #9C5FD9, #00BCD4, #00E5CC);
  --max: 1180px;
  --radius: 18px;
}

html { scroll-behavior: smooth; color-scheme: dark; }

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
.container { width: min(92%, var(--max)); margin-inline: auto; }
.section { padding: 5.5rem 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.eyebrow-purple { color: var(--secondary-light); }
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(0,229,204,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,229,204,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(0,229,204,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,229,204,0); }
}

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.1; }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: 0.8rem; }
.section-head p { color: var(--text-secondary); font-size: 1.1rem; }

/* ═══════ HEADER ═══════ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,10,15,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; }
.brand-logo { width: 40px; height: 40px; border-radius: 10px; }
nav { display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; }
nav a {
  text-decoration: none; color: var(--text-secondary);
  padding: 0.45rem 0.7rem; border-radius: 8px;
  font-size: 0.95rem; font-weight: 500; transition: color 0.2s;
}
nav a:hover { color: var(--text); }
nav .nav-link-cta { color: var(--text); font-weight: 600; margin-left: 0.5rem; }
nav .nav-cta {
  background: var(--primary); color: var(--bg);
  font-weight: 700; border-radius: 999px; padding: 0.55rem 1.2rem;
}
nav .nav-cta:hover { background: var(--primary-light); color: var(--bg); }

/* ═══════ BUTTONS ═══════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-decoration: none; border-radius: 999px;
  font-weight: 700; font-size: 1rem; padding: 0.8rem 1.5rem;
  border: 1.5px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-arrow { font-size: 1.2em; line-height: 1; }
.btn-large { font-size: 1.1rem; padding: 0.95rem 1.8rem; }
.btn-primary {
  background: var(--primary); color: var(--bg); border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(0,229,204,0.3);
}
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,229,204,0.4); }
.btn-secondary {
  background: var(--secondary); color: #fff; border-color: var(--secondary);
  box-shadow: 0 8px 30px rgba(123,47,190,0.35);
}
.btn-secondary:hover { background: var(--secondary-light); border-color: var(--secondary-light); transform: translateY(-2px); }
.btn-ghost { color: var(--text); border-color: var(--border-light); background: transparent; }
.btn-ghost:hover { border-color: var(--text); background: rgba(255,255,255,0.05); }
.cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.cta-row.center, .store-badges.center { justify-content: center; }

.store-badges { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-light); border-radius: 12px;
  padding: 0.5rem 1rem 0.5rem 0.8rem; text-decoration: none;
  font-size: 1.1rem; font-weight: 600; line-height: 1.05;
  transition: border-color 0.2s, background 0.2s;
}
.store-badge:hover { border-color: var(--primary); background: var(--surface-elevated); }
.store-badge small { display: block; font-size: 0.62rem; font-weight: 400; color: var(--text-secondary); letter-spacing: 0.03em; }
.store-icon { flex-shrink: 0; }

/* ═══════ HERO ═══════ */
.hero { position: relative; overflow: hidden; padding: 5rem 0 4rem; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; opacity: 0.55; }
.hero-glow-a { width: 620px; height: 620px; background: var(--primary); top: -260px; right: -140px; opacity: 0.22; }
.hero-glow-b { width: 520px; height: 520px; background: var(--secondary); bottom: -260px; left: -180px; opacity: 0.35; }
.hero-grid > *, .exp-grid > *, .safety-grid > * { min-width: 0; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem; align-items: center; position: relative; z-index: 1;
}
.hero h1 {
  font-size: clamp(3.6rem, 9vw, 7rem);
  font-weight: 900; line-height: 0.95; letter-spacing: -0.05em;
  margin-bottom: 1.4rem;
}
.hero h1 .highlight {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text { font-size: 1.2rem; color: var(--text-secondary); max-width: 520px; margin-bottom: 2rem; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 320px; border-radius: 40px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 8px #141422, 0 0 60px rgba(0,229,204,0.12);
  overflow: hidden;
  transform: rotate(-3deg);
}
.phone-map { background: #12121F; height: 260px; }
.phone-map svg { width: 100%; height: 100%; }
.map-route { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.map-car { animation: car 3s ease-in-out infinite alternate; }
@keyframes car { from { transform: translate(0,20px); } to { transform: translate(0,-20px); } }
.phone-sheet { padding: 0.8rem 1rem 1.1rem; background: var(--surface); }
.sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: var(--border-light); margin: 0 auto 0.8rem; }
.sheet-eta { display: flex; flex-direction: column; margin-bottom: 0.8rem; }
.sheet-eta strong { font-size: 1rem; }
.sheet-eta span { font-size: 0.78rem; color: var(--text-secondary); }
.ride-options { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.8rem; }
.ride-option {
  display: grid; grid-template-columns: 1fr auto auto; gap: 0.7rem; align-items: center;
  padding: 0.55rem 0.8rem; border-radius: 12px;
  background: var(--surface-elevated); border: 1px solid transparent;
  font-size: 0.85rem;
}
.ride-option.selected { border-color: var(--primary); background: var(--primary-muted); }
.ride-option.ro-exp { border-color: var(--secondary); background: var(--secondary-muted); }
.ro-name { font-weight: 600; }
.ro-eta { color: var(--text-secondary); font-size: 0.75rem; }
.ro-price { font-weight: 700; }
.sheet-btn {
  background: var(--primary); color: var(--bg);
  border-radius: 999px; text-align: center; padding: 0.7rem;
  font-weight: 700; font-size: 0.9rem;
}
.float-card {
  position: absolute; background: var(--surface-elevated);
  border: 1px solid var(--border-light); border-radius: 14px;
  padding: 0.6rem 0.9rem; font-size: 0.85rem; font-weight: 600;
  display: flex; align-items: center; gap: 0.5rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  animation: float 5s ease-in-out infinite;
}
.float-card span:not(.fc-dot) { color: var(--text-secondary); font-weight: 400; }
.float-a { top: 12%; left: 0; }
.float-b { bottom: 14%; right: 0; animation-delay: -2.5s; }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ═══════ PROOF STRIP ═══════ */
.proof { border-block: 1px solid var(--border); background: rgba(26,26,46,0.5); }
.proof-strip {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 1.5rem 2rem; padding: 1.4rem 0;
  font-size: 0.85rem; color: var(--text-secondary);
}
.proof-strip span { display: flex; flex-direction: column; }
.proof-strip strong { color: var(--text); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }

/* ═══════ RIDE TYPES ═══════ */
.ride-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.ride-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem;
  transition: transform 0.2s, border-color 0.2s;
}
.ride-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.ride-card-accent:hover { border-color: var(--secondary-light); }
.ride-code {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary-muted); color: var(--primary);
  font-weight: 800; font-size: 1.1rem; margin-bottom: 1rem;
}
.ride-card-accent .ride-code { background: var(--secondary-muted); color: var(--secondary-light); }
.ride-card h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.ride-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ═══════ HOW IT WORKS ═══════ */
.section-how { background: var(--surface); border-block: 1px solid var(--border); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step { border-top: 2px solid var(--border-light); padding-top: 1.2rem; }
.step-num { display: block; font-size: 0.85rem; font-weight: 800; color: var(--primary); letter-spacing: 0.1em; margin-bottom: 0.8rem; }
.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { color: var(--text-secondary); }

/* ═══════ SAFETY ═══════ */
.safety-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.safety-grid .section-head { margin-bottom: 0; }
.safety-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.safety-list li {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.3rem; color: var(--text-secondary); font-size: 0.95rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.safety-list strong { color: var(--text); font-size: 1.05rem; }

/* ═══════ EXPERIENCE ═══════ */
.section-experience {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(123,47,190,0.35), transparent 55%),
    radial-gradient(ellipse at 90% 20%, rgba(0,188,212,0.18), transparent 50%),
    var(--surface);
  border-block: 1px solid var(--border);
}
.exp-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.exp-copy h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.exp-copy p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 1.8rem; }
.exp-copy strong { color: var(--text); }
.exp-cards { display: flex; flex-direction: column; gap: 0.9rem; }
.exp-card {
  display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; align-items: center;
  background: rgba(10,10,15,0.6); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 1.2rem 1.4rem;
  backdrop-filter: blur(8px);
}
.exp-card > span { grid-row: span 2; font-size: 1.8rem; }
.exp-card h3 { font-size: 1.05rem; }
.exp-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ═══════ DRIVERS ═══════ */
.drivers-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 2.5rem;
}
.drivers-panel h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; margin-bottom: 0.5rem; }
.drivers-panel p { color: var(--text-secondary); max-width: 560px; }
.drivers-panel .btn { flex-shrink: 0; }

/* ═══════ FAQ ═══════ */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  padding: 1.2rem 0; font-weight: 600; font-size: 1.05rem;
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--primary); transition: transform 0.2s; }
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 1.3rem; color: var(--text-secondary); max-width: 700px; }
.faq-answer ul { padding-left: 1.2rem; }
.faq-answer li { margin-bottom: 0.3rem; }
.faq-answer strong { color: var(--text); }
.faq-answer a { color: var(--primary); text-decoration: none; }
.faq-answer a:hover { text-decoration: underline; }

/* ═══════ FINAL CTA ═══════ */
.section-cta { padding-top: 0; }
.cta-panel {
  text-align: center; border-radius: 28px; padding: 4rem 2rem;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(0,229,204,0.25), transparent 60%),
    var(--surface);
  border: 1px solid var(--border-light);
  position: relative; overflow: hidden;
}
.cta-panel::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gradient); }
.cta-panel h2 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; margin-bottom: 0.6rem; }
.cta-panel p { color: var(--text-secondary); margin-bottom: 1.8rem; }
.cta-panel .cta-row { margin-bottom: 1.4rem; }

/* ═══════ FOOTER ═══════ */
.site-footer { padding: 3rem 0 1.5rem; border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand img { width: 48px; height: 48px; border-radius: 10px; margin-bottom: 0.8rem; }
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 0.3rem; }
.footer-col a { color: var(--text-secondary); text-decoration: none; font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.2rem; }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 960px) {
  .hero-grid, .exp-grid, .safety-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0; }
  .hero-visual { margin-top: 1rem; }
  .ride-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.2rem; }
  .drivers-panel { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section { padding: 4rem 0; }
}
@media (max-width: 600px) {
  nav a:not(.nav-cta):not(.nav-link-cta) { display: none; }
  .hero h1 { font-size: 3.4rem; }
  .phone { width: 280px; transform: none; }
  .float-card { display: none; }
  .ride-grid, .safety-list { grid-template-columns: 1fr; }
  .proof-strip { justify-content: flex-start; gap: 1rem 1.8rem; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-panel { padding: 2.5rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .map-route, .map-car, .float-card, .pulse { animation: none; }
  .map-route { stroke-dashoffset: 0; }
}
