/* ============================================
   REBEL INDIA ELECTRIC VEHICLES
   Premium Futuristic Design System v2
   — With Light/Dark Theme Support
   ============================================ */

/* --- Google Fonts: Premium Stack --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties (Dark Theme — Default) --- */
:root {
  /* Backgrounds */
  --bg-primary: #050505;
  --bg-secondary: #0c0c0c;
  --bg-tertiary: #161616;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.07);
  --bg-nav: rgba(5, 5, 5, 0.85);

  /* Accent */
  --accent: #00FF88;
  --accent-rgb: 0, 255, 136;
  --accent-dim: rgba(0, 255, 136, 0.1);
  --accent-glow: rgba(0, 255, 136, 0.25);
  --accent-glow-strong: rgba(0, 255, 136, 0.5);
  --saffron: #FF9933;
  --saffron-dim: rgba(255, 153, 51, 0.12);

  /* Text */
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
  --text-muted: #555555;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(0, 255, 136, 0.2);

  /* Logo */
  --logo-color: #ffffff;
  --logo-bg: #0a0a0a;

  /* Fonts */
  --font-heading: 'Space Grotesk', 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Poppins', sans-serif;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-glow: 0 0 25px rgba(0, 255, 136, 0.12);
  --shadow-glow-hover: 0 0 40px rgba(0, 255, 136, 0.25);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-float: 0 20px 60px rgba(0, 0, 0, 0.4);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-theme: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1240px;
  --section-padding: 120px 0;
  --section-padding-mobile: 72px 0;
}

/* --- Light Theme --- */
[data-theme="light"] {
  --bg-primary: #fafafa;
  --bg-secondary: #f0f0f0;
  --bg-tertiary: #e8e8e8;
  --bg-card: rgba(0, 0, 0, 0.02);
  --bg-glass: rgba(0, 0, 0, 0.03);
  --bg-glass-hover: rgba(0, 0, 0, 0.06);
  --bg-nav: rgba(250, 250, 250, 0.88);

  --accent: #00B85E;
  --accent-rgb: 0, 184, 94;
  --accent-dim: rgba(0, 184, 94, 0.08);
  --accent-glow: rgba(0, 184, 94, 0.2);
  --accent-glow-strong: rgba(0, 184, 94, 0.4);
  --saffron: #E8851E;
  --saffron-dim: rgba(232, 133, 30, 0.1);

  --text-primary: #111111;
  --text-secondary: #555555;
  --text-muted: #999999;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(0, 184, 94, 0.25);

  --logo-color: #111111;
  --logo-bg: #f0f0f0;

  --shadow-glow: 0 0 25px rgba(0, 184, 94, 0.1);
  --shadow-glow-hover: 0 0 40px rgba(0, 184, 94, 0.2);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.08);
  --shadow-float: 0 20px 60px rgba(0, 0, 0, 0.06);
}

/* --- Theme Transition --- */
body,
body *:not(script):not(style) {
  transition-property: background-color, border-color, color, box-shadow, fill, stroke, opacity;
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Exclude animations from theme transition */
.reveal,
.particle,
.scooter-silhouette,
.hero-ring,
.battery-unit,
.whatsapp-float,
.nav-toggle span {
  transition: none !important;
}

/* Re-enable specific transitions */
.reveal {
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Section --- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header h2 {
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.9;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 14px;
  position: relative;
  padding-left: 44px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 32px;
  height: 1.5px;
  background: var(--accent);
  transform: translateY(-50%);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow-hover);
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.35);
  transform: translateY(-3px);
}

.btn-call {
  background: var(--accent);
  color: #000;
}

.btn-call:hover {
  box-shadow: var(--shadow-glow-hover);
  transform: translateY(-3px);
}

.btn-store {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-store:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  height: 46px;
  width: auto;
  display: block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
  color: var(--logo-color);
}

.nav-logo:hover img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.3));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-cta {
  padding: 11px 26px;
  background: var(--accent) !important;
  color: #000 !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.nav-cta:hover {
  box-shadow: var(--shadow-glow-hover);
  transform: translateY(-1px);
}

/* --- Theme Toggle --- */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-normal);
  color: var(--text-secondary);
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glow);
  color: var(--accent);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-normal);
  border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-bg .hero-video-poster {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(0,255,136,0.03) 50%, var(--bg-primary) 100%);
  background-size: cover;
  background-position: center;
}

