/* ═══════════════════════════════════════════════════════════════
   KINGPAO — DELIVERY PLATFORM DESIGN SYSTEM v5
   Dark · Premium · Warm Artisan
   ═══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
  --primary: #F97316;
  --primary-light: #FB923C;
  --primary-lighter: #FDBA74;
  --primary-dark: #EA580C;
  --primary-deep: #C2410C;
  --primary-glow: rgba(249,115,22,0.2);
  --primary-surface: rgba(249,115,22,0.1);
  --gold: #E8A838;
  --gold-light: #F5C563;
  --coral: #FF6B6B;
  --amber: #FF9F43;
  --green: #22C55E;
  --green-dark: #16A34A;
  --white: #FFFFFF;
  --bg: #14100D;
  --bg-soft: #1A1411;
  --bg-deep: #0F0C0A;
  --bg-footer: #0C0907;
  --card: rgba(255,255,255,0.04);
  --card-hover: rgba(255,255,255,0.07);
  --text-hi: #FFF8F2;
  --text-mid: rgba(255,248,242,0.7);
  --text-low: rgba(255,248,242,0.45);
  --text-faint: rgba(255,248,242,0.3);
  --gradient-primary: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  --gradient-warm: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
  --gradient-text: linear-gradient(135deg, var(--primary-light), var(--amber));
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.45);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.55);
  --shadow-glow: 0 8px 32px rgba(249,115,22,0.25);
  --shadow-glow-lg: 0 16px 48px rgba(249,115,22,0.35);
  --border-soft: 1px solid rgba(255,255,255,0.08);
  --border-medium: 1px solid rgba(255,255,255,0.12);
  --border-primary: 1px solid rgba(249,115,22,0.25);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --section-pad: clamp(60px, 8vw, 100px);
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text-mid); line-height: 1.7; overflow-x: hidden; width: 100%; max-width: 100vw; }
a { text-decoration: none; color: inherit; transition: color 0.3s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
::selection { background: rgba(249,115,22,0.35); color: var(--text-hi); }

/* ─── UTILITIES ─── */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); position: relative; z-index: 2; }
.text-gradient { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-light { background: linear-gradient(135deg, var(--primary-light), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-animated { background: linear-gradient(270deg, var(--primary), var(--amber), var(--gold), var(--primary)); background-size: 300% 300%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: gradientShift 4s ease infinite; }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: var(--radius-sm); }
:focus:not(:focus-visible) { outline: none; }

/* ─── SKIP NAV ─── */
.skip-nav { position: absolute; top: -100%; left: 16px; z-index: 100001; padding: 12px 24px; background: var(--primary); color: var(--white); font-weight: 700; border-radius: var(--radius-md); transition: top 0.3s; }
.skip-nav:focus { top: 16px; }

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0; transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.navbar.scrolled { padding: 12px 0; background: rgba(20,16,13,0.8); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); box-shadow: 0 4px 30px rgba(0,0,0,0.35); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-container { max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; color: var(--text-hi); z-index: 1001; }
.nav-logo-img { width: 40px; height: 40px; border-radius: var(--radius-sm); object-fit: contain; transition: transform 0.4s var(--ease-spring); }
.nav-logo:hover .nav-logo-img { transform: rotate(12deg) scale(1.15); }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-link { position: relative; padding: 10px 16px; font-size: 0.9rem; font-weight: 600; color: var(--text-low); border-radius: var(--radius-full); transition: all 0.3s var(--ease); }
.nav-link::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; background: var(--primary); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav-link:hover, .nav-link.active { color: var(--text-hi); }
.nav-link.active { color: var(--primary-light); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; font-size: 0.9rem; font-weight: 600; border-radius: var(--radius-full); transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); white-space: nowrap; border: none; }
.nav-btn.order-btn { color: var(--white); background: var(--gradient-primary); font-weight: 700; box-shadow: 0 4px 16px rgba(249,115,22,0.3); position: relative; overflow: hidden; }
.nav-btn.order-btn::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%); transform: rotate(30deg) translateX(-100%); transition: transform 0.6s ease-in-out; }
.nav-btn.order-btn:hover::after { transform: rotate(30deg) translateX(100%); }
.nav-btn.order-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-glow-lg); }
.nav-btn.install-btn { color: var(--text-mid); background: rgba(255,255,255,0.05); backdrop-filter: blur(8px); border: var(--border-soft); }
  .nav-btn.install-btn:hover { background: var(--primary); color: var(--white); border-color: transparent; transform: translateY(-2px); }

  /* ═══════════════════════════════════════════════════════════════
     HERO — DARK SPLIT LAYOUT WITH PHOTOGRAPHY
     ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  contain: layout style paint;
}

/* Right-side photo, masked into the background */
.hero-visual { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; z-index: 0; }
.hero-visual-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
  opacity: 0.9;
  animation: heroPhotoIn 1.4s var(--ease-out) both;
}
@keyframes heroPhotoIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 0.9; transform: scale(1); } }
.hero-visual-fade { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 2%, transparent 36%), linear-gradient(to bottom, rgba(20,16,13,0.55) 0%, transparent 30%); pointer-events: none; }

/* Ambient orange glow behind content */
.hero-glow { position: absolute; left: -10%; top: 20%; width: 55%; height: 70%; background: radial-gradient(ellipse at center, rgba(249,115,22,0.07) 0%, transparent 65%); pointer-events: none; z-index: 0; }

