/* ============================================
   HERO SECTION - Mobile Car Key Replacement
   ============================================ */

:root {
  --primary-blue: #1e40af;
  --bright-blue: #0066ff;
  --dark-bg: #0f172a;
  --green-accent: #00c97a;
  --white: #ffffff;
  --light-gray: #e2e8f0;
  --navy-deep: #0a1330;
  --navy-mid: #0f1b3f;
  --blue-accent: #1e40af;
  --blue-bright: #0066ff;
  --green-accent: #00d09c;
  --text-muted: #b7c2e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* html controls the TOP overscroll bounce & notch area — match the dark nav */
html {
  background-color: #050a1f;
  color-scheme: dark;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* body controls the BOTTOM overscroll bounce — match the footer */
body {
  background-color: #111111;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bg-main {
  background: linear-gradient(
    160deg,
    #050a1f 0%,
    #0a1a4d 55%,
    #1148c9 100%
  ) !important;
}

.bg-nav {
  background: none;
}

/* ============================================
   GLOBAL SECTION PADDING & MARGIN (UNIFIED)
   ============================================ */

.site-section,
.hero-section,
.ready-section,
.feature-section,
.tracking-section,
.pricing-section {
  width: 100%;
  padding: 40px 20px;
  margin: 0;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero-content {
  width: 100%;
  max-width: 580px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-media {
  display: flex;
  justify-content: center;
}

/* ============================================
   EYEBROW TEXT
   ============================================ */

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #00d084;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 8px;
}

/* ============================================
   MAIN HEADLINE & SUBTITLE (UNIFIED BASELINE)
   ============================================ */

.section-headline {
  font-size: 36px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
  word-spacing: 0.05em;
}

.section-headline br {
  display: block;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  margin: 0 0 14px;
  font-weight: 400;
  max-width: 480px;
}

/* ============================================
   CTA BUTTON
   ============================================ */

.btn-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #0066ff;
  color: #ffffff;
  padding: 18px 32px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  margin-top: 8px;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-hero:hover {
  background: #0052cc;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(0, 102, 255, 0.55);
}

.btn-hero:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-hero-arrow {
  font-size: 20px;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero:hover .btn-hero-arrow {
  transform: translate(4px, -4px);
}

/* ============================================
   TRUST BADGES
   ============================================ */

.trust-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.trust-shield {
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
}

.trust-shield svg {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}

.trust-text {
  font-size: 15px;
  color: #ffffff;
  font-weight: 500;
}

.bullet-dot {
  color: #ffffff;
  font-size: 16px;
  margin: 0 4px;
  line-height: 1;
  opacity: 0.75;
}

/* ============================================
   STORE AVAILABILITY
   ============================================ */

.store-availability {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.store-icon {
  display: inline-flex;
  align-items: center;
}

.store-icon svg {
  width: 18px;
  height: 22px;
  flex-shrink: 0;
}

.store-avail-text {
  font-size: 15px;
  color: #ffffff;
  font-weight: 500;
}

/* ============================================
   TABLET & DESKTOP RESPONSIVE
   ============================================ */

@media (min-width: 768px) {
  .hero-section {
    min-height: auto;
  }

  .hero-container {
    max-width: 900px;
  }

  .hero-content {
    gap: 15px;
    text-align: left;
    padding: 40px 0;
  }

  .eyebrow {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .btn-hero {
    padding: 20px 40px;
    font-size: 18px;
    width: fit-content;
    margin-top: 12px;
  }

  .trust-badges {
    margin-top: 20px;
    gap: 12px;
  }

  .store-availability {
    margin-top: 16px;
  }
}

@media (min-width: 1024px) {
  .site-section,
  .hero-section,
  .ready-section,
  .feature-section,
  .tracking-section,
  .pricing-section {
    padding: 60px 40px;
  }

  .hero-container {
    max-width: 1200px;
  }
}

/* ============================================
   MOBILE - EXACT AS IMAGE
   ============================================ */

@media (max-width: 767px) {
  .hero-section {
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 60px;
  }

  .hero-content {
    gap: 24px;
    width: 100%;
  }

  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
  }

  .tracking-headline {
    font-size: 42px;
    line-height: 1.12;
    font-weight: 800;
  }

  .tracking-sub {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 8px;
  }

  .btn-hero {
    width: 100%;
    padding: 16px 24px;
    font-size: 17px;
    margin-top: 8px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.35);
  }

  .btn-hero:active {
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.25);
  }

  .trust-badges {
    gap: 6px;
    margin-top: 16px;
    flex-wrap: wrap;
    -webkit-overflow-scrolling: touch;
  }

  .trust-text {
    font-size: 14px;
    white-space: nowrap;
  }

  .trust-dot {
    font-size: 16px;
  }

  .store-availability {
    gap: 10px;
    margin-top: 12px;
  }

  .store-avail-text {
    font-size: 14px;
  }
}

/* ============================================
   SMALL PHONES (< 375px)
   ============================================ */

@media (max-width: 374px) {
  .btn-hero {
    font-size: 16px;
    padding: 14px 20px;
  }

  .trust-text,
  .store-avail-text {
    font-size: 13px;
  }
}

/* ============================================
   DARK MODE / ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .btn-hero {
    transition: none;
  }

  .btn-hero-arrow {
    transition: none;
  }
}

@media (prefers-color-scheme: dark) {
  /* hero background removed — handled by body gradient */
}

/* ============================================
   SECTION 2 — READY / DOWNLOAD CTA CARD
   ============================================ */

.ready-section {
  display: flex;
  justify-content: center;
  width: 100%;
}

.ready-card {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  background: rgba(15, 25, 65, 0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 44px 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.ready-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 35px rgba(0, 102, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.18);
}

.ready-logo {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  background: #1e40af;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ready-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ready-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.stars {
  color: #00d09c;
  font-size: 16px;
  letter-spacing: 2px;
}

.rating-text {
  color: #ffffff;
  font-size: 14px;
}

.ready-location {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 26px;
}

.location-text {
  color: #b7c2e0;
  font-size: 14px;
  line-height: 1.5;
}

.btn-ready {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #0066ff;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  margin-bottom: 24px;
}

.btn-ready:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 102, 255, 0.45);
}

.ready-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ready-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00d09c;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================
   SECTION 3 — LIVE ARRIVAL TRACKING
   ============================================ */

/* ============================================
   FEATURE SECTIONS (SHARED LAYOUT)
   ============================================ */

/* feature-section inherits shared outer padding/margin from .site-section */

.feature-container,
.tracking-container,
.pricing-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.feature-content,
.tracking-content,
.pricing-content {
  width: 100%;
  max-width: 480px;
}

/* inherits shared styles from .section-headline and .section-sub */

.feature-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.feature-text {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.protected-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #4d7fff;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 24px;
  margin-bottom: 20px;
}

.pay-methods {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #ffffff;
  font-size: 15px;
}

/* ============================================
   PHONE IMAGES (SHARED REUSABLE COMPONENT)
   ============================================ */

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.phone-image {
  max-width: 320px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
  display: block;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.4s ease;
  animation: phoneFloat 6s ease-in-out infinite;
}

.phone-image:hover {
  transform: translateY(-8px) scale(1.03);
  filter: drop-shadow(0 30px 60px rgba(0, 102, 255, 0.45));
}

/* ============================================
   RESPONSIVE — TABLET / DESKTOP
   Sections 3 & 4 go side-by-side (text | phone)
   ============================================ */

@media (min-width: 900px) {
  .hero-container,
  .feature-container,
  .pricing-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .tracking-container {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .feature-content,
  .tracking-content,
  .pricing-content {
    flex: 1;
    max-width: 460px;
  }

  .section-headline {
    font-size: 44px;
  }

  .phone-frame {
    width: 340px;
  }

  .ready-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 52px 48px;
  }

  .ready-card-info {
    flex: 1;
    max-width: 480px;
  }

  .ready-card-actions {
    flex: 1;
    max-width: 420px;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (matches images exactly)
   ============================================ */

@media (max-width: 767px) {
  .site-section,
  .hero-section,
  .ready-section,
  .feature-section,
  .tracking-section,
  .pricing-section {
    padding: 40px 16px;
  }

  .ready-card {
    padding: 32px 24px;
    border-radius: 22px;
  }

  .section-headline {
    font-size: 30px;
  }

  .feature-content,
  .tracking-content,
  .pricing-content {
    text-align: left;
    margin-bottom: 8px;
  }

  .phone-frame {
    width: 100%;
    max-width: 340px;
  }
}

@media (max-width: 374px) {
  .section-headline {
    font-size: 26px;
  }
}

/* ============================================
   ANDROID SMART APP BANNER
   ============================================ */
.android-smart-banner {
  position: relative;
  width: 100%;
  background: #f7f7f8;
  color: #1c1c1e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 99999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border-bottom: 1px solid #e0e0e0;
}

.android-smart-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.android-smart-banner-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.android-smart-banner-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.android-smart-banner-title {
  font-size: 15px;
  font-weight: 700;
  color: #1c1c1e;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.android-smart-banner-desc {
  font-size: 12.5px;
  color: #6e6e73;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.android-smart-banner-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: 10px;
}

.android-smart-banner-btn {
  background-color: #007aff;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 20px;
  text-decoration: none !important;
  display: inline-block;
  transition: all 0.2s ease;
}

.android-smart-banner-btn:hover,
.android-smart-banner-btn:active {
  background-color: #0056b3;
  color: #ffffff !important;
}

.android-smart-banner-close {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  color: #8e8e93;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  transition: background 0.2s ease;
}

.android-smart-banner-close:hover {
  background: rgba(0, 0, 0, 0.12);
  color: #1c1c1e;
}

