/* ============================================= */
/*   CAPGO — CINEMATIC DESIGN SYSTEM             */
/*   Natural, human animations & transitions     */
/* ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
  --c-primary:        #0EC574;
  --c-primary-dark:   #0AAF66;
  --c-primary-light:  rgba(14,197,116,0.12);
  --c-accent-glow:    rgba(14,197,116,0.35);
  
  --c-bg:             #F0F2F4;
  --c-surface:        #FFFFFF;
  --c-surface-2:      #F8F9FA;
  --c-text:           #1A1A1A;
  --c-text-secondary: #5A5A5A;
  --c-text-tertiary:  #9A9A9A;
  --c-divider:        #E8E8E8;
  
  --c-hero-dark:      #0D1117;
  --c-hero-surface:   rgba(255,255,255,0.07);
  --c-hero-border:    rgba(255,255,255,0.1);
  
  --shadow-soft:      0 4px 24px rgba(0,0,0,0.06);
  --shadow-medium:    0 8px 32px rgba(0,0,0,0.10);
  --shadow-strong:    0 16px 48px rgba(0,0,0,0.15);
  --shadow-glow:      0 0 40px var(--c-accent-glow);
  
  --radius-card:      20px;
  --radius-pill:      9999px;
  
  --ease-smooth:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out-expo:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-quint: cubic-bezier(0.83, 0, 0.17, 1);
}

/* ============================================= */
/*   RESET & BASE                                */
/* ============================================= */
*,*::before,*::after { box-sizing: border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================= */
/*   HERO SECTION — CINEMATIC 3D CANVAS          */
/* ============================================= */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--c-hero-dark);
}

#canvas-container, #road-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(14,197,116,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(14,197,116,0.02) 0%, transparent 40%);
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(13,17,23,0.75) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  will-change: transform;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--c-hero-surface);
  border: 1px solid var(--c-hero-border);
  border-radius: var(--radius-pill);
  color: var(--c-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
  animation: heroBadgeIn 0.8s var(--ease-out-expo) 0.3s both;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--c-primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); box-shadow: 0 0 0 0 rgba(14,197,116,0.4); }
  50% { opacity:0.6; transform:scale(0.85); box-shadow: 0 0 0 4px rgba(14,197,116,0); }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  animation: heroTitleIn 1.2s var(--ease-out-expo) 0.5s both;
}
.hero-title .accent-word {
  color: var(--c-primary);
  text-shadow: 0 0 40px var(--c-accent-glow), 0 0 80px rgba(14,197,116,0.15);
  position: relative;
}
.hero-title .accent-word::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-primary), transparent);
  border-radius: 2px;
  opacity: 0.6;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  animation: heroFadeIn 1s var(--ease-out-expo) 0.8s both;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  animation: heroFadeIn 1s var(--ease-out-expo) 1.0s both;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  transition: all 0.4s var(--ease-smooth);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.hero-btn--primary {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(14,197,116,0.35), 0 0 0 0 rgba(14,197,116,0.2);
}
.hero-btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.hero-btn--primary:hover::before { opacity: 1; }
.hero-btn--primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(14,197,116,0.45), 0 0 0 6px rgba(14,197,116,0.1);
}

.hero-btn--secondary {
  background: var(--c-hero-surface);
  color: #fff;
  border: 1px solid var(--c-hero-border);
  backdrop-filter: blur(12px);
}
.hero-btn--secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.hero-btn svg {
  width: 20px; height: 20px;
  fill: currentColor;
}

.hero-stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  animation: heroFadeIn 1s var(--ease-out-expo) 1.2s both;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1.25rem;
  background: var(--c-hero-surface);
  border: 1px solid var(--c-hero-border);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: all 0.4s var(--ease-smooth);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.store-badge:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.store-badge svg {
  width: 22px; height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}
