/* ═══════════════════════════════════════════════════════
   TUNAS TOYOTA — PREMIUM DESIGN SYSTEM v3
   Modern · Clean · Glassmorphism · Micro-animations
   Vanilla CSS — Mobile-first, Tablet & Desktop responsive
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ───────────────────────────────
   1. DESIGN TOKENS
   ─────────────────────────────── */
:root {
  /* Brand — Electric Azure primary · Crimson Coral CTA */
  --primary-red: #ef4444;
  --primary-red-dark: #dc2626;
  --primary-red-light: #f87171;
  --primary-red-glow: rgba(239, 68, 68, 0.25);
  --primary-red-subtle: rgba(239, 68, 68, 0.07);
  --primary-blue: #2563eb;
  --primary-blue-2: #3b82f6;
  --primary-blue-subtle: rgba(37, 99, 235, 0.08);
  --primary-blue-glow: rgba(59, 130, 246, 0.28);

  /* Neutrals */
  --text-dark: #0f172a;
  --text-body: #475569;
  --text-muted: #94a3b8;
  --text-light: #cbd5e1;

  /* Backgrounds */
  --bg-color: #f6f8fb;
  --bg-card: #ffffff;
  --bg-card-hover: #fafbff;
  --bg-surface: #f1f5f9;
  --bg-light: #f1f5f9;
  --bg-elevated: #ffffff;
  --bg-dark: #0f172a;
  --bg-dark-2: #1e293b;

  /* Accents */
  --accent-blue: #3b82f6;
  --accent-blue-bg: #eff6ff;
  --accent-green: #10b981;
  --accent-green-bg: #ecfdf5;
  --green-success: #059669;
  --accent-orange: #f59e0b;
  --accent-orange-bg: #fffbeb;
  --accent-purple: #8b5cf6;
  --accent-purple-bg: #f5f3ff;
  --accent-cyan: #06b6d4;
  --accent-cyan-bg: #ecfeff;
  --accent-pink: #ec4899;
  --accent-pink-bg: #fdf2f8;

  /* Borders */
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;

  /* Shadows — soft layered elevation */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 8px -2px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 12px 24px -6px rgba(15, 23, 42, 0.1), 0 4px 8px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.14), 0 8px 16px -8px rgba(15, 23, 42, 0.06);
  --shadow-2xl: 0 32px 64px -16px rgba(15, 23, 42, 0.22);
  --shadow-red: 0 6px 16px rgba(239, 68, 68, 0.24);
  --shadow-red-lg: 0 12px 28px rgba(239, 68, 68, 0.32);
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 12px 32px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.05);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 999px;

  /* Motion */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-blur: blur(20px) saturate(180%);

  /* Themeable extras */
  --font-display: 'Poppins', sans-serif;
  --bg-white: #ffffff;
  --header-border: rgba(226, 232, 240, 0.55);
  --shimmer-a: #eef2f7;
  --shimmer-b: #e2e8f0;
  --nav-bg: rgba(15, 23, 42, 0.9);
  --nav-border: rgba(255, 255, 255, 0.08);
  --mesh-1: rgba(37, 99, 235, 0.055);
  --mesh-2: rgba(239, 68, 68, 0.04);
  --mesh-3: rgba(139, 92, 246, 0.04);
  --tile-red-a: #fee2e2;
  --tile-red-b: #fecaca;
  --tile-blue-a: #dbeafe;
  --tile-blue-b: #bfdbfe;
  --tile-purple-a: #f3e8ff;
  --tile-purple-b: #e9d5ff;
  --tile-green-a: #ecfdf5;
  --tile-green-b: #d1fae5;
  --tile-amber-a: #fef3c7;
  --tile-amber-b: #fde68a;
  --tile-cyan-a: #ecfeff;
  --tile-cyan-b: #cffafe;
  --tile-pink-a: #fdf4ff;
  --tile-pink-b: #fae8ff;
  --tile-mint-a: #f0fdf4;
  --tile-mint-b: #dcfce7;
  --tile-orange-a: #fff7ed;
  --tile-orange-b: #ffedd5;
  --chip-blue-a: #eff6ff;
  --chip-blue-b: #dbeafe;
  --chip-blue-text: #1e40af;
  --chip-red-a: #fef2f2;
  --chip-red-b: #fee2e2;
  --chip-amber-a: #fffbeb;
  --chip-amber-b: #fef3c7;
  --chip-amber-text: #d97706;
  --chip-green-text: #059669;
}

/* ── DARK THEME — Rich Obsidian ── */
[data-theme="dark"] {
  color-scheme: dark;

  --primary-red: #f87171;
  --primary-red-dark: #ef4444;
  --primary-red-light: #fca5a5;
  --primary-red-glow: rgba(248, 113, 113, 0.3);
  --primary-red-subtle: rgba(248, 113, 113, 0.1);
  --primary-blue: #3b82f6;
  --primary-blue-2: #60a5fa;
  --primary-blue-subtle: rgba(59, 130, 246, 0.14);
  --primary-blue-glow: rgba(96, 165, 250, 0.32);

  --text-dark: #f1f5f9;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-light: #64748b;

  --bg-color: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #24334a;
  --bg-surface: #16213a;
  --bg-light: #16213a;
  --bg-elevated: #1e293b;
  --bg-dark: #020617;
  --bg-dark-2: #0f172a;
  --bg-white: #1e293b;

  --accent-blue-bg: rgba(59, 130, 246, 0.14);
  --accent-green-bg: rgba(16, 185, 129, 0.14);
  --green-success: #34d399;
  --accent-orange-bg: rgba(245, 158, 11, 0.14);
  --accent-purple-bg: rgba(139, 92, 246, 0.16);
  --accent-cyan-bg: rgba(6, 182, 212, 0.14);
  --accent-pink-bg: rgba(236, 72, 153, 0.14);

  --border-color: rgba(148, 163, 184, 0.16);
  --border-light: rgba(148, 163, 184, 0.1);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 8px -2px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 24px -6px rgba(0, 0, 0, 0.5), 0 4px 8px -4px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 24px 48px -12px rgba(0, 0, 0, 0.6), 0 8px 16px -8px rgba(0, 0, 0, 0.4);
  --shadow-2xl: 0 32px 64px -16px rgba(0, 0, 0, 0.7);
  --shadow-red: 0 6px 16px rgba(239, 68, 68, 0.3);
  --shadow-red-lg: 0 12px 28px rgba(239, 68, 68, 0.38);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.28);
  --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.35);

  --glass-bg: rgba(30, 41, 59, 0.72);
  --glass-border: rgba(148, 163, 184, 0.12);

  --header-border: rgba(148, 163, 184, 0.12);
  --shimmer-a: #1e293b;
  --shimmer-b: #2b3a55;
  --nav-bg: rgba(2, 6, 23, 0.88);
  --nav-border: rgba(148, 163, 184, 0.14);
  --mesh-1: rgba(59, 130, 246, 0.11);
  --mesh-2: rgba(239, 68, 68, 0.07);
  --mesh-3: rgba(139, 92, 246, 0.09);

  --tile-red-a: rgba(239, 68, 68, 0.2);
  --tile-red-b: rgba(239, 68, 68, 0.1);
  --tile-blue-a: rgba(59, 130, 246, 0.22);
  --tile-blue-b: rgba(59, 130, 246, 0.1);
  --tile-purple-a: rgba(139, 92, 246, 0.22);
  --tile-purple-b: rgba(139, 92, 246, 0.1);
  --tile-green-a: rgba(16, 185, 129, 0.2);
  --tile-green-b: rgba(16, 185, 129, 0.09);
  --tile-amber-a: rgba(245, 158, 11, 0.2);
  --tile-amber-b: rgba(245, 158, 11, 0.09);
  --tile-cyan-a: rgba(6, 182, 212, 0.2);
  --tile-cyan-b: rgba(6, 182, 212, 0.09);
  --tile-pink-a: rgba(236, 72, 153, 0.2);
  --tile-pink-b: rgba(236, 72, 153, 0.09);
  --tile-mint-a: rgba(52, 211, 153, 0.2);
  --tile-mint-b: rgba(52, 211, 153, 0.09);
  --tile-orange-a: rgba(249, 115, 22, 0.2);
  --tile-orange-b: rgba(249, 115, 22, 0.09);
  --chip-blue-a: rgba(59, 130, 246, 0.18);
  --chip-blue-b: rgba(59, 130, 246, 0.1);
  --chip-blue-text: #93c5fd;
  --chip-red-a: rgba(239, 68, 68, 0.18);
  --chip-red-b: rgba(239, 68, 68, 0.1);
  --chip-amber-a: rgba(245, 158, 11, 0.18);
  --chip-amber-b: rgba(245, 158, 11, 0.1);
  --chip-amber-text: #fbbf24;
  --chip-green-text: #34d399;
}

/* ───────────────────────────────
   2. KEYFRAMES
   ─────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

  100% {
    background-position: 200% 0;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.45;
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.32);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes shimmerSweep {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes iconBounce {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.18);
  }
}

@keyframes badgePop {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fabPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Animation utilities */
.animate-fade-in {
  animation: fadeIn 0.5s ease both;
}

.animate-fade-up {
  animation: fadeInUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animate-slide-right {
  animation: slideInRight 0.5s ease both;
}

.animate-scale-in {
  animation: scaleIn 0.4s ease both;
}

.delay-1 {
  animation-delay: 0.06s;
}

.delay-2 {
  animation-delay: 0.12s;
}

.delay-3 {
  animation-delay: 0.18s;
}

.delay-4 {
  animation-delay: 0.24s;
}

.delay-5 {
  animation-delay: 0.3s;
}

.delay-6 {
  animation-delay: 0.36s;
}

.delay-7 {
  animation-delay: 0.42s;
}

.delay-8 {
  animation-delay: 0.48s;
}

/* Scroll reveal (activated via global-premium.js) */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ───────────────────────────────
   3. GLOBAL RESETS
   ─────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  background-image:
    radial-gradient(ellipse 60% 40% at 85% -5%, var(--mesh-2), transparent),
    radial-gradient(ellipse 50% 35% at 8% 12%, var(--mesh-1), transparent),
    radial-gradient(ellipse 45% 30% at 92% 88%, var(--mesh-3), transparent);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  font-size: 14px;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.menu-text {
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
  text-align: center !important;
  line-height: 1.25 !important;
  font-family: 'Poppins', sans-serif !important;
}

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

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

select,
input,
textarea {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--primary-red);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--primary-red-glow);
  color: var(--text-dark);
}

/* ───────────────────────────────
   4. APP SHELL
   ─────────────────────────────── */
.mobile-app {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  padding-bottom: 110px;
  overflow-x: hidden;
}

/* ── Header — Glassmorphism ── */
.header-customer {
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.header-customer .brand {
  display: flex;
  align-items: center;
}

.brand-logo-group {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.brand-logo-group img {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-subtext-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1px 9px 1px 7px;
  background: rgba(235, 10, 30, 0.06);
  border: 1px solid rgba(235, 10, 30, 0.18);
  border-radius: 50px;
  margin-top: -3px;
  box-shadow: 0 1px 4px rgba(235, 10, 30, 0.05);
}

.brand-subtext-pill .location-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--toyota-red, #eb0a1e);
  box-shadow: 0 0 6px rgba(235, 10, 30, 0.6);
  display: inline-block;
}

.brand-subtext-pill .location-text {
  font-size: 0.66rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  line-height: 1.1;
}

/* Judul halaman di tengah header (halaman sub) */
.header-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tombol kembali di header */
.header-back {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-dark);
  font-size: 14px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.header-back:hover {
  transform: translateX(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary-red);
}

.header-back:active {
  transform: scale(0.92);
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-customer .bell-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--text-body);
  font-size: 15px;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.header-customer .bell-icon:hover {
  background: var(--accent-orange-bg);
  color: var(--accent-orange);
  transform: scale(1.08) rotate(8deg);
  border-color: rgba(245, 158, 11, 0.25);
}

.header-customer .bell-icon:active {
  transform: scale(0.94);
}

.header-customer .bell-icon::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 9px;
  width: 7px;
  height: 7px;
  background: var(--primary-red);
  border-radius: 50%;
  border: 2px solid var(--bg-white);
  animation: pulse 2s infinite;
}

.header-customer .bell-icon.read::after {
  display: none;
}

.header-customer .mobile-hamburger-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--text-dark, #0f172a);
  font-size: 15px;
  cursor: pointer;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  flex-shrink: 0;
  outline: none;
  padding: 0;
}

.header-customer .mobile-hamburger-btn:hover {
  background: var(--primary-red-subtle, rgba(239, 68, 68, 0.08));
  color: var(--primary-red);
  border-color: rgba(239, 68, 68, 0.25);
  transform: scale(1.06);
}

.header-customer .mobile-hamburger-btn:active {
  transform: scale(0.94);
}

[data-theme="dark"] .header-customer .mobile-hamburger-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .header-customer .mobile-hamburger-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}

/* ── Content Area ── */
.content {
  padding: 20px 20px 24px;
}

.page-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 4px 0 4px;
  letter-spacing: -0.6px;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-weight: 500;
  line-height: 1.55;
}

/* ───────────────────────────────
   5. BUTTONS
   ─────────────────────────────── */
.btn-white {
  background: var(--bg-white);
  color: var(--text-dark);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  z-index: 2;
  position: relative;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  letter-spacing: -0.2px;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white:active {
  transform: translateY(0) scale(0.97);
}

.btn-red {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  color: white;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  box-shadow: var(--shadow-red);
  position: relative;
  overflow: hidden;
  letter-spacing: -0.2px;
  transition: all var(--transition-base);
}

.btn-red::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transition: 0.5s;
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red-lg);
}

.btn-red:hover::before {
  left: 100%;
}

.btn-red:active {
  transform: translateY(0) scale(0.97);
}

.btn-outline {
  background: transparent;
  color: var(--primary-red);
  border: 1.5px solid var(--primary-red-glow);
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all var(--transition-base);
}

.btn-outline:hover {
  background: var(--primary-red-subtle);
  border-color: rgba(239, 68, 68, 0.45);
  transform: translateY(-1px);
}

.btn-outline:active {
  transform: translateY(0) scale(0.97);
}

.btn-dark {
  background: linear-gradient(135deg, var(--bg-dark-2), var(--bg-dark));
  color: white;
  width: 100%;
  padding: 13px 16px;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.btn-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: 0.5s;
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-dark:hover::before {
  left: 100%;
}

.btn-dark:active {
  transform: scale(0.97);
}

.btn-group {
  display: flex;
  gap: 8px;
}

.btn-share {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 7px 13px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.btn-share:hover {
  background: var(--bg-surface);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-share:active {
  transform: translateY(0) scale(0.95);
}

.btn-filter {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  padding: 0 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 12px;
  transition: all var(--transition-base);
  height: 46px;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.btn-filter:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
  background: var(--primary-red-subtle);
  transform: translateY(-1px);
}

.btn-filter:active {
  transform: scale(0.96);
}

/* ───────────────────────────────
   6. FORMS
   ─────────────────────────────── */
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.1px;
}

.form-label .required {
  color: var(--primary-red);
}

.form-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

.form-control,
.search-input,
.search-input-field {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  font-size: 13px;
  background: var(--bg-card);
  font-weight: 600;
  color: var(--text-dark);
  transition: all var(--transition-base);
  box-sizing: border-box;
  outline: none;
  box-shadow: var(--shadow-xs);
}

.form-control::placeholder,
.search-input::placeholder,
.search-input-field::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}

.form-control:hover,
.search-input:hover,
.search-input-field:hover {
  border-color: var(--text-light);
}

.form-control:focus,
.search-input:focus,
.search-input-field:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 4px var(--primary-red-subtle);
}

select.form-control,
select.search-input,
select.search-input-field {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

textarea.form-control,
textarea.search-input,
textarea.search-input-field {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row>* {
  flex: 1;
  min-width: 0;
}

/* Search bar dengan ikon */
.search-bar {
  position: relative;
  margin-bottom: 16px;
}

.search-bar>i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 13px;
  pointer-events: none;
  z-index: 2;
  transition: color var(--transition-fast);
}

.search-bar input {
  padding-left: 42px;
  height: 46px;
  border-radius: var(--radius-lg);
  width: 100%;
}

.search-bar:focus-within>i {
  color: var(--primary-red);
}

/* Range slider */
input[type=range].range-slider,
input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: var(--radius-full);
  outline: none;
  margin: 14px 0;
  accent-color: var(--primary-red);
  cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 6px solid var(--primary-blue);
  cursor: grab;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45);
}

input[type=range]::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.05);
}

input[type=range]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 6px solid var(--primary-blue);
  cursor: grab;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}

/* ───────────────────────────────
   7. MENU GRID (Home)
   ─────────────────────────────── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 10px;
  padding: 4px 20px 20px;
}

.menu-item,
.menu-grid .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  font-size: inherit;
  padding: 10px 4px;
  border-radius: var(--radius-lg);
  transition: background var(--transition-base);
}

.menu-item:active,
.menu-grid .nav-item:active {
  background: var(--bg-surface);
}

.menu-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform var(--transition-bounce), box-shadow var(--transition-base);
}

/* Colorful icon backgrounds */
.menu-item:nth-child(1) .menu-icon {
  background: linear-gradient(135deg, var(--tile-red-a), var(--tile-red-b));
  color: var(--primary-red);
}

.menu-item:nth-child(2) .menu-icon {
  background: linear-gradient(135deg, var(--tile-blue-a), var(--tile-blue-b));
  color: var(--accent-blue);
}

.menu-item:nth-child(3) .menu-icon {
  background: linear-gradient(135deg, var(--tile-purple-a), var(--tile-purple-b));
  color: var(--accent-purple);
}

.menu-item:nth-child(4) .menu-icon {
  background: linear-gradient(135deg, var(--tile-green-a), var(--tile-green-b));
  color: var(--accent-green);
}

.menu-item:nth-child(5) .menu-icon {
  background: linear-gradient(135deg, var(--tile-amber-a), var(--tile-amber-b));
  color: var(--accent-orange);
}

.menu-item:nth-child(6) .menu-icon {
  background: linear-gradient(135deg, var(--tile-cyan-a), var(--tile-cyan-b));
  color: var(--accent-cyan);
}

.menu-item:nth-child(7) .menu-icon {
  background: linear-gradient(135deg, var(--tile-pink-a), var(--tile-pink-b));
  color: var(--accent-pink);
}

.menu-item:nth-child(8) .menu-icon {
  background: linear-gradient(135deg, var(--tile-mint-a), var(--tile-mint-b));
  color: var(--accent-green);
}

.menu-item:nth-child(9) .menu-icon {
  background: linear-gradient(135deg, var(--tile-orange-a), var(--tile-orange-b));
  color: #f97316;
}

