:root {
  --ink: #071019;
  --ink-2: #101923;
  --panel: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.14);
  --paper: #f4f6f8;
  --muted: #6d7784;
  --gold: #f6a433;
  --gold-2: #ffbe5c;
  --blue: #5cc7df;
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Poppins, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.route-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.site-header,
main,
.site-footer,
.floating-book {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(7, 16, 25, 0.72);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.site-header.is-scrolled {
  background: rgba(7, 16, 25, 0.94);
}

.brand img {
  width: 150px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 12px 15px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(246, 164, 51, 0.16);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  transform: scale(1.06);
  animation: imageBreathe 14s ease-in-out infinite alternate;
}

.hero-media:after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 74% 18%, rgba(246, 164, 51, 0.34), transparent 26%),
    radial-gradient(circle at 18% 78%, rgba(92, 199, 223, 0.18), transparent 30%),
    linear-gradient(112deg, rgba(7, 16, 25, 0.98), rgba(7, 16, 25, 0.78) 48%, rgba(7, 16, 25, 0.52));
}

.hero-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
  animation: gridMove 24s linear infinite;
}

.lane-grid {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 8%;
  z-index: 2;
  height: 35%;
  transform: perspective(820px) rotateX(62deg);
  transform-origin: bottom center;
}

.lane-grid span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, transparent 0 86px, rgba(255, 190, 92, 0.8) 86px 150px, transparent 150px 250px);
  filter: drop-shadow(0 0 18px rgba(246, 164, 51, 0.44));
  animation: laneMove 1.15s linear infinite;
}

.lane-grid span:nth-child(1) {
  top: 18%;
}

.lane-grid span:nth-child(2) {
  top: 42%;
  animation-delay: -0.35s;
}

.lane-grid span:nth-child(3) {
  top: 66%;
  animation-delay: -0.7s;
}

.lane-grid span:nth-child(4) {
  top: 90%;
  animation-delay: -1s;
}

.hero-content {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 420px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 150px 0 74px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 750px;
  margin-bottom: 22px;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.hero-lede {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.3vw, 24px);
  font-weight: 600;
}

.hero-actions,
.app-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin: 30px 0 20px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  font-weight: 900;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-action {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 18px 42px rgba(246, 164, 51, 0.32);
}

.secondary-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-3px);
}

.primary-action.dark {
  color: #fff;
  background: var(--ink);
  box-shadow: none;
}

.status-deck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 22px 0 26px;
}

.status-deck div,
.feature-card,
.fleet-rail article,
.booking-shell,
.split-section,
.cta-section {
  border: 1px solid var(--line);
  border-radius: 18px;
}

.status-deck div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.status-deck strong {
  display: block;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.status-deck span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.app-row img {
  width: 154px;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.28));
}

.booking-shell {
  position: relative;
  align-self: center;
  contain: layout paint;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 240, 246, 0.92));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.booking-shell:before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(130deg, rgba(246, 164, 51, 0.22), transparent 26%, transparent 72%, rgba(92, 199, 223, 0.16));
  pointer-events: none;
}

.booking-shell:after {
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), var(--blue), transparent);
  animation: panelScan 3s ease-in-out infinite;
}

.booking-head,
.booker-frame {
  position: relative;
  z-index: 1;
}

.booking-head p {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.booking-head h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 30px;
}

.booker-frame {
  width: 100%;
  min-height: 620px;
  overflow: hidden;
}

#taxiapps-web-booker {
  width: 100%;
  overflow: hidden;
}

#taxiapps-web-booker,
#taxiapps-web-booker iframe,
#taxiapps-web-booker > * {
  max-width: 100% !important;
}

.ticker {
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 16px 0;
  animation: ticker 24s linear infinite;
}

.ticker-track span {
  padding: 9px 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(246, 164, 51, 0.24);
  border-radius: 999px;
  background: rgba(246, 164, 51, 0.08);
}