/* Glassmorphic brand card over the photo */
.hero-glass-card {
  position: absolute; left: 6%; bottom: 16%; z-index: 2;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 26px 18px 18px;
  background: rgba(20,16,13,0.5);
  border: var(--border-soft);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  animation: glassCardIn 1s var(--ease-out) 0.9s both;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.hero-glass-card:hover { transform: translateY(-4px); border-color: rgba(249,115,22,0.3); }
@keyframes glassCardIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.glass-card-logo { width: 64px; height: 64px; min-width: 64px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); border: var(--border-soft); border-radius: 50%; }
.glass-card-logo img { width: 48px; height: 48px; object-fit: contain; }
.glass-card-text { display: flex; flex-direction: column; gap: 4px; }
.glass-card-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--text-hi); line-height: 1.3; }
.glass-card-est { font-size: 0.66rem; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700; color: var(--text-low); }

/* Hero content */
.hero-container { max-width: var(--container-max); margin: 0 auto; padding: 140px clamp(24px, 5vw, 48px) 100px; position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: minmax(0, 600px) 1fr; }
.hero-content { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }

.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; background: rgba(255,255,255,0.04); border: var(--border-soft); border-radius: var(--radius-full); font-size: 0.74rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-mid); backdrop-filter: blur(8px); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); animation: dotPulse 2s ease-in-out infinite; }

.hero-title { font-family: var(--font-body); font-size: clamp(2.8rem, 5.8vw, 4.8rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; color: var(--text-hi); }
.title-line { display: block; }
.hero-title-accent { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--primary); letter-spacing: 0; position: relative; padding-bottom: 0.08em; }
.hero-title-accent::after { content: ''; position: absolute; left: 2%; right: 4%; bottom: 0; height: 4px; border-radius: 4px; background: var(--gradient-primary); transform-origin: left; animation: underlineDraw 0.7s var(--ease-out) 1.1s both; }
@keyframes underlineDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-sub { font-size: 1.05rem; color: var(--text-low); line-height: 1.8; max-width: 440px; }

.hero-cta-wrapper { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.hero-cta-primary { display: inline-flex; align-items: center; gap: 12px; background: var(--gradient-primary); color: var(--white); padding: 17px 34px; border-radius: var(--radius-full); font-size: 1rem; font-weight: 700; letter-spacing: 0.3px; box-shadow: 0 10px 30px rgba(249,115,22,0.3); position: relative; overflow: hidden; white-space: nowrap; transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hero-cta-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: left 0.5s; }
.hero-cta-primary:hover::before { left: 100%; }
.hero-cta-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow-lg); }
.cta-arrow { font-size: 0.85rem; transition: transform 0.3s var(--ease); }
.hero-cta-primary:hover .cta-arrow { transform: translateX(5px); }
.hero-cta-secondary { display: inline-flex; align-items: center; gap: 10px; color: var(--text-mid); font-size: 0.95rem; font-weight: 600; padding: 16px 30px; border: 1.5px solid rgba(255,255,255,0.18); border-radius: var(--radius-full); backdrop-filter: blur(10px); white-space: nowrap; transition: all 0.3s var(--ease); }
.hero-cta-secondary i { font-size: 0.7rem; transition: transform 0.3s var(--ease); }
.hero-cta-secondary:hover { border-color: var(--primary); color: var(--primary-light); background: var(--primary-surface); transform: translateY(-3px); }
.hero-cta-secondary:hover i { transform: translateY(3px); }

/* Entrance animations */
.slide-up-anim { opacity: 0; transform: translateY(36px); animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards; }
.slide-up-anim.delay-1 { animation-delay: 0.35s; }
.slide-up-anim.delay-2 { animation-delay: 0.5s; }
.slide-up-anim.delay-3 { animation-delay: 0.65s; }
@keyframes slideUp { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: translateY(0); } }

