/* Taxi App hero — from Corewave Taxi App Page (01 Hero) */

@keyframes cw-taxi-hero-ping {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  70% {
    transform: scale(2.2);
    opacity: 0;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@keyframes cw-taxi-hero-pop {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.96);
  }
  12% {
    opacity: 1;
    transform: none;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes cw-taxi-hero-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-taxi-app-hero {
  background: radial-gradient(760px 540px at 76% 45%, rgba(247, 208, 70, 0.2), transparent 70%), #141210;
  color: #f3efe7;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 40px) 56px;
  box-sizing: border-box;
}

.cw-taxi-app-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.cw-taxi-app-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.cw-taxi-app-hero__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #d4f53c;
}

.cw-taxi-app-hero__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(46px, 6vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.cw-taxi-app-hero__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #f7d046;
  letter-spacing: -0.02em;
}

.cw-taxi-app-hero__lead {
  margin: 0;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.7;
}

.cw-taxi-app-hero__lead--primary {
  color: rgba(243, 239, 231, 0.75);
}

.cw-taxi-app-hero__lead--secondary {
  color: rgba(243, 239, 231, 0.6);
}

.cw-taxi-app-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cw-taxi-app-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cw-taxi-app-hero__btn--primary {
  background: #f7d046;
  color: #141210;
  font-weight: 700;
}

.cw-taxi-app-hero__btn--primary:hover,
.cw-taxi-app-hero__btn--primary:focus-visible {
  background: #fff;
  color: #141210;
}

.cw-taxi-app-hero__btn--secondary {
  border: 1px solid rgba(243, 239, 231, 0.25);
  color: #f3efe7;
}

.cw-taxi-app-hero__btn--secondary:hover,
.cw-taxi-app-hero__btn--secondary:focus-visible {
  border-color: #d4f53c;
  color: #d4f53c;
}

.cw-taxi-app-hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-width: 0;
  perspective: 1000px;
}

.cw-taxi-app-hero__map-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.cw-taxi-app-hero__map-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(243, 239, 231, 0.12);
  aspect-ratio: 4 / 3;
  background: #1c1916;
  transition: transform 0.25s ease-out;
  transform-style: preserve-3d;
}

.cw-taxi-app-hero__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cw-taxi-app-hero__car {
  transform-box: fill-box;
  transform-origin: center;
}

.cw-taxi-app-hero__pickup-ping {
  position: absolute;
  left: 11.25%;
  top: 85%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #7cf5c8;
  animation: cw-taxi-hero-ping 1.6s infinite;
  pointer-events: none;
}

.cw-taxi-app-hero__chip {
  position: absolute;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.cw-taxi-app-hero__chip--pickup {
  left: 3%;
  bottom: 4%;
  background: rgba(20, 18, 16, 0.85);
  color: #f3efe7;
}

.cw-taxi-app-hero__chip--drop {
  right: 3%;
  top: 4%;
  background: rgba(20, 18, 16, 0.85);
  color: #f3efe7;
}

.cw-taxi-app-hero__chip--live {
  left: 3%;
  top: 4%;
  background: #f7d046;
  color: #141210;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
}

.cw-taxi-app-hero__vehicles {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cw-taxi-app-hero__vehicle {
  flex: 1;
  min-width: 80px;
  border: 1px solid rgba(243, 239, 231, 0.18);
  background: transparent;
  color: #f3efe7;
  border-radius: 14px;
  padding: 9px 10px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.2s ease;
  font: inherit;
}

.cw-taxi-app-hero__vehicle:hover,
.cw-taxi-app-hero__vehicle:focus-visible {
  border-color: rgba(247, 208, 70, 0.45);
}

.cw-taxi-app-hero__vehicle--on {
  border-color: #f7d046;
  background: #f7d046;
  color: #141210;
}

.cw-taxi-app-hero__vehicle-name {
  font-weight: 700;
  font-size: 13.5px;
}

.cw-taxi-app-hero__vehicle-meta {
  font-size: 11.5px;
  opacity: 0.75;
}

.cw-taxi-app-hero__phone-wrap {
  position: relative;
  width: clamp(180px, 16vw, 220px);
}

.cw-taxi-app-hero__toast {
  position: absolute;
  left: -30px;
  right: -20px;
  top: -22px;
  z-index: 3;
  background: rgba(243, 239, 231, 0.96);
  color: #141210;
  border-radius: 16px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  animation: cw-taxi-hero-pop 3.2s ease both;
}

.cw-taxi-app-hero__toast-no {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #f7d046;
  color: #3a2e00;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-size: 12px;
  flex: none;
}

.cw-taxi-app-hero__toast-title {
  font-weight: 700;
  font-size: 12.5px;
}

.cw-taxi-app-hero__toast-sub {
  font-size: 11.5px;
  color: #5a534a;
}

.cw-taxi-app-hero__phone {
  border-radius: 32px;
  background: #0b0908;
  padding: 8px;
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.85),
    inset 0 0 0 1px rgba(243, 239, 231, 0.12);
}

.cw-taxi-app-hero__phone-screen {
  border-radius: 25px;
  overflow: hidden;
  background: #fffbe6;
  color: #3a2e00;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  opacity: 1;
}

.cw-taxi-app-hero__phone-screen--enter {
  animation: cw-taxi-hero-in 0.35s ease both;
}

.cw-taxi-app-hero__phone-head {
  background: #f7d046;
  padding: 20px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cw-taxi-app-hero__phone-meta {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
}

.cw-taxi-app-hero__phone-title {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.cw-taxi-app-hero__phone-kicker {
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.cw-taxi-app-hero__phone-value {
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.cw-taxi-app-hero__phone-body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.cw-taxi-app-hero__phone-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 11.5px;
}

.cw-taxi-app-hero__phone-row-label {
  color: #7a6a2a;
}

.cw-taxi-app-hero__phone-row-val {
  font-weight: 700;
}

.cw-taxi-app-hero__phone-ticks {
  display: flex;
  gap: 3px;
  margin-top: 4px;
}

.cw-taxi-app-hero__phone-tick {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(58, 46, 0, 0.15);
}

.cw-taxi-app-hero__phone-tick--on {
  background: #3a2e00;
}

.cw-taxi-app-hero__phone-cta {
  margin-top: auto;
  background: #3a2e00;
  color: #fffbe6;
  border-radius: 999px;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .cw-taxi-app-hero__visual {
    grid-template-columns: 1fr;
  }

  .cw-taxi-app-hero__phone-wrap {
    width: min(100%, 240px);
    margin: 0 auto;
  }
}
