/* ==========================================================================
   ZYDER DESIGN SYSTEM & CORE STYLING
   ========================================================================== */

/* Variables */
:root {
  --bg-primary: #060a13;
  --bg-secondary: #0a1122;
  --bg-card: rgba(13, 21, 38, 0.65);
  --bg-card-hover: rgba(19, 30, 54, 0.85);
  
  --border-color: rgba(255, 255, 255, 0.07);
  --border-color-hover: rgba(255, 255, 255, 0.15);
  
  --color-green: #00ff66;
  --color-green-rgb: 0, 255, 102;
  --color-green-glow: rgba(0, 255, 102, 0.35);
  --color-green-hover: #12ff73;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --font-headings: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
  /* Global 3D perspective for scroll animations */
  perspective: 2000px;
}

/* Custom Selection */
::selection {
  background: var(--color-green-glow);
  color: var(--text-primary);
}

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

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

strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ==========================================================================
   SCROLLBAR & DECORATIVE BACKGROUNDS
   ========================================================================== */

/* Custom scrollbar for premium feel */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--color-green-rgb), 0.4);
}

/* Custom interactive mouse cursor glow */
.cursor-glow {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--color-green-rgb), 0.08) 0%, rgba(var(--color-green-rgb), 0) 70%);
  position: fixed;
  top: 50%;
  left: 50%;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  mix-blend-mode: screen;
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
  will-change: transform;
}

/* Background gradient nodes (Sierra style) */
.bg-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  contain: paint;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  will-change: transform;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.2) 0%, rgba(13, 21, 38, 0) 70%);
  top: -10%;
  right: -5%;
  animation: orbFloat 25s infinite alternate ease-in-out;
}

.orb-2 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(6, 10, 19, 0) 75%);
  bottom: -15%;
  left: -10%;
  animation: orbFloat 35s infinite alternate ease-in-out 3s;
}

.orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(6, 10, 19, 0) 70%);
  top: 40%;
  left: 35%;
  animation: orbFloat 20s infinite alternate ease-in-out 1.5s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.1); }
  100% { transform: translate(-30px, 60px) scale(0.95); }
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(6, 10, 19, 0.75);
  transition: var(--transition-fast);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo styling */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background-color: var(--color-green);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--color-green-glow);
}

.logo-text {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

/* Hamburger button — hidden on desktop, shown on mobile */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  margin-left: 8px;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile slide-down menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: rgba(6, 10, 19, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 999;
  flex-direction: column;
  padding: 8px 0;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-nav-link {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 15px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease, background 0.2s ease;
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: var(--color-green);
  background: rgba(0, 255, 102, 0.05);
}

@media (max-width: 768px) {
  .hamburger-btn {
    display: flex;
  }
  .nav-menu {
    display: none !important;
  }
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1 1 0;
  justify-content: center;
  min-width: 0;
}

.nav-link {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-green);
  transition: var(--transition-fast);
  box-shadow: 0 0 8px var(--color-green-glow);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* ==========================================================================
   BUTTONS & ACCENTS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-bounce);
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-green);
  color: #060a13;
  box-shadow: 0 4px 20px rgba(0, 255, 102, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 255, 102, 0.35);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-large {
  padding: 14px 28px;
  font-size: 0.95rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-headings);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-green);
  padding: 6px 12px;
  border-radius: 4px;
  background-color: rgba(0, 255, 102, 0.06);
  border: 1px solid rgba(0, 255, 102, 0.15);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.glow-badge {
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.1);
}

.highlight-green {
  color: var(--color-green);
  position: relative;
  text-shadow: 0 0 20px rgba(0, 255, 102, 0.15);
}

/* ==========================================================================
   STICKY SIDE NAVIGATOR (Presentation-style) - COMPLETELY STATIC
   ========================================================================== */

.side-navigation {
  position: fixed !important;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
  width: 80px;
  height: 320px;
  z-index: 9999;
  pointer-events: none;
  bottom: auto;
}

.side-nav-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.side-nav-items-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.side-nav-item {
  position: absolute;
  left: 0;
  width: 40px;
  height: 40px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.side-nav-label {
  position: absolute;
  right: 50px;
  font-family: var(--font-headings);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  background-color: rgba(13, 21, 38, 0.95);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.side-nav-item:hover .side-nav-label {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   SECTIONS & LAYOUT SYSTEM
   ========================================================================== */

.section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  /* 3D context for children */
  transform-style: preserve-3d;
}

.section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.section-header {
  max-width: 750px;
  margin-bottom: 50px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Slide footer reference text */
.slide-footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 60px;
  padding-top: 20px;
  font-family: var(--font-headings);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   01 HERO SECTION & SMART ROUTING SVG
   ========================================================================== */

.hero-section {
  padding-top: 160px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: clamp(24px, 4vw, 40px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

/* ==========================================================================
   02 THE CONTEXT - GLOW CARDS GRID
   ========================================================================== */

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

.glow-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 32px) clamp(16px, 2vw, 24px);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-fast);
  transform-style: preserve-3d;
}

.glow-card:hover {
  transform: translateY(-4px) translateZ(20px);
  border-color: rgba(255,255,255,0.12);
  background-color: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25), 0 0 20px rgba(0, 255, 102, 0.1);
}

/* Hover-glow overlay circle controlled by mouse position */
.card-border-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255,255,255,0.06), transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.glow-card > :not(.card-border-glow) {
  position: relative;
  z-index: 2;
}

.card-num {
  font-family: var(--font-headings);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--color-green);
  margin-bottom: clamp(16px, 2vw, 24px);
}

.card-heading {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.card-desc {
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   03 WHO WE ARE - METRICS & CHARGE VISUALIZER
   ========================================================================== */

.who-we-are-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 30px;
}

.horizontal-divider-green {
  width: 60px;
  height: 3px;
  background-color: var(--color-green);
  box-shadow: 0 0 10px var(--color-green-glow);
}

.metric-glass-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 40px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transform-style: preserve-3d;
}

.metric-tag {
  font-family: var(--font-headings);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.main-number-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 16px;
}