.menu-item:hover .menu-icon {
  transform: translateY(-5px) scale(1.09);
  box-shadow: var(--shadow-md);
}

.menu-item:active .menu-icon {
  transform: scale(0.94);
}

.menu-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: -0.1px;
  line-height: 1.3;
}

/* ───────────────────────────────
   8. CARDS
   ─────────────────────────────── */
.card {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.card-header-line {
  font-weight: 800;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.2px;
}

.card-header-line i {
  color: var(--primary-red);
}

/* ── Section Title ── */
.section-title {
  font-family: var(--font-display);
  padding: 0 20px;
  margin: 22px 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.3px;
}

.section-title a {
  font-size: 12px;
  color: var(--primary-red);
  font-weight: 700;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-title a:hover {
  color: var(--primary-red-dark);
  gap: 7px;
}

.section-title a::after {
  content: '→';
  font-size: 14px;
  transition: var(--transition-fast);
}

.section-header-row {
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header-row .section-title {
  padding: 0;
  margin: 0;
}

/* ───────────────────────────────
   9. BANNER / HERO
   ─────────────────────────────── */
.banner-container {
  padding: 16px 20px;
}

.banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f3460 100%);
  background-size: 200% 200%;
  border-radius: var(--radius-2xl);
  padding: 24px;
  color: white;
  position: relative;
  overflow: hidden;

}

.banner h2 {
  margin: 0 0 6px 0;
  font-size: 20px;
  font-weight: 900;
  z-index: 2;
  position: relative;
  letter-spacing: -0.3px;
}

.banner p {
  margin: 0 0 16px 0;
  font-size: 13px;
  opacity: 0.85;
  z-index: 2;
  position: relative;
  font-weight: 500;
  line-height: 1.5;
}

.banner .banner-deco-icon {
  position: absolute;
  right: -10px;
  bottom: -10px;
  font-size: 100px;
  opacity: 0.06;
  color: white;
  z-index: 1;
}

.otr-banner {
  background: linear-gradient(135deg, var(--primary-red), #ef4444, #f87171);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  border-radius: var(--radius-xl);
  padding: 20px;
  color: white;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.otr-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.otr-banner h3 {
  color: white;
  margin: 0 0 4px 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.otr-banner p {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

/* ───────────────────────────────
   10. CAR SLIDER (Home)
   ─────────────────────────────── */
.car-slider {
  display: flex;
  overflow-x: auto;
  padding: 4px 20px 20px;
  gap: 12px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.car-slider::-webkit-scrollbar {
  height: 0;
  display: none;
}

.car-slider .car-card {
  min-width: 205px;
  max-width: 225px;
  flex-shrink: 0;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 14px;
  scroll-snap-align: start;
  position: relative;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.car-slider .car-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(239, 68, 68, 0.15);
}

.car-slider .car-card img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  margin-bottom: 10px;
  transition: transform var(--transition-smooth);
}

.car-slider .car-card:hover img {
  transform: scale(1.05);
}

.car-slider .car-name {
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.car-slider .car-price {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.car-card-badge-bestseller {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
  letter-spacing: 0.3px;
  z-index: 2;
}

.car-card-sales-stat {
  font-size: 0.68rem;
  color: #ef4444;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.car-slider .btn-red {
  margin-top: auto;
  padding: 10px 12px;
  font-size: 12px;
}

/* Kartu mobil bekas mini di beranda */
.used-car-card {
  min-width: 200px;
  max-width: 210px;
  flex-shrink: 0;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 12px;
  scroll-snap-align: start;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  overflow: hidden;
}

.used-car-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.used-car-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  transition: transform var(--transition-smooth);
}

.used-car-card:hover img {
  transform: scale(1.04);
}

.used-car-price {
  font-weight: 900;
  color: var(--primary-red);
  font-size: 14px;
  letter-spacing: -0.2px;
}

.used-car-name {
  font-weight: 700;
  font-size: 12px;
  color: var(--text-dark);
  margin: 2px 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.used-car-loc {
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ───────────────────────────────
   11. FILTER CHIPS
   ─────────────────────────────── */
.category-filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 16px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.category-filter::-webkit-scrollbar {
  height: 0;
  display: none;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-base);
  letter-spacing: -0.1px;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.filter-btn:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
  background: var(--primary-red-subtle);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-red);
}

.filter-pill {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-base);
  user-select: none;
}

.filter-pill:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.filter-pill.active {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-red);
}

.result-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-body);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}

/* ───────────────────────────────
   12. CAR GRID (Katalog Mobil)
   ─────────────────────────────── */
.car-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.car-grid .car-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.car-grid .car-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), var(--primary-red-light), var(--accent-orange));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.car-grid .car-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.car-grid .car-card:hover::before {
  opacity: 1;
}

.car-grid .car-card img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  margin-bottom: 8px;
  transition: transform var(--transition-smooth);
}

.car-grid .car-card:hover img {
  transform: scale(1.04);
}

.car-type {
  background: linear-gradient(135deg, var(--chip-blue-a), var(--chip-blue-b));
  color: var(--chip-blue-text);
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  z-index: 2;
  white-space: nowrap;
}

.car-grid .car-name {
  font-weight: 800;
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 2px;
  letter-spacing: -0.2px;
}

.car-grid .car-price {
  font-size: 13px;
  color: var(--primary-red);
  font-weight: 800;
  margin-bottom: 8px;
}

.car-grid .btn-group {
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.car-grid .btn-group .btn-row-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.car-grid .btn-group button {
  padding: 8px 6px;
  font-size: 11px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.car-grid .btn-row-top .btn-outline,
.car-grid .btn-row-top .btn-red {
  width: 100%;
  font-size: 10px;
  padding: 8px 4px;
  min-width: 0;
}

/* Toggle transmisi kecil di kartu */
.trans-mini-toggle {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.trans-mini-toggle button {
  flex: 1;
  padding: 7px 0;
  border: none;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

/* ───────────────────────────────
   13. WISHLIST / GARASI
   ─────────────────────────────── */
.btn-wishlist {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition-bounce);
  z-index: 10;
}

.btn-wishlist:hover {
  transform: scale(1.14);
  background: var(--bg-white);
  color: var(--primary-red);
}

.btn-wishlist.active {
  color: var(--primary-red);
}

.btn-wishlist.active i {
  animation: iconBounce 0.4s ease;
}

/* Tombol hapus bulat (garasi) */
.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-red);
  transition: all var(--transition-bounce);
  z-index: 10;
}

.wishlist-btn:hover {
  transform: scale(1.14) rotate(6deg);
}

.wishlist-btn:active {
  transform: scale(0.9);
}

.car-tag {
  align-self: flex-start;
  font-size: 9px;
  font-weight: 800;
  color: var(--green-success);
  background: linear-gradient(135deg, var(--tile-green-a), var(--tile-green-b));
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.car-img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  margin: 4px 0 10px;
  transition: transform var(--transition-smooth);
}

.car-card:hover .car-img {
  transform: scale(1.05);
}

.car-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.car-info .car-name {
  font-weight: 800;
  font-size: 13px;
  color: var(--text-dark);
}

.car-info .car-price {
  font-size: 12px;
  color: var(--primary-red);
  font-weight: 800;
  margin: 2px 0 10px;
}

.btn-detail {
  margin-top: auto;
  background: var(--primary-red-subtle);
  color: var(--primary-red);
  border: 1px solid rgba(239, 68, 68, 0.15);
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-detail:hover {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: white;
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}

.btn-detail:active {
  transform: scale(0.97);
}

/* ───────────────────────────────
   14. PROMO LIST (generic)
   ─────────────────────────────── */
.promo-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promo-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.promo-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  font-weight: 900;
  position: relative;
  overflow: hidden;
}

.promo-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

.promo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  z-index: 2;
  box-shadow: var(--shadow-red);
  letter-spacing: 0.2px;
}

.promo-content {
  padding: 16px;
}

.promo-title {
  font-weight: 800;
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.promo-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  font-weight: 500;
}

/* ───────────────────────────────
   15. MERCHANDISE / PRODUCT GRID
   ─────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 260px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.product-card img {
  width: 100%;
  height: 105px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  transition: transform var(--transition-smooth);
  padding: 6px;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-name {
  font-weight: 800;
  font-size: 12px;
  color: var(--text-dark);
  line-height: 1.35;
  letter-spacing: -0.1px;
}

.product-details-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 7px 9px;
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.5;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 3px;
  margin-bottom: 3px;
  gap: 8px;
}

.detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.detail-row b {
  color: var(--text-dark);
  text-align: right;
}

.product-price {
  font-size: 14px;
  color: var(--primary-red);
  font-weight: 900;
  margin-top: 2px;
  letter-spacing: -0.2px;
}

.stock-badges {
  display: flex;
  gap: 5px;
  margin-top: 2px;
}

.badge-mini {
  font-size: 9px;
  padding: 4px 6px;
  border-radius: 6px;
  font-weight: 800;
  flex: 1;
  text-align: center;
  letter-spacing: 0.1px;
}

.bg-cabang {
  background: linear-gradient(135deg, var(--chip-blue-a), var(--chip-blue-b));
  color: var(--chip-blue-text);
}

.bg-tam {
  background: linear-gradient(135deg, var(--chip-amber-a), var(--chip-amber-b));
  color: var(--chip-amber-text);
}

/* ───────────────────────────────
   16. STATUS / TRACKING
   ─────────────────────────────── */
.status-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 14px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.status-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary-red), var(--accent-orange));
  border-radius: 0 3px 3px 0;
}

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

.status-date {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 3px;
  font-weight: 500;
}

.status-message {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.status-badge {
  font-size: 10px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.status-badge.waiting {
  background: linear-gradient(135deg, var(--chip-amber-a), var(--chip-amber-b));
  color: var(--chip-amber-text);
}

.status-badge.process {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.1));
  color: #2563eb;
}

.status-badge.done {
  background: linear-gradient(135deg, var(--tile-green-a), var(--tile-green-b));
  color: var(--chip-green-text);
}

[data-theme="dark"] .status-badge.waiting {
  background: rgba(245, 158, 11, 0.22) !important;
  color: #fbbf24 !important;
}

[data-theme="dark"] .status-badge.process {
  background: rgba(59, 130, 246, 0.22) !important;
  color: #60a5fa !important;
}

[data-theme="dark"] .status-badge.done {
  background: rgba(34, 197, 94, 0.22) !important;
  color: #4ade80 !important;
}

.badge-stok {
  font-size: 11px;
  background: linear-gradient(135deg, var(--tile-green-a), var(--tile-green-b));
  color: var(--chip-green-text);
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 700;
}

.complaint-item {
  padding: 14px;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-base);
  border-radius: var(--radius-sm);
}

.complaint-item:last-child {
  border-bottom: none;
}

.complaint-item:hover {
  background: var(--bg-surface);
}

/* ───────────────────────────────
   17. PRICELIST (grid-2, kartu)
   ─────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 420px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.car-image-container {
  background: var(--bg-surface);
  padding: 14px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.car-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.car-image-container:hover img {
  transform: scale(1.05);
}

.car-details {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.car-badge {
  align-self: flex-start;
  font-size: 9px;
  font-weight: 800;
  color: var(--primary-red);
  background: linear-gradient(135deg, var(--chip-red-a), var(--chip-red-b));
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.grid-2 .car-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  padding: 0;
}

.grid-2 .car-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.grid-2 .car-card:active {
  transform: scale(0.98);
}

.grid-2 .car-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.grid-2 .car-price {
  font-size: 14px;
  font-weight: 900;
  color: var(--primary-red);
  margin-top: auto;
}

/* ───────────────────────────────
   18. BOTTOM NAV — Floating Dock
   ─────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 400px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--nav-border);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: space-around;
  padding: 6px 8px;
  z-index: 100;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.3);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 18px;
  gap: 2px;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  position: relative;
  transition: all var(--transition-base);
}

.nav-item:hover {
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.nav-item span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
}

.nav-item.active {
  color: #ffffff;
}

.nav-item.active::before {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--primary-blue-2);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-blue-glow);
}

.nav-item.active i {
  color: var(--primary-blue-2);
  animation: iconBounce 0.4s ease;
  filter: drop-shadow(0 2px 6px var(--primary-blue-glow));
}

/* ───────────────────────────────
   19. LOADING / SKELETON / EMPTY
   ─────────────────────────────── */
.loading-shimmer,
.skeleton {
  background: linear-gradient(90deg, var(--shimmer-a) 25%, var(--shimmer-b) 50%, var(--shimmer-a) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.loading-text {
  text-align: center;
  padding: 40px 20px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.loading-text i {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
  color: var(--primary-red);
  animation: pulse 1.5s infinite;
}

.empty-state {
  text-align: center;
  padding: 44px 20px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
}

.empty-state i {
  font-size: 34px;
  display: block;
  margin-bottom: 12px;
  color: var(--text-light);
}

.empty-state p {
  line-height: 1.6;
}

/* ───────────────────────────────
   20. NOTES & MISC
   ─────────────────────────────── */
.section-note {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  box-shadow: var(--shadow-xs);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

/* Utility */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.text-red {
  color: var(--primary-red);
}

.font-bold {
  font-weight: 700;
}

.mt-auto {
  margin-top: auto;
}

/* ───────────────────────────────
   21. MODALS
   ─────────────────────────────── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content,
.modal-sheet {
  background: var(--bg-card);
  width: 90%;
  max-width: 520px;
  border-radius: var(--radius-2xl);
  padding: 24px;
  box-shadow: var(--shadow-2xl);
  transform: translateY(20px) scale(0.96);
  transition: all var(--transition-bounce);
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-content,
.modal-overlay.active .modal-sheet {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-surface);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: 16px;
}

.modal-close:hover {
  background: var(--border-color);
  color: var(--primary-red);
  transform: rotate(90deg);
}

/* Bottom sheet */
.modal-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-radius: 24px 24px 0 0;
  padding: 20px 20px 28px;
  box-shadow: var(--shadow-2xl);
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
  max-height: 82vh;
  overflow-y: auto;
  z-index: 1001;
}

.modal-overlay.active .modal-sheet {
  transform: translateY(0);
}

.modal-handle {
  width: 44px;
  height: 5px;
  background: var(--border-color);
  border-radius: var(--radius-full);
  margin: 0 auto 18px;
}

.modal-sheet .modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.modal-sheet .modal-title i {
  color: var(--primary-red);
}

/* Info list dalam modal */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.info-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.icon-reguler {
  background: linear-gradient(135deg, var(--chip-blue-a), var(--chip-blue-b));
  color: var(--accent-blue);
}

.icon-prime {
  background: linear-gradient(135deg, var(--chip-amber-a), var(--chip-amber-b));
  color: var(--accent-orange);
}

.icon-ntco {
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  color: var(--accent-purple);
}

.info-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.info-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-close-modal {
  width: 100%;
  padding: 13px;
  background: var(--bg-surface);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-close-modal:hover {
  background: var(--border-color);
}

/* Custom modal (index — konfirmasi mTOYOTA) */
.custom-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.custom-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.custom-modal-box {
  background: var(--bg-white);
  width: 85%;
  max-width: 330px;
  border-radius: var(--radius-2xl);
  padding: 26px 24px;
  text-align: center;
  box-shadow: var(--shadow-2xl);
  transform: scale(0.9) translateY(10px);
  transition: var(--transition-bounce);
}

.custom-modal-overlay.show .custom-modal-box {
  transform: scale(1) translateY(0);
}

.custom-modal-box .modal-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--chip-red-a), var(--chip-red-b));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--primary-red);
}

.custom-modal-box h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

.custom-modal-box p {
  font-size: 13px;
  color: var(--text-body);
  margin-bottom: 22px;
  line-height: 1.55;
}

.custom-modal-box .modal-actions {
  display: flex;
  gap: 10px;
}

.modal-actions button {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.modal-actions .btn-cancel {
  background: var(--bg-surface);
  color: var(--text-body);
}

.modal-actions .btn-cancel:hover {
  background: var(--border-color);
}

.modal-actions .btn-cancel:active {
  transform: scale(0.95);
}

.modal-actions .btn-confirm {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: white;
  box-shadow: var(--shadow-red);
}

.modal-actions .btn-confirm:hover {
  box-shadow: var(--shadow-red-lg);
  transform: translateY(-1px);
}

.modal-actions .btn-confirm:active {
  transform: scale(0.95);
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 18, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 92%;
  max-height: 88%;
}

.lightbox-content-wrapper img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: all var(--transition-base);
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

/* Simulasi result box */
.simulasi-result {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  margin-bottom: 16px;
}

.simulasi-result .amount {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary-red);
}

/* ───────────────────────────────
   22. RESULT BOX (Kalkulator / Estimator)
   ─────────────────────────────── */
.result-box {
  background: linear-gradient(145deg, var(--primary-red) 0%, var(--primary-red-dark) 70%, #9f0c22 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  margin-top: 24px;
  box-shadow: var(--shadow-red-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.result-box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.result-label {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 4px;
  font-weight: 600;
}

.result-value {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
}

.result-sub {
  text-align: left;
}

.result-sub-val {
  font-size: 16px;
  font-weight: 700;
}

/* ───────────────────────────────
   23. NOTIFICATION PANEL
   ─────────────────────────────── */
.notification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.notification-overlay.show {
  opacity: 1;
  visibility: visible;
}

.notification-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.97));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2001;
  box-shadow: -8px 0 40px rgba(15, 23, 42, 0.14);
  transition: right var(--transition-smooth);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(232, 234, 240, 0.5);
}

.notification-overlay.show .notification-panel {
  right: 0;
}

.notif-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-red-subtle), transparent);
}

.notif-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
}

.notif-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1;
}

.notif-close:hover {
  color: var(--primary-red);
  transform: scale(1.15);
}

.notif-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.notif-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  padding: 13px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.notif-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.notif-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.notif-icon.promo {
  background: linear-gradient(135deg, var(--chip-red-a), var(--chip-red-b));
  color: var(--primary-red);
}

.notif-icon.system {
  background: linear-gradient(135deg, var(--chip-blue-a), var(--chip-blue-b));
  color: var(--accent-blue);
}

.notif-content h4 {
  margin: 0 0 3px 0;
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 700;
}

.notif-content p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.notif-time {
  font-size: 10px;
  color: var(--text-light);
  margin-top: 4px;
  display: block;
}

/* ───────────────────────────────
   24. HOME PREMIUM COMPONENTS
   ─────────────────────────────── */
/* Video Showcase */
.video-showcase {
  margin: 0 20px 24px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  background: #000;
}

.video-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: opacity var(--transition-smooth), transform 0.6s ease;
}

.video-showcase:hover img {
  opacity: 0.6;
  transform: scale(1.05);
}

.play-btn-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  background: rgba(239, 68, 68, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  animation: pulseGlow 2s infinite;
  z-index: 2;
  transition: transform var(--transition-base);
  border: 3px solid rgba(255, 255, 255, 0.25);
}