/* Scroll Indicator */
.scroll-indicator { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2; opacity: 0; animation: fadeInUp 1s ease-out 1.6s forwards; }
.scroll-mouse { width: 20px; height: 30px; border: 2px solid rgba(255,255,255,0.25); border-radius: 20px; position: relative; }
.scroll-wheel { width: 3px; height: 6px; background: var(--primary); border-radius: 2px; position: absolute; top: 5px; left: 50%; transform: translateX(-50%); animation: scrollWheel 2s ease-in-out infinite; }
@keyframes scrollWheel { 0% { opacity: 1; transform: translateX(-50%) translateY(0); } 100% { opacity: 0; transform: translateX(-50%) translateY(10px); } }
.scroll-indicator span { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-faint); font-weight: 500; }
@keyframes fadeInUp { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ═══════════════════════════════════════════════════════════════
   SECTION COMMONS
   ═══════════════════════════════════════════════════════════════ */
.section-label { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.section-label.center { justify-content: center; }
.section-label.light .label-text { color: rgba(255,248,242,0.9); }
.section-label.light .label-line { background: rgba(255,255,255,0.25); }
.label-line { width: 40px; height: 2px; background: var(--gradient-primary); border-radius: 2px; }
.label-text { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 3px; font-weight: 800; color: var(--primary-light); }
.section-heading { font-family: var(--font-body); font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; color: var(--text-hi); line-height: 1.12; letter-spacing: -0.02em; }
.section-heading.center { text-align: center; }
.section-heading.light { color: var(--text-hi); }
.section-heading .text-gradient, .section-heading .text-gradient-light, .section-heading .text-gradient-animated { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.section-subtext { text-align: center; color: var(--text-low); font-size: 1.05rem; max-width: 600px; margin: 16px auto 0; line-height: 1.8; }
.section-header { margin-bottom: clamp(48px, 6vw, 72px); }

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════════ */
.how-section { padding: var(--section-pad) 0; background: var(--bg-soft); overflow: hidden; }
.how-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; position: relative; }
@media (max-width: 992px) {
  .how-grid { grid-template-columns: 1fr; gap: 48px; }
}

.how-split-content .section-label { justify-content: flex-start; }
.how-split-content .section-heading { text-align: left; }

.how-zones { display: flex; flex-direction: column; gap: 20px; position: relative; }
.how-zones::before { content: ''; position: absolute; top: 32px; left: 32px; bottom: 32px; width: 2px; background: rgba(255,255,255,0.05); z-index: 0; }
@media (max-width: 600px) { .how-zones::before { display: none; } }

.zone-item { position: relative; padding: 24px 32px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 20px; transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 1; overflow: hidden; }
.zone-item::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 10% 50%, rgba(249,115,22,0.06) 0%, transparent 60%); opacity: 0; transition: opacity 0.5s; z-index: 0; pointer-events: none; }
.zone-item:hover { background: rgba(255,255,255,0.04); border-color: rgba(249,115,22,0.3); transform: translateX(8px); }
.zone-item:hover::after { opacity: 1; }

.zone-item-main { display: flex; align-items: flex-start; gap: 24px; position: relative; z-index: 2; }
.zone-item-badge { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; font-weight: 800; font-size: 1.1rem; position: relative; z-index: 2; transition: transform 0.4s var(--ease-spring); }
.zone-item-badge.free { background: var(--gradient-primary); color: var(--white); box-shadow: 0 8px 24px rgba(249,115,22,0.35), 0 0 0 8px var(--bg-soft); }
.zone-item-badge.outline { background: var(--bg-soft); color: var(--text-hi); border: 2px solid rgba(255,255,255,0.1); box-shadow: 0 0 0 8px var(--bg-soft); }
.zone-item:hover .zone-item-badge { transform: scale(1.05) rotate(5deg); }
.zone-item:hover .zone-item-badge.outline { border-color: var(--primary); color: var(--primary); background: rgba(249,115,22,0.05); }

.zone-item h3 { font-size: 1.25rem; font-weight: 800; color: var(--text-hi); margin-bottom: 8px; }
.zone-item p { font-size: 1rem; color: var(--text-low); line-height: 1.6; margin: 0; }

@media (max-width: 600px) {
  .zone-item-main { flex-direction: column; gap: 16px; }
  .zone-item { padding: 24px; }
  .zone-item:hover { transform: translateY(-4px) translateX(0); }
  .zone-item-badge { width: 48px; height: 48px; font-size: 0.95rem; }
}

/* ─── Scroll-driven Truck Delivery Scene ─── */
.how-truck-scene {
  position: relative;
  width: 100%;
  height: 100px;
  margin-bottom: 32px;
  overflow: hidden;
}

.how-truck-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Road */
.how-truck-road {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(249, 115, 22, 0.15);
  border-radius: 2px;
}

.how-truck-road-lines {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(249, 115, 22, 0.25) 0px,
    rgba(249, 115, 22, 0.25) 10px,
    transparent 10px,
    transparent 22px
  );
}

/* Step labels */
.how-truck-label {
  position: absolute;
  top: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.how-truck-label.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.how-truck-label[data-step="1"] { left: 16.5%; }
.how-truck-label[data-step="2"] { left: 50%; }
.how-truck-label[data-step="3"] { left: 83.5%; }

.how-truck-label-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  border: 2px solid rgba(249, 115, 22, 0.25);
  transition: all 0.5s ease;
}

.how-truck-label.active .how-truck-label-dot {
  background: #f97316;
  border-color: #f97316;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
}

.how-truck-label span {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(249, 115, 22, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color 0.5s ease;
}

.how-truck-label.active span {
  color: #f97316;
}

/* Destination / Storefront */
.how-truck-destination {
  position: absolute;
  bottom: 20px;
  right: 24px;
  width: 48px;
  height: 46px;
}

.how-dest-roof {
  position: absolute;
  top: 0;
  left: -2px;
  width: 52px;
  height: 14px;
  background: #f97316;
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.how-dest-roof::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0px, transparent 3px, rgba(255,255,255,0.12) 3px, rgba(255,255,255,0.12) 6px);
}

.how-dest-sign {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  font-family: Arial, sans-serif;
  z-index: 1;
}

.how-dest-awning {
  position: absolute;
  top: 12px;
  left: 0;
  width: 48px;
  height: 5px;
  background: repeating-linear-gradient(90deg, #f97316 0px, #f97316 4px, #fff 4px, #fff 8px);
  border-radius: 0 0 3px 3px;
}

.how-dest-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(249, 115, 22, 0.15);
  border-top: none;
}

.how-dest-window {
  position: absolute;
  top: 4px;
  width: 10px;
  height: 10px;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 2px;
}

.how-dest-window::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(249,115,22,0.2); }
.how-dest-window::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(249,115,22,0.2); }

