/* ============================================
   Bingo E2 Official Website – custom.css
   ============================================ */

/* ---- Variables ---- */
:root {
  --primary: #00b377;
  --primary-dark: #009966;
  --dark: #0a0a0a;
  --dark-2: #111;
  --dark-3: #1a1a1a;
  --dark-4: #222;
  --g900: #1a1a1a;
  --g700: #404040;
  --g600: #555;
  --g500: #777;
  --g400: #999;
  --g300: #bbb;
  --g200: #e0e0e0;
  --g100: #f0f0f0;
  --g50: #f8f8f8;
  --white: #fff;
  --max-w: 1200px;
  --ease: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --motion-fast: 180ms;
  --motion-base: 320ms;
  --motion-slow: 520ms;
  --motion-xslow: 900ms;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    Arial, sans-serif;
  background: var(--white);
  color: var(--g900);
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 12px;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) {
  body {
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  html,
  body {
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }
}

@media (max-width: 767px) {
  .banner-carousel-wrap,
  .battery-carousel-wrap,
  .v2l-carousel-wrap {
    touch-action: pan-y;
  }
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--ease);
}
button {
  font-family: inherit;
  cursor: pointer;
}

/* ---- Motion helpers ---- */
.hover-lift {
  transition:
    transform var(--motion-base) var(--ease-out),
    box-shadow var(--motion-base) var(--ease-out);
  will-change: transform;
}
@media (hover: hover) {
  .hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  }
}

/* ============= NAVBAR ============= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: transparent;
  transition: var(--ease);
}
.nav.scrolled {
  background: rgba(77, 77, 77, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.nav-logo img {
  height: 60px;
  transition: var(--ease);
}
.nav-links {
  display: none;
  align-items: center;
  gap: 30px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}
.nav-cta {
  display: inline-flex;
}
@media (min-width: 768px) {
  .nav-cta {
    display: inline-flex;
  }
}
.nav-links a {
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  /* width: 100px; */
  white-space: nowrap;
  position: relative;
  padding-bottom: 6px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-links a.active {
  color: #fff;
  font-weight: 600;
}
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav.scrolled .nav-links a {
  color: rgba(255, 255, 255, 0.8);
}
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active {
  color: #fff;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  background: var(--primary);
  color: var(--white) !important;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  transition: var(--ease);
  letter-spacing: 0.3px;
}
.btn-green:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 179, 119, 0.25);
}

.nav-cta {
  height: 32px;
  padding: 0 16px;
  background: #00b377;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .nav-inner {
    justify-content: flex-start;
    gap: 12px;
  }

  .hamburger {
    order: 1;
  }

  .nav-logo {
    order: 2;
  }

  .nav-cta {
    order: 3;
    margin-left: auto;
  }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  width: 22px;
  padding: 4px 0;
}
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: var(--ease);
  border-radius: 1px;
}
.nav.scrolled .hamburger span {
  background: var(--white);
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  right: auto;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.mobile-menu.open {
  left: 0;
}
.mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition:
    opacity var(--motion-base) var(--ease-out),
    transform var(--motion-base) var(--ease-out),
    color var(--motion-base) var(--ease-out);
  opacity: 0;
  transform: translateY(8px);
}
.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open a:nth-child(1) {
  transition-delay: 0.05s;
}
.mobile-menu.open a:nth-child(2) {
  transition-delay: 0.1s;
}
.mobile-menu.open a:nth-child(3) {
  transition-delay: 0.15s;
}
.mobile-menu.open a:nth-child(4) {
  transition-delay: 0.2s;
}
.mobile-menu.open a:nth-child(5) {
  transition-delay: 0.25s;
}
.mobile-menu.open a:nth-child(6) {
  transition-delay: 0.3s;
}
.mobile-menu.open a:nth-child(7) {
  transition-delay: 0.35s;
}
.mobile-menu.open a:nth-child(8) {
  transition-delay: 0.4s;
}
.mobile-menu a:hover {
  color: var(--primary);
}
.mobile-menu a.active {
  color: #fff;
}