.hero-bg .hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 5, 5, 0.95) 0%,
    rgba(5, 5, 5, 0.88) 40%,
    rgba(5, 5, 5, 0.65) 70%,
    rgba(5, 5, 5, 0.45) 100%
  );
  z-index: 1;
}

[data-theme="light"] .hero-bg .hero-video-overlay {
  background: linear-gradient(
    to right,
    rgba(250, 250, 250, 0.97) 0%,
    rgba(250, 250, 250, 0.92) 40%,
    rgba(250, 250, 250, 0.75) 70%,
    rgba(250, 250, 250, 0.55) 100%
  );
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb), 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  z-index: 3;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: var(--accent-dim);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  margin-bottom: 22px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero h1 .highlight {
  color: var(--accent);
  position: relative;
}

.hero-hindi {
  font-family: var(--font-accent);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.6;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.85;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat h3 {
  color: var(--accent);
  font-size: 1.9rem;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.hero-stat p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-scooter {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  position: relative;
}

.hero-scooter-visual {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, var(--accent-dim) 0%, transparent 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.scooter-silhouette {
  font-size: 8rem;
  filter: drop-shadow(0 0 40px var(--accent-glow));
  animation: scooterFloat 4s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes scooterFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-glow);
  animation: ringPulse 3s ease-in-out infinite;
}

.hero-ring-1 { inset: 5%; animation-delay: 0s; }
.hero-ring-2 { inset: -5%; animation-delay: 1s; }
.hero-ring-3 { inset: -15%; animation-delay: 2s; }

@keyframes ringPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* --- USP Section --- */
.usps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.usp-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.usp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.usp-card:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.usp-card:hover::before {
  opacity: 1;
}

.usp-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  background: var(--accent-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.usp-card h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.usp-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Product Showcase --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-8px);
  box-shadow: var(--shadow-float);
}

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

.product-card-image {
  height: 280px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 80%, var(--accent-dim) 0%, transparent 60%);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-normal);
}

.product-card-image img[src$=".jpg"],
.product-card-image img[src$=".png"],
.product-card-image img[src$=".webp"] {
  object-fit: cover;
  width: 100%;
  height: 100%;
  padding: 0;
}

.product-card-image img[src$=".svg"] {
  object-fit: contain;
  padding: 20px;
}

.product-emoji {
  font-size: 5rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px var(--accent-glow));
  display: none;
}

.product-card-body {
  padding: 30px;
}

.product-card-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.product-card-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 22px;
  font-style: italic;
}

.product-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  transition: gap var(--transition-fast);
  letter-spacing: 0.01em;
}

.product-card-cta:hover {
  gap: 14px;
}

.product-card-cta svg {
  width: 16px;
  height: 16px;
}

/* --- Battery Section --- */
.battery-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.battery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.battery-visual {
  position: relative;
}

.battery-illustration {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
}

.battery-stack {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.battery-unit {
  width: 60px;
  height: 100px;
  background: var(--accent-dim);
  border: 2px solid var(--border-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-normal);
}

.battery-unit.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  color: #000;
}

.battery-label {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.battery-content h2 {
  margin-bottom: 18px;
}

.battery-content > p {
  margin-bottom: 36px;
  font-size: 1.06rem;
  line-height: 1.9;
}

.battery-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.battery-feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px;
  background: var(--bg-glass);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.battery-feature:hover {
  border-color: var(--border-glow);
}

.battery-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.battery-feature h4 {
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.battery-feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Why Rebel Section --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-normal);
}

.why-card:hover {
  border-color: var(--border-glow);
  background: var(--bg-glass-hover);
  transform: translateY(-3px);
}

.why-card-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.why-card h4 {
  margin-bottom: 10px;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Brand Story Section --- */
.brand-story {
  background: var(--bg-secondary);
}

.brand-story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.brand-story-content h2 {
  margin-bottom: 28px;
}

.brand-story-content > p {
  font-size: 1.08rem;
  line-height: 1.95;
  margin-bottom: 22px;
}

.brand-story-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--accent);
  font-style: italic;
  margin-top: 36px;
  padding: 28px;
  border-left: 3px solid var(--accent);
  text-align: left;
  letter-spacing: -0.02em;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(var(--accent-rgb), 0.04) 50%, var(--bg-secondary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  margin-bottom: 18px;
}

.cta-section > .container > p {
  margin-bottom: 40px;
  font-size: 1.08rem;
}

.cta-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 18px;
  color: var(--logo-color);
  transition: filter var(--transition-fast);
}