.how-dest-window.left { left: 4px; }
.how-dest-window.right { right: 4px; }

.how-dest-door {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 15px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 2px 2px 0 0;
}

.how-dest-knob {
  position: absolute;
  top: 50%;
  right: 2px;
  width: 2px;
  height: 2px;
  background: #f97316;
  border-radius: 50%;
}

.how-dest-chimney {
  position: absolute;
  top: -5px;
  right: 8px;
  width: 6px;
  height: 11px;
  background: rgba(249, 115, 22, 0.3);
  border-radius: 1px 1px 0 0;
}

.how-dest-smoke {
  position: absolute;
  top: -14px;
  right: 7px;
}

.how-dest-smoke .smoke-puff {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(249, 115, 22, 0.15);
  border-radius: 50%;
  opacity: 0;
}

.how-truck-scene.in-view .how-dest-smoke .smoke-puff {
  animation: truckSmoke 2.4s ease-out infinite;
}

.how-dest-smoke .smoke-puff:nth-child(2) { left: 4px; animation-delay: 0.8s; }
.how-dest-smoke .smoke-puff:nth-child(3) { left: 2px; animation-delay: 1.6s; }

/* ─── Truck Vehicle ─── */
.how-truck-vehicle {
  position: absolute;
  bottom: 20px;
  left: 0%;
  transform: translateX(-50%);
  transition: none;
  will-change: left;
}

/* Exhaust */
.how-truck-exhaust {
  position: absolute;
  bottom: 5px;
  left: -6px;
}

.how-truck-puff {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(249, 115, 22, 0.15);
  border-radius: 50%;
  opacity: 0;
}

.how-truck-scene.in-view .how-truck-puff {
  animation: exhaustPuff 0.9s ease-out infinite;
}

.how-truck-puff:nth-child(2) { left: -3px; top: -2px; animation-delay: 0.3s; }
.how-truck-puff:nth-child(3) { left: -6px; top: 1px; animation-delay: 0.6s; }

/* Van body */
.how-truck-body {
  position: relative;
  width: 48px;
  height: 24px;
  background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
  border-radius: 3px 6px 2px 2px;
  box-shadow: 0 3px 8px rgba(249, 115, 22, 0.3);
}

.how-truck-body::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 16px;
  bottom: 3px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0px, rgba(255,255,255,0.08) 1px, transparent 1px, transparent 5px);
  border-radius: 2px;
}

.how-truck-logo {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  font-size: 7px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  font-family: Arial, sans-serif;
  z-index: 1;
}

.how-truck-headlight {
  position: absolute;
  bottom: 5px;
  right: -2px;
  width: 3px;
  height: 4px;
  background: #ffeaa0;
  border-radius: 1px;
  box-shadow: 0 0 5px 2px rgba(255, 234, 160, 0.5);
}

.how-truck-bumper {
  position: absolute;
  bottom: -2px;
  left: 2px;
  right: 2px;
  height: 2px;
  background: #c2410c;
  border-radius: 0 0 2px 2px;
}

/* Cabin */
.how-truck-cabin {
  position: absolute;
  right: -15px;
  bottom: 0;
  width: 16px;
  height: 16px;
  background: linear-gradient(180deg, #ea580c 0%, #c2410c 100%);
  border-radius: 2px 5px 2px 2px;
}

.how-truck-windshield {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 10px;
  height: 8px;
  background: linear-gradient(135deg, rgba(192,232,255,0.4) 0%, rgba(160,208,240,0.3) 100%);
  border-radius: 1px 3px 1px 1px;
  border: 1px solid rgba(128,176,208,0.3);
}

.how-truck-mirror {
  position: absolute;
  top: 5px;
  right: -4px;
  width: 3px;
  height: 2px;
  background: rgba(255,255,255,0.2);
  border-radius: 1px;
}

/* Packages */
.how-truck-packages {
  position: absolute;
  top: -7px;
  left: 5px;
}

.how-truck-pkg {
  position: absolute;
  background: #f97316;
  border: 1px solid #ea580c;
  border-radius: 1.5px;
}

.how-truck-pkg::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.4);
  border-radius: 1px;
}

.how-truck-pkg.p1 { width: 8px; height: 7px; left: 0; bottom: 0; }
.how-truck-pkg.p1::after { width: 5px; height: 1px; }
.how-truck-pkg.p2 { width: 7px; height: 6px; left: 10px; bottom: 0; }
.how-truck-pkg.p2::after { width: 4px; height: 1px; }
.how-truck-pkg.p3 { width: 6px; height: 5px; left: 4px; bottom: 7px; }
.how-truck-pkg.p3::after { width: 3px; height: 1px; }

/* Wheels */
.how-truck-wheel {
  position: absolute;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: #1a1a1a;
  border-radius: 50%;
  border: 2px solid #333;
}

.how-truck-wheel::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3px;
  height: 3px;
  background: #666;
  border-radius: 50%;
}

.how-truck-wheel.front { right: -8px; }
.how-truck-wheel.back { left: 5px; }

.how-truck-scene.in-view .how-truck-wheel {
  animation: truckWheelSpin 0.4s linear infinite;
}

.how-truck-vehicle.stopped .how-truck-wheel {
  animation: none;
}