.video-showcase:hover .play-btn-pulse {
  transform: translate(-50%, -50%) scale(1.12);
}

/* Testimonials */
.testimonial-slider {
  display: flex;
  overflow-x: auto;
  padding: 4px 20px 24px;
  gap: 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-width: 262px;
  max-width: 282px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 20px;
  scroll-snap-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 54px;
  font-weight: 900;
  color: var(--primary-red-subtle);
  color: var(--primary-red-subtle);
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-surface), var(--border-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--text-muted);
  border: 2px solid var(--bg-white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.testi-info h4 {
  font-size: 13px;
  margin: 0;
  color: var(--text-dark);
  font-weight: 800;
}

.testi-info .stars {
  color: var(--accent-orange);
  font-size: 10px;
  margin-top: 2px;
}

.testi-text {
  font-size: 12px;
  color: var(--text-body);
  font-style: italic;
  line-height: 1.55;
}

/* News & Tips */
.news-list {
  padding: 0 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-item {
  display: flex;
  gap: 13px;
  background: var(--bg-card);
  padding: 12px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  overflow: hidden;
}

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

.news-thumb {
  width: 82px;
  height: 82px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  transition: transform var(--transition-smooth);
}

.news-item:hover .news-thumb {
  transform: scale(1.05);
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.news-tag {
  font-size: 9px;
  font-weight: 800;
  color: var(--primary-red);
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.6px;
}

.news-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 4px;
  line-height: 1.35;
}

.news-date {
  font-size: 10px;
  color: var(--text-muted);
}

/* Location card */
.location-card {
  margin: 0 20px 32px;
  padding: 24px 20px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: var(--radius-2xl);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.location-card .bg-icon {
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 130px;
  opacity: 0.05;
  transform: rotate(-15deg);
}

.location-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 12px;
  color: var(--accent-cyan);
}

.location-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.location-card p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 18px;
  line-height: 1.6;
}

.location-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.location-actions .btn-white {
  flex: 1;
  justify-content: center;
}

/* ───────────────────────────────
   25. FLOATING ELEMENTS
   ─────────────────────────────── */
.global-fab {
  position: fixed;
  bottom: 96px;
  right: 16px;
  width: 62px;
  height: 62px;
  background: #001f3f;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 24, 56, 0.45), 0 0 0 2.5px rgba(56, 189, 248, 0.75);
  z-index: 995;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  animation: fabPulse 2.5s infinite;
  overflow: hidden;
  padding: 0;
}

.global-fab i,
.global-fab svg {
  display: none !important;
}

.global-fab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  image-rendering: -webkit-optimize-contrast;
  display: block;
}

.global-fab:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 24, 56, 0.6), 0 0 0 3px rgba(56, 189, 248, 0.9);
}

.global-fab:active {
  transform: scale(0.95);
}

.fab-compare {
  position: fixed;
  bottom: 158px;
  right: 16px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: white;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
  z-index: 99;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 7px;
}

.fab-compare:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 26px rgba(239, 68, 68, 0.42);
}

.fab-compare:active {
  transform: scale(0.96);
}

/* Compare bar */
.compare-bar {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: 90%;
  max-width: 380px;
  background: rgba(25, 30, 45, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  z-index: 90;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-bounce);
  opacity: 0;
}

.compare-bar.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.compare-bar-text {
  font-size: 13px;
  font-weight: 700;
}

.compare-bar .btn-compare {
  background: var(--primary-red);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.compare-bar .btn-compare:hover {
  background: var(--primary-red-light);
}

.checkbox-compare {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-red);
  cursor: pointer;
}

/* ───────────────────────────────
   26. INSURANCE / SEGMENTED TOGGLE
   ─────────────────────────────── */
.insurance-toggle {
  display: flex;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-top: 8px;
  border: 1px solid var(--border-light);
}

.insurance-btn {
  flex: 1;
  padding: 11px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  background: transparent;
  line-height: 1.35;
}

.insurance-btn:hover {
  color: var(--text-dark);
}

.insurance-btn.active {
  background: var(--bg-white);
  color: var(--primary-red);
  box-shadow: var(--shadow-sm);
}

/* ───────────────────────────────
   27. SEARCHABLE DROPDOWN
   ─────────────────────────────── */
.searchable-dropdown {
  position: relative;
  width: 100%;
}

.searchable-dropdown .chevron-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 12px;
  pointer-events: none;
  transition: transform var(--transition-base);
}

.searchable-dropdown.open .chevron-icon {
  transform: translateY(-50%) rotate(180deg);
  color: var(--primary-red);
}

.dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 6px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  max-height: 230px;
  overflow-y: auto;
  z-index: 50;
  display: none;
  padding: 6px;
  animation: fadeInUp 0.2s ease both;
}

.searchable-dropdown.open .dropdown-options {
  display: block;
}

.dropdown-item {
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: background var(--transition-fast);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-sm);
}

.dropdown-item:hover {
  background: var(--primary-red-subtle);
  color: var(--primary-red);
}

.dropdown-item .car-price-hint {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.dropdown-item:hover .car-price-hint {
  color: var(--primary-red);
  opacity: 0.8;
}

.no-results {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ───────────────────────────────
   28. PAGE TRANSITIONS
   ─────────────────────────────── */
body {
  opacity: 1;
  transition: opacity 0.3s ease;
}

body.page-enter {
  opacity: 0;
}

body.page-enter-active {
  opacity: 1;
}

body.page-leave-to {
  opacity: 0;
}

body.page-transitioning {
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.page-loaded {
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ───────────────────────────────
   29. REDUCED MOTION
   ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════════════════════════════════════
   30. RESPONSIVE — TABLET (768px+)
   ═══════════════════════════════════════════ */
@media (min-width: 768px) {

  .mobile-app {
    max-width: 100%;
    margin: 0 auto;
  }

  .header-customer {
    padding: 14px 40px;
    border-bottom: 1px solid var(--border-color);
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(200%);
  }

  .header-customer .brand img {
    height: 40px !important;
  }

  .header-customer .bell-icon {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .header-title {
    font-size: 18px;
  }

  .content {
    padding: 30px 40px 44px;
  }

  .page-title {
    font-size: 30px;
    letter-spacing: -0.7px;
    margin-bottom: 6px;
  }

  .page-subtitle {
    font-size: 15px;
    max-width: 620px;
  }

  .banner-container {
    padding: 24px 40px;
  }

  .banner {
    padding: 36px 40px;
    border-radius: 28px;
  }

  .banner h2 {
    font-size: 26px;
  }

  .banner p {
    font-size: 15px;
    max-width: 500px;
  }

  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 4px 40px 28px;
  }

  .menu-icon {
    width: 62px;
    height: 62px;
    font-size: 24px;
    border-radius: var(--radius-xl);
  }

  .menu-text {
    font-size: 12px;
    font-weight: 700;
  }

  .section-title {
    padding: 0 40px;
    font-size: 20px;
    margin: 26px 0 14px;
  }

  .section-title a {
    font-size: 14px;
  }

  .car-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 8px 40px 32px;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .car-slider .car-card {
    min-width: unset;
    max-width: unset;
    border-radius: var(--radius-2xl);
    padding: 18px;
  }

  .car-slider .car-card img {
    height: 130px;
    margin-bottom: 14px;
  }

  .car-slider .car-name {
    font-size: 16px;
  }

  .car-slider .car-price {
    font-size: 14px;
  }

  .used-car-card {
    min-width: unset;
    max-width: unset;
  }

  .used-car-card img {
    height: 140px;
  }

  .used-car-price {
    font-size: 16px;
  }

  .used-car-name {
    font-size: 13px;
  }

  #homeComplaintStatus {
    padding: 0 40px 24px 40px !important;
  }

  .status-card {
    padding: 18px 22px 18px 24px;
  }

  .status-message {
    font-size: 14px;
    max-width: 500px;
  }

  .status-date {
    font-size: 12px;
  }

  .car-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .car-grid .car-card {
    padding: 16px;
    border-radius: var(--radius-2xl);
  }

  .car-grid .car-card img {
    height: 130px;
    margin-bottom: 12px;
  }

  .car-grid .car-name {
    font-size: 15px;
  }

  .car-grid .car-price {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .car-grid .btn-group button {
    padding: 10px 8px;
    font-size: 12px;
  }

  .car-type {
    font-size: 10px;
    padding: 4px 10px;
  }

  .category-filter {
    gap: 10px;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .filter-btn {
    padding: 10px 22px;
    font-size: 13px;
  }

  .grid-2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .car-image-container {
    height: 140px;
    padding: 18px;
  }

  .car-details {
    padding: 16px;
  }

  .grid-2 .car-name {
    font-size: 14px;
  }

  .grid-2 .car-price {
    font-size: 15px;
  }

  .promo-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .promo-card {
    border-radius: var(--radius-2xl);
  }

  .promo-img {
    height: 200px;
  }

  .promo-content {
    padding: 20px;
  }

  .promo-title {
    font-size: 18px;
  }

  .promo-desc {
    font-size: 14px;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .product-card {
    padding: 16px;
    border-radius: var(--radius-2xl);
    min-height: 300px;
  }

  .product-card img {
    height: 135px;
    border-radius: var(--radius-md);
  }

  .product-name {
    font-size: 14px;
  }

  .product-price {
    font-size: 15px;
  }

  .card {
    padding: 26px;
    border-radius: var(--radius-2xl);
  }

  .btn-red {
    padding: 13px 20px;
    font-size: 14px;
  }

  .btn-outline {
    padding: 12px 20px;
    font-size: 14px;
  }

  .btn-white {
    padding: 12px 28px;
    font-size: 14px;
  }

  .search-input,
  .search-input-field,
  .form-control {
    padding: 14px 18px;
    font-size: 14px;
  }

  .search-bar input {
    height: 50px;
  }

  .otr-banner {
    padding: 24px 28px;
    border-radius: var(--radius-2xl);
  }

  .otr-banner h3 {
    font-size: 20px;
  }

  .otr-banner p {
    font-size: 14px;
  }

  .modal-content {
    max-width: 520px;
    padding: 28px;
  }

  .modal-sheet {
    max-width: 600px;
    left: 50%;
    right: auto;
    width: 100%;
    transform: translateX(-50%) translateY(100%);
    border-radius: 24px 24px 0 0;
  }

  .modal-overlay.active .modal-sheet {
    transform: translateX(-50%) translateY(0);
  }

  .bottom-nav {
    max-width: 580px;
    bottom: 16px;
    padding: 6px 16px;
  }

  .nav-item {
    flex-direction: row;
    gap: 7px;
    padding: 10px 18px;
    font-size: 16px;
  }

  .nav-item span {
    font-size: 12px;
    font-weight: 700;
  }

  .nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    transform: none;
  }

  .nav-item.active {
    background: rgba(239, 68, 68, 0.12);
    border-radius: var(--radius-full);
  }

  .nav-item.active::before {
    display: none;
  }

  .complaint-item {
    padding: 16px;
  }

  .section-note {
    max-width: 700px;
    margin: 20px auto;
    padding: 16px 20px;
    font-size: 13px;
  }

  .compare-bar {
    max-width: 480px;
    bottom: 90px;
  }

  .global-fab {
    bottom: 96px;
    right: 24px;
  }

  .fab-compare {
    bottom: 168px;
    right: 24px;
  }

  .video-showcase {
    margin: 0 40px 28px;
    max-height: 420px;
  }

  .testimonial-slider {
    padding: 4px 40px 28px;
  }

  .news-list {
    padding: 0 40px 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .location-card {
    margin: 0 40px 40px;
    padding: 32px;
  }

  .location-card h3 {
    font-size: 19px;
  }

  .location-card p {
    font-size: 13px;
  }

  .location-actions {
    max-width: 420px;
    margin: 0 auto;
  }

  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  ::-webkit-scrollbar-track {
    background: var(--bg-surface);
    border-radius: 8px;
  }
}

/* ═══════════════════════════════════════════
   31. RESPONSIVE — DESKTOP (1024px+)
   ═══════════════════════════════════════════ */
@media (min-width: 1024px) {

  .menu-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .car-slider {
    grid-template-columns: repeat(4, 1fr);
  }

  .car-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-2 {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .promo-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .content {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* ═══════════════════════════════════════════
   32. RESPONSIVE — LARGE DESKTOP (1440px+)
   ═══════════════════════════════════════════ */
@media (min-width: 1440px) {

  .content {
    padding: 36px 56px 52px;
    max-width: 1320px;
  }

  .header-customer {
    padding: 16px 56px;
  }

  .banner-container {
    padding: 28px 56px;
  }

  .menu-grid {
    grid-template-columns: repeat(9, 1fr);
    padding: 4px 56px 32px;
  }

  .section-title {
    padding: 0 56px;
  }

  .car-slider {
    padding: 8px 56px 36px;
  }

  .testimonial-slider {
    padding: 4px 56px 28px;
  }

  .news-list {
    padding: 0 56px 28px;
  }

  .video-showcase {
    margin: 0 56px 28px;
  }

  .location-card {
    margin: 0 56px 44px;
  }

  #homeComplaintStatus {
    padding: 0 56px 28px 56px !important;
  }
}

/* PINDAHAN DARI INDEX.HTML */

/* =========================================
       PREMIUM BANNER SLIDER (khusus beranda)
    ========================================= */
@keyframes bannerGradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes bannerOrbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(12px, -18px) scale(1.12);
  }

  66% {
    transform: translate(-10px, 10px) scale(0.92);
  }
}

@keyframes bannerShimmerSweep {
  0% {
    left: -60%;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    left: 130%;
    opacity: 0;
  }
}

@keyframes bannerBadgePop {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }

  70% {
    transform: scale(1.08);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes bannerIconFloat {

  0%,
  100% {
    transform: rotate(-15deg) translateY(0px);
  }

  50% {
    transform: rotate(-12deg) translateY(-10px);
  }
}

@keyframes bannerRipple {
  0% {
    transform: scale(0);
    opacity: 0.6;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.banner-slider {
  display: flex;
  overflow-x: auto;
  padding: 20px 0 36px 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  align-items: stretch;
}

.banner-slider::-webkit-scrollbar {
  display: none;
}

.banner-wrapper {
  flex: 0 0 100%;
  padding: 0 20px;
  scroll-snap-align: center;
  display: flex;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.banner-slider .banner {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border-radius: 28px;
  padding: 24px 22px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: none !important;
  isolation: isolate;
  border: 1px solid var(--border-color);
  background-size: 250% 250%;
  animation: bannerGradientShift 6s ease infinite;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.banner-wrapper:hover .banner {
  transform: translateY(-2px);
  box-shadow: none !important;
}

.banner-wrapper:active .banner {
  transform: translateY(0);
  box-shadow: none !important;
}

/* Shimmer sweep saat hover */
.banner-slider .banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-15deg);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}

.banner-wrapper:hover .banner::after {
  animation: bannerShimmerSweep 1s ease forwards;
}

/* Floating orbs — ambient */
.banner-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: bannerOrbFloat 7s ease-in-out infinite;
}

.banner-orb-1 {
  width: 120px;
  height: 120px;
  top: -40px;
  right: -30px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.13) 0%, transparent 70%);
}

.banner-orb-2 {
  width: 80px;
  height: 80px;
  bottom: -20px;
  left: 10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09) 0%, transparent 70%);
  animation-delay: -3s;
}

.banner-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.watermark-icon {
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 140px;
  color: rgba(255, 255, 255, 0.07);
  z-index: 0;
  animation: bannerIconFloat 5s ease-in-out infinite;
  transition: opacity 0.3s ease;
}

.banner-wrapper:hover .watermark-icon {
  opacity: 0.16;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 12px;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: bannerBadgePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.banner-slider .banner h2 {
  font-size: 21px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 8px 0;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.3px;
}

.banner-slider .banner p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  flex-grow: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.banner-slider .banner .btn-premium {
  align-self: flex-start;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  border: none;
  padding: 11px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.banner-wrapper:hover .btn-premium {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.banner-wrapper:active .btn-premium {
  transform: scale(0.95);
}

.banner-slider .banner .btn-premium .btn-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #111;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.banner-wrapper:hover .btn-premium .btn-arrow {
  transform: translateX(5px) scale(1.2);
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: -16px;
  padding-bottom: 24px;
}

.banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-color);
  transition: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.banner-dot.active {
  width: 20px;
  border-radius: 4px;
  background: var(--primary-red);
  transform: scale(1.1);
}

/* Banner slider responsif — tablet & desktop */
@media (min-width: 768px) {
  .banner-wrapper {
    padding: 0 40px;
  }

  .banner-slider .banner {
    min-height: 260px;
    padding: 34px 36px 30px;
  }

  .banner-slider .banner h2 {
    font-size: 27px;
  }

  .banner-slider .banner p {
    font-size: 15px;
    max-width: 560px;
  }
}

@media (min-width: 1440px) {
  .banner-wrapper {
    padding: 0 56px;
  }
}



/* ───────────────────────────────
   31. THEME TOGGLE & DARK REFINEMENTS
   ─────────────────────────────── */
.theme-toggle {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--text-body);
  font-size: 15px;
  cursor: pointer;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--accent-purple-bg);
  color: var(--accent-purple);
  transform: scale(1.08) rotate(-12deg);
  border-color: rgba(139, 92, 246, 0.3);
}

.theme-toggle:active {
  transform: scale(0.92);
}

.theme-toggle i {
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] .theme-toggle i {
  transform: rotate(200deg);
}

/* Smooth surface transitions on theme switch */
.card,
.header-customer,
.bottom-nav,
.menu-icon,
.car-card,
.testimonial-card,
.news-item,
.model-card,
.modal-content,
.custom-modal-box {
  transition-property: background-color, border-color, box-shadow, color, transform;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

/* Dark-mode specific polish */
[data-theme="dark"] ::selection {
  background: rgba(96, 165, 250, 0.3);
  color: #fff;
}

[data-theme="dark"] .header-customer .bell-icon::after {
  border-color: var(--bg-card);
}

[data-theme="dark"] .loading-shimmer,
[data-theme="dark"] .skeleton {
  opacity: 0.85;
}

[data-theme="dark"] img {
  filter: brightness(0.94);
}

[data-theme="dark"] .banner img,
[data-theme="dark"] .video-showcase img {
  filter: brightness(0.85);
}

/* ═══════════════════════════════════════════════════════
   V5 — RADICAL REDESIGN LAYER
   Luxury EV-portal aesthetic: floating glass, azure glow,
   soft depth, expressive typography, fluid interactions
   ═══════════════════════════════════════════════════════ */

/* V5 tokens */
:root {
  --v5-radius: 26px;
  --v5-ring: 0 0 0 1px rgba(37, 99, 235, 0.14), 0 20px 44px -16px rgba(37, 99, 235, 0.24);
  --v5-cta: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --v5-azure: linear-gradient(135deg, #2563eb 0%, #3b82f6 60%, #60a5fa 100%);
  --v5-hero-text: linear-gradient(100deg, var(--text-dark) 30%, #2563eb 70%, #ef4444 100%);
}

[data-theme="dark"] {
  --v5-ring: 0 0 0 1px rgba(96, 165, 250, 0.22), 0 20px 44px -14px rgba(37, 99, 235, 0.45);
  --v5-hero-text: linear-gradient(100deg, #f8fafc 30%, #93c5fd 70%, #fca5a5 100%);
}

/* 1. FLOATING GLASS HEADER */
.header-customer {
  position: sticky;
  top: 10px;
  margin: 10px 14px 4px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  box-shadow: 0 8px 32px -8px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .header-customer {
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.header-customer .brand img {
  height: 30px;
}

.header-back,
.header-customer .bell-icon,
.theme-toggle {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-surface);
}

/* 2. HERO WELCOME (index) */
.hero-welcome {
  padding: 26px 22px 6px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.hero-eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--v5-azure);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(27px, 6.8vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.2px;
  margin: 0 0 10px;
  background: var(--v5-hero-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 0 16px;
}

.hero-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 10px 16px;
  border-radius: 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-xs);
}

.hero-stat b {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.4px;
}

.hero-stat span {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* 3. SECTION TITLES */
.section-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
  margin: 28px 0 14px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 20px;
  bottom: -5px;
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: var(--v5-azure);
}

.section-title a {
  color: var(--primary-blue);
  font-size: 11.5px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--primary-blue-subtle);
  transition: all var(--transition-base);
}

.section-title a:hover {
  color: #fff;
  background: var(--primary-blue);
  gap: 7px;
}

/* 4. MENU GRID — glass tile cards */
.menu-grid {
  gap: 10px;
  padding: 14px 20px 8px;
}

.menu-item,
.menu-grid .nav-item {
  gap: 9px;
  padding: 14px 6px 12px;
  border-radius: 22px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-bounce), box-shadow var(--transition-base), border-color var(--transition-base);
}

.menu-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--v5-ring);
  border-color: transparent;
  background: var(--bg-card);
}

.menu-item:active {
  transform: scale(0.96);
}

.menu-icon {
  width: 50px;
  height: 50px;
  border-radius: 17px;
  font-size: 19px;
  border: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), var(--shadow-xs);
}

.menu-item:hover .menu-icon {
  transform: translateY(-2px) scale(1.06) rotate(-4deg);
}

.menu-text {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-body);
}

/* 5. BANNER — clean */
.banner-slider .banner,
.banner {
  border-radius: var(--v5-radius, 20px);
  box-shadow: none !important;
  border: 1px solid var(--border-color);
}

.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(255, 255, 255, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* 6. CARDS — soft-depth */
.card,
.testimonial-card,
.news-item,
.car-slider .car-card,
.used-car-card,
.car-grid .car-card,
.model-card,
.promo-card {
  border-radius: var(--v5-radius);
}

.card:hover,
.testimonial-card:hover,
.car-slider .car-card:hover,
.used-car-card:hover,
.car-grid .car-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--v5-ring);
  border-color: transparent;
}