.footer-brand .footer-logo:hover {
  filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), 0.25));
}

.footer-brand h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  display: none;
}

.footer-brand h3 span {
  color: var(--accent);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 5px 0;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

/* --- Sticky WhatsApp --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-normal);
  font-size: 1.6rem;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 32px rgba(37, 211, 102, 0.6);
}

/* --- Admin Panel Float Icon --- */
.admin-float {
  position: fixed;
  bottom: 28px;
  right: 100px;
  z-index: 999;
  width: 46px;
  height: 46px;
  background: var(--bg-card, #1a1a1a);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: all 0.3s;
  color: var(--text-muted, #888);
  text-decoration: none;
}
.admin-float:hover {
  border-color: var(--accent, #00FF88);
  color: var(--accent, #00FF88);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0,255,136,0.25);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* --- Models Page --- */
.models-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
}

.models-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 11px 28px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
  letter-spacing: 0.01em;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

/* --- Product Detail Page --- */
.product-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.product-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-hero-image {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 80%, var(--accent-dim) 0%, transparent 60%);
}

.product-hero-image img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-hero-image img[src$=".jpg"],
.product-hero-image img[src$=".png"],
.product-hero-image img[src$=".webp"] {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.product-hero-image .product-emoji {
  font-size: 8rem;
  display: none;
}

.product-hero-info h1 {
  margin-bottom: 10px;
  letter-spacing: -0.04em;
}

.product-tagline {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.product-desc {
  font-size: 1.06rem;
  margin-bottom: 36px;
  line-height: 1.85;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.spec-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all var(--transition-normal);
}

.spec-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.spec-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.spec-value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.product-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Expandable battery note */
.battery-note {
  background: var(--accent-dim);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  margin-top: 28px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.battery-note-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.battery-note p {
  font-size: 0.9rem;
  color: var(--accent);
  line-height: 1.6;
}

/* Product features section */
.product-features {
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  transition: all var(--transition-normal);
}

.feature-item:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.feature-item h4 {
  font-size: 0.98rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- About Page --- */
.about-hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
}

.about-story {
  max-width: 800px;
  margin: 0 auto;
}

.about-story p {
  font-size: 1.08rem;
  margin-bottom: 22px;
  line-height: 1.95;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mission-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: all var(--transition-normal);
}

.mission-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.mission-card-icon {
  font-size: 2.5rem;
  margin-bottom: 18px;
}

.mission-card h4 {
  margin-bottom: 10px;
}

.mission-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Indian flag accent line */
.india-stripe {
  height: 3px;
  background: linear-gradient(90deg, var(--saffron) 33%, #ffffff 33%, #ffffff 66%, #138808 66%);
  margin: 44px 0;
  border-radius: 2px;
}

/* --- Contact Page --- */
.contact-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-form-wrap {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
}

.contact-form-wrap h3 {
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group select option {
  background: var(--bg-primary);
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all var(--transition-normal);
}

.contact-info-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-info-card h4 {
  font-size: 0.98rem;
  margin-bottom: 5px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-map {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.8) brightness(0.7) contrast(1.2);
}

[data-theme="light"] .contact-map iframe {
  filter: grayscale(0.3) brightness(0.95) contrast(1.05);
}

/* --- Page Header (Shared) --- */
.page-header {
  padding-top: 140px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  text-align: center;
}

.page-header h1 {
  margin-bottom: 14px;
}

.page-header p {
  font-size: 1.08rem;
  max-width: 500px;
  margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-scooter {
    max-width: 350px;
  }

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

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

  .battery-grid {
    grid-template-columns: 1fr;
  }

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

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

  .product-hero .container {
    grid-template-columns: 1fr;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-nav);
    backdrop-filter: blur(24px) saturate(1.4);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 44px;
    transition: right var(--transition-normal);
    border-left: 1px solid var(--border-subtle);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-scooter {
    max-width: 280px;
  }

  .scooter-silhouette {
    font-size: 5rem;
  }

  .hero-stats {
    gap: 28px;
  }

  .usps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .usp-card {
    padding: 28px 22px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .models-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }

  .product-ctas {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section-header {
    margin-bottom: 44px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

  .battery-stack {
    flex-wrap: wrap;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 18px;
    right: 18px;
    font-size: 1.3rem;
  }

  .admin-float {
    width: 40px;
    height: 40px;
    bottom: 18px;
    right: 78px;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* --- Utility --- */
.text-accent {
  color: var(--accent);
}

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

.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}