/* ==========================================================================
   AutoRide Accept Pro - Master Mobile-First Stylesheet
   Designed for all mobile screen sizes (320px, 360px, 375px, 390px, 412px+)
   Zero overlap, pristine typography, high-conversion green CTA
   ========================================================================== */

:root {
  --primary-navy: #0F1E36;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  --accent-green: #00B14F;
  --accent-green-hover: #009643;
  --accent-green-soft: #E6F7ED;
  
  --accent-blue: #1877F2;
  --accent-blue-soft: #EBF3FE;
  
  --star-gold: #F59E0B;
  
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-blue: #F0F6FF;
  
  --border-card: #E2E8F0;
  --border-subtle: #F1F5F9;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(15, 30, 54, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 30, 54, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 30, 54, 0.12);
  
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  padding-bottom: 76px; /* Room for sticky mobile bottom bar */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
}

/* Container */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (max-width: 480px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

@media (max-width: 350px) {
  .container {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
}

/* Spacing */
.section-spacer {
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .section-spacer {
    margin-bottom: 2.75rem;
  }
}

/* ==========================================================================
   1. TOP NAVIGATION / HEADER
   ========================================================================== */
.site-nav {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-card);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 0.75rem;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0; /* Prevents overflow */
}

.nav-app-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-name .text-green {
  color: var(--accent-green);
}

.brand-subtitle {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
}

/* Header Button: Clean text only, no icons, no overlap */
.nav-cta-btn {
  background: var(--accent-green);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
  box-shadow: 0 3px 10px rgba(0, 177, 79, 0.25);
  transition: all 0.2s ease;
}

.nav-cta-btn:hover {
  background: var(--accent-green-hover);
  transform: translateY(-1px);
}

/* Music Toggle Button */
.music-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1.5px solid #BFDBFE;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}

.music-toggle-btn:hover {
  background: #DBEAFE;
}

.music-toggle-btn.playing {
  background: #E6F7ED;
  color: #00B14F;
  border-color: #A7F3D0;
}

.music-wave-anim {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.music-wave-anim .bar {
  width: 3px;
  background: #00B14F;
  border-radius: 2px;
  animation: musicWave 0.7s ease-in-out infinite alternate;
}

.music-wave-anim .b1 { height: 6px; animation-delay: 0s; }
.music-wave-anim .b2 { height: 12px; animation-delay: 0.2s; }
.music-wave-anim .b3 { height: 8px; animation-delay: 0.4s; }

@keyframes musicWave {
  0% { height: 3px; }
  100% { height: 12px; }
}

/* 3D Cartoon Icons */
.badge-icon-3d {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 1.5px solid #F1F5F9;
  background: #FFFFFF;
}

.v-pill-3d-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.25rem;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.06));
}

.v-pill-card:hover .v-pill-3d-img,
.v-pill-card.active .v-pill-3d-img {
  transform: scale(1.14);
}

.section-icon-3d {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1.5px solid #E2E8F0;
}

.feature-icon-3d {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1.5px solid #F1F5F9;
  background: #FFFFFF;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-item-card:hover .feature-icon-3d {
  transform: scale(1.12);
}

/* Floating Music Pill Widget */
.floating-music-pill {
  position: fixed;
  bottom: 84px;
  right: 14px;
  z-index: 99;
  background: #FFFFFF;
  border: 2px solid #3B82F6;
  color: #1D4ED8;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.floating-music-pill.playing {
  background: #E6F7ED;
  border-color: #00B14F;
  color: #00B14F;
  box-shadow: 0 6px 16px rgba(0, 177, 79, 0.28);
}

.floating-music-pill:hover {
  transform: scale(1.05);
}

@media (min-width: 769px) {
  .floating-music-pill {
    bottom: 24px;
    right: 24px;
  }
}

/* ==========================================================================
   PAGE & ASSET PRELOADER (LOTTIE MOTORCYCLE DELIVERY)
   ========================================================================== */