/* ============= HERO ============= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 110px;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform var(--motion-xslow) var(--ease-out);
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}
body.is-loaded .hero-bg img {
  animation: hero-kenburns 18s ease-in-out infinite alternate;
}
body.is-loaded .hero-overlay {
  animation: hero-glow 20s ease-in-out infinite alternate;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
}
.hero-model {
  font-size: 70px;
  font-weight: 500;
  letter-spacing: 8px;
  /* line-height: 82px; */
  margin-bottom: 10px;
}
.hero-tagline {
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}
.hero-tagline-sub {
  font-size: 14px;
  color: #fff;
  margin-top: -12px;
  margin-bottom: 24px;
  max-width: 620px;
}
@media (max-width: 767px) {
  .hero-model {
    font-size: 44px;
  }
  .hero-tagline {
    font-size: 16px;
  }
  .hero-tagline-sub {
    font-size: 12px;
  }
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 38px;
  background: rgba(31, 17, 1, 0.9);
  color: #faf2dc;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  transition: var(--ease);
  border: none;
}
.hero-cta:hover {
  background: rgba(31, 17, 1, 1);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(31, 17, 1, 0.35);
}
.hero-car {
  position: relative;
  z-index: 2;
  margin-top: 32px;
  width: 90%;
  max-width: 600px;
}
.hero-car img {
  width: 100%;
  height: auto;
}

/* Stats bar */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: transparent;
}
.hero-stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .hero-stats-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}
.hero-stat {
  padding: 22px 16px;
  text-align: center;
  position: relative;
}
.hero-stat::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-stat:last-child::after {
  display: none;
}
@media (max-width: 767px) {
  .hero-stat:nth-child(2)::after {
    display: none;
  }
}
.hero-stat-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}
.hero-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

/* ============= SECTIONS ============= */
.sec {
  padding: 80px 24px;
}
@media (max-width: 767px) {
  .sec {
    padding: 40px 12px;
  }
}
@media (min-width: 768px) {
  .sec {
    padding: 110px 48px;
  }
}
.sec-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.sec-light {
  background: var(--white);
}
.sec-color-picker {
  background: linear-gradient(to bottom, #0a0a0a 0%, #6b6b6b 50%, #888 100%);
  padding-top: 56px;
}
@media (min-width: 768px) {
  .sec-color-picker {
    padding-top: 80px;
  }
}
.sec-gray {
  background: var(--g50);
}
.sec-dark {
  background: var(--dark);
  color: var(--white);
}
#design {
  padding-bottom: 10px;
}
.sec-dark2 {
  background: var(--dark-2);
  color: var(--white);
}

.sec-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.3px;
}
@media (min-width: 768px) {
  .sec-title {
    font-size: 32px;
  }
}
.sec-sub {
  font-size: 12px;
  color: var(--g500);
  line-height: 1.7;
  max-width: 520px;
}
@media (min-width: 768px) {
  .sec-sub {
    font-size: 14px;
  }
}
.sec-sub.light {
  color: rgba(255, 255, 255, 0.45);
}

