/* ============================================
   ROYAL MAGNUM EV — PREMIUM LIGHT DESIGN SYSTEM
   Inspired by Ather Energy, Ola Electric, Tesla
   Clean · Elegant · Sophisticated · Premium
   ============================================ */

/* ── CSS Custom Properties (Design Tokens) ── */
:root {
  /* Premium Light Palette */
  --bg-primary: #FFFFFF;
  --bg-surface: #F8F9FA;
  --bg-card: #FFFFFF;
  --bg-elevated: #F1F3F5;
  --bg-hero: #0F172A;
  --bg-dark-section: #0F172A;
  --bg-dark-card: #1E293B;

  /* Accent — Rich Emerald (not neon) */
  --accent: #059669;
  --accent-hover: #047857;
  --accent-light: #D1FAE5;
  --accent-subtle: rgba(5, 150, 105, 0.06);
  --accent-border: rgba(5, 150, 105, 0.15);
  --accent-glow: rgba(5, 150, 105, 0.12);

  /* Secondary — Deep Navy */
  --navy: #0F172A;
  --navy-light: #1E293B;
  --navy-muted: #334155;

  /* Text — Rich Hierarchy */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-dim: #CBD5E1;
  --text-on-dark: #F8FAFC;
  --text-on-dark-muted: #94A3B8;

  /* Borders */
  --border-subtle: #E2E8F0;
  --border-light: #F1F5F9;
  --border-strong: #CBD5E1;

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1280px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  /* Premium Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 60px rgba(0, 0, 0, 0.1), 0 12px 28px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.05), 0 8px 24px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-surface);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: white;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease-out-quart);
}

img { max-width: 100%; height: auto; }

/* ── Loading Screen ── */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo {
  width: 56px;
  height: 56px;
  border: 2px solid var(--accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loadingPulse 1.5s ease-in-out infinite;
}

.loading-logo svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.loading-bar {
  width: 120px;
  height: 2px;
  background: var(--border-subtle);
  margin-top: 24px;
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  animation: loadingSlide 1s ease-in-out infinite;
}

@keyframes loadingPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

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

/* ══════════════════════════════════════════════
   PREMIUM NAVIGATION
   ══════════════════════════════════════════════ */
.glass-nav {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02) !important;
}

.glass-nav.scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

.nav-link {
  position: relative;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-logo-glow {
  animation: none;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.nav-logo-glow:hover {
  box-shadow: var(--shadow-lg);
}

/* ── Dropdown ── */
.dropdown-menu {
  background: white;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  border-bottom: 1px solid var(--border-light);
}

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

.dropdown-item:hover {
  background: var(--accent-subtle);
  color: var(--accent);
  padding-left: 24px;
}

/* ══════════════════════════════════════════════
   PREMIUM GLASS CARDS
   ══════════════════════════════════════════════ */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  transition: all 0.5s var(--ease-out-expo);
}

.glass-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

/* ── Tilt Card ── */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.tilt-card:hover {
  box-shadow: var(--shadow-xl);
}

.tilt-card .tilt-inner {
  transform: translateZ(30px);
  transition: transform 0.4s var(--ease-out-expo);
}

/* ══════════════════════════════════════════════
   PREMIUM BUTTONS
   ══════════════════════════════════════════════ */
.glow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--accent);
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.glow-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glow-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.35);
}

.glow-btn:hover::before { opacity: 1; }

.glow-btn:active {
  transform: translateY(0) scale(0.98);
}

.glow-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
}

.glow-btn-outline:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ══════════════════════════════════════════════
   TEXT EFFECTS
   ══════════════════════════════════════════════ */
.text-gradient {
  background: linear-gradient(135deg, var(--accent), #0891B2, var(--accent));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}

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

.neon-text {
  color: var(--accent);
  text-shadow: none;
}

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

.text-reveal { overflow: hidden; }
.text-reveal span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.8s var(--ease-out-expo);
}
.text-reveal.revealed span { transform: translateY(0); }

/* ══════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════ */
.section-dark {
  background: var(--bg-primary);
  position: relative;
}

.section-darker {
  background: var(--bg-surface);
  position: relative;
}

.section-surface {
  background: var(--bg-surface);
  position: relative;
}

/* Dark sections (hero, CTAs, footer) */
.section-hero {
  background: var(--bg-hero);
  color: var(--text-on-dark);
  position: relative;
}

/* ── Glow Border ── */
.glow-border {
  position: relative;
}
.glow-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent-border), transparent 40%, transparent 60%, var(--accent-border));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.glow-border:hover::before { opacity: 1; }

/* ── Float Animation ── */
.float-animation { animation: floatUpDown 6s ease-in-out infinite; }
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

/* ── Particle Background ── */
.particle-bg { position: relative; overflow: hidden; }
.particle-bg canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}

/* ── Glow Orb ── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.glow-orb-green {
  background: radial-gradient(circle, rgba(5, 150, 105, 0.08), transparent 70%);
}
.glow-orb-blue {
  background: radial-gradient(circle, rgba(8,145,178,0.08), transparent 70%);
}

/* ══════════════════════════════════════════════
   SPEC COUNTER STATS
   ══════════════════════════════════════════════ */
.spec-stat {
  text-align: center;
  padding: 20px;
}

.spec-stat .stat-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--text-primary);
  line-height: 1;
}

.spec-stat .stat-unit {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-left: 4px;
}

.spec-stat .stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 8px;
}

/* ── Feature Icon Box ── */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.4s var(--ease-out-expo);
  flex-shrink: 0;
}

