/* ==========================================================================
   APOLLO PAKISTAN - CINEMATIC TECH DESIGN SYSTEM
   Product: Apollo Home Inverter ALPHA 900W
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-space: #06080d;
  --bg-surface: #0c1017;
  --bg-card: #121824;
  --bg-card-hover: #182232;
  --bg-glass: rgba(18, 24, 36, 0.75);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.3);
  --border-focus: #00f2fe;

  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-emerald: #10b981;
  --accent-gold: #f59e0b;
  --accent-rose: #f43f5e;
  
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #06080d;

  --grad-cyan: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --grad-gold: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);

  --shadow-glow: 0 0 35px rgba(0, 242, 254, 0.2);
  --shadow-gold: 0 0 30px rgba(245, 158, 11, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-space);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 242, 254, 0.12), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(79, 172, 254, 0.05), transparent 70%),
    radial-gradient(circle at 10% 90%, rgba(16, 185, 129, 0.04), transparent 50%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* ==========================================================================
   SVG ICON UTILITIES & STATUS INDICATORS
   ========================================================================== */
.ui-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform var(--transition-fast), stroke var(--transition-fast), fill var(--transition-fast);
}

.feat-svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-cyan);
  transition: transform var(--transition-fast);
}

.feature-card:hover .feat-svg {
  transform: scale(1.1);
}

.text-gold { color: var(--accent-gold); }
.text-cyan { color: var(--accent-cyan); }
.text-emerald { color: var(--accent-emerald); }
.text-muted { color: var(--text-muted); }

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-emerald);
  font-weight: 600;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
  display: inline-block;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

.status-indicator-dot.ok { background: var(--accent-emerald); box-shadow: 0 0 8px var(--accent-emerald); }
.status-indicator-dot.warn { background: var(--accent-gold); box-shadow: 0 0 8px var(--accent-gold); }
.status-indicator-dot.alert { background: var(--accent-rose); box-shadow: 0 0 8px var(--accent-rose); }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(6, 8, 13, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.brand-logo img {
  height: 38px;
  width: auto;
  max-width: 165px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(0, 242, 254, 0.25));
  transition: var(--transition-fast);
}

.brand-text {
  display: none !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.nav-item,
.nav-dropdown-btn {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 0;
  transition: var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.nav-item:hover,
.nav-item.active,
.nav-dropdown-btn:hover,
.nav-dropdown-wrap:hover .nav-dropdown-btn,
.nav-dropdown-wrap.open .nav-dropdown-btn {
  color: var(--accent-cyan);
}

.dropdown-chevron {
  transition: transform 0.25s ease;
}

.nav-dropdown-wrap:hover .dropdown-chevron,
.nav-dropdown-wrap.open .dropdown-chevron {
  transform: rotate(180deg);
}

/* Dropdown Container & Menu */
.nav-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 390px;
  background: rgba(12, 16, 25, 0.96);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  z-index: 1000;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown-wrap:hover .nav-dropdown-menu,
.nav-dropdown-wrap.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu.nav-dropdown-menu-sm {
  min-width: 320px;
}

.dropdown-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-header {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 6px 12px 6px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.dropdown-item-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
}

.dropdown-item-icon.gold {
  color: var(--accent-gold);
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.08);
}

.dropdown-item-icon.cyan {
  color: var(--accent-cyan);
  border-color: rgba(0, 242, 254, 0.3);
  background: rgba(0, 242, 254, 0.08);
}

.dropdown-item-icon.red {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.08);
}

.dropdown-item-icon.emerald {
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
}

.dropdown-item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.dropdown-item-desc {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.dropdown-footer {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

.dropdown-footer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition-fast);
}

.dropdown-footer-link:hover {
  background: rgba(0, 242, 254, 0.08);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-cyan);
}

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-emerald);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-header-wa .wa-text-mobile {
  display: none;
}

.btn-header-wa .wa-text-desktop {
  display: inline;
}

.btn-header-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.45);
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  overflow-y: auto;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 6px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-group-title {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-top: 14px;
  margin-bottom: 6px;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumb-bar {
  padding: 12px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.breadcrumb-bar::-webkit-scrollbar {
  display: none;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  white-space: nowrap;
}

.breadcrumb-list a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.breadcrumb-list a:hover {
  color: var(--accent-cyan);
}

.breadcrumb-list .separator {
  opacity: 0.4;
}

.breadcrumb-list .current {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* ==========================================================================
   HERO PRODUCT SHOWCASE
   ========================================================================== */
.product-hero {
  padding: 20px 0 70px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

/* --- Left / Top: Visual Studio Stage --- */
.visual-stage {
  position: relative;
}

.stage-podium {
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(0, 242, 254, 0.08) 0%, rgba(12, 16, 23, 0.6) 70%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.ambient-light {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.25) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.main-product-img {
  position: relative;
  z-index: 2;
  max-height: 380px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.8));
  transition: transform var(--transition-smooth);
}

.main-product-img:hover {
  transform: scale(1.03) translateY(-4px);
}

.stage-badge-top {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 24, 36, 0.85);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-gold);
}

.stage-badge-right {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hotspot {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.25);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
  animation: pulseHotspot 2.5s infinite;
}

@keyframes pulseHotspot {
  0% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(0, 242, 254, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.hotspot::after {
  content: '';
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
}

.hotspot-display { top: 38%; left: 48%; }
.hotspot-charger { bottom: 25%; left: 30%; }
.hotspot-avr { bottom: 28%; right: 28%; }

.hotspot-tooltip {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-card);
  border: 1px solid var(--accent-cyan);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-card);
  z-index: 30;
  backdrop-filter: blur(12px);
}

.hotspot:hover .hotspot-tooltip,
.hotspot.active .hotspot-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Gallery Thumbnails */
.gallery-thumbs {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.thumb-item {
  flex: 1;
  height: 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.thumb-item:hover, .thumb-item.active {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.05);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.thumb-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* --- Right Column: Product Intelligence & Buying Bar --- */
.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.edition-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}

.product-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.product-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.stars {
  color: var(--accent-gold);
  letter-spacing: 2px;
}

.rating-val {
  font-weight: 700;
  color: var(--text-main);
}

.rating-count {
  color: var(--text-muted);
}

.verified-buyer {
  color: var(--accent-emerald);
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

/* Pricing Card */
.pricing-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.pricing-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-cyan);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}

.current-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
}

