/* ===== TESLA INOVATION — GLOBAL STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #000000;
  --dark:    #0d0d0d;
  --dark2:   #161616;
  --dark3:   #1e1e1e;
  --red:     #e31937;
  --red2:    #ff2040;
  --white:   #ffffff;
  --gray:    #a0a0a0;
  --gray2:   #4a4a4a;
  --blue:    #00aeff;
  --gold:    #c9a84c;
  --font:    'Inter', sans-serif;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ===== SELECTION ===== */
::selection { background: var(--red); color: var(--white); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}

.navbar.scrolled {
  background: rgba(0,0,0,0.97);
  box-shadow: 0 4px 40px rgba(227,25,55,0.15);
}

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

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-text .brand { font-size: 1.1rem; font-weight: 800; letter-spacing: 4px; color: var(--white); }
.nav-logo-text .sub   { font-size: 0.55rem; letter-spacing: 6px; color: var(--red); text-transform: uppercase; }

.nav-logo svg { width: 32px; height: 32px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 6px;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  background: transparent;
  border: none;
}

.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-link.active { color: var(--red); }

.nav-link .chevron {
  width: 12px; height: 12px;
  transition: transform var(--transition);
}

.nav-item:hover .chevron { transform: rotate(180deg); }

/* ===== DROPDOWN MENU ===== */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: rgba(10,10,10,0.98);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 0 1px rgba(227,25,55,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all var(--transition);
  pointer-events: none;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: rgba(10,10,10,0.98);
  border-left: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
  transform: translateX(-50%) rotate(45deg);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.82rem;
  border-radius: 8px;
  transition: all var(--transition);
}

.dropdown-item:hover { background: rgba(227,25,55,0.12); color: var(--white); }

.dropdown-item .icon {
  width: 32px; height: 32px;
  background: rgba(227,25,55,0.15);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.dropdown-item:hover .icon { background: rgba(227,25,55,0.3); }

.dropdown-item .info .name { font-weight: 600; color: var(--white); font-size: 0.82rem; }
.dropdown-item .info .desc { font-size: 0.72rem; color: var(--gray); margin-top: 1px; }

.dropdown-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 6px 8px; }

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  font-family: var(--font);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red2); transform: translateY(-1px); box-shadow: 0 8px 25px rgba(227,25,55,0.4); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-ghost {
  background: rgba(255,255,255,0.07);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.btn-large { padding: 16px 36px; font-size: 0.9rem; border-radius: 10px; }
.btn-xl    { padding: 20px 44px; font-size: 1rem; border-radius: 12px; }

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(227,25,55,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(0,174,255,0.08) 0%, transparent 60%),
    linear-gradient(180deg, #000 0%, #080808 100%);
}

.hero-grid {
  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: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
  animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Charging bolt animation */
.hero-bolt-container {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bolt {
  position: relative;
  width: 100%;
  height: 100%;
}

.charger-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.charger-body {
  width: 180px;
  height: 280px;
  background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 50%, #111 100%);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow:
    0 0 0 1px rgba(227,25,55,0.2),
    0 20px 60px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.charger-screen {
  width: 130px;
  height: 80px;
  background: #000;
  border-radius: 8px;
  border: 1px solid rgba(227,25,55,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
  position: relative;
}

.charger-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(227,25,55,0.15), transparent 70%);
  animation: screenGlow 2s ease-in-out infinite;
}

@keyframes screenGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.screen-pct {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  animation: countUp 3s ease-in-out infinite;
}

@keyframes countUp {
  0% { content: '47%'; }
}

.screen-label {
  font-size: 0.55rem;
  letter-spacing: 3px;
  color: var(--gray);
  text-transform: uppercase;
}

.screen-bar {
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.screen-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--red2));
  border-radius: 2px;
  animation: barFill 3s ease-in-out infinite;
}

@keyframes barFill {
  0% { width: 30%; }
  50% { width: 80%; }
  100% { width: 30%; }
}

.charger-port {
  width: 50px;
  height: 30px;
  background: #000;
  border-radius: 6px;
  border: 2px solid rgba(227,25,55,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 0 15px rgba(227,25,55,0.3);
}

.charger-pin {
  width: 6px;
  height: 14px;
  background: var(--gray);
  border-radius: 3px;
}

.charger-cable {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 80px;
  background: linear-gradient(180deg, rgba(227,25,55,0.8), rgba(227,25,55,0.2));
  border-radius: 4px;
  overflow: hidden;
}

.cable-pulse {
  position: absolute;
  top: -20px;
  left: 0; right: 0;
  height: 20px;
  background: linear-gradient(180deg, transparent, rgba(227,25,55,0.8), transparent);
  animation: cablePulse 1.5s linear infinite;
}

@keyframes cablePulse {
  0% { top: -20px; }
  100% { top: 100%; }
}

/* Orbiting rings */
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(227,25,55,0.15);
  animation: ringRotate linear infinite;
}

.ring-1 { width: 320px; height: 320px; animation-duration: 12s; border-color: rgba(227,25,55,0.1); }
.ring-2 { width: 420px; height: 420px; animation-duration: 20s; animation-direction: reverse; border-color: rgba(0,174,255,0.08); }
.ring-3 { width: 500px; height: 500px; animation-duration: 30s; border-color: rgba(227,25,55,0.06); }

@keyframes ringRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.ring-dot {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--red);
}