.store-badge .store-label {
  font-size: 0.6rem;
  opacity: 0.7;
  line-height: 1;
  display: block;
  margin-bottom: 2px;
}
.store-badge .store-name {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: heroFadeIn 1s var(--ease-out-expo) 1.5s both, scrollBounce 2.5s ease-in-out infinite 2s;
}
.scroll-hint .arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
}

/* Scene Indicator */
.scene-indicator {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  animation: heroFadeIn 1s var(--ease-out-expo) 2s both;
}
.scene-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.8s var(--ease-smooth);
  text-align: right;
}
.scene-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.scene-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
}
.scene-dot:hover {
  background: rgba(255,255,255,0.5);
  transform: scale(1.3);
}
.scene-dot.active {
  background: var(--c-primary);
  box-shadow: 0 0 8px var(--c-accent-glow);
  width: 8px;
  height: 8px;
}
.scene-dot.active::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--c-primary);
  opacity: 0.4;
  animation: sceneDotPulse 2s ease-in-out infinite;
}
@keyframes sceneDotPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.5); opacity: 0; }
}

@keyframes scrollBounce {
  0%,100% { transform: translateY(0) rotate(45deg); opacity: 0.5; }
  50% { transform: translateY(10px) rotate(45deg); opacity: 1; }
}

/* Animations */
@keyframes heroBadgeIn {
  from { opacity:0; transform: translateY(-15px) scale(0.95); filter: blur(4px); }
  to { opacity:1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes heroTitleIn {
  from { opacity:0; transform: translateY(40px); filter: blur(6px); }
  to { opacity:1; transform: translateY(0); filter: blur(0); }
}
@keyframes heroFadeIn {
  from { opacity:0; transform: translateY(25px); }
  to { opacity:1; transform: translateY(0); }
}

/* ============================================= */
/*   SECTIONS — SHARED                           */
/* ============================================= */
.section {
  padding: 7rem 1.5rem;
  position: relative;
}
.section--light { background: var(--c-bg); }
.section--surface { background: var(--c-surface); }
.section--gradient {
  background: linear-gradient(180deg, var(--c-surface) 0%, var(--c-bg) 100%);
}
.section--dark {
  background: linear-gradient(180deg, #0D1117 0%, #161B22 100%);
  color: #fff;
}

/* Section divider */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-divider), transparent);
  position: relative;
  overflow: hidden;
}
.section-divider::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--c-primary), transparent);
  animation: dividerSlide 3s ease-in-out infinite;
  opacity: 0;
}
.section-divider.revealed::after {
  opacity: 0.5;
  left: 100%;
  transition: left 2s ease-out, opacity 0.5s;
}
@keyframes dividerSlide {
  0% { left: -100%; }
  100% { left: 100%; }
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.section-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: var(--c-primary-light);
  color: var(--c-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}
.section-tag::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: tagShine 3s ease-in-out infinite;
}
@keyframes tagShine {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--c-text);
}
.section--dark .section-title { color: #fff; }
.section-desc {
  font-size: 1.125rem;
  color: var(--c-text-secondary);
  line-height: 1.7;
}
.section--dark .section-desc { color: rgba(255,255,255,0.6); }

/* ============================================= */
/*   BENTO GRID FEATURES                         */
/* ============================================= */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.bento-card {
  border-radius: var(--radius-card);
  padding: 2rem;
  background: var(--c-surface);
  box-shadow: var(--shadow-soft);
  transition: all 0.5s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}
.bento-card--large {
  grid-column: span 12;
}
.bento-card--accent {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  grid-column: span 12;
  position: relative;
  overflow: hidden;
}
.bento-card--accent::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: accentGlow 8s ease-in-out infinite;
}
@keyframes accentGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10%, 10%); }
}
.bento-card--small {
  grid-column: span 12;
}
@media (min-width: 768px) {
  .bento-card--large { grid-column: span 8; }
  .bento-card--accent { grid-column: span 4; }
  .bento-card--small { grid-column: span 4; }
}