/* Scroll hint */
.how-truck-hint {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.how-truck-hint.visible {
  opacity: 1;
}

.how-truck-hint span {
  font-size: 0.68rem;
  color: rgba(249, 115, 22, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.how-truck-hint-arrow {
  width: 14px;
  height: 14px;
  border-right: 2px solid rgba(249, 115, 22, 0.4);
  border-bottom: 2px solid rgba(249, 115, 22, 0.4);
  transform: rotate(45deg);
  animation: hintBounce 1.2s ease-in-out infinite;
}

@keyframes hintBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(3px); }
}

/* Section locked state */
.how-section.truck-locked {
  position: relative;
  z-index: 50;
}

.how-section.truck-locked .how-grid {
  opacity: 0.15;
  transition: opacity 0.6s ease;
}

.how-section.truck-done .how-grid {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES (Convenience)
   ═══════════════════════════════════════════════════════════════ */
.features-section { padding: var(--section-pad) 0; background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.feature-card { padding: 36px 32px; background: var(--card); border: var(--border-soft); border-radius: 28px; transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.feature-card:hover { background: var(--card-hover); border-color: rgba(249,115,22,0.25); box-shadow: 0 20px 50px rgba(0,0,0,0.35); transform: translateY(-6px); }
.feature-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--text-hi); margin-bottom: 12px; transition: color 0.3s var(--ease); }
.feature-card:hover h3 { color: var(--primary-light); }
.feature-card p { font-size: 0.95rem; color: var(--text-low); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   MENU SECTION
   ═══════════════════════════════════════════════════════════════ */
.menu-section { position: relative; padding: var(--section-pad) 0; background: radial-gradient(circle at 50% 0%, rgba(249,115,22,0.09), transparent 34%), var(--bg-soft); overflow: hidden; }
.menu-section::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,12,10,0.22), transparent 22%, rgba(15,12,10,0.18)); pointer-events: none; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.menu-card { background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035)); border: 1px solid rgba(255,248,242,0.11); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.22s var(--ease-out), border-color 0.22s var(--ease-out), background 0.22s var(--ease-out); position: relative; display: flex; flex-direction: column; min-height: 100%; cursor: pointer; }
.menu-card:hover { transform: translateY(-5px); border-color: rgba(249,115,22,0.36); background: linear-gradient(180deg, rgba(255,255,255,0.095), rgba(255,255,255,0.045)); }
.menu-card-featured { border-color: rgba(249,115,22,0.32); background: linear-gradient(180deg, rgba(249,115,22,0.13), rgba(255,255,255,0.04)); }
.menu-card-img { position: relative; height: 210px; background: rgba(255,255,255,0.04); overflow: hidden; }
.menu-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,16,13,0.68) 0%, rgba(20,16,13,0.18) 42%, rgba(20,16,13,0.04) 100%); pointer-events: none; }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ease-out); }
.menu-card:hover .menu-card-img img { transform: scale(1.045); }
.menu-card-badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 10px; border-radius: var(--radius-full); background: rgba(20,16,13,0.72); border: 1px solid rgba(255,248,242,0.2); color: var(--text-hi); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em; backdrop-filter: blur(10px); }
.menu-price-tag { position: absolute; bottom: 14px; left: 14px; padding: 8px 14px; background: var(--gradient-primary); color: var(--white); font-weight: 800; font-size: 1rem; border-radius: var(--radius-md); box-shadow: 0 8px 18px rgba(0,0,0,0.28); z-index: 2; }
.menu-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px; }
.menu-card-name { color: var(--text-hi); font-size: 1.12rem; font-weight: 850; line-height: 1.25; letter-spacing: -0.02em; }
.menu-card-category { width: fit-content; padding: 4px 9px; border-radius: var(--radius-full); background: rgba(249,115,22,0.12); color: var(--primary-lighter); font-size: 0.74rem; font-weight: 800; line-height: 1; }
.menu-card-desc { color: rgba(255,248,242,0.76); font-size: 0.93rem; line-height: 1.6; min-height: 3em; }
.menu-card-rating { display: flex; align-items: center; gap: 3px; margin: 2px 0 6px; color: var(--gold-light); font-size: 0.92rem; }
.menu-card-rating span { margin-left: 6px; color: var(--text-mid); font-size: 0.86rem; font-weight: 700; }
.menu-card-actions { display: flex; gap: 10px; margin-top: auto; }
.menu-btn { flex: 1; min-height: 44px; padding: 11px 12px; border: none; border-radius: var(--radius-md); font-size: 0.9rem; font-weight: 750; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px; transition: transform 0.18s var(--ease-out), background 0.18s var(--ease-out), color 0.18s var(--ease-out), border-color 0.18s var(--ease-out); font-family: inherit; text-decoration: none; }
.menu-btn-view { background: rgba(255,248,242,0.08); color: rgba(255,248,242,0.82); border: 1px solid rgba(255,248,242,0.12); }
.menu-btn-view:hover { border-color: rgba(249,115,22,0.5); color: var(--primary-lighter); background: rgba(249,115,22,0.13); }
.menu-btn-add { background: var(--gradient-primary); color: var(--white); box-shadow: none; }
.menu-btn-add:hover { transform: translateY(-1px); background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%); color: var(--white); }
.menu-cta { text-align: center; margin-top: 56px; }
.menu-cta-note { margin-top: 14px; font-size: 0.82rem; color: var(--text-faint); }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; border-radius: var(--radius-full); transition: all 0.4s cubic-bezier(0.2,0.8,0.2,1); white-space: nowrap; border: none; cursor: pointer; text-decoration: none; }
.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-primary { background: var(--gradient-primary); color: var(--white); box-shadow: var(--shadow-glow); position: relative; overflow: hidden; }
.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: left 0.5s; }
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow-lg); }
.btn-white { background: var(--white); color: var(--bg); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); background: #f5f5f5; }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); backdrop-filter: blur(10px); }
.btn-outline-white:hover { border-color: var(--primary-light); color: var(--primary-light); background: var(--primary-surface); transform: translateY(-3px); }
.btn-arrow { font-size: 0.85rem; transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* ═══════════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════════ */
.about-section { padding: var(--section-pad) 0; background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr; }
.about-content { max-width: 720px; }
.about-text { font-size: 1rem; color: var(--text-mid); line-height: 1.9; margin-bottom: 20px; }
.about-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.about-highlight { padding: 24px; background: var(--card); border: var(--border-soft); border-radius: var(--radius-lg); transition: all 0.4s var(--ease); }
.about-highlight:hover { background: var(--card-hover); border-color: rgba(249,115,22,0.2); transform: translateY(-4px); }
.about-highlight h4 { font-size: 1rem; font-weight: 800; color: var(--text-hi); margin-bottom: 6px; }
.about-highlight p { font-size: 0.88rem; color: var(--text-low); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════
   BRANCHES SECTION
   ═══════════════════════════════════════════════════════════════ */
.branches-section { padding: var(--section-pad) 0; background: var(--bg-soft); }
.branches-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.branch-card { background: var(--card); border: var(--border-soft); border-radius: 28px; padding: 32px; transition: all 0.5s cubic-bezier(0.2,0.8,0.2,1); display: flex; flex-direction: column; }
.branch-card:hover { background: var(--card-hover); border-color: rgba(249,115,22,0.2); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.branch-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.branch-type { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; color: var(--primary-light); background: var(--primary-surface); padding: 4px 12px; border-radius: var(--radius-full); }
.branch-status { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; }
.branch-status.open { color: var(--green); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(34,197,94,0.5); animation: dotPulse 2s ease-in-out infinite; }
@keyframes dotPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.branch-name { font-size: 1.2rem; font-weight: 800; color: var(--text-hi); margin-bottom: 18px; }
.branch-info { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; flex: 1; }
.info-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; color: var(--text-mid); line-height: 1.5; }
.info-item i { color: var(--primary-light); font-size: 0.95rem; margin-top: 2px; min-width: 16px; }
.branch-card-footer { padding-top: 20px; border-top: var(--border-soft); }
.branch-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-light); font-size: 0.9rem; font-weight: 700; padding: 10px 20px; border: 1px solid rgba(249,115,22,0.3); border-radius: var(--radius-full); transition: all 0.3s var(--ease); }
.branch-btn:hover { background: var(--primary-surface); border-color: var(--primary); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════════════════ */
.testimonials-section { padding: var(--section-pad) 0; background: var(--bg-deep); overflow: hidden; }
.testimonials-carousel { position: relative; max-width: 1100px; margin: 48px auto 0; overflow: hidden; }
.testimonials-track { display: flex; gap: 24px; animation: testimonialScroll 35s linear infinite; width: max-content; }
.testimonials-track:hover { animation-play-state: paused; }
@keyframes testimonialScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.testimonial-card { min-width: 340px; max-width: 380px; padding: 36px 32px; background: var(--card); border: var(--border-soft); border-radius: 28px; transition: all 0.4s var(--ease); flex-shrink: 0; }
.testimonial-card:hover { background: var(--card-hover); border-color: rgba(249,115,22,0.25); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testimonial-quote { font-size: 1.6rem; color: var(--primary-light); margin-bottom: 16px; opacity: 0.5; }
.testimonial-text { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testimonial-rating { display: flex; gap: 4px; margin-bottom: 20px; color: var(--gold); font-size: 0.9rem; }
.testimonial-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: var(--border-soft); }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 800; font-size: 0.9rem; }
.author-info h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-hi); margin-bottom: 2px; }
.author-info p { font-size: 0.78rem; color: var(--text-low); }

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.cta-section { padding: var(--section-pad) 0; background: var(--bg); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(249,115,22,0.08) 0%, transparent 60%); pointer-events: none; }
.cta-content { text-align: center; position: relative; z-index: 2; }
.cta-title { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; color: var(--text-hi); margin-bottom: 16px; letter-spacing: -0.02em; }
.cta-content .cta-text { font-size: 1.05rem; color: var(--text-low); margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer { background: var(--bg-footer); border-top: var(--border-soft); }
.footer-top { padding: clamp(48px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px clamp(24px, 4vw, 48px); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 1.3rem; font-weight: 800; color: var(--text-hi); }
.footer-logo img { width: 40px; height: 40px; border-radius: var(--radius-sm); }
.footer-about { font-size: 0.9rem; color: var(--text-low); line-height: 1.8; margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-link { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); border: var(--border-soft); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; color: var(--text-mid); transition: all 0.3s var(--ease); }
.social-link:hover { background: var(--primary); color: var(--white); border-color: transparent; transform: translateY(-3px); }
.footer-heading { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 800; color: var(--text-mid); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.9rem; color: var(--text-low); transition: all 0.3s var(--ease); }
.footer-links a:hover { color: var(--primary-light); padding-left: 6px; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; color: var(--text-low); line-height: 1.6; }
.footer-contact li i { color: var(--primary-light); margin-top: 3px; min-width: 16px; }
.footer-bottom { padding: 24px 0; border-top: var(--border-soft); }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.copyright { font-size: 0.82rem; color: var(--text-faint); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-faint); transition: color 0.3s var(--ease); }
.footer-bottom-links a:hover { color: var(--text-mid); }

/* ═══════════════════════════════════════════════════════════════
   AI CHAT ASSISTANT
   ═══════════════════════════════════════════════════════════════ */
.chat-container { position: fixed; bottom: 24px; right: 24px; z-index: 10000; }
.chat-toggle { width: 56px; height: 56px; border-radius: 50%; background: var(--gradient-primary); color: var(--white); border: none; font-size: 1.3rem; box-shadow: var(--shadow-glow); cursor: pointer; transition: all 0.3s var(--ease); display: flex; align-items: center; justify-content: center; }
.chat-toggle:hover { transform: scale(1.08); box-shadow: var(--shadow-glow-lg); }
.chat-toggle .toggle-close { display: none; }
.chat-container.active .chat-toggle { background: var(--bg-soft); border: var(--border-soft); }
.chat-container.active .chat-toggle .toggle-open { display: none; }
.chat-container.active .chat-toggle .toggle-close { display: block; }
.chat-box { position: fixed; bottom: 96px; right: 24px; width: 380px; max-width: calc(100vw - 48px); height: 520px; max-height: calc(100vh - 140px); background: var(--bg-soft); border: var(--border-soft); border-radius: 24px; box-shadow: var(--shadow-xl); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(16px); transition: all 0.3s var(--ease-out); }
.chat-container.active .chat-box { opacity: 1; visibility: visible; transform: translateY(0); }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: var(--border-soft); }
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1rem; }
.status-indicator { position: absolute; bottom: 0; right: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--green); border: 2px solid var(--bg-soft); }
.chat-header-text h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-hi); }
.chat-header-text span { font-size: 0.75rem; color: var(--text-faint); }
.chat-close { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.05); border: none; color: var(--text-mid); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s var(--ease); }
.chat-close:hover { background: rgba(255,255,255,0.1); color: var(--text-hi); }
.chat-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }
.chat-message.bot { display: flex; gap: 12px; align-items: flex-start; }
.chat-message.user { display: flex; flex-direction: row-reverse; }
.chat-message.user .message-content { background: var(--gradient-primary); color: var(--white); margin-left: 48px; }
.message-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 0.8rem; flex-shrink: 0; }
.message-content { background: var(--card); border: var(--border-soft); border-radius: 18px; padding: 14px 18px; font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; max-width: 85%; }
.message-time { display: block; font-size: 0.7rem; color: var(--text-faint); margin-top: 6px; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0; }
.quick-action-btn { padding: 8px 16px; font-size: 0.78rem; font-weight: 600; color: var(--text-mid); background: var(--card); border: var(--border-soft); border-radius: var(--radius-full); cursor: pointer; transition: all 0.2s var(--ease); }
.quick-action-btn:hover { background: var(--primary-surface); border-color: rgba(249,115,22,0.3); color: var(--primary-light); }
.chat-footer { padding: 16px 20px; border-top: var(--border-soft); }
.chat-input-wrapper { display: flex; gap: 10px; align-items: center; }
.chat-input-wrapper input { flex: 1; padding: 12px 18px; font-size: 0.88rem; background: var(--card); border: var(--border-soft); border-radius: var(--radius-full); color: var(--text-hi); outline: none; font-family: inherit; transition: border-color 0.3s var(--ease); }
.chat-input-wrapper input::placeholder { color: var(--text-faint); }
.chat-input-wrapper input:focus { border-color: rgba(249,115,22,0.4); }
.chat-send { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-primary); color: var(--white); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s var(--ease); flex-shrink: 0; }
.chat-send:hover { transform: scale(1.08); box-shadow: var(--shadow-glow); }
.chat-notification { position: fixed; bottom: 96px; right: 24px; width: 320px; max-width: calc(100vw - 48px); background: var(--bg-soft); border: var(--border-soft); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all 0.4s var(--ease-spring); z-index: 9999; }
.chat-container:not(.active) .chat-notification.show { opacity: 1; visibility: visible; transform: translateY(0); }
.notification-content { display: flex; align-items: center; gap: 12px; }
.notification-icon { font-size: 1.4rem; color: var(--primary-light); }
.notification-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.notification-text strong { font-size: 0.85rem; color: var(--text-hi); }
.notification-text span { font-size: 0.78rem; color: var(--text-low); }
.notification-close { background: none; border: none; color: var(--text-faint); cursor: pointer; font-size: 0.9rem; padding: 4px; transition: color 0.2s; }
.notification-close:hover { color: var(--text-hi); }