/* Energy particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

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

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 0 5%;
  margin-left: 5%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(227,25,55,0.12);
  border: 1px solid rgba(227,25,55,0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}

.badge-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; animation: dotPulse 1.5s ease-in-out infinite; }
@keyframes dotPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.6; } }

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .accent {
  color: var(--red);
  position: relative;
}

.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

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

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.stat-sep {
  width: 1px;
  background: rgba(255,255,255,0.1);
  height: 40px;
  margin: auto 0;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--red), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
@keyframes scrollLine { 0% { scaleY: 0; transform-origin: top; } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ===== SECTION STYLES ===== */
section { padding: 100px 5%; }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ===== FEATURES STRIP ===== */
.features-strip {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 5%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}

.feature-item:last-child { border-right: none; }
.feature-item:hover { background: rgba(255,255,255,0.02); }

.feature-icon {
  width: 48px; height: 48px;
  background: rgba(227,25,55,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: background var(--transition);
}

.feature-item:hover .feature-icon { background: rgba(227,25,55,0.25); }

.feature-text .title { font-size: 0.88rem; font-weight: 700; margin-bottom: 2px; }
.feature-text .desc  { font-size: 0.75rem; color: var(--gray); }

/* ===== VOLTAGE SECTION ===== */
.voltage-section { background: var(--dark2); }

.voltage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 60px auto 0;
}

.voltage-card {
  background: var(--dark3);
  border-radius: 20px;
  padding: 48px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  cursor: default;
}

.voltage-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227,25,55,0.3);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(227,25,55,0.1);
}

.voltage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

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

.voltage-card .bg-num {
  position: absolute;
  top: -20px; right: -10px;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(227,25,55,0.05);
  line-height: 1;
  pointer-events: none;
  select: none;
}

.voltage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(227,25,55,0.15);
  border: 1px solid rgba(227,25,55,0.3);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 24px;
}

.voltage-num {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -2px;
}

.voltage-unit { font-size: 1.5rem; color: var(--red); }

.voltage-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.9);
}

.voltage-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 28px;
}

.voltage-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  font-size: 0.8rem;
}

.spec-row .label { color: var(--gray); }
.spec-row .value { font-weight: 600; color: var(--white); }

/* ===== PRODUCTS SECTION ===== */
.products-section { background: var(--black); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 60px auto 0;
}

.product-card {
  background: var(--dark2);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(227,25,55,0.25);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 40px rgba(227,25,55,0.08);
}

.product-visual {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-visual-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(227,25,55,0.2) 0%, rgba(0,0,0,0.8) 70%);
}

.product-icon-large {
  position: relative;
  z-index: 1;
  width: 80px; height: 130px;
  background: linear-gradient(145deg, #2a2a2a, #111);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 0 40px rgba(227,25,55,0.3), 0 20px 40px rgba(0,0,0,0.8);
}

.product-icon-large::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.prod-bolt { font-size: 1.8rem; animation: boltFlash 2s ease-in-out infinite; }
@keyframes boltFlash { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.5) drop-shadow(0 0 8px var(--red)); } }

