/* Vanzy Platform — premium growth layer (mobile-first) */
/* Fonts loaded via <link> on inner pages — homepage uses system stack for LCP */
:root {
  --font-display: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font: var(--font-body);
  --motion-fast: 180ms cubic-bezier(0.22, 1, 0.36, 1);
  --motion-med: 420ms cubic-bezier(0.22, 1, 0.36, 1);
  --glow-blue: 0 12px 40px rgba(77, 163, 255, 0.28);
}

body {
  font-family: var(--font-body);
}

h1, h2, h3, .logo-text-van, .logo-text-zy,
.home-hero__brand, .home-hero__title, .section-title,
.inner-hero__content h1, .seo-hero h1, .map-hero h1 {
  font-family: var(--font-display);
}

/* ── Premium hero (Uber/Bolt inspired, brand-first) ── */
.page-home .home-hero {
  min-height: 100svh;
  justify-content: center;
  padding-top: calc(var(--header-h) + 12px);
  padding-bottom: 32px;
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--max-w));
  margin-inline: auto;
  display: grid;
  gap: 28px;
  align-items: end;
}

.home-hero__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(1.75rem, 6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.home-hero__brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: var(--glow-blue);
}

.home-hero__brand .logo-text-van { color: #fff; }
.home-hero__brand .logo-text-zy { color: var(--light-blue); }

.home-hero__title {
  font-size: clamp(1.85rem, 6.5vw, 3.15rem);
  max-width: 15ch;
}

.home-hero__lead {
  max-width: 34ch;
  margin-bottom: 22px;
}

.home-hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.home-hero__cta-group .btn {
  justify-content: center;
  min-height: 52px;
  font-family: var(--font-display);
  font-weight: 700;
  transition: transform var(--motion-fast), box-shadow var(--motion-fast), background var(--motion-fast);
}

.home-hero__cta-group .btn:hover {
  transform: translateY(-2px);
}

.home-hero__cta-group .btn-primary {
  box-shadow: var(--glow-blue);
}

.btn-audience {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background var(--motion-fast), border-color var(--motion-fast), transform var(--motion-fast);
}

.btn-audience:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transform: translateY(-1px);
}

.home-hero__audience-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.home-hero__device {
  justify-self: center;
  position: relative;
}

.home-hero__phone {
  width: min(240px, 62vw);
  height: auto;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.45));
  animation: phoneFloat 5.5s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__phone { animation: none; }
}

@media (min-width: 768px) {
  .home-hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
    padding-bottom: 24px;
  }

  .home-hero__audience-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-hero__cta-group {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .home-hero__phone {
    width: min(280px, 34vw);
  }
}

@media (min-width: 1024px) {
  .home-hero__phone { width: 300px; }
}

/* Store buttons as links */
a.btn-store {
  text-decoration: none;
  cursor: pointer;
}

a.btn-store:not(.disabled):hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-blue);
}

.btn-store.coming-soon-link small::after {
  content: ' · Coming Soon';
  opacity: 0.75;
  font-weight: 600;
}

/* ── App showcase strip ── */
.app-showcase {
  padding: 48px 0 24px;
  overflow: hidden;
}

.app-showcase__track {
  display: flex;
  gap: clamp(12px, 3vw, 20px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 16px 24px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: none;
}

.app-showcase__track::-webkit-scrollbar { display: none; }

.app-shot {
  flex: 0 0 auto;
  width: min(240px, 68vw);
  max-width: 280px;
  scroll-snap-align: center;
  border-radius: 0;
  overflow: visible;
  border: none;
  background: transparent;
  box-shadow: none;
  transition: transform var(--motion-med);
}

.app-shot:hover { transform: translateY(-4px); }

.app-shot img {
  width: 100%;
  height: auto;
  max-height: min(68vh, 560px);
  display: block;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  background: #0B1736;
}

@media (min-width: 768px) {
  .app-showcase__track {
    justify-content: center;
    padding-inline: 24px;
  }
  .app-shot { width: min(220px, 22vw); }
}

/* ── Trust / safety row ── */
.trust-strip {
  padding: 8px 0 40px;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.trust-item {
  padding: 18px 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(77, 163, 255, 0.18);
}

.trust-item h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-family: var(--font-display);
}

.trust-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.trust-item__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  color: var(--seed-blue);
}

.trust-item__icon svg { width: 100%; height: 100%; }