.bento-card .bento-number {
  position: absolute;
  bottom: -1rem;
  right: 0.5rem;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(0,0,0,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: all 0.5s var(--ease-smooth);
}
.bento-card:hover .bento-number {
  transform: translateY(-5px);
  color: rgba(0,0,0,0.05);
}
.bento-card--accent .bento-number { color: rgba(255,255,255,0.08); }
.bento-card--accent:hover .bento-number { color: rgba(255,255,255,0.12); }

.bento-card .bento-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--c-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.4s var(--ease-smooth);
}
.bento-card:hover .bento-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 4px 16px rgba(14,197,116,0.2);
}
.bento-card .bento-icon svg {
  width: 24px; height: 24px;
  color: var(--c-primary);
}
.bento-card--accent .bento-icon {
  background: rgba(255,255,255,0.15);
}
.bento-card--accent .bento-icon svg {
  color: #fff;
}

.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--c-text);
  transition: color 0.3s;
}
.bento-card--accent h3 { color: #fff; position: relative; z-index: 1; }
.bento-card p {
  font-size: 0.875rem;
  color: var(--c-text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.bento-card--accent p { color: rgba(255,255,255,0.85); }

.bento-card .bento-stat {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0.5rem 0;
  position: relative;
  z-index: 1;
}
.bento-card .bento-stat span {
  font-size: 1.5rem;
  font-weight: 600;
}

/* ============================================= */
/*   HOW IT WORKS — STEPS                        */
/* ============================================= */
.steps-wrap {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.steps-line {
  display: none;
}
@media (min-width: 768px) {
  .steps-line {
    display: block;
    position: absolute;
    top: 2.5rem;
    left: 16%;
    right: 16%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--c-divider) 0, var(--c-divider) 8px, transparent 8px, transparent 16px);
    z-index: 0;
  }
  .steps-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 100%;
    background: linear-gradient(90deg, var(--c-primary), var(--c-primary-dark));
    transition: width 1.5s var(--ease-out-expo);
  }
  .steps-wrap.revealed .steps-line::after {
    width: 100%;
  }
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

.step-card {
  background: var(--c-surface);
  border-radius: var(--radius-card);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.5s var(--ease-smooth);
  position: relative;
  border: 1px solid transparent;
}
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: var(--c-primary-light);
}
.step-card:hover .step-num {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(14,197,116,0.4);
}
.step-card:hover .step-icon {
  transform: scale(1.15) rotate(10deg);
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 20px rgba(14,197,116,0.3);
  position: relative;
  transition: all 0.4s var(--ease-spring);
}
.step-num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--c-primary);
  opacity: 0.3;
  animation: stepRing 3s ease-out infinite;
}
@keyframes stepRing {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.6); opacity: 0; }
}

.step-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--c-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.4s var(--ease-spring);
}
.step-icon svg {
  width: 24px; height: 24px;
  color: var(--c-primary);
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--c-text);
}
.step-card p {
  font-size: 0.875rem;
  color: var(--c-text-secondary);
  line-height: 1.6;
}

/* ============================================= */
/*   FLEET — CAR CARDS WITH IMAGES               */
/* ============================================= */
.fleet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .fleet-grid { grid-template-columns: repeat(3, 1fr); }
}

.fleet-card {
  background: var(--c-surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.6s var(--ease-smooth);
  position: relative;
  will-change: transform;
}
.fleet-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--shadow-strong);
}
.fleet-card:hover .fleet-img {
  transform: scale(1.1);
}
.fleet-card:hover .fleet-img-overlay {
  opacity: 0.7;
}
.fleet-card:hover .fleet-tag {
  transform: translateY(0);
  opacity: 1;
}

.fleet-img-wrap {
  height: 260px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
.fleet-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}
.fleet-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  pointer-events: none;
  transition: opacity 0.4s;
  opacity: 0.5;
}