/* ═══════════════════════════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════════════════════════ */
.back-to-top { position: fixed; bottom: 24px; left: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--card); border: var(--border-soft); color: var(--text-mid); font-size: 1rem; z-index: 9998; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s var(--ease); cursor: pointer; backdrop-filter: blur(10px); }
.back-to-top.show, .back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary); color: var(--white); border-color: transparent; transform: translateY(-3px); }

/* ==========================================================================
   WALLET ADVERTISEMENT CARD STYLES
   ========================================================================== */
.wallet-balance-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(145deg, #c2410c 0%, #ea580c 40%, #f97316 100%);
  color: #fff;
  padding: 36px 28px 28px;
  box-shadow: 0 16px 40px rgba(234, 88, 12, 0.35), 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  font-family: 'Poppins', sans-serif; /* Keep same font as wallet app */
}

.wallet-balance-card:hover {
  box-shadow: 0 22px 48px rgba(234, 88, 12, 0.45), 0 8px 16px rgba(0,0,0,0.12);
}

.balance-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.balance-card-bg::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.balance-card-bg::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(253, 224, 71, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.balance-card-logo {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1;
  width: 64px;
  height: 64px;
  pointer-events: none;
}

.balance-card-content {
  position: relative;
  z-index: 1;
}

.balance-label {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.balance-label i {
  font-size: 14px;
  opacity: 0.9;
}

.balance-amount {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 6px;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.balance-status {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.balance-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #a7f3d0;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(167, 243, 208, 0.8);
}

.balance-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.15);
}

@media (max-width: 768px) {
  .wallet-ad-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE BOTTOM NAV
   ═══════════════════════════════════════════════════════════════ */
.mobile-bottom-nav { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(15,12,10,0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: var(--border-soft); z-index: 9997; padding: 8px 0 env(safe-area-inset-bottom, 0); grid-template-columns: repeat(4, 1fr); }
.mobile-bottom-nav .nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; font-size: 0.65rem; font-weight: 600; color: var(--text-low); transition: all 0.3s var(--ease); border-radius: var(--radius-md); text-decoration: none; }
.mobile-bottom-nav .nav-item i { font-size: 1.2rem; transition: color 0.3s var(--ease); }
.mobile-bottom-nav .nav-item.active, .mobile-bottom-nav .nav-item:hover { color: var(--primary-light); }
.mobile-bottom-nav .nav-item.active i, .mobile-bottom-nav .nav-item:hover i { color: var(--primary-light); }

/* ═══════════════════════════════════════════════════════════════
   REVEAL / SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.active, .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-left.active, .reveal-left.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.stagger .reveal:nth-child(1) { transition-delay: 0s; }
.stagger .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger .reveal:nth-child(6) { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-visual { width: 100%; right: auto; }
  .hero-visual-img { mask-image: linear-gradient(to left, rgba(0,0,0,1) 100%, rgba(0,0,0,0.4) 60%); -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 100%, rgba(0,0,0,0.4) 60%); opacity: 0.5; }
  .hero-container { padding: 100px clamp(16px, 4vw, 32px) 60px; }
  .hero-glass-card { left: 50%; transform: translateX(-50%); bottom: 8%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .about-highlights { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-btn.install-btn { display: none !important; }
  .nav-menu { display: none; }
  .hero-container { padding: 100px clamp(16px, 4vw, 32px) 200px; }
  .hero-content { align-items: center; text-align: center; gap: 30px; }
  .hero { align-items: flex-start; }
  .hero-cta-wrapper { margin-bottom: 0; gap: 18px; }
  .hero-glass-card { display: none; }
  .hero-badge { background: rgba(20,16,13,0.65); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero-cta-secondary { background: rgba(20,16,13,0.55); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .how-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .branches-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-content { flex-direction: column; text-align: center; }
  .about-highlights { grid-template-columns: 1fr; }
  .mobile-bottom-nav { display: grid; }
  .chat-box { width: calc(100vw - 32px); right: 16px; bottom: 88px; }
  .testimonial-card { min-width: 280px; max-width: 320px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .chat-toggle { bottom: 72px; }
  .back-to-top { bottom: 72px; }
  .scroll-indicator { display: none; }

  /* Truck scene responsive */
  .how-truck-scene { height: 80px; margin-bottom: 20px; }
  .how-truck-label span { font-size: 0.6rem; letter-spacing: 0.03em; }
  .how-truck-label { bottom: 24px; }
  .how-truck-label-dot { width: 8px; height: 8px; }
  .how-truck-destination { transform: scale(0.8); transform-origin: bottom right; }
  .how-truck-tree { transform: scale(0.8); transform-origin: bottom; }
  .how-truck-lamp { transform: scale(0.8); transform-origin: bottom; }
}

@media (max-width: 480px) {
  .menu-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .section-heading { font-size: 1.8rem; }
  .hero-cta-wrapper { flex-direction: column; width: 100%; }
  .hero-cta-primary, .hero-cta-secondary { width: 100%; justify-content: center; text-align: center; }

  /* Truck scene — compact labels */
  .how-truck-scene { height: 90px; }
  .how-truck-label { bottom: 22px; }
  .how-truck-label span { font-size: 0.5rem; letter-spacing: 0.02em; }
  .how-truck-label-dot { width: 7px; height: 7px; }
  .how-truck-label[data-step="1"] { left: 18%; }
  .how-truck-label[data-step="2"] { left: 48%; }
  .how-truck-label[data-step="3"] { left: 78%; }
  .how-truck-destination { transform: scale(0.65); transform-origin: bottom right; right: 4px; }
  .how-truck-tree { display: none; }
  .how-truck-lamp { display: none; }
  .how-truck-vehicle { transform: translateX(-50%) scale(0.8); }
  .how-truck-hint span { font-size: 0.55rem; }
}