.prod-screen-mini {
  width: 40px; height: 24px;
  background: #000;
  border-radius: 4px;
  border: 1px solid rgba(227,25,55,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
  color: var(--red);
  font-weight: 700;
}

.product-badge {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  padding: 4px 10px;
  background: var(--red);
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-info { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.product-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.product-info p { font-size: 0.82rem; color: var(--gray); line-height: 1.6; margin-bottom: 20px; flex: 1; }

.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tag {
  padding: 3px 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.08);
}

.product-cta { display: flex; gap: 10px; }

/* ===== APPLICATIONS ===== */
.applications { background: var(--dark); }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 60px auto 0;
}

.app-card {
  background: var(--dark3);
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red2));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.app-card:hover::before { transform: scaleX(1); }
.app-card:hover { transform: translateY(-6px); border-color: rgba(227,25,55,0.2); }

.app-emoji { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.app-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; }
.app-card p { font-size: 0.78rem; color: var(--gray); line-height: 1.6; }

/* ===== QUOTE SECTION ===== */
.quote-section {
  background:
    radial-gradient(ellipse 80% 80% at 50% 100%, rgba(227,25,55,0.12), transparent 70%),
    var(--dark2);
  text-align: center;
}

.quote-box {
  max-width: 680px;
  margin: 0 auto;
  background: var(--dark3);
  border-radius: 24px;
  padding: 60px 50px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  margin-top: 50px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.quote-box::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(227,25,55,0.3), transparent 40%, transparent 60%, rgba(0,174,255,0.1));
  z-index: -1;
}

.quote-icon { font-size: 3rem; margin-bottom: 24px; display: block; }

.quote-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.quote-box p {
  color: var(--gray);
  margin-bottom: 32px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.quote-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(227,25,55,0.1);
  border: 1px solid rgba(227,25,55,0.3);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition);
  margin-bottom: 28px;
  word-break: break-all;
}

.quote-email:hover { background: rgba(227,25,55,0.2); border-color: var(--red); }

.quote-steps {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.quote-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--gray);
}