.fleet-body {
  padding: 1.75rem;
  position: relative;
}
.fleet-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 0.5rem;
  display: inline-block;
  transition: all 0.3s;
}
.fleet-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--c-text);
  transition: color 0.3s;
}
.fleet-card:hover h3 {
  color: var(--c-primary);
}
.fleet-card p {
  font-size: 0.875rem;
  color: var(--c-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.fleet-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--c-primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
}
.fleet-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--c-primary);
  transition: width 0.3s var(--ease-smooth);
}
.fleet-link:hover::after {
  width: 100%;
}
.fleet-link:hover {
  gap: 0.5rem;
}

/* ============================================= */
/*   SAFETY GRID                                 */
/* ============================================= */
.safety-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
}

.safety-card {
  background: var(--c-surface);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s var(--ease-smooth);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.safety-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--c-primary), var(--c-primary-dark));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease-smooth);
}
.safety-card:hover::before {
  transform: scaleY(1);
}
.safety-card:hover {
  border-color: var(--c-primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}
.safety-card:hover .safety-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 4px 16px rgba(14,197,116,0.2);
}

.safety-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--c-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s var(--ease-spring);
}
.safety-icon svg {
  width: 24px; height: 24px;
  color: var(--c-primary);
}

.safety-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--c-text);
  transition: color 0.3s;
}
.safety-card:hover h3 {
  color: var(--c-primary);
}
.safety-card p {
  font-size: 0.875rem;
  color: var(--c-text-secondary);
  line-height: 1.6;
}

/* ============================================= */
/*   TESTIMONIALS                                */
/* ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: var(--c-surface);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: all 0.5s var(--ease-smooth);
  border: 1px solid transparent;
}
.testimonial-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-medium);
  border-color: var(--c-primary-light);
}
.testimonial-card:hover .testimonial-quote {
  color: var(--c-primary);
  opacity: 0.4;
}

.testimonial-quote {
  font-size: 4.5rem;
  line-height: 1;
  color: var(--c-primary);
  opacity: 0.15;
  font-family: 'Playfair Display', serif;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  transition: all 0.4s;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--c-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  padding-top: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-divider);
  position: relative;
  z-index: 1;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-surface-2);
  border: 2px solid var(--c-divider);
  transition: all 0.4s;
}
.testimonial-card:hover .testimonial-avatar {
  border-color: var(--c-primary-light);
  transform: scale(1.1);
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--c-text);
}
.testimonial-loc {
  font-size: 0.8rem;
  color: var(--c-text-tertiary);
}

/* ============================================= */
/*   STATS BAR                                   */
/* ============================================= */
.stats-bar {
  background: linear-gradient(135deg, #0D1117 0%, #161B22 50%, #0D1117 100%);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 0%, rgba(14,197,116,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(14,197,116,0.03) 0%, transparent 50%);
}
.stats-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,197,116,0.2), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  text-align: center;
  position: relative;
  padding: 1rem 0;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.1), transparent);
}
@media (max-width: 767px) {
  .stat-item:nth-child(2)::after { display: none; }
}
.stat-num {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 0 30px rgba(14,197,116,0.15);
  position: relative;
  display: inline-block;
}
.stat-num::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-primary), transparent);
  border-radius: 1px;
  opacity: 0.6;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
}

/* ============================================= */
/*   DOWNLOAD CTA                                */
/* ============================================= */
.download-section {
  position: relative;
  overflow: hidden;
  padding: 7rem 1.5rem;
}
.download-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0f16 0%, #0d1117 50%, #0a0f16 100%);
  z-index: 0;
}
.download-section::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,197,116,0.06) 0%, transparent 70%);
  top: -250px; right: -150px;
  pointer-events: none;
  z-index: 0;
  animation: floatGlow 12s ease-in-out infinite;
}
@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 20px); }
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .download-grid { grid-template-columns: 1fr 1fr; }
}