/* ============= BANNER CAROUSEL ============= */
.banner-carousel-wrap {
  position: relative;
  overflow: hidden;
  padding: 0 0 48px;
  margin-left: -24px;
  margin-right: -24px;
}
@media (min-width: 768px) {
  .banner-carousel-wrap {
    margin-left: -48px;
    margin-right: -48px;
  }
}
.banner-carousel {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.banner-carousel.no-anim .banner-slide {
  transition: none !important;
}
.banner-slide {
  flex: 0 0 65%;
  min-width: 0;
  padding: 0 8px;
  opacity: 0.4;
  transform: scale(0.92);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    box-shadow 0.5s ease;
}
.banner-slide.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.banner-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
@media (max-width: 767px) {
  .banner-slide {
    flex: 0 0 100%;
  }
}
.banner-arrow {
  position: absolute;
  top: calc(50% - 24px);
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.banner-arrow:hover {
  opacity: 1;
}
.banner-arrow img {
  width: 36px;
  height: 36px;
}

.banner-prev {
  left: max(12px, calc((100% - var(--max-w)) / 2 + 24px));
}
.banner-next {
  right: max(12px, calc((100% - var(--max-w)) / 2 + 24px));
}
@media (max-width: 767px) {
  .banner-prev {
    left: 4px;
  }
  .banner-next {
    right: 4px;
  }
  .banner-arrow {
    display: none;
  }
}
.banner-caption {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  padding: 16px 24px 0;
  max-width: var(--max-w);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .banner-caption {
    font-size: 15px;
  }
}

/* ============= BATTERY CAROUSEL ============= */
.battery-card {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background: var(--dark-3);
}
.battery-carousel-wrap {
  position: relative;
  overflow: hidden;
}
.battery-carousel {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.battery-slide {
  flex: 0 0 100%;
  min-width: 100%;
}
.battery-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.battery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.battery-arrow:hover {
  opacity: 1;
}
.battery-arrow img {
  width: 36px;
  height: 36px;
}

.battery-prev {
  left: 12px;
}
.battery-next {
  right: 12px;
}
.battery-info {
  padding: 20px 28px 28px;
}
.battery-info ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.battery-info li {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .battery-info li {
    font-size: 14px;
  }
}

/* Bullets light (on dark bg) */
.bullets-light {
  list-style: none;
}
.bullets-light li {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  padding-left: 16px;
  position: relative;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .bullets-light li {
    font-size: 14px;
  }
}
.bullets-light li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ============= V2L CAROUSEL ============= */
.v2l-carousel-wrap {
  position: relative;
  width: 100%;
  max-width: var(--max-w);
  border-radius: 8px;
  overflow: hidden;
}
.v2l-carousel {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.v2l-slide {
  flex: 0 0 100%;
  min-width: 100%;
}
.v2l-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.v2l-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.v2l-arrow:hover {
  opacity: 1;
}
.v2l-arrow-left {
  left: 12px;
}
.v2l-arrow-right {
  right: 12px;
}
.v2l-caption {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  padding: 16px 20px 0;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .v2l-caption {
    font-size: 15px;
  }
}
.v2l-indicators {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 16px 0 0;
}
.v2l-ind {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.3s ease;
}
.v2l-ind.active {
  background: var(--primary);
}

/* ============= COLOR PICKER ============= */
.color-display {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  transition: var(--ease);
}
.color-display img {
  width: 100%;
  height: auto;
  display: block;
  transition:
    opacity var(--motion-base) var(--ease-out),
    transform var(--motion-slow) var(--ease-out),
    filter var(--motion-slow) var(--ease-out);
  will-change: opacity, transform, filter;
}
.color-display.is-changing img {
  transform: scale(0.98);
  filter: saturate(0.9);
}
@media (hover: hover) {
  .color-display:hover img {
    transform: scale(1.06);
  }
}
.color-options {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
@media (max-width: 767px) {
  .color-options {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 12px;
  }
  .color-options::-webkit-scrollbar {
    height: 0;
  }
  .color-swatch {
    width: 32px;
    height: 32px;
  }
  .color-swatch-img {
    width: 22px;
    height: 22px;
  }
}
.color-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 0;
  border: none;
  transition: var(--ease);
  background: none;
  font-family: inherit;
  flex-shrink: 0;
}
@media (hover: hover) {
  .color-opt:hover {
    transform: translateY(-2px);
  }
}
.color-swatch {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.color-swatch-img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
@media (max-width: 767px) {
  .color-swatch {
    width: 32px;
    height: 32px;
  }
  .color-swatch-img {
    width: 22px;
    height: 22px;
  }
}
.color-opt.active .color-swatch {
  border-color: #00d991;
}
.color-name {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  transition: color 0.3s ease;
}
.color-opt.active .color-name {
  color: var(--primary);
  font-weight: 600;
}

/* ============= BULLETS ============= */
.bullets {
  list-style: none;
}
.bullets li {
  font-size: 12px;
  color: var(--g600);
  margin-bottom: 10px;
  padding-left: 16px;
  position: relative;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .bullets li {
    font-size: 14px;
  }
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ============= APP SECTION ============= */
.sec-dark#app {
  background: #1f1f1f;
}
.sec-dark#battery,
.sec-dark#swap {
  background: #1f1f1f;
}
.app-features {
  border-radius: 8px;
  overflow: hidden;
}
.app-feat-card {
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    border-color var(--motion-base) var(--ease-out),
    background var(--motion-base) var(--ease-out);
}
@media (min-width: 768px) {
  .app-feat-card {
    padding: 24px 20px;
  }
}
@media (hover: hover) {
  .app-feat-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
  }
}
.app-feat-icon {
  width: 36px;
  height: 36px;
}
.app-feat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.app-feat-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}
.app-video-wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
}

/* ============= COST COMPARISON ============= */
.cost-card {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color var(--motion-base) var(--ease-out);
}
@media (min-width: 768px) {
  .cost-card {
    padding: 32px 28px;
  }
}
@media (hover: hover) {
  .cost-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
  }
}
.cost-card-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}
.cost-card-km {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.cost-slider-wrap {
  position: relative;
}
.cost-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(270deg, #00d991 0%, #00d8e6 100%);
  outline: none;
}
.cost-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 6px rgba(0, 179, 119, 0.4);
}
.cost-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 2px solid #fff;
}
.cost-slider::-webkit-slider-runnable-track {
  border-radius: 3px;
}
.cost-compare-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.cost-compare-box {
  flex: 1;
  border-radius: 8px;
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
}
.cost-ev {
  background: #00b377 url("../assets/images/fee-bg-green@2x.png") no-repeat
    center center/cover;
}
.cost-petrol {
  background: #2a2a2a url("../assets/images/fee-bg-gray@2x.png") no-repeat
    center center/cover;
}
.cost-compare-name {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.cost-compare-price {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}
.cost-compare-icon {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 28px;
  opacity: 0.25;
}
.cost-vs {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}
.cost-footnote {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 14px;
}

/* ============= SPEC TABS ============= */
.spec-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 36px;
  flex-wrap: wrap;
  overflow: hidden;
}
.spec-tab {
  padding: 14px 24px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: var(--ease);
  background: none;
  font-family: inherit;
}
@media (min-width: 768px) {
  .spec-tab {
    font-size: 24px;
  }
}
@media (max-width: 767px) {
  .spec-tab {
    padding: 5px 5px;
  }
}
.spec-tab.active {
  color: #fff;
  border-bottom-color: var(--primary);
}
.spec-tab:hover {
  color: rgba(255, 255, 255, 0.7);
}
.spec-panel {
  display: none;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.spec-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* -- Tab 1: Basic Information -- */
.spec-basic-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .spec-basic-layout {
    grid-template-columns: 1fr 1fr;
  }
}
.spec-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
@media (max-width: 767px) {
  .spec-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.spec-info-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 6px;
}
.spec-info-value {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.spec-basic-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.spec-basic-right img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
}