.glass-card:hover .icon-box,
.tilt-card:hover .icon-box {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

/* ══════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════ */
.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

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

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  transition: all 0.3s ease;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* ══════════════════════════════════════════════
   BADGES
   ══════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.badge-accent {
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.badge-white {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.badge-dark {
  background: var(--navy);
  color: white;
}

/* ── Divider ── */
.neon-divider {
  height: 1px;
  background: var(--border-subtle);
  border: none;
  margin: 0;
}

/* ── Magnetic Button ── */
.magnetic-btn {
  display: inline-block;
  transition: transform 0.3s var(--ease-out-expo);
}

/* ── Speed Lines (subtle for light) ── */
.speed-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.speed-lines::before,
.speed-lines::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.1), transparent);
  animation: speedLine 3s linear infinite;
}

.speed-lines::before { top: 30%; left: -50%; }
.speed-lines::after { top: 70%; left: -50%; animation-delay: 1.5s; }

@keyframes speedLine {
  0% { transform: translateX(-30%); opacity: 0; }
  50% { opacity: 0.6; }
  100% { transform: translateX(30%); opacity: 0; }
}

/* ── Scroll Reveals ── */
.reveal-up { opacity: 0; transform: translateY(60px); }
.reveal-left { opacity: 0; transform: translateX(-60px); }
.reveal-right { opacity: 0; transform: translateX(60px); }
.reveal-scale { opacity: 0; transform: scale(0.9); }

/* ── Product Image ── */
.product-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--bg-surface);
}

.product-image-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--bg-card), transparent);
  pointer-events: none;
  z-index: 2;
}

.product-image-container img {
  transition: transform 0.7s var(--ease-out-expo);
}

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

/* ── Grid Background ── */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Social Icons ── */
.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark-muted);
  transition: all 0.4s var(--ease-out-expo);
}

.social-icon:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
  transform: translateY(-3px);
}

/* ── Newsletter ── */
.newsletter-input {
  display: flex;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.newsletter-input:focus-within {
  border-color: var(--accent);
}

.newsletter-input input {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: none;
  color: white;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

.newsletter-input input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-input button {
  padding: 14px 24px;
  background: var(--accent);
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-input button:hover { background: var(--accent-hover); }

/* ── Scrolling Ticker ── */
.ticker-strip {
  display: flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  will-change: transform;
}
.ticker-strip:hover { animation-play-state: paused; }

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ticker-item .ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Process Steps ── */
.process-step {
  position: relative;
  padding-left: 60px;
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  border: 1px solid var(--accent-border);
}

.process-step::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 48px;
  bottom: -32px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-border), transparent);
}

.process-step:last-child::after { display: none; }

/* ── Color Swatch ── */
.color-swatch {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.3s ease;
}

.color-swatch:hover,
.color-swatch.active {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
  transform: scale(1.1);
}

/* ── Comparison Table ── */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.comparison-table th {
  padding: 16px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border-bottom: 2px solid var(--border-subtle);
}

.comparison-table td {
  padding: 16px 24px;
  color: var(--text-secondary);
  font-size: 15px;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tbody tr { transition: background 0.2s ease; }
.comparison-table tbody tr:hover { background: var(--accent-subtle); }

/* ── Responsive ── */
@media (max-width: 768px) {
  :root { --section-padding: 80px; }
  .spec-stat .stat-value { font-size: 2.5rem; }
  .glass-card { border-radius: 20px; }
  .glow-btn, .glow-btn-outline { padding: 14px 28px; font-size: 14px; }
}

@media (max-width: 480px) {
  :root { --section-padding: 60px; }
  .spec-stat .stat-value { font-size: 2rem; }
}

/* ── Page Transition ── */
.page-content {
  animation: pageReveal 0.6s var(--ease-out-expo);
}

@keyframes pageReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Pulse Ring ── */
.pulse-ring { position: relative; }
.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulseRing 2s ease-in-out infinite;
}

@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ══════════════════════════════════════════════
   DARK SECTIONS (Hero, Footer, CTAs)
   Override colors for sections that stay dark
   ══════════════════════════════════════════════ */
.section-hero .hero-text,
.section-hero h1,
.section-hero h2 {
  color: white;
}

.section-hero .text-gradient {
  background: linear-gradient(135deg, #34D399, #06B6D4, #34D399);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}

/* Override inline bg colors from pages */
main[class*="bg-[#0A0A0A]"] {
  background: var(--bg-primary) !important;
  color: var(--text-primary) !important;
}

main[class*="bg-black"] {
  background: var(--bg-primary) !important;
}

/* Force dark text on stat-number inside light sections */
.stat-number {
  color: inherit;
}

/* ── Noise Overlay (subtle) ── */
.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ══════════════════════════════════════════════
   LEAD GENERATION STRIP
   ══════════════════════════════════════════════ */
.lead-strip {
  background: linear-gradient(135deg, #059669, #047857);
  padding: 16px 0;
  position: relative;
  overflow: hidden;
}

.lead-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  animation: leadShimmer 3s ease-in-out infinite;
}

@keyframes leadShimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.lead-form-box {
  background: white;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  padding: 32px;
  position: relative;
}

.lead-form-box .form-input {
  background: var(--bg-surface);
  border-color: var(--border-subtle);
}

.lead-form-box .form-input:focus {
  background: white;
}

/* ══════════════════════════════════════════════
   PRODUCT IMAGE GALLERY SLIDER
   ══════════════════════════════════════════════ */
.gallery-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.gallery-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.gallery-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/10;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
}

.gallery-nav:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(5,150,105,0.3);
  transform: translateY(-50%) scale(1.08);
}

.gallery-nav.prev { left: 16px; }
.gallery-nav.next { right: 16px; }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: white;
  border-top: 1px solid var(--border-light);
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--border-strong);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-dot.active {
  width: 28px;
  background: var(--accent);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  z-index: 5;
}

.gallery-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  z-index: 10;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