.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  max-width: 340px;
  width: 90%;
}

.preloader-lottie-box {
  width: 170px;
  height: 125px;
  margin: 0 auto;
}

.preloader-text-group {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.preloader-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.preloader-title .text-green {
  color: var(--accent-green);
}

.preloader-bar-wrap {
  width: 140px;
  height: 4px;
  background: #E2E8F0;
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin: 0.75rem 0 0.5rem;
}

.preloader-bar-inner {
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, #00B14F, #10B981);
  border-radius: var(--radius-pill);
  transition: width 0.3s ease;
}

.preloader-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   SKELETON SHIMMER LOADING FOR IMAGES & ASSETS
   ========================================================================== */
.skeleton-shimmer {
  background: linear-gradient(90deg, #F1F5F9 0%, #E2E8F0 50%, #F1F5F9 100%) !important;
  background-size: 200% 100% !important;
  animation: skeletonPulse 1.4s ease-in-out infinite !important;
}

@keyframes skeletonPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

img.lazy-load {
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

img.lazy-load.loaded {
  opacity: 1;
}

/* Lottie Containers in Modal & Bike Showcase */
.modal-lottie-container {
  width: 130px;
  height: 95px;
  margin: 0 auto 0.5rem;
}

.bike-delivery-banner {
  background: linear-gradient(135deg, #EFF6FF 0%, #E6F7ED 100%);
  border: 1.5px solid #BFDBFE;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.3s ease;
}

.bike-lottie-frame {
  width: 90px;
  height: 68px;
  flex-shrink: 0;
}

.bike-banner-text {
  display: flex;
  flex-direction: column;
}

.bike-banner-text strong {
  font-size: 0.88rem;
  color: var(--primary-navy);
}

.bike-banner-text span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .nav-wrap {
    height: 56px;
    gap: 0.5rem;
  }
  .nav-app-icon {
    width: 36px;
    height: 36px;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .brand-subtitle {
    font-size: 0.65rem;
  }
  .nav-cta-btn {
    padding: 0.45rem 0.95rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 350px) {
  .nav-app-icon {
    width: 32px;
    height: 32px;
  }
  .brand-name {
    font-size: 0.95rem;
  }
  .nav-cta-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  margin-top: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.app-identity-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.hero-app-icon {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.2);
  flex-shrink: 0;
}

.hero-title-group h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-title-group h1 .text-green {
  color: var(--accent-green);
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
  flex-wrap: wrap;
}

.stars-gold {
  color: var(--star-gold);
  font-size: 0.92rem;
  letter-spacing: 1px;
}

.rating-score {
  font-weight: 800;
  color: var(--primary-navy);
  font-size: 0.92rem;
}

.rating-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.category-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  display: block;
}

/* Hero Button: Clean text only, no icons, no overlap, perfect alignment */
.hero-btn-install {
  background: var(--accent-green);
  color: #FFFFFF;
  font-family: var(--font-family);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.9rem 2.5rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
  box-shadow: 0 8px 20px rgba(0, 177, 79, 0.3);
  transition: all 0.25s ease;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.hero-btn-install:hover {
  background: var(--accent-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 177, 79, 0.4);
}

/* Trust Badges Strip */
.trust-badges-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.badge-icon-box {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--accent-green-soft);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.badge-icon-box.blue-box {
  background: var(--accent-blue-soft);
  color: var(--accent-blue);
}

.badge-text-block strong {
  display: block;
  font-size: 0.8rem;
  color: var(--primary-navy);
  line-height: 1.15;
}

.badge-text-block span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Hero Right Banner */
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.pill-floating-tag {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.65rem;
  text-align: right;
}

.pill-floating-tag strong {
  color: var(--primary-navy);
  font-size: 0.8rem;
  display: block;
}

.pill-floating-tag span {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.hero-banner-frame {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-card);
}

.hero-banner-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.65rem;
  }
  .hero-right {
    align-items: stretch;
  }
  .pill-floating-tag {
    text-align: left;
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-card {
    padding: 1.15rem;
    margin-top: 0.85rem;
    border-radius: var(--radius-lg);
  }
  .app-identity-row {
    gap: 0.85rem;
  }
  .hero-app-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
  }
  .hero-title-group h1 {
    font-size: 1.55rem;
  }
  .hero-btn-install {
    width: 100%;
    font-size: 1.05rem;
    padding: 0.85rem 1.25rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
  .trust-badges-row {
    gap: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 350px) {
  .hero-card {
    padding: 1rem 0.75rem;
  }
  .hero-app-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }
  .hero-title-group h1 {
    font-size: 1.35rem;
  }
  .hero-btn-install {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
  }
}

/* ==========================================================================
   3. SMART RIDE ACCEPTANCE SECTION (MOCKUP SHOWCASE)
   ========================================================================== */
.smart-acceptance-card {
  background: var(--bg-card-blue);
  border: 1px solid #D6E6FE;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.smart-top-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.75rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.smart-heading-block h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.smart-heading-block p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Vehicle Switcher Pills */
.vehicle-pills-row {
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.v-pill-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  box-shadow: var(--shadow-sm);
  min-width: 68px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.v-pill-card:hover, .v-pill-card.active {
  border-color: var(--accent-green);
  transform: translateY(-2px);
}

.v-pill-card i {
  font-size: 1.25rem;
  color: var(--primary-navy);
}

.v-pill-card span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-navy);
}

/* Mockup Display Box */
.mockup-display-box {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #D6E6FE;
  background: #FFFFFF;
}

.mockup-display-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

@media (max-width: 800px) {
  .smart-top-row {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .vehicle-pills-row {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .smart-acceptance-card {
    padding: 1.15rem;
    border-radius: var(--radius-lg);
  }
  .smart-heading-block h2 {
    font-size: 1.45rem;
  }
  .smart-heading-block p {
    font-size: 0.85rem;
  }
  .v-pill-card {
    min-width: 60px;
    padding: 0.45rem 0.75rem;
  }
}

/* ==========================================================================
   4. ABOUT THIS APP SECTION
   ========================================================================== */
.about-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.section-icon-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.section-circle-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 3px 10px rgba(24, 119, 242, 0.25);
  flex-shrink: 0;
}

.section-circle-badge.green-badge {
  background: var(--accent-green);
  box-shadow: 0 3px 10px rgba(0, 177, 79, 0.25);
}

.section-icon-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.01em;
}

.about-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 480px) {
  .about-card {
    padding: 1.15rem;
    border-radius: var(--radius-lg);
  }
  .section-icon-header h3 {
    font-size: 1.2rem;
  }
  .about-card p {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   5. KEY FEATURES SECTION (CLEAN 6-CARD GRID)
   ========================================================================== */
.features-section-wrap {
  margin-bottom: 1.75rem;
}

.features-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 1.15rem;
}

.feature-item-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.f-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.f-icon-green { background: #E6F7ED; color: #00B14F; }
.f-icon-blue { background: #EBF3FE; color: #1877F2; }
.f-icon-purple { background: #F3E8FF; color: #9333EA; }
.f-icon-orange { background: #FFEDD5; color: #EA580C; }
.f-icon-pink { background: #FFE4E6; color: #E11D48; }
.f-icon-teal { background: #CCFBF1; color: #0D9488; }

.f-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.f-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .features-grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .features-grid-cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .feature-item-card {
    padding: 1rem;
  }
}

/* ==========================================================================
   6. RATINGS & REVIEWS SECTION
   ========================================================================== */
.reviews-main-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.reviews-layout-grid {
  display: grid;
  grid-template-columns: 140px 1.1fr 1fr;
  gap: 1.75rem;
  align-items: center;
  margin-top: 1.25rem;
}

/* Score Block */
.score-summary-block {
  display: flex;
  flex-direction: column;
}

.big-score {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1;
}

.score-out-of {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.reviews-stars {
  color: var(--star-gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
}

.reviews-total-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Star Bars */
.star-bars-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.star-bar-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

.star-bar-row span.star-num {
  width: 22px;
}

.star-progress-track {
  flex: 1;
  height: 8px;
  background: #F1F5F9;
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}

.star-progress-fill {
  height: 100%;
  background: var(--accent-green);
  border-radius: var(--radius-pill);
}

.star-bar-row span.star-pct {
  width: 32px;
  text-align: right;
  font-size: 0.72rem;
}

/* Driver Testimonial Box */
.driver-quote-card {
  background: var(--accent-green-soft);
  border: 1px solid #B9ECCE;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.quote-icon {
  color: var(--accent-green);
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.driver-quote-card p {
  font-size: 0.88rem;
  color: var(--primary-navy);
  line-height: 1.55;
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.reviewer-profile-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #4ADE80;
  color: #064E3B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.reviewer-meta strong {
  display: block;
  font-size: 0.82rem;
  color: var(--primary-navy);
  line-height: 1.2;
}

.reviewer-meta .rev-stars-gold {
  color: var(--star-gold);
  font-size: 0.7rem;
}

@media (max-width: 900px) {
  .reviews-layout-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 1.25rem;
  }
  .driver-quote-card {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .reviews-layout-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .driver-quote-card {
    grid-column: span 1;
  }
  .reviews-main-card {
    padding: 1.15rem;
    border-radius: var(--radius-lg);
  }
  .big-score {
    font-size: 2.6rem;
  }
}

/* ==========================================================================
   7. FOOTER CURVE / TAGLINE
   ========================================================================== */
.site-footer-ribbon {
  background: linear-gradient(180deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  padding: 1.5rem 1rem 2rem 1rem;
  text-align: center;
  margin-top: 1.75rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: 0 -4px 20px rgba(16, 185, 129, 0.15);
}

.footer-tagline-text {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

.footer-copy-text {
  font-size: 0.74rem;
  opacity: 0.8;
  margin-top: 0.4rem;
}

@media (max-width: 480px) {
  .site-footer-ribbon {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 1.15rem 0.75rem 1.35rem 0.75rem;
  }
  .footer-tagline-text {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   8. STICKY MOBILE BOTTOM BAR
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-card);
  padding: 0.65rem 0.85rem;
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
  }
}

.sticky-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.sticky-thumb {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}

.sticky-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sticky-info strong {
  display: block;
  font-size: 0.8rem;
  color: var(--primary-navy);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-info span {
  display: block;
  font-size: 0.68rem;
  color: var(--accent-green);
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

/* Sticky Button: Clean text only, no icon, no overlap, perfect alignment */
.sticky-install-btn {
  background: var(--accent-green);
  color: #FFFFFF;
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
  box-shadow: 0 3px 10px rgba(0, 177, 79, 0.25);
}

.sticky-install-btn:hover {
  background: var(--accent-green-hover);
}

@media (max-width: 350px) {
  .sticky-info strong {
    font-size: 0.74rem;
  }
  .sticky-install-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   9. APK DOWNLOAD MODAL DIALOG
   ========================================================================== */
.download-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 54, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.download-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.download-modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  position: relative;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.download-modal-overlay.open .download-modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
}

.modal-app-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  margin: 0 auto 0.85rem auto;
  box-shadow: var(--shadow-md);
}

.download-modal-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.2rem;
}

.modal-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
}

.progress-track-modal {
  width: 100%;
  height: 10px;
  background: #F1F5F9;
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress-fill-modal {
  height: 100%;
  width: 0%;
  background: var(--accent-green);
  border-radius: var(--radius-pill);
  transition: width 0.1s linear;
}

.modal-status-text {
  font-size: 0.8rem;
  color: var(--primary-navy);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.modal-action-btn {
  background: var(--accent-green);
  color: #FFFFFF;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
  box-shadow: 0 4px 14px rgba(0, 177, 79, 0.3);
}