@media (min-width: 768px) {
  .trust-strip__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .trust-item { border-bottom: none; border-right: 1px solid rgba(77, 163, 255, 0.15); }
  .trust-item:last-child { border-right: none; }
}

/* ── Corridor SEO links ── */
.corridor-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.corridor-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.1);
  color: var(--navy);
  font-weight: 650;
  font-size: 0.88rem;
  border: 1px solid rgba(77, 163, 255, 0.22);
  transition: background var(--motion-fast), transform var(--motion-fast);
}

.corridor-links a:hover {
  background: rgba(77, 163, 255, 0.18);
  transform: translateY(-1px);
  color: var(--seed-blue);
}

/* ── Maps interactive preview ── */
.map-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  background: linear-gradient(145deg, #081426, #1A56DB);
  box-shadow: var(--shadow-lg);
}

.map-stage img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  opacity: 0.92;
}

.map-stage__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 20, 38, 0.85) 100%);
  pointer-events: none;
}

.map-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--electric-blue);
  box-shadow: 0 0 0 6px rgba(77, 163, 255, 0.25);
  animation: pinPulse 2.4s ease-in-out infinite;
}

.map-pin::after {
  content: attr(data-label);
  position: absolute;
  left: 18px;
  top: -4px;
  white-space: nowrap;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

@keyframes pinPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(77, 163, 255, 0.2); }
  50% { box-shadow: 0 0 0 10px rgba(77, 163, 255, 0.08); }
}

.map-feature-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.map-feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
}

.map-feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(77, 163, 255, 0.12);
  color: var(--seed-blue);
}

.map-feature__icon svg { width: 22px; height: 22px; }

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

.map-feature p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

@media (min-width: 900px) {
  .maps-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
  }
  .map-stage { min-height: 360px; }
  .map-stage img { min-height: 360px; }
}

/* ── Carrier / firm capability blocks ── */
.capability-row {
  display: grid;
  gap: 20px;
}

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

.capability {
  padding: 8px 0 20px;
  border-bottom: 1px solid rgba(77, 163, 255, 0.15);
}

.capability h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.capability p {
  margin: 0;
  color: var(--text-secondary);
}

.capability .stat-line {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--seed-blue);
}

/* ── Coming soon page ── */
.coming-soon {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 48px 16px 96px;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(77, 163, 255, 0.22), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(26, 86, 219, 0.18), transparent 45%),
    linear-gradient(180deg, #E8EEF8, #DCE6F5);
}

.coming-soon__panel {
  width: min(100%, 520px);
}

.coming-soon__panel h1 {
  font-size: clamp(2rem, 7vw, 2.8rem);
  margin: 12px 0 12px;
  letter-spacing: -0.03em;
}

.coming-soon__panel p {
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.coming-soon__notify {
  display: grid;
  gap: 10px;
  text-align: left;
}

.coming-soon__notify input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font: inherit;
}

.coming-soon__platforms {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ── SEO corridor pages ── */
.seo-hero {
  position: relative;
  padding: calc(var(--header-h) + 36px) 0 48px;
  color: #fff;
  overflow: hidden;
}

.seo-hero__bg {
  position: absolute;
  inset: 0;
  background:
    url('/assets/ui/mesh-navy.svg') center/cover no-repeat,
    linear-gradient(145deg, #081426 0%, #0E1E36 50%, #1A56DB 100%);
  z-index: 0;
}

.seo-hero .container { position: relative; z-index: 1; }

.seo-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.seo-hero p {
  margin: 0 0 22px;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.seo-body h2 {
  font-family: var(--font-display);
  margin: 0 0 12px;
}

.seo-body p,
.seo-body li {
  color: var(--text-secondary);
}

.seo-faq details {
  padding: 14px 0;
  border-bottom: 1px solid rgba(77, 163, 255, 0.15);
}

.seo-faq summary {
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-display);
}

.seo-faq p { margin: 10px 0 0; }

/* ── Micro-interactions ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--motion-med), transform var(--motion-med);
}

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

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .app-shot:hover, .home-hero__cta-group .btn:hover { transform: none; }
}

/* Performance: content-visibility for below-fold sections */
.page-section,
.app-showcase,
.trust-strip,
.home-map,
.home-cta {
  content-visibility: auto;
  contain-intrinsic-size: 1px 480px;
}

/* Mobile bottom nav spacing */
body:not(.page-legal) {
  padding-bottom: 72px;
}

@media (min-width: 1100px) {
  body:not(.page-legal) { padding-bottom: 0; }
}