.section,
.fleet-section,
.split-section,
.reviews-section,
.cta-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section,
.reviews-section {
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.split-copy h2,
.cta-section h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.section-heading.light h2 {
  color: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 60px rgba(16, 25, 35, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.feature-card:hover,
.fleet-rail article:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 78px rgba(16, 25, 35, 0.16);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
}

.feature-card div {
  padding: 24px;
}

.feature-card span {
  color: var(--gold);
  font-weight: 900;
}

.feature-card h3,
.fleet-rail h3 {
  margin: 10px 0;
  font-size: 23px;
  line-height: 1.08;
}

.feature-card p {
  color: var(--muted);
}

.feature-card a {
  color: var(--ink);
  font-weight: 900;
}

.fleet-section {
  width: 100%;
  padding: 96px max(16px, calc((100vw - 1120px) / 2));
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(246, 164, 51, 0.2), transparent 24%),
    linear-gradient(135deg, #071019, #122333);
}

.fleet-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.fleet-rail article {
  min-width: 240px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  scroll-snap-align: start;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.fleet-rail img {
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
}

.fleet-rail span,
.fleet-rail h3 {
  display: block;
  padding: 0 18px;
}

.fleet-rail span {
  margin-top: 18px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.fleet-rail h3 {
  margin-bottom: 22px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  overflow: hidden;
  margin-top: 92px;
  margin-bottom: 92px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 25, 35, 0.09);
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.split-copy {
  padding: clamp(30px, 5vw, 62px);
}

.split-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
}

.proof-grid div {
  padding: 16px;
  border-radius: 14px;
  background: var(--paper);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  font-size: 23px;
}

.proof-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.reviews-section {
  padding-top: 0;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px;
  margin-bottom: 84px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #173047);
  box-shadow: var(--shadow);
}

.cta-section h2 {
  color: #fff;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  padding: 58px max(16px, calc((100vw - 1120px) / 2));
  color: rgba(255, 255, 255, 0.7);
  background: #05090d;
}

.site-footer img {
  width: 190px;
  margin-bottom: 18px;
  border-radius: 8px;
}

.site-footer nav,
.site-footer address {
  display: grid;
  gap: 12px;
  font-style: normal;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.floating-book {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px 0 8px;
  color: var(--ink);
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 18px 42px rgba(246, 164, 51, 0.32);
}

.floating-book span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  border-radius: 10px;
  background: var(--ink);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes imageBreathe {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1) translate3d(-1.4%, -1%, 0);
  }
}

@keyframes gridMove {
  to {
    background-position: 82px 82px;
  }
}

@keyframes laneMove {
  to {
    background-position: 250px 0;
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes panelScan {
  0%, 100% {
    opacity: 0.35;
    transform: scaleX(0.42);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 132px;
  }

  .booking-shell {
    width: min(460px, 100%);
    margin: 0 auto;
  }

  .feature-grid,
  .split-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .split-image img {
    min-height: 340px;
  }
}

@media (max-width: 720px) {
  main,
  .hero,
  .hero-content,
  .hero-copy {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .site-header {
    top: 0;
    width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .brand img {
    width: 148px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    display: none;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(7, 16, 25, 0.96);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: calc(100vw - 24px);
    min-height: auto;
    padding: 124px 0 46px;
    gap: 30px;
  }

  .hero-copy {
    width: calc(100vw - 24px);
    min-width: 0;
  }

  .hero-copy > * {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(40px, 12vw, 50px);
    line-height: 0.94;
    overflow-wrap: break-word;
  }

  .hero-lede {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-lede {
    font-size: 17px;
  }

  .status-deck,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .app-row img {
    width: 156px;
  }

  .booking-shell {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin-left: 0;
    margin-right: 0;
    padding: 10px;
  }

  .booker-frame {
    min-height: 620px;
    overflow: hidden;
  }

  #taxiapps-web-booker iframe,
  #taxiapps-web-booker > * {
    width: 118% !important;
    max-width: none !important;
    transform: scale(0.84);
    transform-origin: top left;
  }

  .section,
  .reviews-section {
    padding: 62px 0;
  }

  .feature-grid {
    gap: 14px;
  }

  .fleet-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .split-section {
    margin-top: 62px;
    margin-bottom: 62px;
  }

  .cta-section {
    display: grid;
    padding: 26px;
  }

  .floating-book {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .route-canvas {
    display: none;
  }
}