/* -- Tab 2: Battery & Charging -- */
.battery-spec-header {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  background: #1a1a1a;
  border-radius: 8px 8px 0 0;
  padding: 28px 24px 20px;
}
.battery-spec-col {
  text-align: center;
}
.battery-spec-img {
  width: 100px;
  height: auto;
  margin: 0 auto 10px;
}
.battery-spec-name {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}
.battery-spec-val {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
}
.battery-spec-table {
  width: 100%;
  border-collapse: collapse;
}
.battery-spec-table td {
  padding: 12px 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.battery-spec-table tr:last-child td {
  border-bottom: none;
}
.battery-spec-table td.bst-label {
  color: rgba(255, 255, 255, 0.4);
  width: 20%;
  background: rgba(255, 255, 255, 0.03);
  font-weight: 500;
}
.battery-spec-table td:nth-child(2) {
  width: 40%;
}
.battery-spec-table td:nth-child(3) {
  width: 40%;
}
@media (max-width: 600px) {
  .battery-spec-header {
    grid-template-columns: 1fr 1fr;
    padding: 20px 16px;
  }
  .battery-spec-header .battery-spec-label-col {
    display: none;
  }
  .battery-spec-table td {
    padding: 10px 12px;
    font-size: 12px;
  }
}

/* -- Tab 3: Interior & Cargo -- */
.interior-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 767px) {
  .interior-bento {
    grid-template-columns: 1fr;
  }
}
.bento-main {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  grid-row: span 1;
}
.bento-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}
.bento-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #333;
}
.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  font-weight: 500;
}

/* ============= CONTACT SECTION ============= */
.contact-section {
  position: relative;
  min-height: 600px;
  overflow: visible;
}
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-inner {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 24px 40px;
}
@media (max-width: 767px) {
  .contact-inner {
    padding: 30px 16px 20px;
    padding-top: 240px;
  }
}
.contact-card {
  background: #fff;
  border-radius: 8px;
  padding: 48px 44px;
  max-width: 480px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}
@media (max-width: 767px) {
  .contact-card {
    max-width: 100%;
    padding: 24px 12px;
  }
}
.contact-title {
  font-size: 28px;
  font-weight: 800;
  color: #111;
  margin-bottom: 6px;
}
.contact-sub {
  font-size: 14px;
  color: #888;
  margin-bottom: 32px;
}
.cf-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e5e5e5;
  padding: 14px 0;
  gap: 12px;
  transition: border-color var(--motion-base) var(--ease-out);
}
@media (min-width: 768px) {
  .cf-row {
    gap: 16px;
  }
}
.cf-input {
  min-width: 0;
}
.cf-row:last-of-type {
  border-bottom: 1px solid #e5e5e5;
}
.cf-row-scenario {
  position: relative;
  z-index: 50;
}
.cf-label {
  flex-shrink: 0;
  width: 64px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
}
@media (min-width: 768px) {
  .cf-label {
    width: 80px;
  }
}
.cf-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: #222;
  background: transparent;
  font-family: inherit;
  padding: 0;
}
.cf-select {
  min-width: 0;
}
.cf-row:focus-within {
  border-bottom-color: var(--primary);
}
.cf-input::placeholder {
  color: #bbb;
}
.cf-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 20px;
  cursor: pointer;
}
.cf-select.is-placeholder {
  color: #bbb;
}
.cf-select.is-placeholder[data-placeholder-color] {
  color: #b5b5b5;
}
.cf-select option {
  color: #222;
}
.cf-select option[disabled][hidden] {
  display: none;
}

