:root {
  --primary: #0066ff;
  --primary-dark: #0047b3;
  --primary-deep: #003380;
  --primary-light: #e8f1ff;
  --accent: #ff6b00;
  --accent-light: #fff0e6;
  --night: #0b1220;
  --sidebar: #070d18;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray100: #e2e8f0;
  --gray400: #94a3b8;
  --gray500: #64748b;
  --gray800: #1e293b;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(11, 18, 32, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray800);
  background: var(--off-white);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.text-accent {
  color: var(--accent);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray100);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--night);
  text-decoration: none;
}

.logo__mark {
  flex-shrink: 0;
  display: block;
}

.logo__text {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.logo__mobi {
  color: var(--primary);
}

.logo__mobi--light {
  color: var(--white);
}

.logo__x {
  color: var(--accent);
}

.nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.nav a {
  color: var(--gray800);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav__cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.nav__cta:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--night);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 4vw 1rem;
  background: var(--white);
  border-bottom: 1px solid var(--gray100);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--gray800);
  font-weight: 500;
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  .menu-btn {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--off-white) 70%);
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero__badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--white);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  color: var(--night);
  margin: 0 0 1rem;
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--gray500);
  max-width: 36ch;
  margin-bottom: 1.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero__note {
  font-size: 0.85rem;
  color: var(--gray400);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: inherit;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: #e55f00;
}

.btn--ghost {
  background: var(--white);
  color: var(--primary) !important;
  border: 2px solid var(--primary);
}

.btn--ghost:hover {
  background: var(--primary-light);
  color: var(--primary-dark) !important;
}

.btn--sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.btn--white {
  background: var(--white);
  color: var(--primary-dark) !important;
  font-weight: 700;
  display: inline-flex;
  margin-top: 0.75rem;
}

.btn--white:hover {
  background: var(--off-white);
  color: var(--primary) !important;
}

/* Phone mock */
.phone-mock {
  position: relative;
  max-width: 280px;
  margin-inline: auto;
  aspect-ratio: 9/19;
  background: linear-gradient(145deg, #1a2438, var(--night));
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(11, 18, 32, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-mock__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  background: var(--night);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-mock__screen {
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  position: relative;
  display: flex;
  flex-direction: column;
}

.mock-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px 4px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--night);
  background: var(--white);
}

.mock-status__icons {
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  color: var(--gray500);
}

.mock-appbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 14px 10px;
  background: var(--white);
  border-bottom: 1px solid var(--gray100);
  font-size: 0.75rem;
}

.mock-appbar__logo {
  font-weight: 800;
  letter-spacing: -0.04em;
}

.mock-appbar__city {
  color: var(--gray500);
  font-weight: 600;
}

.mock-map {
  position: relative;
  flex: 1;
  min-height: 140px;
  overflow: hidden;
  background: #d4ebff;
}

.mock-map__svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mock-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mock-pin--origin {
  left: 18%;
  bottom: 28%;
  background: var(--accent);
}

.mock-pin--dest {
  right: 16%;
  top: 22%;
  background: var(--primary);
}

.mock-eta {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gray800);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.mock-eta strong {
  color: var(--primary);
}

.mock-sheet {
  background: var(--white);
  border-radius: 18px 18px 0 0;
  padding: 8px 14px 16px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}

.mock-sheet__handle {
  width: 36px;
  height: 4px;
  background: var(--gray100);
  border-radius: 999px;
  margin: 0 auto 10px;
}

.mock-driver {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mock-driver__avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.mock-driver__info {
  display: flex;
  flex-direction: column;
  font-size: 0.68rem;
  color: var(--gray500);
  line-height: 1.35;
}

.mock-driver__info strong {
  color: var(--night);
  font-size: 0.78rem;
}

.mock-driver__rating {
  color: var(--accent);
  font-weight: 700;
}

.mock-card {
  background: var(--primary-light);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(0, 102, 255, 0.15);
}

.mock-card__title {
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--night);
}

.mock-card__sub {
  font-size: 0.62rem;
  color: var(--gray500);
  margin-top: 2px;
}

.mock-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--alt {
  background: var(--white);
}

.section h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--night);
  margin: 0 0 1rem;
}

.section__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .section__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.section__intro {
  color: var(--gray500);
  max-width: 60ch;
  margin-bottom: 2rem;
}

.section__contact {
  margin-top: 2rem;
  color: var(--gray500);
}

.feature-list {
  padding-left: 1.2rem;
  color: var(--gray500);
}

.feature-list li {
  margin-bottom: 0.5rem;
}

.card {
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  font-size: 1.35rem;
}

.card--blue {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}

.card--blue p,
.card--orange p {
  opacity: 0.95;
}

.card--orange {
  background: linear-gradient(135deg, var(--accent), #e55f00);
  color: var(--white);
}

.cards-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cards-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mini-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray100);
}

.mini-card h3 {
  margin-top: 0;
  color: var(--night);
}

.mini-card p {
  color: var(--gray500);
  margin-bottom: 0;
}

/* Waitlist */
.section--waitlist {
  background: var(--night);
  color: var(--white);
}

.waitlist {
  text-align: center;
  max-width: 520px;
}

.waitlist h2 {
  color: var(--white);
}

.waitlist p {
  color: var(--gray400);
}

.waitlist__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.waitlist__form input,
.waitlist__form select {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--gray800);
  background: var(--sidebar);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
}

.waitlist__form input::placeholder {
  color: var(--gray400);
}

.waitlist__msg {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.waitlist__msg.success {
  background: rgba(0, 200, 83, 0.15);
  color: #7dffb0;
}

.waitlist__msg.error {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: var(--sidebar);
  color: var(--gray400);
  font-size: 0.9rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.logo--footer .logo__text {
  font-size: 1.15rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  color: var(--gray400);
}

.footer__links a:hover {
  color: var(--white);
}

/* Privacy page */
.page-legal {
  padding: 3rem 0 4rem;
}

.page-legal h1 {
  color: var(--night);
  margin-bottom: 0.5rem;
}

.page-legal .updated {
  color: var(--gray400);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.page-legal h2 {
  color: var(--night);
  margin-top: 2rem;
}

.page-legal p,
.page-legal li {
  color: var(--gray500);
  max-width: 70ch;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