.massive-number {
  font-family: var(--font-headings);
  font-size: clamp(3rem, 5vw, 6.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.massive-number-plus {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-green);
  margin-left: 4px;
}

.metric-explanation {
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.metric-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 30px;
}

.sub-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.sub-metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sub-metric-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.sub-metric-val {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Charge progress visualization */
.battery-visualizer-container {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background-color: rgba(6, 10, 19, 0.4);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.battery-icon {
  width: 45px;
  height: 24px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  position: relative;
  padding: 2.5px;
}

.battery-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5.5px;
  transform: translateY(-50%);
  width: 3px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 0 2px 2px 0;
}

.battery-level {
  height: 100%;
  width: 0%;
  background-color: var(--color-green);
  border-radius: 1px;
  box-shadow: 0 0 10px var(--color-green-glow);
  transition: width 0.3s ease;
}

.battery-status-text {
  font-family: var(--font-headings);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ==========================================================================
   04 WHAT WE OFFER - STICKY STACKING DECK
   ========================================================================== */

.grid-2-sticky {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.what-we-offer-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.deck-indicators {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  padding-left: 4px;
}

.deck-indicator-item {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.35;
  transition: var(--transition-fast);
}

.deck-indicator-item.active {
  opacity: 1;
}

.ind-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-green-glow);
  transform: scale(0);
  transition: var(--transition-bounce);
}

.deck-indicator-item.active .ind-dot {
  transform: scale(1);
}

.ind-num {
  font-family: var(--font-headings);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.ind-label {
  font-family: var(--font-headings);
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}

/* Stacking cards container */
.stack-cards-deck {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding-bottom: 120px; /* Space for the last card to scroll completely */
}

.stack-card {
  position: sticky;
  top: calc(120px + (var(--card-index) * 35px));
  min-height: 400px;
  background-color: rgba(9, 16, 30, 0.98); /* Opaque dark slate backdrop */
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.4), 0 30px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform 0.5s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
}

.stack-card:hover {
  border-color: rgba(var(--color-green-rgb), 0.3);
  transform: translateZ(10px);
}

.stack-card-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  height: 100%;
}

.stack-card-text {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vw, 14px);
}