/* Custom Select Dropdown */
.cf-custom-select-wrap {
  flex: 1;
  position: relative;
  min-width: 0;
}
.cf-custom-select-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  padding-right: 20px;
  width: 100%;
}
.cf-custom-select-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cf-custom-select-toggle.is-placeholder .cf-custom-select-text {
  color: #bbb;
}
.cf-custom-select-toggle:not(.is-placeholder) .cf-custom-select-text {
  color: #222;
}
.cf-custom-select-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 8px 0;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-height: 280px;
  overflow-y: auto;
}
.cf-custom-select-dropdown.open {
  display: block;
  animation: dropdownSlideIn 0.25s ease-out;
}
.cf-custom-select-search-wrap {
  padding: 4px 12px 8px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.cf-custom-select-search {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  color: #222;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
.cf-custom-select-search:focus {
  border-color: var(--primary);
}
.cf-custom-select-search::placeholder {
  color: #bbb;
}
.cf-custom-select-list {
  overflow-y: auto;
}
.cf-custom-opt {
  padding: 10px 16px;
  font-size: 14px;
  color: #222;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.cf-custom-opt:hover {
  background: #f5f5f5;
}
.cf-custom-opt.selected {
  color: var(--primary);
  font-weight: 600;
  background: rgba(0, 179, 119, 0.06);
}
.cf-custom-opt.hidden {
  display: none;
}
.cf-row-country {
  position: relative;
  z-index: 60;
}
.cf-row-usage {
  position: relative;
  z-index: 55;
}
@media (max-width: 767px) {
  .cf-row-country .cf-custom-select-wrap,
  .cf-row-usage .cf-custom-select-wrap {
    position: static;
  }
}
.cf-multi-wrap {
  flex: 1;
  position: relative;
}
.cf-multi-toggle {
  cursor: pointer;
  color: #bbb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-right: 20px;
  width: 100%;
}
.cf-multi-toggle.has-value {
  color: #222;
}
.cf-chevron {
  width: 12px;
  height: 12px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.cf-multi-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 8px 0;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-height: 280px;
  overflow-y: auto;
}
@media (max-width: 767px) {
  .cf-row-scenario .cf-multi-wrap {
    position: static;
  }
}
.cf-multi-dropdown.open {
  display: block;
  animation: dropdownSlideIn 0.25s ease-out;
}
.cf-multi-dropdown.open .cf-check-item {
  animation: itemFadeIn 0.3s ease-out both;
}
.cf-multi-dropdown.open .cf-check-item:nth-child(1) {
  animation-delay: 0.03s;
}
.cf-multi-dropdown.open .cf-check-item:nth-child(2) {
  animation-delay: 0.06s;
}
.cf-multi-dropdown.open .cf-check-item:nth-child(3) {
  animation-delay: 0.09s;
}
.cf-multi-dropdown.open .cf-check-item:nth-child(4) {
  animation-delay: 0.12s;
}
.cf-multi-dropdown.open .cf-check-item:nth-child(5) {
  animation-delay: 0.15s;
}
@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes itemFadeIn {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.cf-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 14px;
  color: #222;
  cursor: pointer;
  transition: background 0.15s;
}
.cf-check-item:hover {
  background: #f5f5f5;
}
.cf-check-item input {
  display: none;
}
.cf-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
}
.cf-check-item input:checked ~ .cf-checkbox {
  background: var(--primary);
  border-color: var(--primary);
}
.cf-check-item input:checked ~ .cf-checkbox::after {
  content: "\2713";
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.cf-submit {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 28px;
  background: #bbb;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.cf-submit.ready {
  background: var(--primary);
}
.cf-submit.ready:hover {
  background: var(--primary-dark);
}
@media (max-width: 767px) {
  .cf-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .cf-label {
    width: auto;
    font-size: 12px;
  }
  .cf-input {
    width: 100%;
    font-size: 16px;
  }
  .cf-select,
  .cf-multi-toggle {
    font-size: 16px;
  }
}

/* ============= FOOTER ============= */
.footer {
  position: relative;
  z-index: 1;
  height: auto;
  background: rgba(8, 29, 69, 0);
  box-shadow: 0px -1px 0px 0px rgba(255, 255, 255, 0.2);
  padding: 16px 24px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
@media (max-width: 767px) {
  .footer-social-row {
    order: 1;
  }
  .footer-addr {
    order: 2;
  }
  .footer-text {
    order: 3;
  }
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-addr {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-pin {
  margin-right: 4px;
}
.footer-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}
.footer-social {
  color: #fff;
  transition:
    background 0.2s,
    color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.footer-social:hover {
  background: rgba(255, 255, 255, 0.28);
}
.footer-top {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  transition:
    opacity var(--motion-base) var(--ease-out),
    transform var(--motion-base) var(--ease-out),
    border-color var(--motion-base) var(--ease-out),
    color var(--motion-base) var(--ease-out);
  position: fixed;
  right: 24px;
  bottom: 80px;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.footer-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.footer-top:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* ============= ANIMATIONS ============= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition:
    opacity var(--motion-slow) var(--ease-out),
    transform var(--motion-slow) var(--ease-out),
    filter var(--motion-slow) var(--ease-out);
  will-change: opacity, transform, filter;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.slide-left {
  opacity: 0;
  transform: translateX(-36px);
  filter: blur(6px);
  transition:
    opacity var(--motion-slow) var(--ease-out),
    transform var(--motion-slow) var(--ease-out),
    filter var(--motion-slow) var(--ease-out);
  will-change: opacity, transform, filter;
}
.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}
.slide-right {
  opacity: 0;
  transform: translateX(36px);
  filter: blur(6px);
  transition:
    opacity var(--motion-slow) var(--ease-out),
    transform var(--motion-slow) var(--ease-out),
    filter var(--motion-slow) var(--ease-out);
  will-change: opacity, transform, filter;
}
.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}
.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(6px);
  transition:
    opacity var(--motion-base) var(--ease-out),
    transform var(--motion-base) var(--ease-out),
    filter var(--motion-base) var(--ease-out);
  will-change: opacity, transform, filter;
}
.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.stagger.visible > *:nth-child(1) {
  transition-delay: 0.05s;
}
.stagger.visible > *:nth-child(2) {
  transition-delay: 0.12s;
}
.stagger.visible > *:nth-child(3) {
  transition-delay: 0.19s;
}
.stagger.visible > *:nth-child(4) {
  transition-delay: 0.26s;
}
.stagger.visible > *:nth-child(5) {
  transition-delay: 0.33s;
}
.stagger.visible > *:nth-child(6) {
  transition-delay: 0.4s;
}

@keyframes hero-kenburns {
  0% {
    transform: scale(1.02) translateY(0);
  }
  100% {
    transform: scale(1.08) translateY(2%);
  }
}

@keyframes hero-glow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse var(--motion-fast) var(--ease-out);
}

.cost-card-km,
.cost-compare-price {
  display: inline-block;
  transform-origin: left center;
}

/* ============= IMAGE PLACEHOLDERS ============= */
.ph {
  background: var(--g100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g400);
  font-size: 12px;
  letter-spacing: 0.5px;
  overflow: hidden;
  min-height: 120px;
}
.ph.dark {
  background: var(--dark-3);
  color: var(--g600);
}

/* ============= DESKTOP MIN FONT-SIZE 14px ============= */
@media (min-width: 768px) {
  .btn-green {
    font-size: 14px;
  }
  .hero-stat-value {
    font-size: 14px;
  }
  .hero-stat-label {
    font-size: 14px;
  }
  .color-name {
    font-size: 14px;
  }
  .app-feat-desc {
    font-size: 14px;
  }
  .cost-card-label {
    font-size: 14px;
  }
  .cost-compare-name {
    font-size: 14px;
  }
  .cost-vs {
    font-size: 14px;
  }
  .cost-footnote {
    font-size: 14px;
  }
  .spec-info-label {
    font-size: 14px;
  }
  .battery-spec-name {
    font-size: 14px;
  }
  .battery-spec-table td {
    font-size: 14px;
  }
  .bento-caption {
    font-size: 14px;
  }
  .footer-addr {
    font-size: 14px;
  }
  .footer-text {
    font-size: 14px;
  }
  .ph {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-bg img,
  .hero-overlay {
    animation: none !important;
    transform: none !important;
  }
}