.quote-step .num {
  width: 24px; height: 24px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== MAP SECTION ===== */
.map-section { background: var(--dark); padding-bottom: 0; }

.map-content {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.map-info { padding-bottom: 100px; }
.map-info .section-title { margin-bottom: 20px; }

.contact-items { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--dark3);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
}

.contact-item:hover { border-color: rgba(227,25,55,0.2); background: rgba(227,25,55,0.04); }

.contact-icon {
  width: 40px; height: 40px;
  background: rgba(227,25,55,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item .label { font-size: 0.7rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.contact-item .value { font-size: 0.88rem; font-weight: 600; color: var(--white); }

.map-frame {
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  box-shadow: 0 -20px 60px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-bottom: none;
  height: 480px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(80%) invert(1) contrast(0.9) hue-rotate(180deg);
  transition: filter var(--transition);
}

.map-frame:hover iframe { filter: grayscale(40%) invert(1) contrast(0.9) hue-rotate(180deg); }

/* ===== BLOG SECTION PREVIEW ===== */
.blog-preview { background: var(--black); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 60px auto 0;
}

.blog-card {
  background: var(--dark2);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227,25,55,0.2);
}

.blog-card-header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: radial-gradient(ellipse at center, rgba(227,25,55,0.15), #0d0d0d 70%);
}

.blog-card-body { padding: 24px; }

.blog-stars { color: #f5c518; font-size: 0.9rem; margin-bottom: 8px; }

.blog-card-body h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.blog-card-body p { font-size: 0.8rem; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }

.blog-meta { display: flex; justify-content: space-between; font-size: 0.72rem; color: rgba(255,255,255,0.4); }

.blog-cta-center { text-align: center; margin-top: 48px; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 5% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.footer-brand .logo-text { font-size: 1rem; font-weight: 800; letter-spacing: 4px; margin-bottom: 4px; }
.footer-brand .logo-sub  { font-size: 0.55rem; letter-spacing: 5px; color: var(--red); text-transform: uppercase; }
.footer-brand p { font-size: 0.8rem; color: var(--gray); line-height: 1.7; margin-top: 16px; max-width: 240px; }

.footer-col h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; color: rgba(255,255,255,0.5); }

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.82rem;
  color: var(--gray);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.35); }
.footer-bottom .red { color: var(--red); }

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(37,211,102,0.4);
  transition: all var(--transition);
  animation: waBounce 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 35px rgba(37,211,102,0.6);
  animation: none;
}

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

.whatsapp-btn svg { width: 30px; height: 30px; fill: white; }

.wa-tooltip {
  position: absolute;
  right: 70px;
  white-space: nowrap;
  background: rgba(0,0,0,0.9);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-family: var(--font);
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 6px solid rgba(0,0,0,0.9);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.whatsapp-btn:hover .wa-tooltip { opacity: 1; }

/* ===== BACK TO TOP ===== */
.back-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 44px; height: 44px;
  background: rgba(227,25,55,0.9);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
  font-size: 1.2rem;
}

.back-top.visible { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--red); transform: translateY(-2px); }

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== MOBILE NAV TOGGLE ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

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

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(5,5,5,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 998;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

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

.mobile-menu a, .mobile-menu span {
  padding: 14px 16px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 10px;
  display: block;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.mobile-menu a:hover      { background: rgba(255,255,255,0.06); color: var(--white); }
.mobile-menu span:hover   { background: rgba(255,255,255,0.06); }
.mobile-submenu           { padding-left: 12px; display: none; }
.mobile-submenu.open      { display: block; }
.mobile-submenu a         { font-size: 0.85rem; color: var(--gray); padding: 10px 16px; }
.mobile-submenu a:hover   { color: var(--white); }

/* ===== RESPONSIVE — TABLET (≤1024px) ===== */
@media (max-width: 1024px) {
  .hero-bolt-container { display: none; }
  .hero-content        { margin-left: 0; max-width: 100%; }
  .hero                { justify-content: center; text-align: center; }
  .hero-actions        { justify-content: center; }
  .hero-stats          { justify-content: center; }

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

  .map-content    { grid-template-columns: 1fr; gap: 32px; }
  .map-info       { padding-bottom: 0; }
  .map-frame      {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    height: 360px;
  }

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

/* ===== RESPONSIVE — MOBILE (≤768px) ===== */
@media (max-width: 768px) {
  /* --- Nav --- */
  .navbar       { padding: 0 5%; height: 64px; }
  .nav-links    { display: none; }
  .nav-cta      { display: none; }
  .nav-toggle   { display: flex; }

  /* --- Sections --- */
  section       { padding: 60px 5%; }
  .features-strip { padding: 0 5%; }

  /* --- Hero --- */
  .hero                { min-height: 100svh; padding: 100px 5% 60px; align-items: flex-start; justify-content: flex-start; text-align: left; }
  .hero-content        { margin: 0; padding: 0; }
  .hero-title          { font-size: 2.2rem; }
  .hero-subtitle       { font-size: 0.9rem; }
  .hero-actions        { flex-direction: column; gap: 10px; justify-content: flex-start; }
  .hero-actions .btn   { width: 100%; justify-content: center; }
  .hero-stats          { gap: 12px; flex-wrap: wrap; }
  .hero-badge          { font-size: 0.65rem; padding: 5px 12px; }
  .hero-scroll         { display: none; }

  /* --- Features strip --- */
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-item  { padding: 20px 14px; gap: 10px; }
  .feature-item:last-child { border-right: 1px solid rgba(255,255,255,0.06); }
  .feature-item:nth-child(2) { border-right: none; }
  .feature-icon  { width: 38px; height: 38px; font-size: 1.1rem; }

  /* --- Voltage --- */
  .voltage-card  { padding: 30px 24px; }
  .voltage-num   { font-size: 3rem; }

  /* --- Products --- */
  .products-grid { grid-template-columns: 1fr; }
  .product-visual { height: 220px !important; }

  /* --- Apps --- */
  .apps-grid     { grid-template-columns: 1fr 1fr; gap: 12px; }
  .app-card      { padding: 24px 16px; }
  .app-emoji     { font-size: 2rem; margin-bottom: 10px; }
  .app-card h3   { font-size: 0.85rem; }
  .app-card p    { font-size: 0.75rem; }

  /* Stats bar inside applications */
  .apps-stats-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }

  /* --- Quote --- */
  .quote-box     { padding: 32px 20px; margin-top: 32px; }
  .quote-box h3  { font-size: 1.2rem; }
  .quote-email   { font-size: 0.75rem; padding: 12px 16px; word-break: break-all; }
  .quote-steps   { flex-direction: column; align-items: flex-start; gap: 10px; }
  .quote-steps > div[style] { display: none; }

  /* --- Map --- */
  .map-content   { gap: 24px; }
  .map-frame     { height: 280px; }
  .contact-items { gap: 10px; }
  .contact-item  { padding: 12px; }

  /* --- Blog preview --- */
  .blog-grid     { grid-template-columns: 1fr; }
  .blog-preview > div > div:first-child { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* --- Footer --- */
  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; font-size: 0.72rem; }
  footer         { padding: 48px 5% 24px; }

  /* --- WhatsApp & Back-top --- */
  .whatsapp-btn  { width: 52px; height: 52px; bottom: 20px; right: 20px; }
  .whatsapp-btn svg { width: 26px; height: 26px; }
  .back-top      { bottom: 20px; left: 20px; width: 40px; height: 40px; font-size: 1rem; }

  /* --- Buttons --- */
  .btn-large     { padding: 14px 28px; font-size: 0.88rem; }
  .btn-xl        { padding: 16px 32px; font-size: 0.92rem; }

  /* --- Section titles --- */
  .section-title { font-size: 1.7rem; }
  .section-desc  { font-size: 0.88rem; }
}

/* ===== RESPONSIVE — SMALL MOBILE (≤480px) ===== */
@media (max-width: 480px) {
  .navbar        { padding: 0 4%; height: 60px; }
  .mobile-menu   { top: 60px; }

  section        { padding: 50px 4%; }
  .features-strip { padding: 0 4%; }

  /* Hero */
  .hero          { padding: 90px 4% 50px; min-height: 100svh; }
  .hero-title    { font-size: 1.85rem; letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 0.85rem; }
  .hero-badge    { font-size: 0.6rem; }
  .stat-number   { font-size: 1.2rem; }
  .stat-label    { font-size: 0.6rem; }
  .stat-sep      { height: 28px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }
  .feature-item  { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .feature-item:last-child { border-bottom: none; }

  /* Voltage */
  .voltage-card  { padding: 24px 18px; }
  .voltage-num   { font-size: 2.6rem; }
  .voltage-name  { font-size: 1rem; }

  /* Apps */
  .apps-grid     { grid-template-columns: 1fr; }

  /* Quote */
  .quote-box     { padding: 28px 16px; }
  .quote-icon    { font-size: 2rem; }
  .quote-steps   { gap: 8px; }

  /* Blog */
  .blog-preview > div > div:first-child { flex-direction: column; }

  /* Map */
  .map-frame     { height: 240px; }

  /* Product visual */
  .product-visual { height: 190px !important; }

  /* Carousel buttons bigger tap area */
  .carousel-btn  { width: 36px; height: 36px; font-size: 1.4rem; }

  /* Footer */
  footer         { padding: 40px 4% 20px; }
  .footer-brand p { max-width: 100%; }

  /* Section label */
  .section-label { font-size: 0.65rem; }

  /* Stats inside apps section */
  .apps-stats-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ===== PRODUCT CAROUSEL ===== */
.prod-carousel {
  position: relative;
  width: 100%; height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide.active { opacity: 1; }

.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 3;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s;
  line-height: 1;
  padding: 0;
}

.carousel-btn:hover { background: rgba(227,25,55,0.75); border-color: var(--red); }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-dots {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 3;
}

.cdot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}

.cdot.active { background: var(--red); transform: scale(1.3); }

/* ==========================================================================
   ===== VOLT-INNOVATIONS: NEW CUSTOM STYLES (TABS, SCROLL, VIDEOS) =====
   ========================================================================== */

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--red) 0%, var(--blue) 100%);
  z-index: 9999;
  box-shadow: 0 0 10px rgba(227, 25, 55, 0.5), 0 0 20px rgba(0, 174, 255, 0.3);
  transition: width 0.1s ease-out;
}