.download-phone {
  display: flex;
  justify-content: center;
  order: 2;
}
@media (min-width: 768px) {
  .download-phone { order: 1; }
}

.phone-mockup {
  width: 280px;
  height: 560px;
  border-radius: 40px;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border: 8px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.6s var(--ease-smooth);
}
.phone-mockup:hover {
  transform: translateY(-10px) rotate(-2deg);
  box-shadow: 0 50px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 28px;
  background: rgba(0,0,0,0.3);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 32px;
  opacity: 0.9;
  transition: opacity 0.4s;
}
.phone-mockup:hover .phone-screen {
  opacity: 1;
}

.download-content {
  text-align: center;
  order: 1;
}
@media (min-width: 768px) {
  .download-content { order: 2; text-align: left; }
}

.download-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.download-content p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.download-stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .download-stores { justify-content: flex-start; }
}

.download-qr {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  transition: all 0.4s var(--ease-smooth);
}
.download-qr:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.download-qr .qr-box {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.9);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
}
.download-qr:hover .qr-box {
  background: #fff;
  box-shadow: 0 4px 16px rgba(14,197,116,0.2);
}
.download-qr .qr-box svg {
  width: 28px; height: 28px;
  color: var(--c-text);
}
.download-qr .qr-text p {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 2px;
}
.download-qr .qr-text span {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}

/* ============================================= */
/*   REVEAL ANIMATIONS — MULTIPLE DIRECTIONS     */
/* ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo), filter 0.9s var(--ease-out-expo);
  filter: blur(4px);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo), filter 0.9s var(--ease-out-expo);
  filter: blur(4px);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo), filter 0.9s var(--ease-out-expo);
  filter: blur(4px);
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo), filter 0.9s var(--ease-out-expo);
  filter: blur(4px);
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================= */
/*   HEADER SCROLLED STATE                       */
/* ============================================= */
.header-scrolled {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
}

/* ============================================= */
/*   TILT CARD EFFECT                            */
/* ============================================= */
.tilt-card {
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
  transform-style: preserve-3d;
}

/* ============================================= */
/*   ANIMATED GRADIENT BACKGROUND                */
/* ============================================= */
.animated-gradient {
  background: linear-gradient(-45deg, #0EC574, #0AAF66, #0EC574, #0AAF66);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================= */
/*   SCENE INDICATOR ENHANCEMENTS                */
/* ============================================= */
@keyframes dotPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 8px var(--c-accent-glow); }
  50% { transform: scale(1.4); box-shadow: 0 0 16px var(--c-accent-glow); }
}

.scene-label {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ============================================= */
/*   HERO SUBTITLE TRANSITION                    */
/* ============================================= */
.hero-subtitle {
  transition: opacity 0.3s ease;
}

/* ============================================= */
/*   RESPONSIVE                                  */
/* ============================================= */
@media (max-width: 640px) {
  .hero-title { font-size: 2.5rem; }
  .section { padding: 4.5rem 1rem; }
  .bento-card { padding: 1.5rem; }
  .step-card { padding: 1.5rem; }
  .fleet-img-wrap { height: 200px; }
  .phone-mockup { width: 240px; height: 480px; }
}

/* ============================================= */
/*   REDUCED MOTION                              */
/* ============================================= */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1; transform: none; filter: none; transition: none;
  }
  .hero-badge, .hero-title, .hero-subtitle, .hero-cta-group, .hero-stores, .scroll-hint {
    animation: none !important;
  }
  .phone-mockup, .fleet-card, .bento-card, .step-card, .testimonial-card, .safety-card {
    transition: none !important;
  }
  .phone-mockup:hover, .fleet-card:hover, .bento-card:hover, .step-card:hover, .testimonial-card:hover, .safety-card:hover {
    transform: none !important;
  }
  .step-num::after { animation: none !important; }
  .section-divider::after { animation: none !important; }
  .section-tag::after { animation: none !important; }
  .stats-bar::after { animation: none !important; }
}