/* Car imagery on a soft gradient stage */
.car-slider .car-card img,
.car-grid .car-card img {
  background: radial-gradient(ellipse 90% 70% at 50% 78%, var(--primary-blue-subtle), transparent 70%);
  border-radius: 16px;
  padding: 6px;
  height: 108px;
}

.car-grid .car-card img {
  height: 96px;
}

.car-slider .car-card:hover img,
.car-grid .car-card:hover img {
  transform: scale(1.07) translateX(4px);
}

/* price = azure gradient text */
.car-grid .car-price,
.used-car-price {
  background: var(--v5-azure);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 900;
}

/* top accent line: azure sweep */
.car-grid .car-card::before {
  height: 3px;
  background: var(--v5-azure);
}

/* 7. BUTTONS — pill CTA with sheen */
.btn-red {
  background: var(--v5-cta);
  border-radius: var(--radius-full);
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 20px -6px rgba(239, 68, 68, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-red:hover {
  box-shadow: 0 14px 28px -8px rgba(239, 68, 68, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--v5-azure);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-outline {
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(37, 99, 235, 0.35);
  color: var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue-subtle);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.btn-white {
  border-radius: var(--radius-full);
}

/* 8. FILTER CHIPS — azure active */
.filter-btn,
.filter-pill {
  border: none;
  background: var(--bg-surface);
  padding: 10px 19px;
  font-weight: 700;
}

.filter-btn:hover,
.filter-pill:hover {
  background: var(--primary-blue-subtle);
  color: var(--primary-blue);
  transform: translateY(-1px);
}

.filter-btn.active,
.filter-pill.active {
  background: var(--v5-azure);
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(37, 99, 235, 0.55);
}

/* 9. FORMS — filled, luminous focus */
.form-control,
.search-input,
.search-input-field,
select.form-control,
textarea.form-control {
  border-radius: 16px;
  border: 1.5px solid transparent;
  background: var(--bg-surface);
  padding: 14px 16px;
  font-weight: 600;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.form-control:focus,
.search-input:focus,
.search-input-field:focus {
  background: var(--bg-card);
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px var(--primary-blue-subtle);
}

.search-bar {
  border-radius: var(--radius-full);
}

input[type=range]::-webkit-slider-thumb {
  border: 6px solid var(--primary-blue);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.45);
}

input[type=range]::-moz-range-thumb {
  border: 6px solid var(--primary-blue);
}

/* 10. BOTTOM NAV — dock with active pill */
.bottom-nav {
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 30px;
  box-shadow: 0 20px 50px -12px rgba(2, 6, 23, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-item {
  padding: 8px 14px;
  border-radius: 20px;
  transition: all var(--transition-bounce);
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(37, 99, 235, 0.16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 14px -4px rgba(37, 99, 235, 0.5);
}

.nav-item.active::before {
  display: none;
}

.nav-item.active i {
  color: #93c5fd;
}

.nav-item.active span {
  color: #dbeafe;
}

/* 11. MODALS — sheet feel */
.modal-content,
.custom-modal-box {
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 -8px 60px -12px rgba(2, 6, 23, 0.4), var(--shadow-2xl);
}

.custom-modal-box .modal-icon {
  border-radius: 24px;
}

/* 12. STATUS badges */
.status-card {
  border-radius: 20px;
}

.status-badge {
  border-radius: var(--radius-full);
  padding: 6px 12px;
}

/* 13. FAB — squircle glow */
.global-fab {
  border-radius: 22px;
  bottom: 94px;
  box-shadow: 0 12px 28px -6px rgba(37, 211, 102, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.fab-compare {
  border-radius: var(--radius-full);
  background: var(--v5-azure);
  box-shadow: 0 10px 24px -6px rgba(37, 99, 235, 0.55);
}

/* 14. LOCATION CARD — aurora */
.location-card {
  border-radius: var(--v5-radius);
  background:
    radial-gradient(ellipse 80% 70% at 85% -10%, rgba(37, 99, 235, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 110%, rgba(239, 68, 68, 0.22), transparent 60%),
    linear-gradient(135deg, #0f172a, #1e293b);
}

/* 15. TESTIMONIALS — glass quote */
.testimonial-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.testi-avatar {
  border-radius: 16px;
  background: var(--v5-azure);
  color: #fff;
  border: none;
}

/* 16. SCROLLBAR — slim azure */
::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.3);
}

/* 17. DESKTOP / TABLET LAYOUT */
@media (min-width: 768px) {
  .header-customer {
    margin: 14px auto 6px;
    max-width: 1100px;
    padding: 12px 26px;
  }

  .hero-welcome {
    padding: 44px 40px 10px;
    max-width: 1180px;
    margin: 0 auto;
  }

  .hero-headline {
    letter-spacing: -1.8px;
  }

  .hero-stat {
    padding: 13px 22px;
  }

  .hero-stat b {
    font-size: 19px;
  }

  .menu-grid {
    max-width: 1180px;
    margin: 0 auto;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
  }

  .section-title,
  .car-slider,
  .news-list,
  .testimonial-slider,
  .banner-wrapper,
  .video-showcase,
  .location-card {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-title {
    margin-top: 34px;
    margin-bottom: 16px;
  }

  .video-showcase {
    margin: 0 auto 44px;
    width: calc(100% - 80px);
  }

  .location-card {
    margin: 0 auto 40px;
    width: calc(100% - 80px);
    padding: 40px;
  }

  .car-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .content {
    max-width: 1180px;
    margin: 0 auto;
  }
}

@media (min-width: 1200px) {
  .car-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 18. MICRO-INTERACTIONS */
@keyframes v5FloatIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reveal {
  transform: translateY(26px) scale(0.985);
}

.reveal.revealed {
  transform: translateY(0) scale(1);
}

/* stagger children via JS-set --si */
[data-stagger]>* {
  animation: v5FloatIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--si, 0) * 70ms);
}

/* Logo dark-mode fix */

/* ── ANIMATED MESH GRADIENT BACKGROUND ── */
body {
  background-color: var(--bg-color);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 10%, var(--mesh-1), transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 5%, var(--mesh-2), transparent 50%),
    radial-gradient(ellipse 55% 45% at 90% 90%, var(--mesh-3), transparent 55%),
    radial-gradient(ellipse 50% 40% at 5% 85%, var(--mesh-1), transparent 50%);
  background-attachment: fixed;
  animation: meshDrift 18s ease-in-out infinite alternate;
}

@keyframes meshDrift {
  0% {
    background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%;
  }

  33% {
    background-position: 8% 12%, 92% 8%, 88% 92%, 12% 88%;
  }

  66% {
    background-position: 4% 18%, 96% 4%, 94% 96%, 6% 82%;
  }

  100% {
    background-position: 12% 6%, 88% 14%, 82% 88%, 18% 94%;
  }
}

/* ── IDLE FLOATING ORBS ── */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
  opacity: 0.55;
}

body::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 70%);
  top: -120px;
  right: -100px;
  animation: orbFloat1 14s ease-in-out infinite;
}

body::after {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.16), transparent 70%);
  bottom: 60px;
  left: -80px;
  animation: orbFloat2 17s ease-in-out infinite;
}

@keyframes orbFloat1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-40px, 60px) scale(1.08);
  }

  66% {
    transform: translate(30px, 30px) scale(0.94);
  }
}

@keyframes orbFloat2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  40% {
    transform: translate(50px, -40px) scale(1.1);
  }

  70% {
    transform: translate(20px, 30px) scale(0.96);
  }
}

/* keep content above orbs */
.mobile-app {
  position: relative;
  z-index: 1;
}

/* ── IDLE ANIMATIONS ── */

/* hero headline shimmer sweep */
.hero-headline {
  background-size: 200% auto;
  animation: heroShimmer 5s linear infinite;
}

@keyframes heroShimmer {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* hero stats gentle bob */
.hero-stat {
  animation: statBob 4s ease-in-out infinite;
}

.hero-stat:nth-child(2) {
  animation-delay: 0.6s;
}

.hero-stat:nth-child(3) {
  animation-delay: 1.2s;
}

@keyframes statBob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* menu icons idle pulse */
.menu-icon {
  animation: iconIdle 3.5s ease-in-out infinite;
}

.menu-item:nth-child(2) .menu-icon {
  animation-delay: 0.4s;
}

.menu-item:nth-child(3) .menu-icon {
  animation-delay: 0.8s;
}

.menu-item:nth-child(4) .menu-icon {
  animation-delay: 1.2s;
}

.menu-item:nth-child(5) .menu-icon {
  animation-delay: 1.6s;
}

.menu-item:nth-child(6) .menu-icon {
  animation-delay: 2.0s;
}

.menu-item:nth-child(7) .menu-icon {
  animation-delay: 2.4s;
}

.menu-item:nth-child(8) .menu-icon {
  animation-delay: 2.8s;
}

@keyframes iconIdle {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.06) rotate(-3deg);
  }
}

/* FAB heartbeat */
.global-fab {
  animation: fabPulse 2.5s infinite, fabHeartbeat 4s ease-in-out infinite;
}

@keyframes fabHeartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  10% {
    transform: scale(1.08);
  }

  20% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.05);
  }

  40% {
    transform: scale(1);
  }
}

/* banner orbs drift */
.banner-orb {
  animation: orbDrift 8s ease-in-out infinite;
}

.banner-orb-2 {
  animation-delay: -4s;
  animation-direction: reverse;
}

@keyframes orbDrift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(20px, -15px) scale(1.12);
  }
}

/* scroll progress bar glow pulse */
#scroll-progress {
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
  animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {

  0%,
  100% {
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
  }

  50% {
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.6);
  }
}

/* reduce motion override */
@media (prefers-reduced-motion: reduce) {

  body,
  body::before,
  body::after,
  .hero-headline,
  .hero-stat,
  .menu-icon,
  .global-fab,
  .banner-orb,
  #scroll-progress {
    animation: none !important;
  }
}

/* ═══════════════════════════════════════════════════════
   V6 — CORPORATE PROFESSIONAL LAYER
   Identitas korporat Toyota: bersih, tenang, kredibel.
   Menimpa efek dekoratif v5 yang berlebihan.
   ═══════════════════════════════════════════════════════ */

:root {
  --primary-red: #d6182a;
  --primary-red-dark: #b3121f;
  --primary-red-light: #e94b57;
  --primary-red-glow: rgba(214, 24, 42, 0.22);
  --primary-red-subtle: rgba(214, 24, 42, 0.07);
  --v5-cta: linear-gradient(135deg, #d6182a 0%, #b3121f 100%);
  --shadow-red: 0 6px 16px rgba(214, 24, 42, 0.22);
  --shadow-red-lg: 0 12px 28px rgba(214, 24, 42, 0.3);
}

/* ── Redam dekorasi: latar tenang, tanpa orbs & idle motion ── */
body {
  background-image: none;
  animation: none;
}

body::before,
body::after {
  display: none;
}

.hero-headline,
.hero-stat,
.menu-icon,
.global-fab,
.banner-orb,
#scroll-progress {
  animation: none;
}

.global-fab {
  animation: fabPulse 3s infinite;
}

#scroll-progress {
  box-shadow: none;
}

/* ═══ SITE NAV — navbar desktop premium ═══ */
.site-nav {
  display: none;
  position: sticky;
  top: 0;
  z-index: 900;
}

/* Bar utilitas atas dinonaktifkan sesuai permintaan */
.site-nav-topbar {
  display: none !important;
}

/* ═══ SITE NAV — navbar desktop premium (Adaptif Tema Terang & Gelap) ═══ */
.site-nav {
  display: none;
  position: sticky;
  top: 0;
  z-index: 900;
}

.site-nav-main {
  position: relative;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: background-color var(--transition-base), border-color var(--transition-base), box-shadow 0.3s ease;
}

.site-nav-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 45%, transparent 100%);
}

.site-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Tidak ada perubahan tinggi saat scrolling untuk mencegah lonjakan layout & flicker */
.site-nav.scrolled .site-nav-inner {
  height: 68px;
}

.site-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: 8px;
}

.site-nav-brand img {
  height: 38px;
  width: auto;
  transition: transform var(--transition-bounce);
}

.site-nav.scrolled .site-nav-brand img {
  height: 38px;
}

.site-nav-brand:hover img {
  transform: scale(1.05) rotate(-2deg);
}

.site-nav-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}

.site-nav-brand .brand-text b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.site-nav-brand .brand-text span {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.site-nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  align-self: stretch;
  padding: 0 11px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-nav-links a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #ef4444;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
}

.site-nav-links a:hover::after {
  transform: scaleX(0.6);
}

.site-nav-links a.active::after {
  transform: scaleX(1);
  opacity: 1;
}

.site-nav-links a.active::before {
  content: '';
  position: absolute;
  inset: 18px 4px;
  border-radius: var(--radius-md);
  background: rgba(239, 68, 68, 0.08);
  z-index: 0;
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.site-nav-actions .nav-theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 15px;
  transition: all var(--transition-base);
}