/* --- Solutions Section Layout --- */
.solutions-section {
  padding: 100px 5% 80px;
  background: linear-gradient(180deg, #080808 0%, #0c0c0c 50%, #080808 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
}

/* --- Tabs Navigation --- */
.tabs-nav-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 45px;
  width: 100%;
}

.tabs-nav {
  display: flex;
  background: rgba(20, 20, 20, 0.7);
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  gap: 4px;
  width: auto;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}

.tabs-nav::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
  color: var(--white);
  background: rgba(227, 25, 55, 0.15);
  box-shadow: inset 0 0 0 1px rgba(227, 25, 55, 0.4);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Specific tab active effects */
.tab-btn[data-tab="comercial"].active {
  background: rgba(201, 168, 76, 0.15);
  box-shadow: inset 0 0 0 1px rgba(201, 168, 76, 0.4);
}
.tab-btn[data-tab="servicio-tecnico"].active {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.tab-btn[data-tab="electrolineras"].active {
  background: rgba(0, 174, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(0, 174, 255, 0.4);
}

.tab-btn-icon {
  font-size: 1.1rem;
}

/* --- Tab Panels Wrapper --- */
.tab-content-wrapper {
  position: relative;
  min-height: 480px;
}

.tab-pane {
  display: none;
  width: 100%;
}

.tab-pane.active {
  display: block;
  animation: tabFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes tabFadeIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-grid-two {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: start;
}

.pane-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pane-subtitle {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 8px;
}

.pane-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--red);
}

#tab-comercial .pane-subtitle::after { background: var(--gold); }
#tab-servicio-tecnico .pane-subtitle::after { background: var(--white); }
#tab-electrolineras .pane-subtitle::after { background: var(--blue); }

.pane-paragraph {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- TAB 1: RESIDENCIAL STYLES --- */
.voltage-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 10px;
}

.voltage-subcard {
  background: rgba(20, 20, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.3s ease;
}

.voltage-subcard:hover {
  background: rgba(30, 30, 30, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.voltage-subcard.level2:hover {
  box-shadow: 0 10px 30px rgba(0, 174, 255, 0.08);
  border-color: rgba(0, 174, 255, 0.2);
}

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

.v-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

.v-badge.active {
  color: var(--blue);
  background: rgba(0, 174, 255, 0.1);
  border-color: rgba(0, 174, 255, 0.2);
}

.v-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

.v-val.active {
  color: var(--blue);
}

.v-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.v-text {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 16px;
}

.v-specs-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

.v-specs-mini span {
  font-size: 0.72rem;
  color: var(--gray);
  font-weight: 500;
}

.v-specs-mini span.active {
  color: rgba(0, 174, 255, 0.85);
}

/* Horizontal Product List */
.pane-products-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-item-horizontal {
  display: flex;
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-item-horizontal:hover {
  background: rgba(25, 25, 25, 0.7);
  border-color: rgba(227, 25, 55, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.6);
}

.prod-img-wrap {
  width: 140px;
  min-height: 100%;
  position: relative;
  background: #000;
  flex-shrink: 0;
}

.prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prod-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.prod-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.prod-headline h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.badge-mini {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(255,255,255,0.06);
  color: var(--gray);
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-mini.active {
  background: rgba(227, 25, 55, 0.15);
  color: var(--red);
  border: 1px solid rgba(227, 25, 55, 0.3);
}

.prod-details p {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.4;
}

.prod-tags-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.p-tag {
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255,255,255,0.7);
  padding: 3px 8px;
  border-radius: 4px;
}

.btn-sm {
  align-self: flex-start;
  padding: 6px 14px;
  font-size: 0.72rem;
  border-radius: 6px;
  margin-top: 6px;
}

/* --- TAB 2: COMERCIAL STYLES --- */
.commercial-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comm-card {
  display: flex;
  gap: 16px;
  background: rgba(20, 20, 20, 0.4);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}

.comm-card:hover {
  background: rgba(30, 30, 30, 0.5);
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateX(4px);
}

.comm-icon {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comm-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.comm-info p {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.4;
}

/* Product Card Vertical (Commercial Tab) */
.product-card-vertical {
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
}

.product-card-vertical:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 15px 40px rgba(0,0,0,0.7), 0 0 15px rgba(201, 168, 76, 0.05);
}

.product-visual-commercial {
  height: 250px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
}

.prod-badge-comm {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 4;
}

.product-info-comm {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-info-comm h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.product-info-comm p {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.5;
}

.comm-cta {
  margin-top: 8px;
}

/* --- TAB 3: SERVICIO TÉCNICO STYLES --- */
.tech-services-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tech-service-item {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 16px;
}

.tech-service-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tech-icon {
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.tech-text p {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.45;
}

/* Console Simulator Styles */
.diagnostic-console {
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 25px rgba(255,255,255,0.03);
  font-family: 'Courier New', Courier, monospace;
}

.console-header {
  background: #18181b;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.console-dots {
  display: flex;
  gap: 6px;
}

.c-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.c-dot.red { background: #ef4444; }
.c-dot.yellow { background: #f59e0b; }
.c-dot.green { background: #22c55e; }

.console-title {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  letter-spacing: 1px;
}

.console-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.console-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.console-row label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.console-select {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 6px;
  outline: none;
  cursor: pointer;
  max-width: 60%;
}

.console-log-box {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 14px;
  min-height: 130px;
  max-height: 160px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.log-line {
  font-size: 0.7rem;
  line-height: 1.4;
  white-space: pre-wrap;
}

.log-line.text-gray { color: #71717a; }
.log-line.text-green { color: #22c55e; }
.log-line.text-yellow { color: #eab308; }
.log-line.text-red { color: #ef4444; }
.log-line.text-cyan { color: #06b6d4; }

.console-gauges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.gauge-card {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gauge-lbl {
  font-size: 0.55rem;
  color: #71717a;
  text-transform: uppercase;
}

.gauge-val {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}

.console-btn-row {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

/* --- TAB 4: ELECTROLINERAS & VIDEOS STYLES --- */
.charging-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-icon-card {
  display: flex;
  gap: 16px;
  background: rgba(20, 20, 20, 0.4);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.info-icon-badge {
  font-size: 1.3rem;
  background: rgba(0, 174, 255, 0.08);
  border: 1px solid rgba(0, 174, 255, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

.info-icon-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.info-icon-card p {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.4;
}

/* Video Phone Mockup Showcase */
.video-phones-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
  margin-top: 10px;
}

.phone-mockup {
  width: 200px;
  height: 356px; /* Perfect 9:16 vertical ratio */
  background: #09090b;
  border-radius: 32px;
  border: 4px solid #1a1a1a;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 15px rgba(255,255,255,0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

#phone-video-corp {
  box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 20px rgba(0, 174, 255, 0.15);
  border-color: rgba(0, 174, 255, 0.25);
}

#phone-video-tech {
  box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 20px rgba(227, 25, 55, 0.15);
  border-color: rgba(227, 25, 55, 0.25);
}

.phone-mockup:hover {
  transform: translateY(-8px) scale(1.03);
}

#phone-video-corp:hover {
  box-shadow: 0 25px 50px rgba(0,0,0,0.9), 0 0 35px rgba(0, 174, 255, 0.4);
  border-color: rgba(0, 174, 255, 0.6);
}

#phone-video-tech:hover {
  box-shadow: 0 25px 50px rgba(0,0,0,0.9), 0 0 35px rgba(227, 25, 55, 0.4);
  border-color: rgba(227, 25, 55, 0.6);
}

.phone-camera-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 10px;
  background: #000;
  border-radius: 10px;
  z-index: 10;
}

.phone-screen-content {
  width: 100%;
  height: 100%;
  position: relative;
  background: #000;
}

.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  z-index: 5;
  transition: opacity 0.3s ease;
}

.video-overlay.playing {
  opacity: 0;
  pointer-events: none; /* Let clicks pass through to video */
}

/* Make overlay visible on hover when playing */
.phone-mockup:hover .video-overlay.playing {
  opacity: 1;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.3);
}

.play-icon {
  font-size: 2.2rem;
  color: #fff;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-indent: 4px; /* Align play triangle */
  transition: all 0.3s ease;
}

.phone-mockup:hover .play-icon {
  transform: scale(1.15);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.reel-caption {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.video-audio-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 8;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  line-height: 1;
  padding: 0;
}

.video-audio-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* --- ADVANCED SCROLL-REVEAL CLASSES --- */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* --- RESPONSIVE WORK FOR NEW SECTIONS --- */
@media (max-width: 992px) {
  .tab-grid-two {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .prod-img-wrap {
    width: 120px;
  }
}

@media (max-width: 600px) {
  .solutions-section {
    padding: 60px 4% 50px;
  }
  .tabs-nav {
    border-radius: 10px;
    padding: 4px;
  }
  .tab-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
    gap: 6px;
  }
  .voltage-subgrid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .video-phones-grid {
    gap: 15px;
  }
  .phone-mockup {
    width: 150px;
    height: 266px;
    border-radius: 24px;
    border-width: 3px;
  }
  .phone-camera-notch {
    width: 40px;
    height: 8px;
    top: 6px;
  }
  .play-icon {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
  .product-item-horizontal {
    flex-direction: column;
  }
  .prod-img-wrap {
    width: 100%;
    height: 180px;
  }
  .btn-sm {
    width: 100%;
    text-align: center;
  }
}