.currency-sym {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-right: 4px;
}

.regular-price {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.discount-badge {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: var(--accent-rose);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.price-subtext {
  font-size: 0.85rem;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Quick specs chips */
.specs-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.spec-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.chip-icon {
  font-size: 1.2rem;
}

.chip-content {
  display: flex;
  flex-direction: column;
}

.chip-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.chip-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Action Buttons */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn-primary-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--grad-emerald);
  color: #ffffff;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.35);
  transition: var(--transition-smooth);
}

.btn-primary-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(16, 185, 129, 0.5);
}

.btn-row-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-sec-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 13px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.btn-sec-call:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-sec-calc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  padding: 13px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.btn-sec-calc:hover {
  background: rgba(0, 242, 254, 0.18);
  border-color: var(--accent-cyan);
}

.showroom-promise {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FEATURE CARDS SECTION
   ========================================================================== */
.section-features {
  padding: 80px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-surface);
  opacity: 0.5;
  pointer-events: none;
}

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

.feat-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
}

.feat-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* ==========================================================================
   ANATOMY & HARDWARE BREAKDOWN
   ========================================================================== */
.section-anatomy {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-space) 0%, #090d14 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.anatomy-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.anatomy-visual-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.anatomy-img {
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.8));
}

.anatomy-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.anatomy-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
}

.anatomy-tab:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
}

.anatomy-tab.active {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.06);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.tab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.tab-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.anatomy-tab.active .tab-name {
  color: var(--accent-cyan);
}

.tab-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.tab-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   INTERACTIVE LOAD & BACKUP CALCULATOR
   ========================================================================== */
.section-calculator {
  padding: 90px 0;
  position: relative;
}

.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}

.calc-appliances-head {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.appliance-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.appliance-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: var(--transition-fast);
}

.appliance-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.app-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-icon {
  font-size: 1.5rem;
}

.app-title {
  font-weight: 600;
  font-size: 0.98rem;
}