/* ═══ TEMA TERANG (LIGHT MODE — Navbar Putih, Teks Gelap Pekat) ═══ */
html[data-theme="light"] .site-nav-main,
body[data-theme="light"] .site-nav-main,
:root:not([data-theme="dark"]) .site-nav-main {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="light"] .site-nav.scrolled .site-nav-main,
body[data-theme="light"] .site-nav.scrolled .site-nav-main,
:root:not([data-theme="dark"]) .site-nav.scrolled .site-nav-main {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .site-nav-brand .brand-text b,
body[data-theme="light"] .site-nav-brand .brand-text b,
:root:not([data-theme="dark"]) .site-nav-brand .brand-text b {
  color: #0f172a !important;
  /* Hitam pekat */
}

html[data-theme="light"] .site-nav-brand .brand-text span,
body[data-theme="light"] .site-nav-brand .brand-text span,
:root:not([data-theme="dark"]) .site-nav-brand .brand-text span {
  color: #475569 !important;
  /* Slate gelap */
}

html[data-theme="light"] .site-nav-links a,
body[data-theme="light"] .site-nav-links a,
:root:not([data-theme="dark"]) .site-nav-links a {
  color: #1e293b !important;
  /* Navy gelap pekat */
}

html[data-theme="light"] .site-nav-links a:hover,
body[data-theme="light"] .site-nav-links a:hover,
:root:not([data-theme="dark"]) .site-nav-links a:hover {
  color: #ef4444 !important;
  /* Hover merah crimson */
}

html[data-theme="light"] .site-nav-links a.active,
body[data-theme="light"] .site-nav-links a.active,
:root:not([data-theme="dark"]) .site-nav-links a.active {
  color: #ef4444 !important;
  font-weight: 800 !important;
}

html[data-theme="light"] .site-nav-actions .nav-theme-toggle,
body[data-theme="light"] .site-nav-actions .nav-theme-toggle,
:root:not([data-theme="dark"]) .site-nav-actions .nav-theme-toggle {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

html[data-theme="light"] .site-nav-actions .nav-theme-toggle:hover,
body[data-theme="light"] .site-nav-actions .nav-theme-toggle:hover,
:root:not([data-theme="dark"]) .site-nav-actions .nav-theme-toggle:hover {
  background: #e2e8f0 !important;
  color: #ef4444 !important;
  border-color: #94a3b8 !important;
}

/* ═══ TEMA GELAP (DARK MODE — Navbar Dark Obsidian, Teks Terang) ═══ */
html[data-theme="dark"] .site-nav-main,
body[data-theme="dark"] .site-nav-main {
  background: rgba(15, 23, 42, 0.95) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .site-nav.scrolled .site-nav-main,
body[data-theme="dark"] .site-nav.scrolled .site-nav-main {
  box-shadow: 0 10px 32px -10px rgba(0, 0, 0, 0.6) !important;
}

html[data-theme="dark"] .site-nav-brand .brand-text b,
body[data-theme="dark"] .site-nav-brand .brand-text b {
  color: #f8fafc !important;
  /* Putih bersih */
}

html[data-theme="dark"] .site-nav-brand .brand-text span,
body[data-theme="dark"] .site-nav-brand .brand-text span {
  color: #94a3b8 !important;
  /* Slate terang */
}

html[data-theme="dark"] .site-nav-links a,
body[data-theme="dark"] .site-nav-links a {
  color: #cbd5e1 !important;
  /* Slate terang */
}

html[data-theme="dark"] .site-nav-links a:hover,
body[data-theme="dark"] .site-nav-links a:hover {
  color: #f87171 !important;
  /* Merah terang */
}

html[data-theme="dark"] .site-nav-links a.active,
body[data-theme="dark"] .site-nav-links a.active {
  color: #ef4444 !important;
  font-weight: 800 !important;
}

html[data-theme="dark"] .site-nav-actions .nav-theme-toggle,
body[data-theme="dark"] .site-nav-actions .nav-theme-toggle {
  background: #1e293b !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

html[data-theme="dark"] .site-nav-actions .nav-theme-toggle:hover,
body[data-theme="dark"] .site-nav-actions .nav-theme-toggle:hover {
  background: #334155 !important;
  color: #f87171 !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.site-nav-cta {
  display: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  background: var(--v5-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-red);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.site-nav-cta i {
  font-size: 16px;
}

/* Efek kilau menyapu saat hover */
.site-nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.site-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red-lg);
}

.site-nav-cta:hover::before {
  left: 130%;
}

/* ═══ SITE FOOTER — footer korporat ═══ */
.site-footer {
  margin-top: 48px;
  background: transparent;
  color: #1e293b;
  position: relative;
  border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .site-footer {
  background: transparent;
  border-top: 1px solid var(--border-color);
  color: #cbd5e1;
}

.site-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px;
  letter-spacing: 0.3px;
}

[data-theme="dark"] .footer-col h4 {
  color: #f8fafc;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: #334155;
  margin: 0;
  max-width: 300px;
}

[data-theme="dark"] .footer-brand p {
  color: #94a3b8;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 13px;
  color: #334155;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--primary-red);
}

[data-theme="dark"] .footer-col ul a {
  color: #94a3b8;
}

[data-theme="dark"] .footer-col ul a:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #334155;
  line-height: 1.6;
}

.footer-contact-item span {
  flex: 1;
  min-width: 0;
  display: block;
}

[data-theme="dark"] .footer-contact-item {
  color: #94a3b8;
}

.footer-contact-item i {
  color: var(--primary-red);
  margin-top: 3px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.site-footer-bottom {
  border-top: 1px solid var(--border-color);
  background: transparent;
  position: relative;
  z-index: 1;
}

.site-footer-bottom-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #334155;
}

[data-theme="dark"] .site-footer-bottom-inner {
  color: #94a3b8;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

[data-theme="dark"] .footer-social a {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
}

.footer-social a:hover {
  background: var(--primary-red);
  color: #fff;
}

/* Mobile: footer selesai pas di bawah ikon sosmed, beri ruang 75px untuk bottom-nav */
@media (max-width: 1023.98px) {
  .content {
    padding-bottom: 32px;
  }

  .site-footer {
    margin-top: 32px;
    padding-bottom: 0;
  }

  .site-footer-inner {
    padding: 28px 18px 20px;
    gap: 20px;
  }

  .site-footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 16px 18px 75px;
    /* Pas di bawah sosmed, persis di atas bottom-nav */
  }

  .footer-social {
    justify-content: center;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .global-fab {
    bottom: 96px;
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 24px;
    z-index: 995;
  }
}

/* ═══ RESPONSIVE SWITCH: app-shell (mobile) ⇄ korporat (desktop) ═══ */
@media (min-width: 1024px) {
  .site-nav {
    display: block;
  }

  .header-customer {
    display: none;
  }

  .bottom-nav {
    display: none;
  }

  .site-footer {
    padding-bottom: 0;
  }

  .site-footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    padding: 56px 32px 40px;
  }

  .global-fab {
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .fab-compare {
    bottom: 96px;
    right: 28px;
  }

  .compare-bar {
    bottom: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* Sedikit pengetatan tipografi korporat */
.page-title {
  letter-spacing: -0.5px;
}

.section-title a {
  color: var(--primary-red);
}

/* Dark mode: merah korporat sedikit lebih terang agar kontras terjaga */
html[data-theme="dark"] {
  --primary-red: #f0554f;
  --primary-red-dark: #d6182a;
  --primary-red-light: #f58a86;
  --primary-red-glow: rgba(240, 85, 79, 0.28);
  --primary-red-subtle: rgba(240, 85, 79, 0.12);
  --v5-cta: linear-gradient(135deg, #e33d36 0%, #c01f28 100%);
}

[data-theme="dark"] .site-nav-topbar {
  background: linear-gradient(90deg, #020617, #0b1220 55%, #1c0a10);
}

/* Desktop: footer sudah menutup halaman, hilangkan padding cadangan bottom-nav, izinkan sticky header */
@media (min-width: 1024px) {
  .mobile-app {
    padding-bottom: 0;
    overflow: visible;
    overflow-x: clip;
  }
}

/* ═══════════════════════════════════════════════════════
   V6.2 — KOMPONEN HALAMAN YANG SEBELUMNYA TAK TERDEFINISI
   compare · configurator · kalkulator · olx · tracking · tradein
   ═══════════════════════════════════════════════════════ */

/* ── COMPARE ── */
.compare-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.compare-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.compare-select:focus {
  border-color: var(--primary-blue);
}

.btn-trans {
  padding: 8px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-trans.active {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #fff;
}

.vs-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.vs-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 20px 16px;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-2));
}

.vs-side {
  text-align: center;
}

.vs-side h4 {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.35;
}

.vs-side h4 span {
  color: #94a3b8 !important;
}

.vs-img-wrap {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 10px;
}

.vs-img-wrap img {
  width: 100%;
  height: 84px;
  object-fit: contain;
}

.vs-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--v5-cta);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shadow-red);
}

.vs-row-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.vs-row-title i {
  color: var(--primary-red);
}

.vs-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vs-value {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.4;
}

.vs-value.left {
  border-left: 3px solid var(--primary-blue);
}

.vs-value.right {
  border-left: 3px solid var(--primary-red);
}

.vs-feature-chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-body);
}

.vs-feature-chip.left {
  border-left: 3px solid var(--primary-blue);
}

.vs-feature-chip.right {
  border-left: 3px solid var(--primary-red);
}

/* ── CONFIGURATOR ── */
.config-view {
  padding: 24px 20px 8px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(ellipse 90% 80% at 50% 100%, var(--primary-blue-subtle), transparent 70%);
}

.config-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(15, 23, 42, 0.18));
}

.config-section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--text-muted);
  margin: 18px 0 12px;
  text-align: center;
}

.color-palette {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.color-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.color-btn:hover {
  transform: scale(1.12);
}

.color-btn.active {
  box-shadow: 0 0 0 3px var(--bg-color), 0 0 0 5px var(--primary-red);
}

.color-name-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 12px 0 20px;
}

.gallery-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-body);
  display: grid;
  place-items: center;
  font-size: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-nav-btn:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #fff;
}

.interior-gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.interior-gallery::-webkit-scrollbar {
  height: 3px;
}

.interior-card {
  flex: 0 0 78%;
  max-width: 360px;
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  cursor: zoom-in;
  background: var(--bg-surface);
}

.interior-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.zoom-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(2, 6, 23, 0.6);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.config-bottom-bar {
  position: sticky;
  bottom: 86px;
  z-index: 500;
  margin: 0 16px 12px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (min-width: 1024px) {
  .config-view {
    padding-top: 40px;
  }

  .config-bottom-bar {
    bottom: 20px;
    max-width: 720px;
    margin: 0 auto 16px;
  }
}

/* ── KALKULATOR ── */
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.slider-value {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-red);
  background: var(--primary-red-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

/* di dalam .result-box (gradien merah, teks putih di kedua tema) */
.chart-container {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 16px;
}

.chart-center-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
}

.tdp-accordion {
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.tdp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
}

.tdp-body {
  display: none;
  padding: 4px 14px 12px;
  background: rgba(0, 0, 0, 0.12);
}

.tdp-body.open {
  display: block;
}

.tdp-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}

.tdp-row:last-child {
  border-bottom: none;
}

.tdp-row span:last-child {
  font-weight: 800;
  color: #fff;
}

.compare-table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.compare-table th,
.compare-table td {
  padding: 8px 6px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.compare-table th {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.compare-table tr.active-tenor td {
  background: rgba(255, 255, 255, 0.16);
  font-weight: 800;
  color: #fff;
}

.btn-download {
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px;
  margin-top: 10px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--bg-dark);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.btn-download:hover {
  opacity: 0.9;
}

[data-theme="dark"] .btn-download {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
}

.budget-rec-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: var(--shadow-xs);
}

/* ── OLX (mobil bekas) ── */
.olx-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .olx-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1200px) {
  .olx-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.olx-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.olx-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.olx-card-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  background: var(--bg-surface);
}

@media (min-width: 640px) {
  .olx-card-img {
    height: 170px;
  }
}

.olx-card-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (min-width: 640px) {
  .olx-card-body {
    padding: 14px;
  }
}

.olx-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--accent-green-bg);
  color: var(--green-success);
  margin-bottom: 6px;
  width: fit-content;
}

@media (min-width: 640px) {
  .olx-badge {
    font-size: 10px;
    padding: 3px 9px;
    margin-bottom: 8px;
  }
}

.olx-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

@media (min-width: 640px) {
  .olx-price {
    font-size: 17px;
  }
}

.olx-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .olx-title {
    font-size: 13px;
    white-space: normal;
  }
}

.olx-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
}

@media (min-width: 640px) {
  .olx-specs {
    gap: 6px 14px;
    font-size: 11px;
    margin-top: 10px;
  }
}

.olx-location {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--border-color);
}

@media (min-width: 640px) {
  .olx-location {
    font-size: 11px;
    margin-top: 10px;
    padding-top: 10px;
  }
}

.olx-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(2, 6, 23, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.olx-modal-content {
  position: relative;
  background: var(--bg-card);
  width: 100%;
  max-width: 440px;
  max-height: 88vh;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  overflow-y: auto;
  box-shadow: var(--shadow-2xl);
  animation: scaleIn 0.25s ease;
}

.olx-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(2, 6, 23, 0.55);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.olx-modal-body {
  padding: 18px;
}

.olx-gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  background: #090d16;
  position: relative;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.olx-gallery img {
  flex: 0 0 100%;
  scroll-snap-align: start;
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #090d16;
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}

.olx-gallery img:hover {
  opacity: 0.92;
}

/* ── PHOTO LIGHTBOX FULLSCREEN ── */
.photo-lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

.photo-lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-lightbox-img {
  max-width: 92vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.photo-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 1000000;
  transition: background 0.2s;
}

.photo-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

.photo-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 1000000;
  transition: background 0.2s, transform 0.2s;
}

.photo-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.08);
}

.photo-lightbox-prev {
  left: 20px;
}

.photo-lightbox-next {
  right: 20px;
}

.photo-lightbox-counter {
  position: absolute;
  bottom: 24px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

/* ── TRACKING ── */
.tracking-shield {
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #fff;
  background: var(--v5-cta);
  box-shadow: var(--shadow-red);
}

.profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--primary-blue);
  background: var(--primary-blue-subtle);
  flex-shrink: 0;
}

/* ── TRADE-IN: preview foto upload ── */
.photo-preview-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 10px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.photo-preview-strip:empty {
  display: none;
}

.photo-preview-strip img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   V6.5 — FLOATING DARK PILL NAVBAR (mobile)
   Kapsul hitam pekat melayang; item non-aktif ikon saja,
   item aktif melebar jadi pil abu-abu gelap ikon + label.
   HTML/menu tidak berubah — styling saja.
   ═══════════════════════════════════════════════════════ */

.bottom-nav {
  position: fixed;
  bottom: 20px;
  left: 16px;
  right: 16px;
  width: auto;
  max-width: 430px;
  margin: 0 auto;
  transform: none;
  padding: 8px;
  gap: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 9999px;
  background: #0d0d0d;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.4);
}

/* Semua item: ikon saja, label tersembunyi */
.bottom-nav .nav-item {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 0 1 auto;
  padding: 12px 13px;
  font-size: 17px;
  color: #d4d4d4;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.bottom-nav .nav-item span {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 0.3s ease;
}

.bottom-nav .nav-item:hover {
  color: #ffffff;
  transform: none;
  background: rgba(255, 255, 255, 0.06);
}

/* Item aktif: pil abu-abu gelap melebar, ikon + label berdampingan */
.bottom-nav .nav-item.active {
  background: #262626;
  color: #ffffff;
  padding: 12px 18px;
  flex-shrink: 0;
  box-shadow: none;
}

.bottom-nav .nav-item.active span {
  max-width: 90px;
  opacity: 1;
  margin-left: 8px;
  color: #ffffff;
}

.bottom-nav .nav-item.active i {
  color: #ffffff;
  filter: none;
  animation: iconBounce 0.4s ease;
}

.bottom-nav .nav-item.active::before {
  display: none;
}

/* Layar sangat sempit: pil aktif sedikit lebih ramping */
@media (max-width: 360px) {
  .bottom-nav .nav-item {
    padding: 11px 11px;
  }

  .bottom-nav .nav-item.active {
    padding: 11px 14px;
  }

  .bottom-nav .nav-item.active span {
    max-width: 70px;
    font-size: 11px;
  }
}

/* ── Header mobile: garis aksen merah di atas ── */
@media (max-width: 1023.98px) {
  .header-customer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-light), transparent 85%);
  }
}