.stack-card-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.stack-card-desc {
  font-size: clamp(0.8rem, 1.5vw, 0.88rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

.stack-card-visual {
  background-color: rgba(6, 10, 19, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding: clamp(16px, 2vw, 24px);
  height: clamp(200px, 30vw, 300px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Stacking visual adjustments */
.stack-card-visual .fleet-grid-simulator {
  margin: 0;
  gap: 12px;
}

.stack-card-visual .fleet-car-card {
  padding: 12px;
}

.stack-card-visual .routing-map-simulator {
  margin: 0;
  height: 100%;
  width: 100%;
}

.stack-card-visual .safety-dashboard-simulator {
  margin: 0;
  gap: 12px;
}

.stack-card-visual .carbon-accounting-simulator {
  margin: 0;
  gap: 24px;
}

.stack-card-visual .carbon-live-counter {
  padding: 16px;
}

.stack-card-visual .carbon-chart-comparison {
  gap: 12px;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .grid-2-sticky {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .what-we-offer-intro {
    position: static;
  }
  
  .stack-card {
    position: static !important;
    margin-bottom: 24px;
    min-height: auto;
    padding: 30px;
  }
  
  .stack-card-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .stack-card-visual {
    height: auto;
  }
  
  .deck-indicators {
    display: none;
  }
}

.car-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Tab 2: Routing Map Simulator */
.routing-map-simulator {
  height: 220px;
  background-color: rgba(6, 10, 19, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: hidden;
  margin: auto 0;
}

.map-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 20px 20px;
}

.map-routes-svg {
  position: relative;
  z-index: 2;
}

.animated-route-draw {
  animation: mapRouteCycle 6s infinite linear;
}

@keyframes mapRouteCycle {
  0% { stroke-dashoffset: 300; }
  50%, 100% { stroke-dashoffset: 0; }
}

.map-overlay-stat {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: rgba(13, 21, 38, 0.9);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  z-index: 3;
}

.map-overlay-stat .label {
  font-size: 0.55rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.map-overlay-stat .value {
  font-family: var(--font-headings);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-green);
}

/* Tab 3: Safety Live View */
.safety-dashboard-simulator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: auto 0;
}

.safety-video-mockup {
  background-color: rgba(6, 10, 19, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dashcam-indicator {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-headings);
  font-size: 0.55rem;
  font-weight: 800;
  color: #fff;
  z-index: 3;
}

.rec-dot {
  width: 6px;
  height: 6px;
  background-color: #ef4444;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-glow 1s infinite;
}

.camera-face-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cam-label {
  font-size: 0.55rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.safety-alerts-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.safety-feed-item {
  background-color: rgba(6, 10, 19, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feed-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
  flex-shrink: 0;
}

.feed-icon.check {
  background-color: rgba(0, 255, 102, 0.08);
  color: var(--color-green);
  border: 0.5px solid rgba(0, 255, 102, 0.2);
}

.feed-icon.alert {
  background-color: rgba(245, 158, 11, 0.08);
  color: #f59e0b;
  border: 0.5px solid rgba(245, 158, 11, 0.2);
}

.feed-text h6 {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.feed-text p {
  font-size: 0.65rem;
  color: var(--text-secondary);
}

/* Tab 4: Carbon Counter */
.carbon-accounting-simulator {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.carbon-live-counter {
  text-align: center;
  padding: 24px;
  background-color: rgba(6, 10, 19, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.counter-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.counter-number {
  font-family: var(--font-headings);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--color-green);
  text-shadow: 0 0 20px rgba(0, 255, 102, 0.15);
  letter-spacing: -0.01em;
}

.carbon-chart-comparison {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chart-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chart-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.chart-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.chart-bar {
  height: 8px;
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.chart-bar.diesel {
  background-color: #ef4444;
}

.chart-bar.ev {
  background-color: var(--color-green);
  box-shadow: 0 0 10px var(--color-green-glow);
}

.chart-value {
  font-family: var(--font-headings);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ==========================================================================
   05 SUSTAINABILITY POSITIONING - ZERO PROFILE
   ========================================================================== */

.sustainability-zero-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: clamp(300px, 40vw, 380px);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform-style: preserve-3d;
}

.sustainability-zero-card::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.zero-badge {
  font-family: var(--font-headings);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.12em;
}

.zero-title-wrap {
  display: flex;
  align-items: baseline;
}

.zero-title-text {
  font-family: var(--font-headings);
  font-size: clamp(3.5rem, 5.5vw, 6rem);
  font-weight: 800;
  color: #fff;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.zero-dot {
  font-family: var(--font-headings);
  font-size: clamp(3.5rem, 5.5vw, 6rem);
  font-weight: 800;
  color: var(--color-green);
  text-shadow: 0 0 24px var(--color-green-glow);
}

.zero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.zero-meter-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.meter-bar {
  height: 6px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  position: relative;
}

.meter-pin {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-color: var(--color-green);
  border: 2px solid #060a13;
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-green);
  left: 0%;
  transition: left 2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Right lists */
.sustainability-reasons-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.reason-item {
  background-color: rgba(13, 21, 38, 0.35);
  border: 1px solid var(--border-color);
  padding: clamp(16px, 3vw, 28px);
  border-radius: 8px;
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  align-items: flex-start;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform-style: preserve-3d;
}

.reason-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background-color: rgba(13, 21, 38, 0.6);
  transform: translateY(-2px) translateZ(10px);
}

.reason-num {
  font-family: var(--font-headings);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 800;
  color: var(--color-green);
  background-color: rgba(0, 255, 102, 0.05);
  border: 1px solid rgba(0, 255, 102, 0.12);
  width: clamp(32px, 4vw, 38px);
  height: clamp(32px, 4vw, 38px);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reason-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reason-title {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.reason-desc {
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT CARD & FOOTER
   ========================================================================== */

.contact-section-footer {
  min-height: auto;
  padding: 80px 0 120px 0;
}

.contact-card {
  background: radial-gradient(circle at top right, rgba(0, 255, 102, 0.06), transparent 50%), var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: clamp(32px, 5vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transform-style: preserve-3d;
}

.contact-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.contact-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto clamp(24px, 4vw, 40px) auto;
  line-height: 1.6;
}

.contact-form {
  max-width: 580px;
  margin: 0 auto 30px auto;
}

.form-group-row {
  display: flex;
  gap: 12px;
  width: 100%;
  align-items: center;
  flex-wrap: nowrap;
}

.form-input {
  flex: 1 1 240px;
  min-width: 240px;
  background-color: rgba(6, 10, 19, 0.6);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.3;
  transition: var(--transition-fast);
}

.btn-large {
  flex: 0 0 auto;
  min-width: 200px;
  white-space: normal;
  line-height: 1.2;
  padding: 16px 24px;
  text-align: center;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.15);
}

.form-trust-labels {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-family: var(--font-headings);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Site Footer */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  background-color: rgba(6, 10, 19, 0.9);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-text {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: #fff;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 12px;
  margin-left: 4px;
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-right a {
  text-decoration: none;
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-right a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   3D SCROLL REVEAL TRANSITIONS
   ========================================================================== */

/* Elements start in these state */
.reveal-element-3d {
  opacity: 0;
  transform: translateY(60px) rotateX(10deg) translateZ(-50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  transform-style: preserve-3d;
}

.reveal-element-3d.delay-1 {
  transition-delay: 0.2s;
}

.reveal-element-3d.delay-2 {
  transition-delay: 0.4s;
}

/* Active states triggered by GSAP ScrollTrigger in JS */
.reveal-element-3d.active-3d {
  opacity: 1;
  transform: translateY(0) rotateX(0deg) translateZ(0);
}

/* 3D Card specific animations */
.card-3d {
  opacity: 0;
  transform: translateY(80px) rotateX(15deg) scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.card-3d.active-3d {
  opacity: 1;
  transform: translateY(0) rotateX(0deg) scale(1);
}

.card-3d-perspective {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.card-3d-perspective.active-3d {
  opacity: 1;
  transform: translateY(0);
}

.card-3d-stack {
  opacity: 0;
  transform: perspective(1000px) rotateX(15deg) translateY(100px) translateZ(-100px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.card-3d-stack.active-3d {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg) translateY(0) translateZ(0);
}

/* Sections transition depth as you enter */
.section {
  opacity: 0.6;
  transform: scale(0.985);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.active-reveal {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   RESPONSIVENESS MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .side-navigation {
    display: none; /* Hide presentation sidebar on tablets/mobiles */
  }
  
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .section-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
  }
  
  .hero-title {
    font-size: clamp(2.4rem, 4vw, 3rem);
  }
  
  .hero-subtitle,
  .section-subtitle,
  .stack-card-desc,
  .contact-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  }
  
  .stack-card-title,
  .contact-title {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 20px;
  }
  
  .nav-menu {
    display: none; /* Hide header menu, keep header clean for mobile */
  }
  
  .section-container {
    padding: 0 20px;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .sub-metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-row {
    flex-direction: column;
  }
  
  .form-trust-labels {
    flex-direction: column;
    gap: 8px;
  }
  
  .hero-title {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }
  
  .section-title,
  .stack-card-title,
  .contact-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }
  
  .hero-subtitle,
  .section-subtitle,
  .stack-card-desc,
  .contact-subtitle {
    font-size: clamp(0.9rem, 3.5vw, 1rem);
  }
  
  .btn,
  .form-input,
  .side-nav-label {
    font-size: 0.95rem;
  }
  
  .massive-number {
    font-size: 4.5rem;
  }
  
  .zero-title-text {
    font-size: 4.5rem;
  }
  
  .zero-dot {
    font-size: 4.5rem;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
    align-items: flex-start;
  }
  
  .footer-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .footer-copyright {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }
}

/* True final overrides: keep below every component and media rule. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.bg-glow-container {
  width: 100vw;
  height: 100vh;
  right: auto;
  bottom: auto;
  contain: paint;
}

.cursor-glow {
  top: 50%;
  left: 50%;
}

.section-container,
.header-container,
.footer-container,
.metric-glass-card,
.sustainability-zero-card,
.contact-card,
.stack-card,
.stack-card-visual,
.ecosystem-canvas-wrapper {
  max-width: 100%;
}

.form-group-row,
.hero-actions,
.tab-badge-row,
.footer-right,
.form-trust-labels {
  flex-wrap: wrap;
}

.form-input,
.form-group-row .btn {
  min-width: min(100%, 220px);
}

.section-title,
.hero-title,
.contact-title,
.stack-card-title,
.card-heading,
.btn,
.badge,
.tab-tag-badge,
.sub-metric-val,
.battery-status-text,
.route-details span {
  overflow-wrap: anywhere;
}

@media (max-width: 920px) {
  body {
    perspective: none;
  }

  .glow-card:hover,
  .reason-item:hover,
  .stack-card:hover,
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }

  .ecosystem-tooltip {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 14px !important;
    width: min(420px, calc(100vw - 28px)) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 28px) !important;
    max-height: min(70vh, 520px) !important;
    transform: translate(-50%, 10px) !important;
    z-index: 10000;
  }

  .ecosystem-tooltip.visible {
    transform: translate(-50%, 0) !important;
  }
}

@media (max-width: 768px) {
  .cursor-glow {
    display: none;
  }

  .header {
    height: auto;
    min-height: 76px;
  }

  .header-container {
    gap: 12px;
    padding: 14px 16px;
  }

  .logo {
    margin-right: auto;
  }

  .header-actions {
    margin-left: auto;
    flex-shrink: 0;
  }

  .header-actions .btn {
    min-width: 0;
    max-width: 128px;
    padding: 9px 12px;
    font-size: 0.78rem;
  }

  .nav-menu {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: none;
  }

  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    white-space: nowrap;
    font-size: 0.78rem;
  }

  .hero-section {
    padding-top: 155px;
  }

  .section-container,
  .footer-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions .btn-large,
  .form-group-row .btn,
  .form-input {
    width: 100%;
  }

  .stack-card-visual {
    min-height: 0;
    height: auto;
  }

  .safety-dashboard-simulator,
  .specs-grid,
  .tracking-stats,
  .metrics-row,
  .charging-stats-grid {
    grid-template-columns: 1fr;
  }

  .chart-bar-wrapper {
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .eco-node-text {
    display: none;
  }

  .eco-node-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 14px;
  }

  .eco-hub-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 24px;
  }

  .ecosystem-tooltip {
    bottom: 10px !important;
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    padding: 12px;
  }
}

@media (max-width: 380px) {
  .header-actions .btn {
    max-width: 104px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .logo-text {
    font-size: 0.9rem;
  }

  .reason-item {
    flex-direction: column;
  }
}

/* ==========================================================================
   END-OF-FILE RESPONSIVE OVERRIDES
   These intentionally sit after all component styles.
   ========================================================================== */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.bg-glow-container {
  width: 100vw;
  height: 100vh;
  right: auto;
  bottom: auto;
  contain: paint;
}

.cursor-glow {
  top: 50%;
  left: 50%;
}

.card-3d-perspective,
.card-3d-perspective.active-3d {
  transform-style: flat;
}

.section-container,
.header-container,
.footer-container,
.metric-glass-card,
.sustainability-zero-card,
.contact-card,
.stack-card,
.stack-card-visual,
.ecosystem-canvas-wrapper {
  max-width: 100%;
}

.form-group-row,
.hero-actions,
.tab-badge-row,
.footer-right,
.form-trust-labels {
  flex-wrap: wrap;
}

.form-input,
.form-group-row .btn {
  min-width: min(100%, 220px);
}

.section-title,
.hero-title,
.contact-title,
.stack-card-title,
.card-heading,
.btn,
.badge,
.tab-tag-badge,
.sub-metric-val,
.battery-status-text,
.route-details span {
  overflow-wrap: anywhere;
}

@media (max-width: 920px) {
  body {
    perspective: none;
  }

  .glow-card:hover,
  .reason-item:hover,
  .stack-card:hover,
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }

  .hero-graphic-container .ecosystem-canvas-wrapper {
    height: clamp(320px, 65vw, 430px);
  }

  .ecosystem-tooltip {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 14px !important;
    width: min(420px, calc(100vw - 28px)) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 28px) !important;
    max-height: min(70vh, 520px) !important;
    transform: translate(-50%, 10px) !important;
    z-index: 10000;
  }

  .ecosystem-tooltip.visible {
    transform: translate(-50%, 0) !important;
  }
}

@media (max-width: 768px) {
  .cursor-glow {
    display: none;
  }

  .header {
    height: auto;
    min-height: 76px;
  }

  .header-container {
    gap: 12px;
    padding: 14px 16px;
  }

  .logo {
    margin-right: auto;
  }

  .header-actions {
    margin-left: auto;
    flex-shrink: 0;
  }

  .header-actions .btn {
    min-width: 0;
    max-width: 128px;
    padding: 9px 12px;
    font-size: 0.78rem;
  }

  .nav-menu {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: none;
  }

  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    white-space: nowrap;
    font-size: 0.78rem;
  }

  .hero-section {
    padding-top: 155px;
  }

  .section-container,
  .footer-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions .btn-large,
  .form-group-row .btn,
  .form-input {
    width: 100%;
  }

  .stack-card-visual {
    min-height: 0;
    height: auto;
  }

  .safety-dashboard-simulator,
  .specs-grid,
  .tracking-stats,
  .metrics-row,
  .charging-stats-grid {
    grid-template-columns: 1fr;
  }

  .chart-bar-wrapper {
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .eco-node-text {
    display: none;
  }

  .eco-node-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 14px;
  }

  .eco-hub-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 24px;
  }

  .ecosystem-tooltip {
    bottom: 10px !important;
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    padding: 12px;
  }
}

@media (max-width: 380px) {
  .header-actions .btn {
    max-width: 104px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .logo-text {
    font-size: 0.9rem;
  }

  .reason-item {
    flex-direction: column;
  }
}

/* ==========================================================================
   FINAL RESPONSIVE GUARDRAILS
   Keep this block last so it overrides earlier duplicated mobile rules.
   ========================================================================== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

img,
svg,
canvas {
  max-width: 100%;
}

a,
button,
input {
  min-width: 0;
}

.main-content,
.section,
.section-container,
.header-container,
.footer-container {
  max-width: 100%;
}

.section-container,
.header-container,
.footer-container {
  padding-left: clamp(18px, 4vw, 40px);
  padding-right: clamp(18px, 4vw, 40px);
}

.section-title,
.hero-title,
.contact-title,
.stack-card-title,
.card-heading,
.reason-title,
.footer-right a,
.btn,
.badge,
.tab-tag-badge {
  overflow-wrap: anywhere;
}

.btn {
  max-width: 100%;
  text-align: center;
}

.header-container {
  gap: 20px;
}

.nav-menu {
  gap: clamp(14px, 2.4vw, 32px);
  min-width: 0;
}

.nav-link {
  white-space: nowrap;
}

.header-actions {
  flex-shrink: 0;
  margin-left: auto;
}

.hero-actions,
.tab-badge-row,
.form-trust-labels,
.footer-right,
.footer-left,
.status-indicators,
.route-details,
.progress-stats {
  flex-wrap: wrap;
}

.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}

.grid-2,
.grid-2-sticky,
.stack-card-content,
.safety-dashboard-simulator,
.specs-grid,
.tracking-stats,
.metrics-row,
.charging-stats-grid {
  min-width: 0;
}

.metric-glass-card,
.glow-card,
.stack-card,
.sustainability-zero-card,
.reason-item,
.contact-card,
.stack-card-visual,
.ecosystem-canvas-wrapper {
  max-width: 100%;
}

.stack-card-visual,
.routing-map-simulator,
.safety-video-mockup,
.carbon-live-counter,
.chart-bar-wrapper,
.ecosystem-tooltip,
.premium-visual,
.charging-dashboard,
.fleet-showcase,
.ops-dashboard,
.esg-dashboard,
.tracking-dashboard,
.routing-comparison {
  min-width: 0;
}

.chart-bar-wrapper {
  align-items: flex-start;
}

.chart-bar {
  min-width: 0;
  flex: 1 1 auto;
}

.chart-value {
  white-space: normal;
  flex: 0 1 auto;
}

.form-group-row {
  flex-wrap: wrap;
}

.form-input {
  width: 100%;
  min-width: min(100%, 220px);
}

.form-group-row .btn {
  flex: 1 1 200px;
  min-width: min(100%, 200px);
}

.footer-container {
  gap: 24px;
}

.footer-right {
  justify-content: flex-end;
  row-gap: 10px;
}

.cursor-glow {
  max-width: 100vw;
  max-height: 100vw;
}

@media (max-width: 1120px) {
  .header {
    height: auto;
    min-height: 76px;
  }

  .header-container {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav-menu {
    order: 3;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: none;
  }

  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  .hero-section {
    padding-top: 180px;
  }
}

@media (max-width: 920px) {
  body {
    perspective: none;
  }

  .section,
  .reveal-element-3d,
  .card-3d,
  .card-3d-perspective,
  .card-3d-stack,
  .glow-card,
  .reason-item,
  .stack-card,
  .metric-glass-card,
  .sustainability-zero-card,
  .contact-card {
    transform-style: flat;
  }

  .glow-card:hover,
  .reason-item:hover,
  .stack-card:hover,
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }

  .section {
    min-height: auto;
    padding-top: clamp(72px, 12vw, 100px);
    padding-bottom: clamp(56px, 10vw, 80px);
  }

  .hero-section {
    padding-top: 155px;
  }

  .hero-graphic-container .ecosystem-canvas-wrapper {
    height: clamp(320px, 65vw, 430px);
    border-radius: 14px;
  }

  .ecosystem-tooltip {
    position: fixed;
    left: 50% !important;
    right: auto;
    top: auto !important;
    bottom: 14px;
    width: min(420px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    max-height: min(70vh, 520px);
    transform: translate(-50%, 10px);
    z-index: 10000;
  }

  .ecosystem-tooltip.visible {
    transform: translate(-50%, 0);
  }
}

@media (max-width: 768px) {
  .cursor-glow {
    display: none;
  }

  .header-container {
    justify-content: center;
  }

  .logo {
    margin-right: auto;
  }

  .header-actions {
    margin-left: auto;
  }

  .nav-menu {
    display: flex;
    justify-content: flex-start;
  }

  .header-actions .btn {
    padding: 9px 12px;
    font-size: 0.78rem;
    min-width: 0;
  }

  .hero-section {
    padding-top: 165px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn-large {
    width: 100%;
  }

  .slide-footer-info {
    margin-top: 36px;
    font-size: 0.62rem;
    line-height: 1.5;
  }

  .who-we-are-desc {
    font-size: 1rem;
  }

  .battery-visualizer-container,
  .reason-item,
  .safety-feed-item,
  .track-stat,
  .spec-item {
    align-items: flex-start;
  }

  .battery-visualizer-container {
    flex-wrap: wrap;
  }

  .sub-metric-val,
  .battery-status-text,
  .car-meta,
  .feed-text,
  .route-name,
  .route-details span,
  .status-item,
  .track-label,
  .progress-stats span,
  .impact-info span {
    overflow-wrap: anywhere;
  }

  .stack-card {
    padding: clamp(18px, 5vw, 24px);
  }

  .stack-card-visual {
    min-height: 0;
    height: auto;
    padding: clamp(12px, 4vw, 18px);
  }

  .safety-dashboard-simulator,
  .specs-grid,
  .tracking-stats,
  .metrics-row,
  .charging-stats-grid {
    grid-template-columns: 1fr;
  }

  .camera-face-image {
    height: clamp(120px, 42vw, 190px);
  }

  .routing-map-simulator {
    height: clamp(190px, 58vw, 260px);
  }

  .map-overlay-stat {
    left: 12px;
    right: 12px;
  }

  .chart-bar-wrapper {
    flex-wrap: wrap;
    gap: 8px;
  }

  .carbon-live-counter {
    padding: 14px;
  }

  .counter-number {
    font-size: clamp(1.25rem, 7vw, 1.75rem);
  }

  .sustainability-zero-card {
    gap: 22px;
  }

  .zero-meter-container {
    width: 100%;
  }

  .meter-labels {
    gap: 10px;
    line-height: 1.35;
  }

  .contact-form {
    max-width: 100%;
  }

  .form-group-row {
    align-items: stretch;
  }

  .form-group-row .btn,
  .form-input {
    width: 100%;
  }

  .footer-right {
    justify-content: flex-start;
    gap: 14px;
  }

  .phone-frame {
    width: min(140px, 100%);
  }
}

@media (max-width: 560px) {
  .section-container,
  .header-container,
  .footer-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-container {
    gap: 12px;
  }

  .logo-text {
    font-size: 1rem;
    letter-spacing: 0.08em;
  }

  .header-actions .btn {
    max-width: 128px;
  }

  .nav-link {
    font-size: 0.78rem;
  }

  .hero-section {
    padding-top: 155px;
  }

  .hero-title {
    font-size: clamp(2rem, 12vw, 2.45rem);
  }

  .section-title,
  .contact-title,
  .stack-card-title {
    font-size: clamp(1.55rem, 9vw, 2rem);
  }

  .btn-large {
    min-width: 0;
    padding: 14px 18px;
  }

  .metric-glass-card,
  .contact-card,
  .sustainability-zero-card {
    padding: 24px 18px;
  }

  .massive-number {
    font-size: clamp(3.5rem, 20vw, 4.5rem);
  }

  .massive-number-plus {
    font-size: clamp(2rem, 13vw, 3rem);
  }

  .zero-title-text,
  .zero-dot {
    font-size: clamp(3.2rem, 18vw, 4rem);
  }

  .hero-graphic-container .ecosystem-canvas-wrapper {
    height: 360px;
  }

  .eco-node-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 14px;
  }

  .eco-node-text {
    display: none;
  }

  .eco-hub-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 24px;
  }

  .eco-hub-text {
    max-width: 120px;
    text-align: center;
    line-height: 1.25;
  }

  .ecosystem-tooltip {
    bottom: 10px;
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    padding: 12px;
  }

  .contact-subtitle,
  .section-subtitle,
  .hero-subtitle {
    line-height: 1.55;
  }

  .form-trust-labels {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 380px) {
  .header-actions .btn {
    max-width: 104px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .logo-text {
    font-size: 0.9rem;
  }

  .nav-menu {
    gap: 12px;
  }

  .hero-section {
    padding-top: 160px;
  }

  .reason-item {
    flex-direction: column;
  }

  .meter-labels {
    font-size: 0.6rem;
  }
}

/* ==========================================================================
   ECOSYSTEM SECTION
   ========================================================================== */

.ecosystem-section {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}

.ecosystem-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0, 255, 102, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.ecosystem-canvas-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 60px auto;
  border-radius: 24px;
  border: 1px solid rgba(0, 255, 102, 0.12);
  background: rgba(6, 10, 19, 0.7);
  backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(0, 255, 102, 0.06),
    0 0 120px rgba(0, 255, 102, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* When canvas lives inside the hero column, reset the external sizing */
.hero-graphic-container .ecosystem-canvas-wrapper {
  max-width: 100%;
  margin: 0;
  height: 500px;
  border-radius: 20px;
}

.hero-graphic-container .ecosystem-canvas {
  height: 100%;
  width: 100%;
}

.ecosystem-canvas {
  display: block;
  width: 100%;
  height: 520px;
  cursor: crosshair;
}

/* Node label pills rendered over canvas */
.ecosystem-node-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.eco-node-label {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: auto; /* Enabled to allow hover interactions */
  cursor: pointer;
  transition: transform 0.3s ease;
}

.eco-node-label:hover {
  transform: translate(-50%, -50%) scale(1.15);
}

.eco-node-label:hover .eco-node-icon {
  border-color: var(--color-green);
  box-shadow: 0 0 30px rgba(0, 255, 102, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.eco-node-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(10, 17, 34, 0.9);
  border: 1.5px solid rgba(0, 255, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s ease;
}

.eco-node-text {
  background: rgba(6, 10, 19, 0.88);
  border: 1px solid rgba(0, 255, 102, 0.2);
  border-radius: 6px;
  padding: 3px 10px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(248, 250, 252, 0.75);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Central hub label */
.eco-hub-label {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.eco-hub-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 255, 102, 0.18) 0%, rgba(0, 200, 80, 0.08) 100%);
  border: 2px solid rgba(0, 255, 102, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow:
    0 0 30px rgba(0, 255, 102, 0.35),
    0 0 60px rgba(0, 255, 102, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.eco-hub-text {
  font-family: var(--font-headings);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-green);
  text-transform: uppercase;
}

/* Ecosystem Tooltip Styles */
.ecosystem-tooltip {
  position: absolute;
  background: rgba(10, 17, 34, 0.95);
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: 12px;
  padding: 16px;
  min-width: 200px;
  max-width: min(380px, calc(100vw - 36px));
  width: min(380px, calc(100% - 24px));
  max-height: calc(100vh - 140px);
  overflow: hidden;
  overflow-y: auto;
  word-wrap: break-word;
  box-sizing: border-box;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 102, 0.15);
  z-index: 1000;
  backdrop-filter: blur(12px);
}

.ecosystem-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.ecosystem-tooltip * {
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 920px) {
  .ecosystem-tooltip {
    padding: 14px;
    min-width: 180px;
    max-width: calc(100vw - 24px);
    width: calc(100vw - 24px);
    max-height: calc(100vh - 120px);
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 16px;
  }

  .tooltip-title {
    font-size: 0.72rem;
    margin-bottom: 10px;
  }

  .tooltip-stat {
    font-size: 0.7rem;
  }

  .tooltip-mockup,
  .tooltip-visual {
    overflow: hidden;
  }

  .eco-node-label {
    gap: 4px;
  }

  .eco-node-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .eco-node-text {
    font-size: 0.7rem;
    padding: 2px 8px;
    white-space: normal;
    max-width: 120px;
  }
}

@media (max-width: 640px) {
  .ecosystem-tooltip {
    padding: 12px;
    min-width: 160px;
    max-width: calc(100vw - 16px);
    top: 12px;
  }

  .eco-node-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .eco-node-text {
    font-size: 0.68rem;
    max-width: 100px;
  }

  .eco-node-label:hover {
    transform: translate(-50%, -50%) scale(1.1);
  }
}


.tooltip-title {
  font-family: var(--font-headings);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-green);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.tooltip-stat {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.tooltip-stat .highlight {
  color: var(--text-primary);
  font-weight: 600;
}

.tooltip-mockup {
  background: rgba(6, 10, 19, 0.6);
  border-radius: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-header {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-align: center;
}

.mockup-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.mockup-btn {
  margin-top: 8px;
  background: var(--color-green);
  color: #060a13;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  padding: 6px;
  border-radius: 4px;
}

.tooltip-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}

.tooltip-bar-fill {
  height: 100%;
  background: var(--color-green);
  border-radius: 3px;
  box-shadow: 0 0 8px var(--color-green-glow);
}

/* Visual Tooltip Animations & Mockups */
.tooltip-visual {
  margin-top: 8px;
}

@keyframes chargeFill {
  0%, 100% { width: 30%; }
  50% { width: 90%; }
}

@keyframes barPulse {
  0%, 100% { opacity: 0.6; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

.mini-charging-station {
  text-align: center;
  padding: 12px;
  background: rgba(6, 10, 19, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-car { font-size: 1.5rem; margin-bottom: 4px; }
.charging-bolt { color: var(--color-green); font-size: 1rem; animation: pulse-glow 1s infinite; }
.mini-progress-bar { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; margin: 8px 0; overflow: hidden; }
.mini-progress-fill { height: 100%; background: var(--color-green); border-radius: 3px; box-shadow: 0 0 8px var(--color-green-glow); }

.mini-car-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(6, 10, 19, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.mini-car-icon { font-size: 2rem; }
.mini-specs { display: flex; flex-direction: column; gap: 4px; font-size: 0.65rem; color: var(--text-secondary); }
.mini-spec { display: flex; justify-content: space-between; width: 100px; }
.mini-spec b { color: var(--text-primary); }

.mini-phone {
  width: 100px;
  height: 160px;
  background: #111;
  border-radius: 12px;
  border: 2px solid #333;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.phone-notch { width: 40px; height: 12px; background: #000; border-radius: 0 0 8px 8px; margin: 0 auto; }
.phone-screen { padding: 16px 8px 8px; display: flex; flex-direction: column; gap: 6px; }
.phone-header { font-size: 0.6rem; font-weight: 700; color: var(--text-primary); text-align: center; margin-bottom: 4px; }
.phone-input { background: rgba(255,255,255,0.05); padding: 4px; border-radius: 4px; font-size: 0.55rem; color: var(--text-secondary); }
.phone-btn { background: var(--color-green); color: #060a13; font-size: 0.6rem; font-weight: 700; text-align: center; padding: 6px; border-radius: 4px; margin-top: 4px; }

.mini-dashboard {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 60px;
  background: rgba(6, 10, 19, 0.6);
  border-radius: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 8px;
}
.mini-chart-bar { width: 12px; background: var(--color-green); border-radius: 2px 2px 0 0; transform-origin: bottom; }

.mini-esg { text-align: center; padding: 12px; background: rgba(6, 10, 19, 0.6); border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.05); }
.mini-leaf { font-size: 1.5rem; margin-bottom: 4px; }
.mini-counter { font-size: 1.1rem; font-weight: 800; color: var(--color-green); }
.mini-counter span { font-size: 0.6rem; color: var(--text-secondary); font-weight: 400; }

.mini-map {
  height: 70px;
  background: rgba(6, 10, 19, 0.8);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 8px;
}
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 15px 15px; }
.radar-ping { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; background: var(--color-green); border-radius: 50%; box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.7); animation: radar 2s infinite; }
.map-dot { position: absolute; top: 30%; left: 70%; width: 6px; height: 6px; background: #fff; border-radius: 50%; }
@keyframes radar { 0% { box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.7); } 100% { box-shadow: 0 0 0 20px rgba(0, 255, 102, 0); } }

.mini-route-compare { display: flex; flex-direction: column; gap: 8px; padding: 8px; }
.route-line { height: 24px; background: rgba(255,255,255,0.05); border-radius: 4px; position: relative; display: flex; align-items: center; padding: 0 8px; font-size: 0.6rem; color: var(--text-secondary); }
.route-line.bad { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.route-line.good { background: rgba(0, 255, 102, 0.15); color: var(--color-green); font-weight: 700; }
.route-dot { position: absolute; right: 8px; width: 6px; height: 6px; background: var(--color-green); border-radius: 50%; animation: pulse-glow 1s infinite; }

.mini-stat-row { display: flex; justify-content: space-between; font-size: 0.65rem; color: var(--text-secondary); margin-top: 8px; }
.mini-stat-row b { color: var(--text-primary); }

/* ==========================================================================
   PREMIUM TOOLTIP VISUALS
   ========================================================================== */

.premium-visual {
  margin-top: 12px;
}

/* Charging Dashboard */
.charging-dashboard {
  background: linear-gradient(135deg, rgba(6, 10, 19, 0.9) 0%, rgba(13, 21, 38, 0.9) 100%);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(0, 255, 102, 0.15);
}

.charging-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-green);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--color-green);
  border-radius: 50%;
  animation: pulse-glow 1.5s infinite;
}

.charging-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: var(--font-headings);
}

.charging-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.charge-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.charge-stat-card.active {
  background: rgba(0, 255, 102, 0.08);
  border-color: rgba(0, 255, 102, 0.2);
}

.stat-icon { font-size: 1.2rem; margin-bottom: 4px; }
.stat-value { font-size: 1.3rem; font-weight: 800; color: var(--text-primary); font-family: var(--font-headings); }
.stat-label { font-size: 0.6rem; color: var(--text-muted); margin-top: 2px; }

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-green);
  border-radius: 8px;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

.charging-progress-section {
  background: rgba(6, 10, 19, 0.5);
  border-radius: 8px;
  padding: 10px;
}

.progress-label {
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.progress-bar-container {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-green) 0%, #10b981 100%);
  border-radius: 4px;
  box-shadow: 0 0 10px var(--color-green-glow);
  transition: width 1s ease;
}

.progress-fill.animated {
  animation: progressPulse 2s infinite ease-in-out;
}

@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: var(--text-muted);
}

.progress-stats .highlight {
  color: var(--color-green);
  font-weight: 600;
}

/* Fleet Showcase */
.fleet-showcase {
  background: linear-gradient(135deg, rgba(6, 10, 19, 0.9) 0%, rgba(13, 21, 38, 0.9) 100%);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(0, 255, 102, 0.15);
}

.car-display {
  text-align: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.car-silhouette {
  margin-bottom: 8px;
}

.car-svg {
  width: 100%;
  height: 50px;
}

.car-badge {
  display: inline-block;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-green);
  letter-spacing: 0.1em;
}

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

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-icon { font-size: 1rem; }
.spec-info { display: flex; flex-direction: column; }
.spec-val { font-size: 0.75rem; font-weight: 700; color: var(--text-primary); font-family: var(--font-headings); }
.spec-label { font-size: 0.55rem; color: var(--text-muted); }

/* Phone Mockup */
.phone-mockup {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 140px;
  height: 240px;
  background: #0a0a0a;
  border-radius: 20px;
  border: 3px solid #2a2a2a;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.phone-notch {
  width: 50px;
  height: 14px;
  background: #000;
  border-radius: 0 0 10px 10px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.phone-screen-content {
  padding: 12px;
  height: calc(100% - 14px);
  display: flex;
  flex-direction: column;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-logo {
  width: 24px;
  height: 24px;
  background: var(--color-green);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: #060a13;
}

.app-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.booking-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.booking-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.location-input {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.location-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.location-dot.pickup { background: var(--color-green); box-shadow: 0 0 8px var(--color-green-glow); }
.location-dot.drop { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.5); }

.location-line {
  width: 2px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  margin-left: 3px;
  margin-bottom: 4px;
}

.booking-btn {
  margin-top: 12px;
  background: var(--color-green);
  color: #060a13;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  padding: 8px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Operations Dashboard */
.ops-dashboard {
  background: linear-gradient(135deg, rgba(6, 10, 19, 0.9) 0%, rgba(13, 21, 38, 0.9) 100%);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(0, 255, 102, 0.15);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.live-badge {
  font-size: 0.6rem;
  color: var(--color-green);
  font-weight: 700;
  animation: pulse-glow 1.5s infinite;
}

.metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-card.highlight {
  background: rgba(0, 255, 102, 0.08);
  border-color: rgba(0, 255, 102, 0.2);
}

.metric-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-headings);
}

.metric-label {
  font-size: 0.55rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.chart-container {
  background: rgba(6, 10, 19, 0.5);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 60px;
  gap: 6px;
}

.bar {
  flex: 1;
  background: rgba(0, 255, 102, 0.3);
  border-radius: 3px 3px 0 0;
  position: relative;
  transition: height 0.5s ease;
  animation: barGrow 1s ease-out;
}

.bar.active {
  background: var(--color-green);
  box-shadow: 0 0 10px var(--color-green-glow);
}

.bar span {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.5rem;
  color: var(--text-muted);
}

@keyframes barGrow {
  from { height: 0; }
}

.status-indicators {
  display: flex;
  gap: 12px;
  font-size: 0.6rem;
  color: var(--text-secondary);
}

.status-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-dot.green { background: var(--color-green); box-shadow: 0 0 6px var(--color-green-glow); }
.status-dot.blue { background: #3b82f6; box-shadow: 0 0 6px rgba(59, 130, 246, 0.5); }

/* ESG Dashboard */
.esg-dashboard {
  background: linear-gradient(135deg, rgba(6, 10, 19, 0.9) 0%, rgba(13, 21, 38, 0.9) 100%);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(0, 255, 102, 0.15);
}

.esg-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.esg-icon {
  width: 20px;
  height: 20px;
  background: var(--color-green);
  border-radius: 50%;
  position: relative;
}

.esg-icon::before {
  content: '🌿';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.7rem;
}

.esg-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.carbon-counter {
  text-align: center;
  padding: 16px;
  background: rgba(0, 255, 102, 0.05);
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 255, 102, 0.1);
}

.counter-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-green);
  font-family: var(--font-headings);
  text-shadow: 0 0 20px var(--color-green-glow);
}

.counter-unit {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.counter-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.impact-metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.impact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.impact-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.impact-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-green) 0%, #10b981 100%);
  border-radius: 3px;
  box-shadow: 0 0 8px var(--color-green-glow);
  animation: impactGrow 1.5s ease-out;
}

@keyframes impactGrow {
  from { width: 0; }
}

.impact-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: var(--text-secondary);
}

.impact-info .highlight {
  color: var(--color-green);
  font-weight: 700;
}

.esg-badge {
  text-align: center;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: 6px;
  padding: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-green);
}

/* Tracking Dashboard */
.tracking-dashboard {
  background: linear-gradient(135deg, rgba(6, 10, 19, 0.9) 0%, rgba(13, 21, 38, 0.9) 100%);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(0, 255, 102, 0.15);
}

.map-container {
  height: 100px;
  background: rgba(6, 10, 19, 0.8);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.map-route {
  position: absolute;
  inset: 0;
}

.route-svg {
  width: 100%;
  height: 100%;
}

.animated-route {
  stroke-dasharray: 4 2;
  animation: routeFlow 1s linear infinite;
}

@keyframes routeFlow {
  to { stroke-dashoffset: -6; }
}

.vehicle-dots {
  position: absolute;
  inset: 0;
}

.v-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-green-glow);
  animation: vehiclePulse 2s infinite;
}

.v-dot.active {
  width: 10px;
  height: 10px;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

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

.map-overlay-stats {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(13, 21, 38, 0.9);
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: 6px;
  padding: 6px 10px;
}

.overlay-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.overlay-stat .stat-num {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-green);
  font-family: var(--font-headings);
}

.overlay-stat .stat-label {
  font-size: 0.5rem;
  color: var(--text-muted);
}

.tracking-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.track-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.track-icon { font-size: 1rem; }
.track-val { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); font-family: var(--font-headings); }
.track-label { font-size: 0.55rem; color: var(--text-muted); }

/* Routing Comparison */
.routing-comparison {
  background: linear-gradient(135deg, rgba(6, 10, 19, 0.9) 0%, rgba(13, 21, 38, 0.9) 100%);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(0, 255, 102, 0.15);
}

.route-option {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.route-option.standard {
  border-color: rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.05);
}

.route-option.zyder {
  border-color: rgba(0, 255, 102, 0.3);
  background: rgba(0, 255, 102, 0.08);
}

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

.route-icon { font-size: 1rem; }
.route-name { font-size: 0.7rem; font-weight: 700; color: var(--text-primary); }

.route-time {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-headings);
  margin-bottom: 8px;
}

.route-time.highlight {
  color: var(--color-green);
  text-shadow: 0 0 10px var(--color-green-glow);
}

.route-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.route-fill {
  height: 100%;
  background: #ef4444;
  border-radius: 3px;
  transition: width 1s ease;
}

.route-fill.optimized {
  background: var(--color-green);
  box-shadow: 0 0 8px var(--color-green-glow);
}

.route-details {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: var(--text-secondary);
}

.route-details .warning { color: #ef4444; font-weight: 600; }
.route-details .success { color: var(--color-green); font-weight: 600; }

.route-optimizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0;
}

.optimizer-arrow {
  color: var(--color-green);
  font-size: 1rem;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.optimizer-badge {
  background: rgba(0, 255, 102, 0.15);
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--color-green);
}

.savings-badge {
  text-align: center;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: 8px;
  padding: 10px;
  margin-top: 8px;
}

.savings-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-green);
  font-family: var(--font-headings);
  text-shadow: 0 0 15px var(--color-green-glow);
}

.savings-label {
  font-size: 0.6rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Stats row */
.ecosystem-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(10, 17, 34, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 28px 40px;
  backdrop-filter: blur(8px);
}

.ecosystem-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.eco-stat-num {
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.eco-stat-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.ecosystem-stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .ecosystem-tooltip {
    min-width: 160px;
    max-width: 200px;
    padding: 12px;
  }
  
  .hero-graphic-container .ecosystem-canvas-wrapper {
    height: 350px;
  }
  
  .ecosystem-canvas {
    height: 100%;
  }

  .ecosystem-stats-row {
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px 20px;
  }

  .ecosystem-stat-divider {
    display: none;
  }

  .ecosystem-stat {
    flex: 1 1 40%;
  }
  
  /* General Mobile Responsiveness */
  .section {
    padding: 80px 0 60px 0;
    min-height: auto;
  }
  
  .section-container {
    padding: 0 20px;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .btn-large {
    width: 100%;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .side-navigation {
    display: none;
  }
  
  .what-we-offer-intro {
    position: static;
    margin-bottom: 40px;
  }
  
  .stack-cards-deck {
    gap: 30px;
    padding-bottom: 60px;
  }
  
  .stack-card {
    position: static !important;
    min-height: auto;
    padding: 24px;
  }
  
  .stack-card-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .stack-card-visual {
    height: auto;
    min-height: 250px;
  }
  
  .sustainability-zero-card {
    height: auto;
    padding: 32px;
  }
  
  .zero-title-text, .zero-dot {
    font-size: 4rem;
  }
  
  .contact-card {
    padding: 32px 20px;
  }
  
  .form-group-row {
    flex-direction: column;
  }
  
  .form-trust-labels {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
    align-items: flex-start;
  }
  
  .footer-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .footer-copyright {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }
}

/* True final overrides: keep below every component and media rule. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.bg-glow-container {
  width: 100vw;
  height: 100vh;
  right: auto;
  bottom: auto;
  contain: paint;
}

.cursor-glow {
  top: 50%;
  left: 50%;
}

.section-container,
.header-container,
.footer-container,
.metric-glass-card,
.sustainability-zero-card,
.contact-card,
.stack-card,
.stack-card-visual,
.ecosystem-canvas-wrapper {
  max-width: 100%;
}

.form-group-row,
.hero-actions,
.tab-badge-row,
.footer-right,
.form-trust-labels {
  flex-wrap: wrap;
}

.form-input,
.form-group-row .btn {
  min-width: min(100%, 220px);
}

.section-title,
.hero-title,
.contact-title,
.stack-card-title,
.card-heading,
.btn,
.badge,
.tab-tag-badge,
.sub-metric-val,
.battery-status-text,
.route-details span {
  overflow-wrap: anywhere;
}

@media (max-width: 920px) {
  body {
    perspective: none;
  }

  .glow-card:hover,
  .reason-item:hover,
  .stack-card:hover,
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }

  .ecosystem-tooltip {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 14px !important;
    width: min(420px, calc(100vw - 28px)) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 28px) !important;
    max-height: min(70vh, 520px) !important;
    transform: translate(-50%, 10px) !important;
    z-index: 10000;
  }

  .ecosystem-tooltip.visible {
    transform: translate(-50%, 0) !important;
  }
}

@media (max-width: 768px) {
  .cursor-glow {
    display: none;
  }

  .header {
    height: auto;
    min-height: 76px;
  }

  .header-container {
    gap: 12px;
    padding: 14px 16px;
  }

  .logo {
    margin-right: auto;
  }

  .header-actions {
    margin-left: auto;
    flex-shrink: 0;
  }

  .header-actions .btn {
    min-width: 0;
    max-width: 128px;
    padding: 9px 12px;
    font-size: 0.78rem;
  }

  .nav-menu {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: none;
  }

  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    white-space: nowrap;
    font-size: 0.78rem;
  }

  .hero-section {
    padding-top: 155px;
  }

  .section-container,
  .footer-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions .btn-large,
  .form-group-row .btn,
  .form-input {
    width: 100%;
  }

  .stack-card-visual {
    min-height: 0;
    height: auto;
  }

  .safety-dashboard-simulator,
  .specs-grid,
  .tracking-stats,
  .metrics-row,
  .charging-stats-grid {
    grid-template-columns: 1fr;
  }

  .chart-bar-wrapper {
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .eco-node-text {
    display: none;
  }

  .eco-node-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 14px;
  }

  .eco-hub-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 24px;
  }

  .ecosystem-tooltip {
    bottom: 10px !important;
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    padding: 12px;
  }
}

@media (max-width: 380px) {
  .header-actions .btn {
    max-width: 104px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .logo-text {
    font-size: 0.9rem;
  }

  .reason-item {
    flex-direction: column;
  }
}
