:root {
  --blue: #0b78e3;
  --blue-deep: #0756a8;
  --blue-soft: #e8f3ff;
  --navy: #08111f;
  --ink: #0f172a;
  --muted: #5b677a;
  --line: #e6edf5;
  --bg: #f5f8fc;
  --card: #ffffff;
  --yellow: #ffd000;
  --yellow-ink: #1a1400;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(8, 17, 31, 0.12);
  --header: 76px;
  --max: 1180px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

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

.store-badge img {
  max-width: none;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

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

button,
.btn {
  font-family: inherit;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

.wrap,
.header-inner {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: clamp(16px, 4.2vw, 28px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header);
  height: auto;
  display: flex;
  align-items: center;
  background: rgba(245, 248, 252, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(8, 17, 31, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.2rem;
  min-width: 0;
  flex: 0 1 auto;
}

.logo img,
.logo svg {
  width: 36px;
  height: 36px;
}

.logo span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted);
}

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

.site-nav a {
  font-size: 0.94rem;
  font-weight: 600;
  color: #334155;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cta-short {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn-yellow {
  background: var(--yellow);
  color: var(--yellow-ink);
  box-shadow: 0 10px 24px rgba(255, 208, 0, 0.28);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-call {
  background: #102033;
  color: #fff;
}

.hero {
  position: relative;
  padding: clamp(16px, 3vw, 28px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background:
    radial-gradient(circle at 82% 8%, rgba(11, 120, 227, 0.38), transparent 26%),
    radial-gradient(circle at 12% 78%, rgba(255, 208, 0, 0.16), transparent 22%),
    linear-gradient(180deg, #050b14 0%, #0b1730 62%, var(--bg) 100%);
  z-index: -2;
}

.hero::after {
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(#000 55%, transparent 100%);
  z-index: -1;
}

.hero-grid > *,
.steps > *,
.features > *,
.driver-grid > *,
.faq > *,
.contact > * {
  min-width: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #dbeafe;
}

.hero h1 {
  margin: 16px 0 14px;
  font-size: clamp(1.85rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}

.hero-lead {
  max-width: 540px;
  color: #d5e3f4;
  font-size: clamp(0.95rem, 2.4vw, 1.08rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
  align-items: center;
}

.hero-actions .btn {
  height: 48px;
  padding: 0 18px;
  flex: 0 0 auto;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  height: 54px;
  max-width: min(100%, 168px);
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  flex: 0 0 auto;
}

.store-badge.play {
  height: 54px;
  max-width: 178px;
}

.store-badge.apple {
  max-width: 165px;
}

.store-badge img {
  height: 54px;
  width: auto;
  display: block;
}

.store-badge.play {
  height: 54px;
  background: transparent;
}

.store-badge.play img {
  height: 80px;
  margin: -13px -12px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-card {
  position: absolute;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid rgba(255, 255, 255, 0.7);
  background: #fff;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card.one {
  width: 86%;
  height: 320px;
  right: 0;
  top: 20px;
  transform: rotate(3deg);
}

.hero-card.two {
  width: 58%;
  height: 210px;
  left: 0;
  bottom: 36px;
  transform: rotate(-6deg);
}

.stats {
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 8px 0;
  box-shadow: var(--shadow);
}

.stat {
  padding: 22px 16px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.section {
  padding: clamp(48px, 8vw, 84px) 0;
  scroll-margin-top: 88px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 42px;
  text-align: center;
}

.kicker {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 10px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.steps-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.steps-cta .btn {
  min-width: 220px;
  text-align: center;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--yellow);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.step:hover::before {
  opacity: 1;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #111827;
  color: var(--yellow);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 16px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cfe3f8;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 16px;
}

.icon.yellow {
  background: #fff6c7;
  color: #8a6d00;
}

.icon.navy {
  background: #102033;
  color: #fff;
}

.badge-new {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #102033;
  color: var(--yellow);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

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

.emergency {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: clamp(20px, 3vw, 32px);
  overflow: hidden;
}

.emergency-copy {
  padding: clamp(20px, 4vw, 42px);
  min-width: 0;
}

.emergency-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 4vw, 2rem);
  letter-spacing: -0.04em;
}

.emergency-copy p {
  color: var(--muted);
}

.emergency img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.gallery-head h2 {
  margin: 0 0 8px;
  letter-spacing: -0.04em;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.gallery-nav {
  display: flex;
  gap: 8px;
}

.gallery-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}

.gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.gallery-card {
  flex: 0 0 min(85%, 720px);
  scroll-snap-align: start;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.gallery-card img {
  width: 100%;
  height: min(38vw, 380px);
  min-height: 180px;
  object-fit: cover;
}

.driver {
  background: var(--navy);
  color: #fff;
  border-radius: clamp(20px, 4vw, 40px);
  padding: clamp(22px, 4vw, 56px) clamp(16px, 3.5vw, 48px);
  overflow: hidden;
  position: relative;
  max-width: 100%;
}

.driver::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -80px;
  background: radial-gradient(circle, rgba(11, 120, 227, 0.45), transparent 65%);
  pointer-events: none;
}

.driver-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(18px, 3vw, 36px);
  position: relative;
  z-index: 1;
}

.driver h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
  margin: 10px 0 14px;
}

.driver p {
  color: #c5d4e6;
}

.driver-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.driver-list div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.driver-shot {
  border-radius: 28px;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.08);
}

.driver-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 0;
  font-size: clamp(0.95rem, 2.4vw, 1.02rem);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: inherit;
}

.faq-item .answer {
  display: none;
  color: var(--muted);
  padding: 0 0 18px;
}

.faq-item.is-open .answer {
  display: block;
}

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
}

.contact-card h3 {
  margin-top: 0;
}

.contact-card a {
  color: var(--blue);
  font-weight: 700;
}

.final-cta {
  text-align: center;
  background: linear-gradient(160deg, #071018, #0b78e3 130%);
  color: #fff;
  border-radius: clamp(20px, 4vw, 36px);
  padding: clamp(32px, 6vw, 64px) clamp(16px, 4vw, 24px);
}

.final-cta .hero-actions {
  justify-content: center;
}

.final-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.site-footer {
  padding: 42px 0 110px;
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.site-footer h4 {
  margin: 0 0 10px;
  color: var(--ink);
}

.site-footer a:hover {
  color: var(--blue);
}

.legal {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.mobile-cta {
  display: none;
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 60;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 8px;
  box-shadow: var(--shadow);
  gap: 8px;
}

.mobile-cta .btn {
  flex: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .cta-long {
    display: none;
  }

  .cta-short {
    display: inline;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 20px;
    border-bottom: 1px solid var(--line);
    gap: 0;
    box-shadow: 0 16px 30px rgba(8, 17, 31, 0.08);
  }

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

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

  .nav-cta .btn-outline {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .emergency,
  .driver-grid,
  .faq,
  .contact,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .steps,
  .features {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .store-badge.play {
    max-width: 178px;
  }

  .stats {
    margin-top: 8px;
  }

  .hero-visual {
    min-height: 0;
    aspect-ratio: 16 / 9;
    max-height: 280px;
  }

  .hero-card {
    border-width: 0;
    border-radius: 18px;
  }

  .hero-card.one {
    inset: 0;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    transform: none;
  }

  .hero-card.two {
    display: none;
  }

  .driver::after {
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 640px) {
  .stats-grid,
  .steps,
  .features {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .hero-visual {
    max-height: 200px;
  }

  .gallery-card {
    flex-basis: 88%;
  }

  .gallery-card img {
    height: 200px;
    min-height: 160px;
  }

  .mobile-cta {
    display: flex;
  }

  .logo span {
    display: none;
  }

  .nav-cta .btn-yellow {
    display: none;
  }

  .eyebrow {
    font-size: 0.68rem;
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
  }

  .chip {
    font-size: 0.78rem;
  }

  .site-footer {
    padding-bottom: calc(108px + env(safe-area-inset-bottom));
  }

  .emergency img,
  .driver-shot img {
    min-height: 200px;
  }

  .btn {
    min-height: 44px;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 400px) {
  .store-badge,
  .store-badge.play {
    height: 42px;
    max-width: 100%;
  }

  .store-badge.apple {
    max-width: 155px;
  }

  .store-badge img {
    height: 42px;
  }

  .store-badge.play img {
    height: 64px;
    margin: -11px -8px;
  }

  .hero-actions .btn {
    height: 44px;
    width: 100%;
  }

  .hero-actions {
    gap: 8px;
  }

  .logo {
    font-size: 1.05rem;
  }

  .logo svg {
    width: 32px;
    height: 32px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero-visual {
    max-height: 160px;
  }

  .hero {
    padding-bottom: 32px;
  }

  .mobile-cta {
    display: flex;
  }

  .site-footer {
    padding-bottom: calc(108px + env(safe-area-inset-bottom));
  }
}

@media (min-width: 1600px) {
  :root {
    --max: 1280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