@media (prefers-reduced-motion: reduce) {

  .bottom-nav .nav-item,
  .bottom-nav .nav-item span {
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════
   V7 — NAVY NAVBAR REDESIGN
   Bottom nav (mobile) & site-nav (desktop) → deep navy,
   indikator halaman aktif berupa blob menyala yang
   meluncur antar menu (dipasang oleh layout.js).
   ═══════════════════════════════════════════════════════ */

/* ── BOTTOM NAV (mobile): kapsul navy dengan glow ── */
.bottom-nav {
  background: linear-gradient(135deg, #081a33 0%, #10264e 55%, #0a1c3d 100%);
  border: 1px solid rgba(96, 165, 250, 0.22);
  box-shadow:
    0 16px 40px -10px rgba(2, 8, 30, 0.65),
    0 0 0 1px rgba(2, 8, 30, 0.4),
    inset 0 1px 0 rgba(147, 197, 253, 0.14);
  animation: navRiseIn 0.7s cubic-bezier(0.22, 1.2, 0.36, 1) both;
  overflow: hidden;
}

@keyframes navRiseIn {
  from {
    opacity: 0;
    transform: translateY(90px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* kilau tipis yang menyapu kapsul secara berkala */
.bottom-nav::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(147, 197, 253, 0.09), transparent);
  transform: skewX(-18deg);
  animation: navSheen 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes navSheen {

  0%,
  72% {
    left: -60%;
  }

  88%,
  100% {
    left: 130%;
  }
}

/* blob indikator halaman aktif — meluncur antar item (JS set posisi) */
.bottom-nav .nav-blob {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, #dc2626, #ef4444 60%, #f87171);
  box-shadow:
    0 4px 18px rgba(239, 68, 68, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: left 0.45s cubic-bezier(0.34, 1.35, 0.35, 1), width 0.45s cubic-bezier(0.34, 1.35, 0.35, 1);
  pointer-events: none;
  z-index: 0;
}

/* denyut halus supaya blob terasa hidup */
.bottom-nav .nav-blob::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
  animation: navBlobPulse 2.6s ease-out infinite;
}

@keyframes navBlobPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.40);
  }

  70% {
    box-shadow: 0 0 0 9px rgba(239, 68, 68, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.bottom-nav .nav-item {
  position: relative;
  z-index: 1;
  color: #8ba3c7;
  background: transparent;
}

.bottom-nav .nav-item:hover {
  color: #dbeafe;
  background: rgba(147, 197, 253, 0.08);
}

/* item aktif: duduk di atas blob merah, ikon + label putih */
.bottom-nav .nav-item.active {
  background: transparent;
  color: #ffffff;
}

.bottom-nav .nav-item.active i {
  color: #ffffff;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
  animation: navIconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bottom-nav .nav-item.active span {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@keyframes navIconPop {
  0% {
    transform: scale(0.6) rotate(-12deg);
  }

  60% {
    transform: scale(1.22) rotate(4deg);
  }

  100% {
    transform: scale(1) rotate(0);
  }
}

/* ikon masuk satu-satu saat halaman dibuka */
.bottom-nav .nav-item i {
  animation: navIconIn 0.5s cubic-bezier(0.22, 1.4, 0.36, 1) both;
}

.bottom-nav .nav-item:nth-child(2) i {
  animation-delay: 0.08s;
}

.bottom-nav .nav-item:nth-child(3) i {
  animation-delay: 0.16s;
}

.bottom-nav .nav-item:nth-child(4) i {
  animation-delay: 0.24s;
}

.bottom-nav .nav-item:nth-child(5) i {
  animation-delay: 0.32s;
}

.bottom-nav .nav-item:nth-child(6) i {
  animation-delay: 0.40s;
}

@keyframes navIconIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.7);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ── SITE NAV (desktop): bar utama navy solid ── */
.site-nav-main {
  background: linear-gradient(120deg, #081a33 0%, #0f2549 60%, #0b1f40 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(96, 165, 250, 0.18);
}

.site-nav-main::before {
  background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-red-dark) 45%, rgba(59, 130, 246, 0.6) 100%);
}

.site-nav.scrolled .site-nav-main {
  box-shadow: 0 12px 36px -10px rgba(2, 8, 30, 0.55);
}

.site-nav-brand,
.site-nav-brand .brand-text b {
  color: #f1f5f9;
}

.site-nav-brand .brand-text span {
  color: #8ba3c7;
}

.site-nav-links a {
  color: #b7c7e2;
}

.site-nav-links a:hover {
  color: #ffffff;
}

/* tanda halaman aktif (desktop): teks putih + pil navy terang + underline merah menyala */
.site-nav-links a.active {
  color: #ffffff;
  font-weight: 700;
}

.site-nav-links a.active::before {
  background: rgba(59, 130, 246, 0.16);
  inset: 16px 2px;
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.22);
}

.site-nav-links a.active::after {
  background: linear-gradient(90deg, var(--primary-red), var(--primary-red-light));
  box-shadow: 0 -1px 10px rgba(239, 68, 68, 0.6);
}

/* titik menyala di samping label halaman aktif */
.site-nav-links a.active .nav-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-radius: 50%;
  background: #f87171;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.9);
  animation: navBlobPulse 2s ease-out infinite;
}

.site-nav-actions .nav-theme-toggle {
  background: rgba(147, 197, 253, 0.08);
  border-color: rgba(96, 165, 250, 0.28);
  color: #cfe0f5;
}

.site-nav-actions .nav-theme-toggle:hover {
  border-color: #60a5fa;
  color: #ffffff;
  background: rgba(59, 130, 246, 0.18);
}

/* dark mode: navy sedikit lebih gelap agar menyatu */
[data-theme="dark"] .site-nav-main {
  background: linear-gradient(120deg, #050f21 0%, #0a1c3b 60%, #071630 100%);
}

[data-theme="dark"] .bottom-nav {
  background: linear-gradient(135deg, #050f21 0%, #0b1e40 55%, #061229 100%);
}

@media (prefers-reduced-motion: reduce) {

  .bottom-nav,
  .bottom-nav::after,
  .bottom-nav .nav-item i,
  .bottom-nav .nav-blob,
  .bottom-nav .nav-blob::after,
  .site-nav-links a.active .nav-live-dot {
    animation: none;
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════
   V8 — MOBILE DOCK REDESIGN
   Desain baru bottom-nav: dock navy rounded-rect, semua
   item tampil ikon + label, item aktif "terbang" ke atas
   masuk gelembung merah bundar yang melayang menembus
   tepi atas dock (floating bubble dock).
   ═══════════════════════════════════════════════════════ */

.bottom-nav {
  bottom: 14px;
  left: 14px;
  right: 14px;
  border-radius: 26px;
  padding: 10px 10px 8px;
  overflow: visible;
  /* gelembung boleh keluar dock */
  background: linear-gradient(160deg, #0a1d3d 0%, #13294f 55%, #081733 100%);
  border: 1px solid rgba(96, 165, 250, 0.25);
  box-shadow:
    0 18px 44px -12px rgba(2, 8, 30, 0.7),
    inset 0 1px 0 rgba(147, 197, 253, 0.12);
}

/* sheen V7 dimatikan — dock kini overflow visible */
.bottom-nav::after {
  display: none;
}

/* semua item: ikon di atas, label kecil di bawah (selalu terlihat) */
.bottom-nav .nav-item {
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 2px;
  font-size: 18px;
  color: #7f97bd;
  border-radius: 16px;
  background: transparent;
}

.bottom-nav .nav-item span {
  max-width: none;
  opacity: 1;
  margin-left: 0;
  overflow: visible;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.bottom-nav .nav-item i {
  transition: transform 0.5s cubic-bezier(0.34, 1.45, 0.5, 1), color 0.3s ease;
  /* entrance stagger V7 tetap jalan, tapi lepas setelah selesai
     agar transform bubble tidak dikunci fill-mode */
  animation-fill-mode: backwards;
}

.bottom-nav .nav-item:hover {
  background: rgba(147, 197, 253, 0.07);
}

/* item aktif: ikon terbang ke gelembung, label menyala */
.bottom-nav .nav-item.active {
  background: transparent;
  padding: 6px 2px;
}

.bottom-nav .nav-item.active i {
  animation: none;
  transform: translateY(-30px) scale(1.14);
  color: #ffffff;
  filter: drop-shadow(0 3px 6px rgba(120, 20, 20, 0.55));
}

.bottom-nav .nav-item.active span {
  color: #ffffff;
  font-weight: 700;
  transform: translateY(1px);
  text-shadow: 0 0 12px rgba(248, 113, 113, 0.8);
}

/* blob V7 menjadi gelembung bundar yang menembus tepi atas dock */
.bottom-nav .nav-blob {
  top: -22px;
  bottom: auto;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(140deg, #dc2626, #ef4444 55%, #f87171);
  border: 3px solid rgba(8, 23, 51, 0.92);
  /* cincin navy = ilusi lekukan dock */
  box-shadow:
    0 10px 24px rgba(239, 68, 68, 0.5),
    0 0 0 1px rgba(96, 165, 250, 0.18),
    inset 0 2px 5px rgba(255, 255, 255, 0.3);
}

/* layar sempit: gelembung & lompatan ikon sedikit lebih kecil */
@media (max-width: 360px) {
  .bottom-nav .nav-item {
    padding: 6px 1px;
  }

  .bottom-nav .nav-item.active {
    padding: 6px 1px;
  }

  .bottom-nav .nav-item.active span {
    max-width: none;
    font-size: 9px;
  }

  .bottom-nav .nav-item.active i {
    transform: translateY(-27px) scale(1.08);
  }

  .bottom-nav .nav-blob {
    height: 46px;
    top: -19px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .bottom-nav .nav-item i,
  .bottom-nav .nav-item span {
    animation: none;
    transition: none;
  }
}

/* V8 fix: ripple JS menyetel inline overflow:hidden pada item yang di-tap —
   itu memotong ikon aktif yang terbang keluar dock. Paksa tetap visible. */
.bottom-nav,
.bottom-nav .nav-item {
  overflow: visible !important;
}

/* ═══════════════════════════════════════════════════════
   V9 (revisi V10) — NAVBAR PER PERANGKAT
   Mobile (<1024px): header app + bottom-nav.
   Desktop (≥1024px): navbar korporat .site-nav + footer,
   selayaknya website dealer profesional.
   ═══════════════════════════════════════════════════════ */

/* ── 1. Mobile default: navbar korporat disembunyikan ── */
.site-nav {
  display: none;
}

@media (min-width: 1024px) {
  .site-nav {
    display: block;
  }

  .header-customer {
    display: none;
  }
}

/* ── 2. Bersihkan sisa desain gelembung (V8) ── */
.bottom-nav .nav-blob {
  display: none !important;
}

.bottom-nav .nav-item.active i {
  transform: none;
  filter: none;
}

/* ── 3. Tanda aktif baru: pil merah gradient, murni CSS ── */
.bottom-nav {
  padding: 8px;
  border-radius: 24px;
}

.bottom-nav .nav-item {
  padding: 8px 4px 7px;
  border-radius: 17px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.bottom-nav .nav-item.active {
  background: linear-gradient(140deg, #dc2626 0%, #ef4444 60%, #f0554f 100%);
  box-shadow:
    0 6px 18px rgba(239, 68, 68, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
  animation: navActivePop 0.4s cubic-bezier(0.34, 1.5, 0.5, 1);
}

@keyframes navActivePop {
  0% {
    transform: translateY(0) scale(0.92);
  }

  60% {
    transform: translateY(-5px) scale(1.05);
  }

  100% {
    transform: translateY(-3px) scale(1);
  }
}

.bottom-nav .nav-item.active i {
  color: #ffffff;
  animation: navIconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bottom-nav .nav-item.active span {
  color: #ffffff;
  font-weight: 700;
  transform: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* titik kecil di bawah pil sebagai penegas "Anda di sini" */
.bottom-nav .nav-item.active::before {
  content: '';
  display: block;
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fecaca;
  box-shadow: 0 0 6px rgba(254, 202, 202, 0.9);
}

@media (prefers-reduced-motion: reduce) {

  .bottom-nav .nav-item,
  .bottom-nav .nav-item.active {
    animation: none;
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════
   V9.1 — BOTTOM NAV KHUSUS MOBILE
   Desktop (≥1024px): bottom-nav disembunyikan total;
   navigasi desktop lewat menu grid halaman & footer.
   ═══════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .bottom-nav {
    display: none !important;
  }

  .site-footer {
    padding-bottom: 0;
  }

  .mobile-app {
    padding-bottom: 0;
  }
}

/* ═══════════════════════════════════════════════════════
   V10 — DESKTOP KORPORAT PROFESIONAL
   Layout dealer resmi: hero split 2 kolom, konten dalam
   container 1240px, grid rapi (bukan slider) di desktop.
   ═══════════════════════════════════════════════════════ */

/* ── Hero: struktur baru (copy + visual) ── */
.hero-inner {
  display: block;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 18px;
}

.hero-btn-primary,
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-btn-primary {
  background: var(--v5-cta, linear-gradient(135deg, #ef4444, #dc2626));
  color: #fff;
  box-shadow: var(--shadow-red);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red-lg);
}

.hero-btn-secondary {
  background: var(--bg-card);
  color: var(--text-dark);
  border: 1.5px solid var(--border-color);
}

.hero-btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

/* Visual mobil: disembunyikan di mobile (hemat ruang), tampil di desktop */
.hero-visual {
  display: none;
}

@media (min-width: 1024px) {

  /* ── 1. Hero split dua kolom ── */
  .hero-welcome {
    padding: 48px 32px 8px;
  }

  .hero-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
  }

  .hero-headline {
    font-size: clamp(44px, 3.8vw, 58px);
  }

  .hero-sub {
    font-size: 16px;
    max-width: 480px;
  }

  .hero-cta-row {
    margin: 10px 0 26px;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    font-size: 15px;
    padding: 15px 28px;
  }

  .hero-visual {
    display: block;
    position: relative;
  }

  /* Panggung carousel: semua gambar ditumpuk, crossfade antar mobil */
  .hero-visual-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    z-index: 1;
  }

  .hero-car-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: translateX(36px) scale(0.96);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    filter: drop-shadow(0 30px 40px rgba(15, 23, 42, 0.28));
    pointer-events: none;
  }

  .hero-car-img.show {
    opacity: 1;
    transform: translateX(0) scale(1);
    animation: heroCarFloat 7s ease-in-out infinite;
  }

  .hero-visual-glow {
    position: absolute;
    inset: 12% 4% 6% 4%;
    border-radius: 50%;
    background:
      radial-gradient(ellipse at 50% 60%, var(--primary-blue-glow), transparent 65%),
      radial-gradient(ellipse at 70% 30%, var(--primary-red-glow), transparent 60%);
    filter: blur(28px);
  }

  @keyframes heroCarFloat {

    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-12px);
    }
  }

  /* ── 2. Container terpusat untuk seluruh section beranda ── */
  .banner-slider,
  .menu-grid,
  .section-title,
  .car-slider,
  .news-list,
  .testimonial-slider,
  .video-showcase,
  .location-card,
  .banner-dots,
  #homeComplaintStatus {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-title {
    font-size: 24px;
    padding: 0 32px;
    margin: 44px auto 18px;
  }

  /* ── 3. Slider horizontal → grid rapi di desktop ── */
  .car-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 8px 32px 28px;
    overflow: visible;
  }

  .car-slider .car-card,
  .car-slider .used-car-card {
    min-width: 0 !important;
  }

  .testimonial-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 8px 32px 28px;
    overflow: visible;
  }

  .testimonial-slider .testimonial-card {
    min-width: 0;
  }

  .news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 32px 28px;
  }

  .menu-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 14px;
    padding: 20px 32px 12px;
  }

  .banner-slider {
    padding: 24px 0 32px;
  }

  .banner-wrapper {
    padding: 0 32px;
  }

  .banner-slider .banner {
    min-height: 280px;
  }

  .video-showcase {
    margin: 0 auto 48px auto;
    width: calc(100% - 64px);
  }

  .location-card {
    margin: 0 auto 64px auto;
    width: calc(100% - 64px);
    padding: 44px 32px;
  }

  #homeComplaintStatus {
    padding: 0 32px 24px !important;
  }

  /* ── 4. Halaman konten umum ── */
  .content {
    max-width: 1240px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .page-title {
    font-size: 32px;
  }

  .page-subtitle {
    font-size: 15px;
  }
}

@media (min-width: 1440px) {
  .hero-welcome {
    padding: 60px 32px 8px;
  }

  .car-slider {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ═══ STYLING REVIEW MODAL & RATING PICKER ═══ */
.star-rating-picker {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.08);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.star-rating-picker i {
  font-size: 22px;
  color: #cbd5e1;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
}

.star-rating-picker i.active {
  color: #f59e0b;
  filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}

.star-rating-picker i:hover {
  transform: scale(1.25);
}

.btn-upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 16px;
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-upload-box:hover {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.04);
}

.btn-tulis-ulasan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
  margin-left: auto;
}

.btn-tulis-ulasan:hover {
  background: #ef4444;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.testimonial-card .testi-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ef4444;
}

/* ═══ NAV HAMBURGER BUTTON & SLIDE-OVER DRAWER ═══ */
.nav-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.nav-share-btn:hover {
  border-color: #10b981;
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  transform: translateY(-1px);
}

.nav-share-btn i {
  font-size: 14px;
  color: #10b981;
}

.nav-hamburger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.nav-hamburger-btn:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
  background: rgba(239, 68, 68, 0.08);
  transform: translateY(-1px);
}

.nav-hamburger-btn i {
  font-size: 15px;
}

.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 90vw;
  background: var(--bg-card);
  box-shadow: -8px 0 36px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid var(--border-color);
}

.nav-drawer-overlay.active .nav-drawer-panel {
  transform: translateX(0);
}

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-body);
}

.nav-drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-drawer-brand img {
  height: 36px;
  width: auto;
}

.nav-drawer-brand b {
  display: block;
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 800;
}

.nav-drawer-brand span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.nav-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-dark);
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all var(--transition-fast);
}

.nav-drawer-close:hover {
  background: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
}

.nav-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.nav-drawer-section-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-red);
  margin-bottom: 12px;
}

.nav-drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
  margin-bottom: 6px;
}

.nav-drawer-link:hover {
  background: rgba(239, 68, 68, 0.08);
  transform: translateX(4px);
}

.nav-drawer-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}

.nav-drawer-info b {
  display: block;
  font-size: 13.5px;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

.nav-drawer-info span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-drawer-footer {
  padding: 18px 24px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-body);
}

/* ───────────────────────────────
   TOYOTA ARCADE BANNER (THEME ADAPTIVE)
   ─────────────────────────────── */
.arcade-banner-card {
  width: 100% !important;
  background: var(--bg-card) !important;
  border-radius: var(--radius-xl, 20px) !important;
  padding: 16px 20px !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-sm) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  transition: all var(--transition-base, 0.25s ease) !important;
  position: relative !important;
  overflow: hidden !important;
}

.arcade-banner-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
  border-color: var(--primary-red) !important;
}

.arcade-banner-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: var(--radius-lg, 16px) !important;
  background: var(--primary-red-subtle, rgba(239, 68, 68, 0.12)) !important;
  color: var(--primary-red) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  flex-shrink: 0 !important;
}

.arcade-banner-title {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--text-dark) !important;
  margin-bottom: 3px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.arcade-banner-badge {
  font-size: 10px !important;
  font-weight: 800 !important;
  background: var(--primary-red-subtle, rgba(239, 68, 68, 0.12)) !important;
  color: var(--primary-red) !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  text-transform: uppercase !important;
}

.arcade-banner-sub {
  font-size: 12px !important;
  color: var(--text-muted) !important;
  line-height: 1.3 !important;
}

.arcade-banner-arrow {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: var(--bg-surface) !important;
  color: var(--text-body) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  flex-shrink: 0 !important;
  transition: all var(--transition-base) !important;
}

.arcade-banner-card:hover .arcade-banner-arrow {
  background: var(--primary-red) !important;
  color: #ffffff !important;
}

/* ───────────────────────────────
   TRANSMISSION MINI TOGGLE (THEME ADAPTIVE)
   ─────────────────────────────── */
.trans-mini-toggle {
  display: flex !important;
  gap: 8px !important;
  margin-top: 10px !important;
  margin-bottom: 12px !important;
}

.trans-mini-toggle button {
  flex: 1 !important;
  padding: 8px 12px !important;
  border-radius: var(--radius-md, 10px) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border: 1px solid var(--border-color) !important;
  background: var(--bg-surface, #f1f5f9) !important;
  color: var(--text-dark, #0f172a) !important;
  cursor: pointer !important;
  transition: all var(--transition-fast, 0.15s ease) !important;
}

.trans-mini-toggle button.active,
.trans-mini-toggle button[style*="background: var(--primary-red)"],
.trans-mini-toggle button[style*="background: rgb(239, 68, 68)"] {
  background: var(--primary-red) !important;
  color: #ffffff !important;
  border-color: var(--primary-red) !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3) !important;
}

[data-theme="dark"] .trans-mini-toggle button:not(.active):not([style*="background: var(--primary-red)"]) {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #f1f5f9 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .trans-mini-toggle button:not(.active):not([style*="background: var(--primary-red)"]):hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

/* ───────────────────────────────
   Modal Popup Semua Fitur Grid Layout
   ─────────────────────────────── */
.modal-sheet .menu-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px 8px !important;
  padding: 4px 0 14px 0 !important;
  margin-bottom: 12px !important;
  max-width: 100% !important;
}

@media (min-width: 768px) {
  .modal-sheet .menu-grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px 12px !important;
  }
}

.modal-sheet .menu-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 6px !important;
  padding: 12px 6px !important;
  border-radius: 16px !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease !important;
}

.modal-sheet .menu-item:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08) !important;
  border-color: rgba(235, 10, 30, 0.3) !important;
}

[data-theme="dark"] .modal-sheet .menu-item:hover {
  border-color: rgba(239, 68, 68, 0.4) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}

.modal-sheet .menu-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  font-size: 19px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
}

.modal-sheet .menu-item:hover .menu-icon {
  transform: scale(1.12) rotate(2deg) !important;
  box-shadow: 0 6px 16px rgba(235, 10, 30, 0.18) !important;
}

/* ═══════════════════════════════════════════════════════
   TOYOTA INNOVATION SUITE (DARK & LIGHT THEME REFINED)
   ═══════════════════════════════════════════════════════ */

/* Header Theme Toggle Button */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.theme-toggle:hover {
  transform: scale(1.08);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-sm);
}

/* 1. Innovation Homepage Showcase Box */
.innovation-hero-box {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 24px;
  margin: 20px auto;
  max-width: 1200px;
  width: calc(100% - 32px);
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .innovation-hero-box {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.innovation-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

[data-theme="dark"] .innovation-badge {
  background: rgba(245, 158, 11, 0.18);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.35);
}

.innovation-hero-box h3 {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

[data-theme="dark"] .innovation-hero-box h3 {
  color: #ffffff;
}

.innovation-hero-box p {
  font-size: 12px;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.4;
}

[data-theme="dark"] .innovation-hero-box p {
  color: #94a3b8;
}

.innovation-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 600px) {
  .innovation-quick-grid {
    grid-template-columns: 1fr;
  }
}

.inno-quick-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.inno-quick-card:hover {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .inno-quick-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

[data-theme="dark"] .inno-quick-card:hover {
  background: rgba(255, 255, 255, 0.14);
}

.inno-quick-card.green-theme .inno-ic {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.03));
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #059669;
}