.app-watts {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.counter-ctrl {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-count {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.btn-count:hover {
  background: var(--accent-cyan);
  color: var(--text-inverse);
}

.count-display {
  font-weight: 700;
  font-size: 1.05rem;
  min-width: 24px;
  text-align: center;
}

/* Calculator Result Gauge Side */
.calc-result-panel {
  background: rgba(6, 8, 13, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.load-meter-box {
  margin-bottom: 28px;
}

.meter-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.meter-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
}

.meter-limit {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.meter-track {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.meter-fill {
  height: 100%;
  width: 45%;
  background: var(--grad-cyan);
  border-radius: var(--radius-full);
  transition: width 0.4s ease, background 0.3s ease;
}

.meter-status-text {
  font-size: 0.8rem;
  margin-top: 8px;
  color: var(--accent-emerald);
  font-weight: 600;
}

.battery-selector {
  margin-bottom: 28px;
}

.battery-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: block;
}

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

.battery-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  padding: 8px 6px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.battery-btn.active, .battery-btn:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.backup-estimate-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}

.backup-time-val {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-emerald);
  line-height: 1.1;
}

.backup-time-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.btn-calc-wa {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--grad-cyan);
  color: var(--text-inverse);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.btn-calc-wa:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* ==========================================================================
   TECHNICAL SPECIFICATIONS TABLE
   ========================================================================== */
.section-specs {
  padding: 80px 0;
  background: var(--bg-surface);
}

.specs-matrix {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.spec-category-title {
  background: rgba(0, 242, 254, 0.05);
  padding: 16px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-cyan);
  border-bottom: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
}

.spec-category-title:first-child {
  border-top: none;
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.spec-key {
  color: var(--text-secondary);
  font-weight: 500;
}

.spec-val {
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   CUSTOMER REVIEWS & TRUST
   ========================================================================== */
.section-reviews {
  padding: 80px 0;
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 16px 0;
  font-style: italic;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--text-inverse);
  font-size: 1rem;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.reviewer-city {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SHOWROOM & KARACHI PICKUP
   ========================================================================== */
.section-location {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-space) 0%, #0a0e16 100%);
}

.location-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.loc-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-emerald);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.loc-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.loc-address {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.loc-details-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.loc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}

.loc-item strong {
  color: #ffffff;
}

.map-embed-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  height: 320px;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #040609;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

/* 5-Column layout when contact/locations column is present */
.footer-grid.has-5-cols,
.footer-grid:has(> .footer-col:nth-child(5)),
.footer-grid:has(> .contact-col) {
  grid-template-columns: 1.35fr 0.95fr 1.05fr 0.95fr 1.35fr;
  gap: 28px;
}

.footer-heading,
.footer-col-title {
  font-family: var(--font-display);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-bio,
.footer-desc,
.footer-tagline {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.showroom-addr {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 3px 0 0 0;
}

.showroom-timing {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 14px;
  transition: var(--transition-fast);
  text-decoration: none;
}

.footer-wa-btn:hover {
  background: var(--grad-emerald);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 14px;
}

.footer-contact-item {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.5;
  margin-top: 10px;
}

.footer-contact-item strong {
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   MOBILE STICKY ACTION BAR
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(12, 16, 23, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  padding: 12px 20px;
  align-items: center;
  justify-content: space-between;
}

.sticky-price-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.sticky-price-val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.sticky-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-emerald);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .anatomy-layout, .calc-grid, .location-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-grid,
  .footer-grid.has-5-cols,
  .footer-grid:has(> .footer-col:nth-child(5)),
  .footer-grid:has(> .contact-col) {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-col.brand-col {
    grid-column: 1 / -1;
  }

  .product-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0;
  }

  .nav-wrap {
    height: 60px;
  }

  .brand-logo {
    gap: 0;
  }

  .brand-logo img {
    height: 32px;
    max-width: 140px;
  }

  .brand-text {
    display: none !important;
  }

  .nav-actions {
    gap: 8px;
  }

  .btn-header-wa {
    padding: 7px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 4px;
    border-radius: var(--radius-full);
  }

  .btn-header-wa .wa-text-desktop {
    display: none !important;
  }

  .btn-header-wa .wa-text-mobile {
    display: inline !important;
  }

  .stage-podium {
    min-height: 340px;
    padding: 24px 16px;
  }

  .stage-badge-top, .stage-badge-right {
    font-size: 0.7rem;
    padding: 4px 10px;
    top: 12px;
  }

  .stage-badge-top { left: 12px; }
  .stage-badge-right { right: 12px; }

  .main-product-img {
    max-height: 260px;
  }

  .nav-links {
    display: none;
  }

  .features-grid, .reviews-grid, .footer-grid, .footer-grid.has-5-cols, .footer-grid:has(> .footer-col:nth-child(5)), .footer-grid:has(> .contact-col) {
    grid-template-columns: 1fr;
  }

  .product-title {
    font-size: 1.95rem;
  }

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

  .btn-row-secondary {
    grid-template-columns: 1fr;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .mobile-sticky-bar {
    display: flex;
  }

  body {
    padding-bottom: 80px;
  }

  .exploded-controls-bar {
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: stretch;
  }

  .slider-wrap {
    justify-content: space-between;
  }

  .exploded-stage {
    width: 300px;
    height: 300px;
    transform: rotateX(12deg) rotateY(-16deg);
  }

  .explode-layer {
    width: 300px;
    height: 280px;
  }

  .layer-hud {
    display: none; /* Keep mobile 3D view clean */
  }
}

/* ==========================================================================
   LIGHT / BRIGHT THEME SYSTEM
   ========================================================================== */
[data-theme="light"] {
  --bg-space: #f6f8fb;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.9);
  
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(2, 132, 199, 0.25);
  --border-focus: #0284c7;

  --accent-cyan: #0284c7;
  --accent-blue: #2563eb;
  --accent-emerald: #059669;
  --accent-gold: #d97706;
  --accent-rose: #e11d48;
  
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --grad-cyan: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --grad-emerald: linear-gradient(135deg, #059669 0%, #047857 100%);
  --grad-gold: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  --grad-surface: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0) 100%);

  --shadow-glow: 0 10px 30px rgba(2, 132, 199, 0.12);
  --shadow-gold: 0 10px 25px rgba(217, 119, 6, 0.15);
  --shadow-card: 0 12px 35px -8px rgba(15, 23, 42, 0.07);
}

[data-theme="light"] body {
  background-color: var(--bg-space);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(2, 132, 199, 0.06), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(37, 99, 235, 0.04), transparent 70%);
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .stage-podium {
  background: radial-gradient(circle at 50% 50%, rgba(2, 132, 199, 0.03) 0%, rgba(255, 255, 255, 0.95) 70%);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .stage-badge-top {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.1);
  color: #b45309;
}

[data-theme="light"] .pricing-box {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .current-price {
  color: #0f172a;
}

[data-theme="light"] .spec-chip {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.07);
}

[data-theme="light"] .showroom-promise {
  background: #f1f5f9;
  color: #475569;
}

[data-theme="light"] .calc-card {
  background: #ffffff;
  box-shadow: 0 15px 40px -10px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .calc-result-panel {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .meter-val {
  color: #0f172a;
}

[data-theme="light"] .appliance-item {
  background: #f8fafc;
}

[data-theme="light"] .btn-count {
  background: rgba(15, 23, 42, 0.07);
  color: #0f172a;
}

[data-theme="light"] .section-anatomy {
  background: #f1f5f9;
}

[data-theme="light"] .anatomy-visual-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .anatomy-tab {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .anatomy-tab:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .anatomy-tab.active {
  background: rgba(2, 132, 199, 0.06);
  border-color: #0284c7;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .anatomy-tab .tab-name {
  color: #0f172a;
}

[data-theme="light"] .anatomy-tab.active .tab-name {
  color: #0284c7;
}

[data-theme="light"] .hotspot-tooltip {
  background: #ffffff;
  color: #0f172a;
  border-color: #0284c7;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .section-specs {
  background: #f8fafc;
}

[data-theme="light"] .spec-val {
  color: #0f172a;
}

[data-theme="light"] .loc-item strong {
  color: #0f172a;
}

[data-theme="light"] .footer-col-title {
  color: #0f172a;
}

[data-theme="light"] .site-footer {
  background: #edf2f7;
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .mobile-sticky-bar {
  background: rgba(255, 255, 255, 0.96);
  border-top-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .sticky-price-val {
  color: #0f172a;
}

[data-theme="light"] .section-exploded {
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

[data-theme="light"] .stage-grid-glow {
  background-image: 
    linear-gradient(rgba(2, 132, 199, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.08) 1px, transparent 1px);
}

[data-theme="light"] .layer-card-inner {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .layer-hud {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .layer-hud .hud-title {
  color: #0f172a;
}

[data-theme="light"] .layer-hud .hud-sub {
  color: #475569;
}

[data-theme="light"] .mode-btn {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  color: #475569;
}

[data-theme="light"] .mode-btn.active {
  background: rgba(2, 132, 199, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

[data-theme="light"] .theme-toggle-btn {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--accent-cyan);
  transform: translateY(-1px);
}

.theme-icon {
  font-size: 1rem;
}

/* ==========================================================================
   3D CINEMATIC EXPLODED VIEW STYLES
   ========================================================================== */
.section-exploded {
  padding: 100px 0;
  background: linear-gradient(180deg, #06080d 0%, #0a0e17 50%, #06080d 100%);
  position: relative;
  overflow: hidden;
}

.exploded-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 24px;
  margin: 30px auto 0;
  max-width: 780px;
  box-shadow: var(--shadow-card);
}

.assembly-modes {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mode-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.mode-btn:hover, .mode-btn.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.slider-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.explode-slider {
  -webkit-appearance: none;
  width: 140px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  cursor: pointer;
}

.explode-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  cursor: pointer;
  transition: transform 0.15s;
}

.explode-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent-cyan);
  min-width: 38px;
}

/* 3D Stage */
.exploded-stage-wrapper,
.exploded-stage-wrap {
  position: relative;
  width: 100%;
  min-height: 560px;
  margin: 50px auto 30px;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.stage-grid-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(65deg);
  width: 800px;
  height: 800px;
  background-image: 
    linear-gradient(rgba(0, 242, 254, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  border-radius: 50%;
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 30%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}

.exploded-stage {
  position: relative;
  width: 260px;
  height: 340px;
  transform-style: preserve-3d;
  transform: rotateX(10deg) rotateY(-14deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.explode-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 260px;
  height: 340px;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, filter 0.3s ease;
  cursor: pointer;
}

.layer-halo {
  position: absolute;
  inset: -15px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
  filter: blur(20px);
  opacity: 0.5;
  pointer-events: none;
}

.layer-halo.cyan { background: radial-gradient(circle, rgba(0, 242, 254, 0.25) 0%, transparent 70%); }
.layer-halo.gold { background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%); }
.layer-halo.emerald { background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%); }

.layer-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  background: rgba(18, 24, 36, 0.7);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  overflow: visible;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.explode-layer:hover .layer-card-inner {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
}

/* Layer 1 Render */
.layer-render-img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.8));
}

/* Layer 2: PCB Board */
.pcb-card {
  background: linear-gradient(135deg, #091a24 0%, #061118 100%);
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.pcb-surface {
  width: 82%;
  height: 82%;
  border-radius: var(--radius-md);
  background: #061822;
  border: 1px solid rgba(0, 242, 254, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 16px;
  overflow: hidden;
}

.pcb-glow-lines {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(0, 242, 254, 0.15) 0%, transparent 40%),
    linear-gradient(45deg, transparent 48%, rgba(0, 242, 254, 0.2) 50%, transparent 52%);
  background-size: 100% 100%, 30px 30px;
}

.pcb-chip {
  position: relative;
  z-index: 2;
  background: #0a0e14;
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: var(--accent-cyan);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
}

.capacitor-pack {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.capacitor-pack span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #38bdf8 0%, #0369a1 70%, #082f49 100%);
  border: 1px solid #7dd3fc;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* Layer 3: Transformer Core */
.transformer-card {
  background: linear-gradient(135deg, #1a1208 0%, #0d0904 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.transformer-assembly {
  width: 80%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.copper-coil {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #b45309 0px, #b45309 3px, #d97706 4px, #f59e0b 6px, #78350f 8px);
  border: 4px solid #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.3);
}

.coil-core {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #1c1917;
  border: 2px solid #78350f;
  color: #fbbf24;
  font-size: 0.58rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: 0.05em;
}

.mosfet-heatsink {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mosfet-heatsink .fin {
  width: 70px;
  height: 10px;
  background: linear-gradient(90deg, #64748b 0%, #94a3b8 50%, #475569 100%);
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

/* Layer 4: Rear Base */
.base-card {
  background: linear-gradient(135deg, #061814 0%, #030e0b 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.base-chassis {
  width: 80%;
  height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.terminal-post {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.post-pos {
  background: rgba(239, 68, 68, 0.2);
  border: 2px solid #ef4444;
  color: #f87171;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.post-neg {
  background: rgba(148, 163, 184, 0.15);
  border: 2px solid #94a3b8;
  color: #e2e8f0;
}

.cooling-turbine {
  display: flex;
  align-items: center;
  gap: 10px;
}

.turbine-rotor {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px dashed var(--accent-emerald);
  animation: spinRotor 4s linear infinite;
}

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

.turbine-label {
  font-size: 0.72rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

/* HUD Badges on Layers */
.layer-hud {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateZ(35px);
  background: rgba(12, 16, 23, 0.94);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(14px);
  padding: 7px 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  z-index: 25;
  white-space: nowrap;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hud-top-left,
.hud-top-right {
  top: -46px;
  bottom: auto;
  transform: translateX(-50%) translateZ(35px);
}

.hud-bottom-left,
.hud-bottom-right {
  bottom: -48px;
  top: auto;
  transform: translateX(-50%) translateZ(35px);
}

.hud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  flex-shrink: 0;
}

.hud-dot.cyan { background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }
.hud-dot.gold { background: var(--accent-gold); box-shadow: 0 0 10px var(--accent-gold); }
.hud-dot.emerald { background: var(--accent-emerald); box-shadow: 0 0 10px var(--accent-emerald); }

.hud-info {
  display: flex;
  flex-direction: column;
}

.hud-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.hud-sub {
  font-size: 0.68rem;
  color: var(--text-secondary);
  line-height: 1.2;
}

/* Layer Pills Navigation */
.layer-nav-pills,
.layer-pills-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
  width: 100%;
}

.layer-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.layer-pill:hover, .layer-pill.active {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.pill-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.pill-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   APOLLO NEPTUNE 5.12kWh ESS BATTERY SPECIFIC STYLES
   ========================================================================== */
.btn-download-datasheet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  padding: 13px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.btn-download-datasheet:hover {
  background: var(--accent-cyan);
  color: var(--text-inverse);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

[data-theme="light"] .btn-download-datasheet {
  background: rgba(2, 132, 199, 0.08);
  border-color: #0284c7;
  color: #0284c7;
}

[data-theme="light"] .btn-download-datasheet:hover {
  background: #0284c7;
  color: #ffffff;
}

/* LCD Simulator on Battery Armor Layer */
.lcd-sim-display {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 90px;
  border-radius: 8px;
  background: #061118;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4), inset 0 0 10px rgba(0, 242, 254, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px;
  color: #00f2fe;
  font-family: var(--font-display);
}

.lcd-soc-val {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.lcd-soc-label {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.lcd-metrics-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(0, 242, 254, 0.25);
  font-size: 0.62rem;
  font-weight: 700;
}

/* BMS Board Layer Visual */
.bms-card {
  background: linear-gradient(135deg, #071922 0%, #030d12 100%);
  border: 1px solid rgba(0, 242, 254, 0.35);
}

.bms-layout {
  width: 86%;
  height: 86%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.bms-chip-grid {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.bms-chip-pill {
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  font-size: 0.64rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
}

/* 16S Prismatic LiFePO4 Cell Matrix */
.prismatic-cell-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 6px;
  width: 82%;
  height: 82%;
  padding: 8px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.cell-brick {
  background: linear-gradient(180deg, #065f46 0%, #047857 50%, #064e3b 100%);
  border: 1px solid #10b981;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.52rem;
  font-weight: 800;
  color: #a7f3d0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* Compatibility Badges Grid */
.inverter-compat-matrix {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.compat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
}

[data-theme="light"] .compat-chip {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

/* ==========================================================================
   HOMEPAGE SPECIFIC STYLES & HERO DUO SHOWCASE
   ========================================================================== */
.home-hero {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}

.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.home-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.home-hero-title .text-gradient {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.home-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.hero-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-card);
}

/* Flagship Duo Stage */
.hero-duo-stage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.duo-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  overflow: hidden;
}

.duo-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: 0 20px 40px -10px rgba(0, 242, 254, 0.2);
}

.duo-card.battery-theme:hover {
  border-color: #10b981;
  box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.2);
}

.duo-badge {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  margin-bottom: 16px;
}

.duo-card.battery-theme .duo-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}

.duo-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.duo-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.duo-img-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.duo-img-wrap img {
  max-height: 250px;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.duo-card:hover .duo-img-wrap img {
  transform: scale(1.06);
}

.duo-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.duo-price-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.duo-price-val {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.duo-card.battery-theme .duo-price-val {
  color: #10b981;
}

.duo-btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-duo-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: var(--grad-cyan);
  color: #06080d;
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.btn-duo-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-duo-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366;
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.btn-duo-wa:hover {
  background: #25d366;
  color: #06080d;
}

/* Catalog Filter Bar */
.cat-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 30px 0 45px;
}

.cat-filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.cat-filter-btn:hover {
  color: var(--text-main);
  border-color: var(--accent-cyan);
}

.cat-filter-btn.active {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--text-inverse);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

/* Home Products Grid */
.home-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 28px;
}

.home-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.home-product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: var(--shadow-card);
}

.card-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.card-tag.cyan { background: rgba(0, 242, 254, 0.1); color: var(--accent-cyan); border: 1px solid rgba(0, 242, 254, 0.25); }
.card-tag.gold { background: rgba(245, 158, 11, 0.1); color: var(--accent-gold); border: 1px solid rgba(245, 158, 11, 0.25); }
.card-tag.emerald { background: rgba(16, 185, 129, 0.1); color: var(--accent-emerald); border: 1px solid rgba(16, 185, 129, 0.25); }

.card-prod-img {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-prod-img img {
  max-height: 180px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.home-product-card:hover .card-prod-img img {
  transform: scale(1.05);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
}

.card-specs-list {
  list-style: none;
  margin-bottom: 20px;
}

.card-specs-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.card-specs-list li svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.card-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-price-box .price-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.card-price-box .price-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.btn-card-view {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.btn-card-view:hover {
  background: var(--accent-cyan);
  color: var(--text-inverse);
}

/* Interactive System Advisor */
.section-advisor {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 242, 254, 0.02) 50%, transparent 100%);
}

.advisor-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.advisor-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.advisor-preset-btn {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.advisor-preset-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--text-main);
}

.advisor-preset-btn.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.advisor-result-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
}

@media (max-width: 860px) {
  .advisor-result-grid {
    grid-template-columns: 1fr;
  }
}

.rec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.rec-label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.rec-val {
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
}

/* Why Apollo Pillars Grid */
.why-apollo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition-smooth);
}

.why-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
}

.why-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent-cyan);
}

.why-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

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

/* Light Theme Overrides for Homepage */
[data-theme="light"] .hero-stat-pill,
[data-theme="light"] .duo-card,
[data-theme="light"] .home-product-card,
[data-theme="light"] .advisor-box,
[data-theme="light"] .why-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.07);
}

[data-theme="light"] .cat-filter-btn,
[data-theme="light"] .advisor-preset-btn,
[data-theme="light"] .advisor-result-grid {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
  color: #475569;
}

[data-theme="light"] .cat-filter-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

[data-theme="light"] .advisor-preset-btn.active {
  background: rgba(2, 132, 199, 0.1);
  border-color: #0284c7;
  color: #0284c7;
}

[data-theme="light"] .btn-duo-primary {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
}

[data-theme="light"] .duo-title,
[data-theme="light"] .card-title,
[data-theme="light"] .why-title {
  color: #0f172a;
}

/* ==========================================================================
   INVERTER MODEL SWITCHER & TECHNICAL MATRIX STYLES (HUB & SPOKE)
   ========================================================================== */
.model-switcher-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 14px 22px;
  margin: 20px 0 35px;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.model-switcher-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-switcher-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.model-switcher-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.model-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.model-pill-link:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.model-pill-link.active {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #000000;
  box-shadow: var(--shadow-glow);
}

.model-pill-link.gold:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.model-pill-link.gold.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #000000;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.model-pill-link.red:hover {
  border-color: #ef4444;
  color: #ef4444;
}

.model-pill-link.red.active {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

/* Technical Matrix Table */
.tech-matrix-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  margin-top: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.tech-matrix-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.tech-matrix-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-subtle);
}

.tech-matrix-table td {
  padding: 14px 20px;
  font-size: 0.88rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.tech-matrix-table tr:hover td {
  background: rgba(0, 242, 254, 0.02);
}

.tech-matrix-table tr.highlight-row td {
  background: rgba(0, 242, 254, 0.05);
  font-weight: 600;
}

.tech-matrix-table td.cat-header {
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

/* Inverter Solar & Load Simulator Box */
.solar-sim-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.sim-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.sim-metric-tile {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-align: center;
}

.sim-metric-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.sim-metric-val.gold { color: var(--accent-gold); }
.sim-metric-val.emerald { color: var(--accent-emerald); }

.sim-metric-lbl {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   PRODUCT HERO SECTION & CARD STYLING (INVERTER PAGES)
   ========================================================================== */
.prod-hero-section {
  padding: 10px 0 60px;
  position: relative;
  width: 100%;
}

.prod-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
  margin-top: 10px;
}

@media (max-width: 1024px) {
  .prod-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.prod-gallery-col {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.main-img-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  min-height: 480px;
  max-height: 520px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.main-img-stage .main-product-img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.75));
  transition: transform var(--transition-smooth), opacity 0.2s ease;
}

.main-img-stage .main-product-img:hover {
  transform: scale(1.03) translateY(-4px);
}

.floating-stat-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 4;
  background: rgba(18, 24, 36, 0.88);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.floating-stat-badge .stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.floating-stat-badge .stat-lbl {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.thumb-strip {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  width: 100%;
}

.thumb-strip .thumb-item {
  flex: 1;
  height: 84px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-fast);
}

.thumb-strip .thumb-item:hover,
.thumb-strip .thumb-item.active {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.thumb-strip .thumb-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Card Tags */
.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
}

.card-tag.gold {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--accent-gold);
}

.card-tag.red {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #ef4444;
}

.card-tag.cyan {
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.35);
  color: var(--accent-cyan);
}

/* Product Info Right Column */
.prod-info-col {
  display: flex;
  flex-direction: column;
}

.prod-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .prod-title {
    font-size: 1.8rem;
  }
}

.prod-lead-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
}

.prod-quick-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 10px 0 22px;
}

@media (max-width: 520px) {
  .prod-quick-specs {
    grid-template-columns: 1fr;
  }
}

.quick-spec-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: var(--transition-fast);
}

.quick-spec-tile:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.spec-tile-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 4px;
}

.spec-tile-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.spec-tile-sub {
  display: block;
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.prod-action-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-top: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.price-caption {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 3px;
}

.price-val-main {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.15;
}

.price-stock-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--accent-emerald);
  font-weight: 600;
  margin-top: 5px;
}

.price-stock-status .stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.btn-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-order-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #052613 !important;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-order-wa:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
  color: #052613 !important;
}

.btn-secondary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-secondary-action:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  color: var(--text-main);
}

/* Light Mode Overrides for Inverter Elements */
[data-theme="light"] .model-switcher-wrap,
[data-theme="light"] .tech-matrix-wrap,
[data-theme="light"] .solar-sim-card,
[data-theme="light"] .quick-spec-tile,
[data-theme="light"] .prod-action-box {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .main-img-stage {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .floating-stat-badge {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .floating-stat-badge .stat-lbl {
  color: #64748b;
}

[data-theme="light"] .thumb-strip .thumb-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .thumb-strip .thumb-item:hover,
[data-theme="light"] .thumb-strip .thumb-item.active {
  background: #f0fdf4;
  border-color: #0284c7;
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.2);
}

[data-theme="light"] .prod-title {
  color: #0f172a;
}

[data-theme="light"] .spec-tile-label {
  color: #0f172a;
}

[data-theme="light"] .spec-tile-sub {
  color: #64748b;
}

[data-theme="light"] .btn-secondary-action {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

[data-theme="light"] .btn-secondary-action:hover {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.2);
  color: #0f172a;
}

[data-theme="light"] .card-tag.gold {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.3);
  color: #b45309;
}

[data-theme="light"] .card-tag.red {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

[data-theme="light"] .card-tag.cyan {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.3);
  color: #0284c7;
}

[data-theme="light"] .model-pill-link {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

[data-theme="light"] .model-pill-link.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

[data-theme="light"] .tech-matrix-table th {
  background: #f8fafc;
  color: #0284c7;
}

[data-theme="light"] .tech-matrix-table td.cat-header {
  background: #f1f5f9;
  color: #b45309;
}

[data-theme="light"] .tech-matrix-table tr:hover td {
  background: #f8fafc;
}

[data-theme="light"] .sim-metric-tile {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}

/* Light Mode Dropdowns & Mobile Drawer */
[data-theme="light"] .nav-dropdown-menu {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14), 0 0 1px rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .dropdown-item:hover {
  background: #f1f5f9;
}

[data-theme="light"] .dropdown-item-title {
  color: #0f172a;
}

[data-theme="light"] .dropdown-item-desc {
  color: #64748b;
}

[data-theme="light"] .dropdown-header {
  color: #94a3b8;
}

[data-theme="light"] .dropdown-footer-link {
  color: #0284c7;
}

[data-theme="light"] .dropdown-footer-link:hover {
  background: #f0fdf4;
}

[data-theme="light"] .mobile-nav-drawer {
  background: #ffffff;
  border-left-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .mobile-nav-link {
  color: #0f172a;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .mobile-menu-toggle {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

/* ==========================================================================
   HUAWEI-INSPIRED FLAGSHIP INVERTER DESIGN SYSTEM
   Components: Sticky Sub-Navigation, Video Theater, 4 Pillars, Solar Simulator
   ========================================================================== */

/* 1. Sticky Sub-Navigation Bar */
.product-subnav {
  position: sticky;
  top: 70px;
  z-index: 90;
  background: rgba(6, 8, 13, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 242, 254, 0.2);
  transition: all var(--transition-fast);
}

.subnav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  gap: 20px;
}

.subnav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  white-space: nowrap;
}

.subnav-brand .model-tag {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.subnav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.subnav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.subnav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.subnav-link.active {
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.subnav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.subnav-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #06080d;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  white-space: nowrap;
}

.subnav-cta-wa:hover {
  background: #22bf5b;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* 2. Flagship Value Propositions Grid (Top Bar) */
.flagship-value-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0 20px;
}

.value-pill-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(18, 24, 36, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-smooth);
}

.value-pill-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
  background: rgba(18, 24, 36, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 242, 254, 0.15);
}

.value-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.value-pill-icon.cyan {
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.value-pill-icon.gold {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.value-pill-icon.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.value-pill-icon.purple {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.value-pill-text {
  display: flex;
  flex-direction: column;
}

.value-pill-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.3;
}

.value-pill-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* 3. Technology Video Theater Section */
.section-video-theater {
  margin: 90px 0;
  position: relative;
}

.theater-outer {
  position: relative;
  background: linear-gradient(180deg, rgba(12, 16, 23, 0.95) 0%, rgba(6, 8, 13, 0.98) 100%);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-xl);
  padding: 40px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 45px rgba(0, 242, 254, 0.12);
}

.theater-ambient-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.theater-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 2;
}

.theater-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.theater-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.theater-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 12px;
}

.video-screen-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(0, 242, 254, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  margin-top: 24px;
}

.video-screen-container video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.video-hud-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(6, 8, 13, 0.75);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  pointer-events: none;
  z-index: 5;
}

.hud-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: pulse 1.8s infinite;
}

/* Interactive Chapter Selector */
.video-chapters-wrap {
  margin-top: 28px;
  position: relative;
  z-index: 2;
}

.video-chapters-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.chapter-btn {
  background: rgba(18, 24, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: left;
  transition: all var(--transition-fast);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chapter-btn:hover {
  background: rgba(18, 24, 36, 1);
  border-color: rgba(0, 242, 254, 0.4);
  transform: translateY(-2px);
}

.chapter-btn.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.chapter-time {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.chapter-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

/* 4. The 4 Innovation Storytelling Pillars */
.section-flagship-pillars {
  margin: 100px 0;
}

.pillars-hero-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 50px;
}

.pillars-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

.pillar-feature-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
  background: rgba(18, 24, 36, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 48px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.pillar-feature-row.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.pillar-feature-row.reverse .pillar-visual-col {
  order: -1;
}

.pillar-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pillar-heading {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 16px;
}

.pillar-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.pillar-specs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.5;
}

.pillar-spec-item .bullet-icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Overload Telemetry Box (Huawei MAP0 Style) */
.overload-telemetry-box {
  background: rgba(12, 16, 23, 0.9);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.telemetry-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.telemetry-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.overload-bar-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
}

.bar-load-pct {
  color: var(--text-main);
}

.bar-duration {
  color: var(--accent-cyan);
  font-family: monospace;
}

.bar-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 1s ease;
}

.bar-fill.fill-110 {
  width: 55%;
  background: linear-gradient(90deg, #10b981, #00f2fe);
}

.bar-fill.fill-150 {
  width: 75%;
  background: linear-gradient(90deg, #00f2fe, #f59e0b);
}

.bar-fill.fill-200 {
  width: 100%;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}

/* Split-Phase Dual Load Visualizer */
.split-load-box {
  background: rgba(12, 16, 23, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.split-circuit-card {
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid;
  transition: all var(--transition-fast);
}

.split-circuit-card.primary {
  background: rgba(0, 242, 254, 0.06);
  border-color: rgba(0, 242, 254, 0.35);
}

.split-circuit-card.secondary {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.35);
}

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

.circuit-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.circuit-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.split-circuit-card.primary .circuit-badge {
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
}

.split-circuit-card.secondary .circuit-badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
}

.circuit-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 5. Interactive Daytime Solar & Bill Savings Simulator */
.section-solar-sim {
  margin: 100px 0;
  background: linear-gradient(180deg, rgba(12, 16, 23, 0.8) 0%, rgba(6, 8, 13, 0.95) 100%);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.sim-container-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 36px;
}

.sim-controls-pane {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sim-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-input-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
}

.sim-model-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sim-model-btn {
  background: rgba(18, 24, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.sim-model-btn:hover {
  background: rgba(18, 24, 36, 1);
  color: var(--text-main);
}

.sim-model-btn.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.sim-slider-range {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  outline: none;
  -webkit-appearance: none;
  accent-color: var(--accent-cyan);
}

.sim-appliances-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sim-app-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 24, 36, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-app-toggle.active {
  border-color: rgba(0, 242, 254, 0.4);
  background: rgba(0, 242, 254, 0.08);
}

.app-toggle-info {
  display: flex;
  flex-direction: column;
}

.app-toggle-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.app-toggle-watt {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.app-checkbox {
  accent-color: var(--accent-cyan);
  width: 18px;
  height: 18px;
}

/* Results Display Dashboard */
.sim-results-pane {
  background: rgba(6, 8, 13, 0.85);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.results-top-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-label-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.status-badge-zero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent-emerald);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.results-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.res-metric-card {
  background: rgba(18, 24, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.res-metric-lbl {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.res-metric-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
}

.res-metric-val.cyan {
  color: var(--accent-cyan);
}

.res-metric-val.emerald {
  color: var(--accent-emerald);
}

.res-metric-val.gold {
  color: var(--accent-gold);
}

.savings-highlight-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(0, 242, 254, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.savings-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-emerald);
  line-height: 1.2;
}

.savings-subtext {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Light Mode Adaptations */
[data-theme="light"] .product-subnav {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .subnav-brand {
  color: #0f172a;
}

[data-theme="light"] .subnav-link {
  color: #475569;
}

[data-theme="light"] .subnav-link:hover {
  background: #f1f5f9;
  color: #0f172a;
}

[data-theme="light"] .subnav-link.active {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #38bdf8;
}

[data-theme="light"] .value-pill-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .value-pill-title {
  color: #0f172a;
}

[data-theme="light"] .theater-outer {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .theater-title {
  color: #0f172a;
}

[data-theme="light"] .chapter-btn {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .chapter-btn:hover {
  background: #f1f5f9;
}

[data-theme="light"] .chapter-btn.active {
  background: #e0f2fe;
  border-color: #0284c7;
}

[data-theme="light"] .chapter-title {
  color: #0f172a;
}

[data-theme="light"] .pillar-feature-row {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .pillar-heading {
  color: #0f172a;
}

[data-theme="light"] .pillar-spec-item {
  color: #1e293b;
}

[data-theme="light"] .overload-telemetry-box,
[data-theme="light"] .split-load-box {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .telemetry-title {
  color: #0f172a;
}

[data-theme="light"] .bar-load-pct {
  color: #0f172a;
}

[data-theme="light"] .section-solar-sim {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .sim-input-label {
  color: #0f172a;
}

[data-theme="light"] .sim-model-btn {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
  color: #475569;
}

[data-theme="light"] .sim-app-toggle {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .app-toggle-name {
  color: #0f172a;
}

[data-theme="light"] .sim-results-pane {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .status-label-main {
  color: #0f172a;
}

[data-theme="light"] .res-metric-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .res-metric-val {
  color: #0f172a;
}

@media (max-width: 1024px) {
  .flagship-value-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .chapters-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pillar-feature-row,
  .pillar-feature-row.reverse {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .pillar-feature-row.reverse .pillar-visual-col {
    order: 0;
  }
  .sim-container-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .product-subnav {
    top: 60px;
    background: rgba(6, 8, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.2);
    padding: 6px 0 8px 0;
  }
  .subnav-container {
    padding: 0 14px;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .subnav-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 0.92rem;
  }
  .subnav-brand .model-tag {
    font-size: 0.65rem;
    padding: 2px 7px;
    letter-spacing: 0.3px;
  }
  .subnav-actions {
    display: none !important;
  }
  .subnav-menu {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0;
  }
  .subnav-menu::-webkit-scrollbar {
    display: none;
  }
  .subnav-link {
    font-size: 0.78rem;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .subnav-link.active {
    background: rgba(0, 242, 254, 0.15);
    color: var(--accent-cyan);
    border-color: rgba(0, 242, 254, 0.5);
  }
  .flagship-value-bar {
    grid-template-columns: 1fr;
  }
  .theater-outer {
    padding: 24px 16px;
  }
  .theater-title {
    font-size: 1.8rem;
  }
  .chapters-grid {
    grid-template-columns: 1fr;
  }
  .video-switcher-bar {
    grid-template-columns: 1fr;
  }
  .sim-appliances-grid {
    grid-template-columns: 1fr;
  }
  .results-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* Sunprox Max Video Model Switcher & Red Flagship Theme */
.video-switcher-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
  position: relative;
  z-index: 3;
}

.video-switcher-btn {
  background: rgba(18, 24, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  color: var(--text-main);
  text-decoration: none;
}

.video-switcher-btn:hover {
  background: rgba(28, 36, 52, 0.95);
  border-color: rgba(239, 68, 68, 0.5);
  transform: translateY(-2px);
}

.video-switcher-btn.active {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(18, 24, 36, 0.95) 100%);
  border-color: #ef4444;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.35);
}

.video-switcher-btn .play-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.video-switcher-btn.active .play-icon {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 14px #ef4444;
}

.video-switcher-btn .btn-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.video-switcher-btn .btn-text strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.video-switcher-btn .btn-text small {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.theater-outer.red-theme {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 45px rgba(239, 68, 68, 0.15);
}

.theater-outer.red-theme .theater-ambient-glow {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.22) 0%, transparent 70%);
}

.theater-outer.red-theme .theater-badge {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.theater-outer.red-theme .video-screen-container {
  border-color: rgba(239, 68, 68, 0.3);
}

.card-tag.red {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #f87171;
}

.subnav-link.red-theme.active {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.5);
}