[data-theme="dark"] .inno-quick-card.green-theme .inno-ic {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.inno-quick-card.red-theme .inno-ic {
  background: linear-gradient(135deg, rgba(235, 10, 30, 0.12), rgba(235, 10, 30, 0.03));
  border: 1px solid rgba(235, 10, 30, 0.2);
  color: #eb0a1e;
}

[data-theme="dark"] .inno-quick-card.red-theme .inno-ic {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.inno-quick-card.azure-theme .inno-ic,
.inno-quick-card.purple-theme .inno-ic {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.03));
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: #2563eb;
}

[data-theme="dark"] .inno-quick-card.azure-theme .inno-ic,
[data-theme="dark"] .inno-quick-card.purple-theme .inno-ic {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.inno-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.inno-quick-card:hover .inno-ic {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
}

.inno-txt {
  display: flex;
  flex-direction: column;
}

.inno-txt strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

[data-theme="dark"] .inno-txt strong {
  color: #ffffff;
}

.inno-txt span {
  font-size: 11px;
  color: var(--text-muted);
}

[data-theme="dark"] .inno-txt span {
  color: #cbd5e1;
}

/* 2. Floating Loyalty Widget & Toast */
.eco-floating-widget {
  position: fixed;
  bottom: 98px;
  right: 16px;
  z-index: 998;
}

.eco-widget-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.eco-widget-pill:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.55);
}

.eco-leaf-icon {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.eco-pill-text {
  display: flex;
  flex-direction: column;
}

.eco-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.95;
  font-weight: 700;
}

.eco-points-badge-val {
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

/* Drawer Rewards Overlay */
.eco-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.eco-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.eco-drawer-card {
  background: var(--bg-card);
  color: var(--text-dark);
  width: 100%;
  max-width: 500px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 24px;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

.eco-drawer-overlay.active .eco-drawer-card {
  transform: translateY(0);
}

.eco-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.eco-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
}

.eco-drawer-close {
  background: var(--bg-surface);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.eco-drawer-close:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.eco-drawer-hero {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(5, 150, 105, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.eco-hero-pts {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eco-pts-num {
  font-size: 36px;
  font-weight: 900;
  color: #10b981;
}

.eco-pts-lbl {
  font-size: 12px;
  font-weight: 800;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.eco-hero-sub {
  font-size: 12px;
  color: var(--text-body);
  margin-top: 8px;
  line-height: 1.4;
}

.eco-drawer-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}

.eco-tab {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  font-weight: 800;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.eco-tab.active {
  color: #10b981;
  border-bottom-color: #10b981;
}

.eco-tab-content {
  display: none;
}

.eco-tab-content.active {
  display: block;
}

.eco-reward-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  margin-bottom: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.eco-reward-item:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.4);
}

.eco-rw-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.eco-rw-info {
  flex: 1;
}

.eco-rw-info strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
}

.eco-rw-info span {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Styled Reward Action Buttons */
.eco-reward-item .btn-sm {
  padding: 10px 18px !important;
  border-radius: 50px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  border: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.eco-reward-item .btn-green {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
}

.eco-reward-item .btn-blue {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35) !important;
}

.eco-reward-item .btn-orange {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35) !important;
}

.eco-reward-item .btn-sm:hover {
  transform: translateY(-2px) scale(1.03) !important;
}

.eco-rw-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.eco-rw-info {
  flex: 1;
}

.eco-rw-info strong {
  display: block;
  font-size: 13px;
  color: var(--text-dark);
}

.eco-rw-info span {
  font-size: 11px;
  color: var(--text-muted);
}

.eco-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--bg-dark);
  color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 100000;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.eco-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.eco-toast-icon {
  width: 32px;
  height: 32px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ffffff;
}

.eco-toast-body {
  display: flex;
  flex-direction: column;
}

.eco-toast-body strong {
  font-size: 13px;
}

.eco-toast-body span {
  font-size: 11px;
  color: #cbd5e1;
}

/* 5. TSS Simulator Styling */
.tss-tabs-row {
  display: flex !important;
  gap: 10px !important;
  overflow-x: auto !important;
  padding-bottom: 12px !important;
  margin-bottom: 24px !important;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.tss-tab-btn {
  flex: 0 0 auto !important;
  padding: 10px 18px !important;
  border-radius: 50px !important;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color) !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: var(--text-dark) !important;
  cursor: pointer;
  white-space: nowrap !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

.tss-tab-btn.active {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  border-color: #f87171 !important;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35) !important;
}

/* 4. Eco Calculator Styling */
.eco-hero-section, .tss-hero-section, .match-hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 32px 20px;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  text-align: center;
}

[data-theme="dark"] .eco-hero-section, 
[data-theme="dark"] .tss-hero-section, 
[data-theme="dark"] .match-hero-section {
  background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
}

.eco-badge, .tss-badge-top, .match-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 12px;
}

.eco-hero-title, .tss-hero-title, .match-hero-title {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.eco-hero-desc, .tss-hero-desc, .match-hero-desc {
  font-size: 13px;
  color: #94a3b8;
  max-width: 500px;
  margin: 0 auto;
}

.eco-container, .tss-container, .match-container {
  padding: 24px 16px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.eco-card, .tss-card, .match-card {
  background: var(--bg-card);
  color: var(--text-dark);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.eco-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.form-group-eco {
  margin-bottom: 16px;
}

.form-group-eco label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.eco-select {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 13px;
  background: var(--bg-surface);
  color: var(--text-dark);
}

.eco-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.eco-val-badge {
  background: #10b981;
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 50px;
}

.eco-slider {
  width: 100%;
  margin-top: 8px;
  accent-color: #10b981;
}

.btn-green-eco {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border: none;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3);
}

.eco-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.eco-res-card {
  background: var(--bg-card);
  color: var(--text-dark);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.eco-res-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-surface);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.eco-res-body {
  display: flex;
  flex-direction: column;
}

.eco-res-lbl {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.eco-res-val {
  font-size: 16px;
  font-weight: 900;
}

.eco-graph-wrapper {
  margin-top: 16px;
}

.eco-bar-group {
  margin-bottom: 14px;
}

.eco-bar-lbl {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.eco-bar-track {
  height: 12px;
  background: var(--bg-surface);
  border-radius: 50px;
  overflow: hidden;
}

.eco-bar {
  height: 100%;
  border-radius: 50px;
  transition: width 0.6s ease;
}

.ice-bar { background: #94a3b8; }
.hev-bar { background: #10b981; }

.eco-beyond-box {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  gap: 10px;
  margin-top: 16px;
  font-size: 12px;
  color: #065f46;
}

[data-theme="dark"] .eco-beyond-box {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

/* 5. TSS Simulator Styling */
.tss-tabs-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.tss-tab-btn {
  flex: 1;
  min-width: 80px;
  padding: 10px 8px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tss-tab-btn.active {
  background: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
}

.tss-tag-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 50px;
  border: 1px solid #ef4444;
  color: #ef4444;
  margin-top: 4px;
}

.tss-stage-box {
  background: #0f172a;
  border-radius: 16px;
  padding: 16px;
  margin: 16px 0;
  color: #ffffff;
}

.tss-stage-header {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.tss-visual-canvas {
  height: 120px;
  background: #1e293b;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.tss-road-lane {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.tss-car {
  font-size: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  font-size: 10px;
  gap: 4px;
}

.tss-car i { font-size: 24px; }
.main-car { color: #ef4444; }
.obstacle-car { color: #f59e0b; }
.lead-car { color: #10b981; }

.tss-radar-beam {
  flex: 1;
  height: 20px;
  margin: 0 10px;
  border-radius: 10px;
  opacity: 0.4;
}

.red-beam { background: linear-gradient(90deg, rgba(239,68,68,0.8), transparent); }
.green-beam { background: linear-gradient(90deg, rgba(16,185,129,0.8), transparent); }

.tss-status-box {
  margin-top: 12px;
  padding: 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.tss-status-box.normal { background: rgba(255, 255, 255, 0.1); color: #cbd5e1; }
.tss-status-box.active-pulse { background: #dc2626; color: #ffffff; animation: pulseRed 1s infinite; }

.btn-red-pulse {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border: none;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35);
}

.tss-car-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}

.tss-car-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.tss-car-item strong { display: block; color: var(--text-dark); }
.tss-car-item span { font-size: 11px; color: var(--text-muted); }

/* 6. AI Matchmaker Styling */
.match-progress-header {
  margin-bottom: 20px;
}

.match-step-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.match-progress-track {
  height: 6px;
  background: var(--bg-surface);
  border-radius: 50px;
  margin-top: 6px;
  overflow: hidden;
}

.match-progress-fill {
  height: 100%;
  background: #8b5cf6;
  border-radius: 50px;
  transition: width 0.3s ease;
}

.match-step-box { display: none; }
.match-step-box.active { display: block; }

.match-q-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.match-options-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.match-opt-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.match-opt-btn:hover {
  background: var(--bg-card-hover);
  border-color: #8b5cf6;
  box-shadow: var(--shadow-sm);
}

.match-opt-btn i { font-size: 20px; color: #8b5cf6; }
.match-opt-btn strong { display: block; font-size: 13px; color: var(--text-dark); }
.match-opt-btn span { font-size: 11px; color: var(--text-muted); }

.match-res-card {
  background: var(--bg-card);
  color: var(--text-dark);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.match-res-card.top-match {
  border: 2px solid #8b5cf6;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.top-match-ribbon {
  background: #8b5cf6;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-bottom-right-radius: 12px;
  position: absolute;
  top: 0;
  left: 0;
}

.match-card-top {
  margin-top: 10px;
  margin-bottom: 12px;
}

.match-score-badge {
  float: right;
  text-align: center;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 6px 12px;
  border-radius: 12px;
}

.score-num { font-size: 20px; font-weight: 900; color: #a78bfa; display: block; }
.score-lbl { font-size: 9px; font-weight: 700; color: #c4b5fd; }

.match-car-title { font-size: 18px; font-weight: 800; color: var(--text-dark); }
.match-car-type { font-size: 12px; color: var(--text-muted); }

.match-car-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
  font-size: 11px;
  font-weight: 700;
}

.match-car-specs span {
  background: var(--bg-surface);
  color: var(--text-dark);
  padding: 4px 10px;
  border-radius: 50px;
}

.match-car-desc { font-size: 12px; color: var(--text-body); margin-bottom: 16px; }

.match-card-actions {
  display: flex;
  gap: 10px;
}

/* Helpers */
.text-green { color: #10b981; }
.text-emerald { color: #059669; }
.text-blue { color: #3b82f6; }
.text-gold { color: #f59e0b; }
.text-cyan { color: #06b6d4; }
.text-purple { color: #8b5cf6; }
.text-red { color: #ef4444; }

/* ───────────────────────────────
   BERITA & TIPS OTOMOTIF - COMPACT SLIDER SUITE
   ─────────────────────────────── */
.news-slider {
  display: flex;
  gap: 14px;
  padding: 4px 20px 16px 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto 8px auto;
  max-width: 100%;
  justify-content: flex-start;
}

@media (min-width: 860px) {
  .news-slider {
    justify-content: center;
    gap: 18px;
    padding: 6px 20px 20px 20px;
  }
  .news-slider-card {
    flex: 0 1 265px;
    width: 265px;
    max-width: 280px;
  }
}

.news-slider::-webkit-scrollbar {
  height: 4px;
}

.news-slider::-webkit-scrollbar-track {
  background: transparent;
}

.news-slider::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.25);
  border-radius: 10px;
}

.news-slider-card {
  flex: 0 0 250px;
  width: 250px;
  max-width: 250px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
  transition: transform 0.28s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
}

.news-slider-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
  border-color: rgba(239, 68, 68, 0.35);
}

.news-slider-thumb {
  position: relative;
  width: 100%;
  height: 125px;
  background: #0f172a;
  overflow: hidden;
}

.news-slider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-slider-card:hover .news-slider-thumb img {
  transform: scale(1.06);
}

.news-slider-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.news-slider-badge.badge-news {
  background: rgba(239, 68, 68, 0.92);
  color: #ffffff;
}

.news-slider-badge.badge-tips {
  background: rgba(16, 185, 129, 0.92);
  color: #ffffff;
}

.news-slider-content {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.news-slider-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.38;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
}

.news-slider-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  padding-top: 6px;
  border-top: 1px solid var(--border-light);
}

.news-slider-date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.news-slider-read {
  color: var(--primary-red);
  font-weight: 600;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: transform 0.2s ease;
}

.news-slider-card:hover .news-slider-read {
  transform: translateX(2px);
}

/* ───────────────────────────────
   OLX EMPTY STATE BADGE
   ─────────────────────────────── */
.olx-empty-box {
  grid-column: 1 / -1;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.olx-empty-box .empty-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.12);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
}

.olx-empty-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 6px 0;
}

.olx-empty-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 0 18px 0;
  line-height: 1.5;
}

.olx-empty-box .empty-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ───────────────────────────────
   USED CAR HOMEPAGE EMPTY CARD
   ─────────────────────────────── */
.car-slider .used-car-empty-card,
.used-car-empty-card {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  box-sizing: border-box !important;
  background: var(--bg-card);
  border: 1.5px dashed var(--border-color);
  border-radius: 20px;
  padding: 22px 26px;
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  margin: 0 !important;
}

.used-car-empty-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(239, 68, 68, 0.1);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.used-car-empty-body {
  flex: 1;
}

.used-car-empty-body h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 4px 0;
}

.used-car-empty-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.used-car-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
  transition: all 0.25s ease;
}

.used-car-empty-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
}

@media (max-width: 767px) {
  .car-slider .used-car-empty-card,
  .used-car-empty-card {
    flex-direction: column !important;
    text-align: center;
    padding: 20px 18px;
    margin: 0 !important;
    width: 100% !important;
  }
}

/* ───────────────────────────────
   GLOBAL CLEAN CANVAS & MINIMALIST POLISH
   ─────────────────────────────── */
#particle-canvas,
#alive-canvas {
  display: none !important;
  visibility: hidden !important;
}

@media (min-width: 1024px) {
  .site-nav-inner {
    max-width: 1300px;
    padding: 0 20px;
    gap: 12px;
  }
  .site-nav-links {
    gap: 1px;
  }
  .site-nav-links a {
    padding: 0 7px;
    font-size: 12.5px;
  }
  .site-nav-actions {
    gap: 8px;
  }
  .site-nav-cta {
    padding: 8px 14px;
    font-size: 12px;
    white-space: nowrap;
  }
}

/* ═══════════════════════════════════════════════════════
   V7 — MINIMALIST PROFESSIONAL UI/UX ENHANCEMENT LAYER
   Clean · Purpose-Driven · High Contrast · Responsive
   ═══════════════════════════════════════════════════════ */

/* ── Typography & Contrast Polish ── */
:root {
  --text-body: #334155;
  --text-muted: #64748b;
  --text-dark: #0f172a;
}

[data-theme="dark"] {
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dark: #f8fafc;
}

/* ── Minimalist Section Header ── */
.section-header-clean {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 20px;
  margin: 32px auto 16px;
  max-width: 1180px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-header-titles h2,
.section-header-titles h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.4px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-header-titles p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 0;
  font-weight: 400;
  max-width: 600px;
  line-height: 1.5;
}

.btn-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-red);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--primary-red-subtle);
  border: 1px solid rgba(239, 68, 68, 0.15);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-pill-link:hover {
  background: var(--primary-red);
  color: #ffffff;
  transform: translateX(2px);
}

/* ── Action Hub: 4 Pilar Layanan Inti ── */
.action-hub-section {
  padding: 24px 20px;
  max-width: 1180px;
  margin: 0 auto 16px;
}

.action-hub-header {
  margin-bottom: 20px;
  text-align: left;
}

.hub-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-red);
  background: var(--primary-red-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.action-hub-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin: 0 0 6px 0;
}

.action-hub-header p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
  max-width: 580px;
}

.action-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.action-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.action-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: var(--shadow-lg);
}

.action-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.action-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  transition: transform var(--transition-fast);
}

.action-card:hover .action-card-icon {
  transform: scale(1.08);
}

.action-card-icon.car-theme {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.action-card-icon.calc-theme {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.action-card-icon.trade-theme {
  background: rgba(6, 182, 212, 0.1);
  color: #0891b2;
}

.action-card-icon.service-theme {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.action-card-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 6px 0;
  letter-spacing: -0.2px;
}

.action-card-content p {
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0 0 16px 0;
  flex: 1;
}

.action-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-red);
  transition: gap var(--transition-fast);
}

.action-card:hover .action-card-link {
  gap: 10px;
}

/* ── Page Guide Card (Panduan Konteks Halaman) ── */
.page-guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-xs);
}

.page-guide-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--primary-red-subtle);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.page-guide-body h4 {
  margin: 0 0 3px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.page-guide-body p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ── Clean Mobile FAB Alignment ── */
@media (max-width: 1023.98px) {
  .global-fab {
    bottom: 82px !important;
    right: 18px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 20px !important;
    border-radius: 50% !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;
    z-index: 95 !important;
  }
  
  .bottom-nav {
    bottom: 12px !important;
    padding: 6px 12px !important;
  }
}

/* ==========================================================================
   OFFICIAL TOYOTA DEALERSHIP REDESIGN SYSTEM (V8 - Minimalist & Professional)
   Sleek, static-first corporate dealership layout with zero distracting animations
   ========================================================================== */

/* ── 1. Dealership Hero Billboard ── */
.dealer-hero {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 44px 24px 40px;
  overflow: hidden;
}

[data-theme="dark"] .dealer-hero {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  border-bottom-color: #334155;
}

.dealer-hero-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 48px;
}

@media (max-width: 1023.98px) {
  .dealer-hero {
    padding: 24px 16px 28px;
  }
  .dealer-hero-container {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }
}

.dealer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(220, 38, 38, 0.2);
  margin-bottom: 16px;
}

[data-theme="dark"] .dealer-badge {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.dealer-hero-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

[data-theme="dark"] .dealer-hero-title {
  color: #f8fafc;
}

.dealer-hero-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 28px;
  max-width: 580px;
}

[data-theme="dark"] .dealer-hero-desc {
  color: #cbd5e1;
}

.dealer-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.dealer-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #eb0a1e;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(235, 10, 30, 0.28);
  transition: background 0.15s ease, transform 0.15s ease;
}

.dealer-btn-primary:hover {
  background: #cc091a;
  transform: translateY(-1px);
}

.dealer-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  color: #0f172a !important;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

[data-theme="dark"] .dealer-btn-secondary {
  background: #1e293b;
  color: #f8fafc !important;
  border-color: #475569;
}

.dealer-btn-secondary:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

[data-theme="dark"] .dealer-btn-secondary:hover {
  background: #334155;
}

.dealer-hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

[data-theme="dark"] .dealer-hero-trust-badges {
  border-top-color: #334155;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
}

[data-theme="dark"] .trust-pill {
  color: #cbd5e1;
}

.trust-pill i {
  font-size: 13px;
}

/* ── Hero Visual Showcase (Solid, Guaranteed Car Display) ── */
.dealer-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dealer-car-showcase-badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

[data-theme="dark"] .dealer-car-showcase-badge {
  background: rgba(30, 41, 59, 0.9);
  border-color: #475569;
}

.dealer-car-showcase-badge .badge-tag {
  font-size: 11px;
  font-weight: 700;
  color: #eb0a1e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dealer-car-showcase-badge .badge-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

[data-theme="dark"] .dealer-car-showcase-badge .badge-title {
  color: #f8fafc;
}

.dealer-car-showcase-badge .badge-price {
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
}

[data-theme="dark"] .dealer-car-showcase-badge .badge-price {
  color: #94a3b8;
}

.dealer-car-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dealer-hero-car-img {
  width: 100%;
  height: auto;
  max-height: 310px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 18px 24px rgba(15, 23, 42, 0.15));
  user-select: none;
  pointer-events: auto;
}

.dealer-car-shadow {
  width: 86%;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0) 72%);
  border-radius: 50%;
  margin-top: -12px;
}

/* ═══════════════════════════════════════════════════════
   PROFESSIONAL ICON SYSTEM & INTERACTIVE ANIMATIONS
   Clean Corporate Toyota Aesthetics · Dual-Tone Glass
   ═══════════════════════════════════════════════════════ */

/* Professional Icon Container Base */
.pro-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              border-color 0.25s ease,
              color 0.25s ease;
}

/* Toyota Racing Red Icon */
.pro-icon-red {
  background: linear-gradient(135deg, rgba(235, 10, 30, 0.09) 0%, rgba(235, 10, 30, 0.02) 100%);
  border: 1px solid rgba(235, 10, 30, 0.18);
  color: #eb0a1e;
  box-shadow: 0 2px 8px rgba(235, 10, 30, 0.06);
}
[data-theme="dark"] .pro-icon-red {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(239, 68, 68, 0.06) 100%);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.14);
}

/* Electric Azure / Hybrid EV Tech Icon */
.pro-icon-azure {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.09) 0%, rgba(37, 99, 235, 0.02) 100%);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: #2563eb;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}
[data-theme="dark"] .pro-icon-azure {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0.06) 100%);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.14);
}

/* Obsidian / Slate Corporate Icon */
.pro-icon-dark {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.07) 0%, rgba(15, 23, 42, 0.02) 100%);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
[data-theme="dark"] .pro-icon-dark {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f1f5f9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* Emerald Green (Eco/Check) Icon */
.pro-icon-emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.09) 0%, rgba(16, 185, 129, 0.02) 100%);
  border: 1px solid rgba(16, 185, 129, 0.18);
  color: #059669;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.06);
}
[data-theme="dark"] .pro-icon-emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0.06) 100%);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.14);
}

/* Amber / Gold (Star/Awards) Icon */
.pro-icon-amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.09) 0%, rgba(245, 158, 11, 0.02) 100%);
  border: 1px solid rgba(245, 158, 11, 0.18);
  color: #d97706;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.06);
}
[data-theme="dark"] .pro-icon-amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0.06) 100%);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.14);
}

/* Professional Text/Icon Color Utilities */
.pro-txt-red { color: #eb0a1e !important; }
[data-theme="dark"] .pro-txt-red { color: #f87171 !important; }
.pro-txt-azure { color: #2563eb !important; }
[data-theme="dark"] .pro-txt-azure { color: #60a5fa !important; }
.pro-txt-emerald { color: #059669 !important; }
[data-theme="dark"] .pro-txt-emerald { color: #34d399 !important; }
.pro-txt-amber { color: #d97706 !important; }
[data-theme="dark"] .pro-txt-amber { color: #fbbf24 !important; }

/* Micro-Interaction Animation Utilities */
.pro-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.pro-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.pro-delay-1 { transition-delay: 0.07s; }
.pro-delay-2 { transition-delay: 0.14s; }
.pro-delay-3 { transition-delay: 0.21s; }
.pro-delay-4 { transition-delay: 0.28s; }

/* Subtle breathing halo for Kiara FAB */
@keyframes kiaraBreathPulse {
  0% {
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35), 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  70% {
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35), 0 0 0 10px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35), 0 0 0 0 rgba(239, 68, 68, 0);
  }
}
.kiara-fab-btn, .global-fab {
  animation: kiaraBreathPulse 3.2s infinite ease-in-out;
}
.kiara-fab-btn:hover, .global-fab:hover {
  animation: none;
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.5);
}

/* Button tactile micro-press */
button:active, .dealer-btn-primary:active, .dealer-btn-secondary:active,
.dealer-car-btn-detail:active, .dealer-car-btn-kredit:active, .btn-pill-link:active,
.dealer-promo-btn:active {
  transform: scale(0.97);
}

/* ── 2. Dealership Quick Bar ── */
.dealer-quick-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 10;
}

[data-theme="dark"] .dealer-quick-bar {
  background: #1e293b;
  border-bottom-color: #334155;
}

.dealer-quick-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1023.98px) {
  .dealer-quick-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #e2e8f0;
  }
  [data-theme="dark"] .dealer-quick-container {
    background: #334155;
  }
}

@media (max-width: 639.98px) {
  .dealer-quick-container {
    grid-template-columns: 1fr;
  }
}

.dealer-quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  border-right: 1px solid #e2e8f0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.dealer-quick-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 2.5px;
  background: #eb0a1e;
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.dealer-quick-item:hover::before {
  transform: scaleX(1);
}

[data-theme="dark"] .dealer-quick-item {
  background: #1e293b;
  border-right-color: #334155;
}

.dealer-quick-item:last-child {
  border-right: none;
}

.dealer-quick-item:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

[data-theme="dark"] .dealer-quick-item:hover {
  background: #273549;
}

.dealer-quick-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(235, 10, 30, 0.08) 0%, rgba(235, 10, 30, 0.02) 100%);
  border: 1px solid rgba(235, 10, 30, 0.16);
  color: #eb0a1e;
  box-shadow: 0 2px 8px rgba(235, 10, 30, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .dealer-quick-icon {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(239, 68, 68, 0.06) 100%);
  border-color: rgba(239, 68, 68, 0.28);
  color: #f87171;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.15);
}

.dealer-quick-item:hover .dealer-quick-icon {
  background: #eb0a1e;
  border-color: #eb0a1e;
  color: #ffffff;
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 8px 20px rgba(235, 10, 30, 0.3);
}

[data-theme="dark"] .dealer-quick-item:hover .dealer-quick-icon {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(239, 68, 68, 0.4);
}

.dealer-quick-info h4 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  transition: color 0.2s ease;
}

.dealer-quick-item:hover .dealer-quick-info h4 {
  color: #eb0a1e;
}

[data-theme="dark"] .dealer-quick-info h4 {
  color: #f8fafc;
}

[data-theme="dark"] .dealer-quick-item:hover .dealer-quick-info h4 {
  color: #f87171;
}

.dealer-quick-info p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.35;
}

[data-theme="dark"] .dealer-quick-info p {
  color: #94a3b8;
}

/* ── 3. Line-Up Showroom Section & Category Tabs ── */
.dealer-showcase-section {
  max-width: 1240px;
  margin: 48px auto;
  padding: 0 24px;
}

@media (max-width: 767.98px) {
  .dealer-showcase-section {
    margin: 32px auto;
    padding: 0 16px;
  }
}

.dealer-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.dealer-section-title-wrap h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}

[data-theme="dark"] .dealer-section-title-wrap h2 {
  color: #f8fafc;
}

.dealer-section-title-wrap p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

[data-theme="dark"] .dealer-section-title-wrap p {
  color: #94a3b8;
}

.dealer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 14px;
}

[data-theme="dark"] .dealer-tabs {
  border-bottom-color: #334155;
}

.dealer-tab-btn {
  background: #f1f5f9;
  border: 1px solid transparent;
  color: #475569;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .dealer-tab-btn {
  background: #1e293b;
  color: #94a3b8;
}

.dealer-tab-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: translateY(-1px);
}

[data-theme="dark"] .dealer-tab-btn:hover {
  background: #334155;
  color: #f8fafc;
}

.dealer-tab-btn.active {
  background: #eb0a1e;
  color: #ffffff !important;
  border-color: #eb0a1e;
  box-shadow: 0 4px 14px rgba(235, 10, 30, 0.3);
  transform: translateY(-1px);
}

/* ── Vehicle Cards Grid ── */
.dealer-cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.dealer-car-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
  will-change: transform;
}

[data-theme="dark"] .dealer-car-card {
  background: #1e293b;
  border-color: #334155;
}

.dealer-car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
  border-color: rgba(235, 10, 30, 0.25);
}

[data-theme="dark"] .dealer-car-card:hover {
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.dealer-car-media {
  position: relative;
  background: #f8fafc;
  padding: 24px 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
  min-height: 170px;
  overflow: hidden;
}

[data-theme="dark"] .dealer-car-media {
  background: #0f172a;
  border-bottom-color: #334155;
}

.dealer-car-media img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dealer-car-card:hover .dealer-car-media img {
  transform: scale(1.06) translateY(-2px);
}

.dealer-car-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .dealer-car-tag {
  background: #1e293b;
  border-color: #475569;
  color: #cbd5e1;
}

.dealer-car-tag.tag-hybrid {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #059669;
}

[data-theme="dark"] .dealer-car-tag.tag-hybrid {
  background: rgba(5, 150, 105, 0.15);
  border-color: rgba(5, 150, 105, 0.3);
  color: #34d399;
}

.dealer-car-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dealer-car-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  transition: color 0.2s ease;
}

.dealer-car-card:hover .dealer-car-title {
  color: #eb0a1e;
}

[data-theme="dark"] .dealer-car-title {
  color: #f8fafc;
}

[data-theme="dark"] .dealer-car-card:hover .dealer-car-title {
  color: #f87171;
}

.dealer-car-price-row {
  margin-bottom: 14px;
}

.dealer-price-lbl {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.dealer-car-price {
  font-size: 17px;
  font-weight: 800;
  color: #eb0a1e;
  line-height: 1.2;
}

.dealer-car-cicilan {
  font-size: 12px;
  color: #64748b;
  margin-top: 3px;
  font-weight: 500;
}

[data-theme="dark"] .dealer-car-cicilan {
  color: #94a3b8;
}

.dealer-car-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

[data-theme="dark"] .dealer-car-actions {
  border-top-color: #334155;
}

.dealer-car-btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155 !important;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

[data-theme="dark"] .dealer-car-btn-detail {
  background: #0f172a;
  border-color: #475569;
  color: #cbd5e1 !important;
}

.dealer-car-btn-detail:hover {
  background: #e2e8f0;
  color: #0f172a !important;
  transform: translateY(-1px);
}

[data-theme="dark"] .dealer-car-btn-detail:hover {
  background: #334155;
  color: #ffffff !important;
}

.dealer-car-btn-kredit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #eb0a1e !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

[data-theme="dark"] .dealer-car-btn-kredit {
  background: rgba(235, 10, 30, 0.15);
  border-color: rgba(235, 10, 30, 0.3);
  color: #f87171 !important;
}

.dealer-car-btn-kredit:hover {
  background: #eb0a1e;
  color: #ffffff !important;
  border-color: #eb0a1e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(235, 10, 30, 0.25);
}

/* ── 4. Dealership Promo Section ── */
.dealer-promos-section {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 48px 24px;
}

[data-theme="dark"] .dealer-promos-section {
  background: #0f172a;
  border-top-color: #334155;
  border-bottom-color: #334155;
}

.dealer-promos-container {
  max-width: 1240px;
  margin: 0 auto;
}

.dealer-promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.dealer-promo-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
  position: relative;
}

.dealer-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  border-color: rgba(235, 10, 30, 0.3);
}

[data-theme="dark"] .dealer-promo-card {
  background: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .dealer-promo-card:hover {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.dealer-promo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dealer-promo-tag {
  font-size: 11px;
  font-weight: 700;
  color: #eb0a1e;
  background: #fee2e2;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

[data-theme="dark"] .dealer-promo-tag {
  background: rgba(235, 10, 30, 0.15);
  color: #f87171;
}

.dealer-promo-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

[data-theme="dark"] .dealer-promo-card h3 {
  color: #f8fafc;
}

.dealer-promo-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 16px;
}

[data-theme="dark"] .dealer-promo-desc {
  color: #94a3b8;
}

.dealer-promo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dealer-promo-list li {
  font-size: 12.5px;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

[data-theme="dark"] .dealer-promo-list li {
  color: #cbd5e1;
}

.dealer-promo-list li i {
  color: #10b981;
  font-size: 13px;
  margin-top: 2px;
}

.dealer-promo-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

[data-theme="dark"] .dealer-promo-btn {
  background: #334155;
  border-color: #475569;
  color: #f8fafc !important;
}

.dealer-promo-btn:hover {
  background: #eb0a1e;
  border-color: #eb0a1e;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(235, 10, 30, 0.25);
}

/* ── 5. Bengkel & Layanan Purna Jual Resmi ── */
.dealer-workshop-section {
  max-width: 1240px;
  margin: 48px auto;
  padding: 0 24px;
}

@media (max-width: 767.98px) {
  .dealer-workshop-section {
    margin: 32px auto;
    padding: 0 16px;
  }
}

.dealer-workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.dealer-workshop-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
  position: relative;
}

.dealer-workshop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

[data-theme="dark"] .dealer-workshop-card {
  background: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .dealer-workshop-card:hover {
  border-color: #475569;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.dealer-workshop-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(235, 10, 30, 0.08) 0%, rgba(235, 10, 30, 0.02) 100%);
  border: 1px solid rgba(235, 10, 30, 0.16);
  color: #eb0a1e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(235, 10, 30, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .dealer-workshop-icon {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(239, 68, 68, 0.06) 100%);
  border-color: rgba(239, 68, 68, 0.28);
  color: #f87171;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.14);
}

.dealer-workshop-card:hover .dealer-workshop-icon {
  transform: scale(1.1) rotate(4deg);
  background: #eb0a1e;
  border-color: #eb0a1e;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(235, 10, 30, 0.28);
}

[data-theme="dark"] .dealer-workshop-card:hover .dealer-workshop-icon {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(239, 68, 68, 0.38);
}

.dealer-workshop-card h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  transition: color 0.2s ease;
}

.dealer-workshop-card:hover h4 {
  color: #eb0a1e;
}

[data-theme="dark"] .dealer-workshop-card h4 {
  color: #f8fafc;
}

[data-theme="dark"] .dealer-workshop-card:hover h4 {
  color: #f87171;
}

.dealer-workshop-card p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
}

[data-theme="dark"] .dealer-workshop-card p {
  color: #94a3b8;
}

/* ── 6. Dealer Location & Operational Info ── */
.dealer-location-section {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 48px 24px 60px;
}

[data-theme="dark"] .dealer-location-section {
  background: #0f172a;
  border-top-color: #334155;
}

.dealer-location-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .dealer-location-container {
    grid-template-columns: 1fr;
  }
}

.dealer-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

[data-theme="dark"] .dealer-info-card {
  background: #1e293b;
  border-color: #334155;
}

.dealer-info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.dealer-info-row i {
  font-size: 18px;
  color: #eb0a1e;
  margin-top: 3px;
}

.dealer-info-row h5 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

[data-theme="dark"] .dealer-info-row h5 {
  color: #f8fafc;
}

.dealer-info-row p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

[data-theme="dark"] .dealer-info-row p {
  color: #94a3b8;
}

.dealer-map-preview {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

[data-theme="dark"] .dealer-map-preview {
  background: #1e293b;
  border-color: #334155;
}

.dealer-map-preview iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: none;
}

/* ==========================================================================
   OFFICIAL DEALERSHIP SUBPAGE DESIGN SYSTEM (V8.5)
   Clean, unified corporate dealership layout for all subpages
   ========================================================================== */

.dealer-subpage-header {
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 32px 24px 28px;
  margin: -16px -16px 28px -16px;
}

@media (min-width: 1024px) {
  .dealer-subpage-header {
    margin: 0 0 32px 0;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 36px 36px 30px;
  }
}

[data-theme="dark"] .dealer-subpage-header {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  border-color: #334155;
}

.dealer-breadcrumb,
.dealer-subpage-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.dealer-breadcrumb a,
.dealer-subpage-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.dealer-breadcrumb a:hover,
.dealer-subpage-breadcrumb a:hover {
  color: #eb0a1e;
}

.dealer-breadcrumb i,
.dealer-subpage-breadcrumb i {
  font-size: 10px;
  opacity: 0.6;
}

.dealer-breadcrumb span,
.dealer-subpage-breadcrumb span {
  color: #0f172a;
  font-weight: 600;
}

[data-theme="dark"] .dealer-breadcrumb span,
[data-theme="dark"] .dealer-subpage-breadcrumb span {
  color: #f8fafc;
}

.dealer-subpage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eb0a1e;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(235, 10, 30, 0.25);
}

.dealer-subpage-title {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  letter-spacing: -0.4px;
}

[data-theme="dark"] .dealer-subpage-title {
  color: #f8fafc;
}

.dealer-subpage-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 0 20px;
}

[data-theme="dark"] .dealer-subpage-desc {
  color: #94a3b8;
}

.dealer-subpage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

[data-theme="dark"] .dealer-subpage-meta {
  border-top-color: #334155;
}

.dealer-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

[data-theme="dark"] .dealer-meta-pill {
  color: #cbd5e1;
}

.dealer-meta-pill i {
  font-size: 13px;
}

/* ── Standard Dealership Panel / Card ── */
.dealer-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
}

[data-theme="dark"] .dealer-panel {
  background: #1e293b;
  border-color: #334155;
}

.dealer-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

[data-theme="dark"] .dealer-panel-header {
  border-bottom-color: #334155;
}

.dealer-panel-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

[data-theme="dark"] .dealer-panel-title {
  color: #f8fafc;
}

/* ── Clean corporate table ── */
.dealer-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}

[data-theme="dark"] .dealer-table-wrap {
  border-color: #334155;
  background: #1e293b;
}

.dealer-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.dealer-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid #e2e8f0;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

[data-theme="dark"] .dealer-table th {
  background: #0f172a;
  color: #94a3b8;
  border-bottom-color: #334155;
}

.dealer-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}

[data-theme="dark"] .dealer-table td {
  border-bottom-color: #334155;
  color: #cbd5e1;
}

.dealer-table tr:last-child td {
  border-bottom: none;
}

.dealer-table tr:hover td {
  background: #f8fafc;
}

[data-theme="dark"] .dealer-table tr:hover td {
  background: #243248;
}

/* Disable excessive floating keyframes everywhere */
@keyframes fpFloat {
  0%, 100% { transform: none; }
}