/* ==========================================================================
   NOON SOLAR — LUXURY OBSIDIAN & METALLIC GOLD STOREFRONT STYLES
   Visual Identity: Deep Black, Charcoal, Metallic Gold & Architectural Precision
   ========================================================================== */

/* Announcement Bar */
.announcement-bar {
  background-color: var(--brand-black);
  color: #FAF9F6;
  font-size: var(--text-xs);
  padding: 0.55rem var(--space-4);
  border-bottom: 1px solid var(--brand-border-dark);
  position: relative;
  z-index: 1010;
}

.announcement-bar .announcement-link {
  color: var(--brand-gold);
  font-weight: 700;
  margin-left: 0.5rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration-fast);
}

.announcement-bar .announcement-link:hover {
  color: var(--brand-gold-bright);
}

.announcement-bar .announcement-close {
  background: none;
  border: none;
  color: var(--brand-muted);
  cursor: pointer;
  padding: 0.2rem;
  transition: color var(--duration-fast);
}

.announcement-bar .announcement-close:hover {
  color: var(--brand-white);
}

/* Floating Navigation Header (Deep Obsidian Black Navbar) */
.header-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-spring);
  padding: 0.75rem 0;
}

.header-wrapper.scrolled {
  padding: 0.35rem 0;
}

.navbar-solar {
  background: rgba(11, 11, 13, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--brand-border-dark);
  border-radius: var(--radius-full);
  padding: 0.5rem clamp(1rem, 1.8vw, 1.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 1.6vw, 2rem);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  transition: all var(--duration-normal) var(--ease-spring);
}

.header-wrapper.scrolled .navbar-solar {
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7);
  border-color: rgba(244, 180, 0, 0.3);
  background: rgba(11, 11, 13, 0.98);
}

/* Brand Identity */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: clamp(0.25rem, 0.9vw, 1rem);
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-height: 42px;
  object-fit: contain;
  transition: transform var(--duration-fast) var(--ease-smooth);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.02);
}

/* Nav Menu Desktop */
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: clamp(0.55rem, 1.3vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-link-item {
  position: relative;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-link-anchor,
.navbar-solar .nav-link-anchor {
  font-size: clamp(0.8125rem, 0.9vw, 0.875rem);
  font-weight: 600;
  color: #FAF9F6 !important;
  padding: 0.45rem clamp(0.2rem, 0.45vw, 0.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
  transition: color var(--duration-fast);
  position: relative;
}

.nav-link-anchor span,
.navbar-solar .nav-link-anchor span {
  white-space: nowrap;
}

.nav-link-anchor:hover,
.nav-link-anchor.active,
.navbar-solar .nav-link-anchor:hover,
.navbar-solar .nav-link-anchor.active {
  color: var(--brand-gold) !important;
}

.nav-link-anchor::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--brand-gold);
  box-shadow: 0 0 10px rgba(244, 180, 0, 0.65);
  transition: width var(--duration-normal) var(--ease-spring);
}

.nav-link-anchor:hover::after,
.nav-link-anchor.active::after {
  width: 100%;
}

/* Mega Menu Dropdown */
.mega-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 820px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  padding: var(--space-6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-spring);
  z-index: 100;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-6);
}

.nav-link-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.mega-menu-card {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  text-decoration: none;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  transition: all var(--duration-fast);
}

.mega-menu-card:hover {
  background: rgba(244, 180, 0, 0.08);
  border-color: rgba(244, 180, 0, 0.4);
}

.mega-menu-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(244, 180, 0, 0.12);
  color: var(--brand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mega-menu-card:hover .mega-menu-icon {
  background: var(--brand-gold);
  color: #0B0B0D;
}

.mega-menu-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.mega-menu-desc {
  font-size: var(--text-2xs);
  color: var(--text-secondary);
  line-height: 1.35;
}

.mega-menu-promo {
  background: linear-gradient(135deg, #1A1A1D 0%, #0B0B0D 100%);
  border: 1px solid rgba(244, 180, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  color: var(--color-pure-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Nav Actions Right */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.nav-action-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--brand-border-dark);
  color: #FAF9F6;
  cursor: pointer;
  position: relative;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.nav-action-btn:hover {
  background: rgba(244, 180, 0, 0.12);
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

.cart-count-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: linear-gradient(135deg, #FFC928 0%, #F4B400 100%);
  color: #0B0B0D;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(244, 180, 0, 0.5);
  transition: transform var(--duration-normal) var(--ease-spring);
}

/* ==========================================================================
   CINEMATIC FULL-WIDTH HERO: POWERING A BRIGHTER TOMORROW
   ========================================================================== */

.cinematic-hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: #0B0B0D;
  color: #FFFFFF;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(4.5rem, 10vw, 7.5rem);
  border-bottom: 1px solid var(--brand-border-dark, #26262B);
}

.hero-bg-media-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100% !important;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100% !important;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.4s ease;
  will-change: opacity, transform;
  pointer-events: none;
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide .hero-bg-media {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center 36%;
  transform: scale(1.0);
  transition: transform 7.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-bg-media {
  transform: scale(1.06);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(11, 11, 13, 0.94) 0%, rgba(11, 11, 13, 0.82) 44%, rgba(11, 11, 13, 0.46) 75%, rgba(11, 11, 13, 0.28) 100%),
    linear-gradient(180deg, rgba(11, 11, 13, 0.45) 0%, transparent 35%, rgba(11, 11, 13, 0.92) 100%);
  pointer-events: none;
  z-index: 2;
}

[data-theme="light"] .hero-bg-overlay {
  background: 
    linear-gradient(90deg, rgba(11, 11, 13, 0.92) 0%, rgba(11, 11, 13, 0.80) 45%, rgba(11, 11, 13, 0.50) 75%, rgba(11, 11, 13, 0.35) 100%),
    linear-gradient(180deg, rgba(11, 11, 13, 0.4) 0%, transparent 35%, rgba(11, 11, 13, 0.9) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Hero Slider Ambient Controls & Progress Pills */
.hero-slider-controls {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.5rem, 5vw, 4rem);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(11, 11, 13, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.65rem;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  user-select: none;
}

.hero-slider-btn {
  background: transparent;
  border: none;
  color: #FAF9F6;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  outline: none;
}

.hero-slider-btn:hover,
.hero-slider-btn:focus-visible {
  background: rgba(244, 180, 0, 0.25);
  color: var(--brand-gold, #F4B400);
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-dot {
  width: 24px;
  height: 5px;
  border-radius: 3px;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.hero-dot .dot-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--brand-gold, #F4B400);
  border-radius: 3px;
}

.hero-dot.active {
  width: 42px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dot.active .dot-progress {
  animation: heroDotProgress 5s linear forwards;
}

@keyframes heroDotProgress {
  from { width: 0%; }
  to { width: 100%; }
}

@media (max-width: 768px) {
  .hero-slider-controls {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.3rem 0.5rem;
  }
  .hero-dot {
    width: 16px;
    height: 4px;
  }
  .hero-dot.active {
    width: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 0.3s ease;
  }
  .hero-slide .hero-bg-media,
  .hero-slide.active .hero-bg-media {
    transform: none !important;
    transition: none !important;
  }
  .hero-dot.active .dot-progress {
    animation: none !important;
    width: 100% !important;
  }
}

.hero-content-container {
  z-index: 3;
  width: 100%;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.15rem;
  background: rgba(244, 180, 0, 0.12);
  border: 1px solid rgba(244, 180, 0, 0.38);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-gold-bright, #FBBF24);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-trust-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gold, #F4B400);
  box-shadow: 0 0 10px var(--brand-gold, #F4B400);
  animation: heroBadgePulse 2s infinite;
}

@keyframes heroBadgePulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.cinematic-hero-title {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.75rem, 6.2vw, 4.95rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin-bottom: 1.35rem;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.75);
}

.highlight-gold {
  background: linear-gradient(135deg, #FFF08A 0%, #FBBF24 35%, #F59E0B 75%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  filter: drop-shadow(0 2px 18px rgba(245, 158, 11, 0.5));
}

.cinematic-hero-lead {
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.65;
  color: #E2E8F0;
  max-width: 680px;
  margin-bottom: 2.25rem;
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.btn-solar-hero {
  padding: 0.95rem 1.85rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-solar-hero-primary {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #0B0B0D !important;
  border: 1.5px solid #F59E0B;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.38);
}

.btn-solar-hero-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  box-shadow: 0 14px 32px rgba(245, 158, 11, 0.55);
  color: #000000 !important;
}

.btn-solar-hero-glass {
  background: rgba(11, 11, 13, 0.65);
  color: #FFFFFF !important;
  border: 1.5px solid rgba(245, 158, 11, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-solar-hero-glass:hover {
  transform: translateY(-2px);
  background: rgba(245, 158, 11, 0.18);
  border-color: #FBBF24;
  color: #FFFFFF !important;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.25);
}

.hero-highlights-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #CBD5E1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: linear-gradient(to top, #0B0B0D 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Smooth Entrance Animation */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-fade-in-up {
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-fade-in-up,
  .hero-bg-media,
  .hero-trust-badge .badge-dot {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 991px) {
  .cinematic-hero-section {
    min-height: 75vh;
    padding: 3.5rem 0 4.5rem;
  }
  .cinematic-hero-title {
    font-size: clamp(2.35rem, 5.8vw, 3.6rem);
  }
  .cinematic-hero-lead {
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
  }
}

@media (max-width: 576px) {
  .cinematic-hero-section {
    min-height: 85vh;
    padding: 3rem 0 3.75rem;
  }
  .cinematic-hero-title {
    font-size: 2.25rem;
    line-height: 1.1;
  }
  .btn-solar-hero {
    width: 100%;
    justify-content: center;
  }
  .hero-cta-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  .hero-highlights-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--brand-gold-bright);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.hero-pill-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-gold);
  box-shadow: 0 0 10px var(--brand-gold);
  animation: pulse 1.8s infinite;
}

.hero-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
}

[data-theme="light"] .hero-title {
  color: #111113;
}

.hero-title .highlight-lime {
  color: var(--brand-gold-bright);
  background: linear-gradient(120deg, rgba(244, 180, 0, 0.15) 0%, rgba(244, 180, 0, 0.04) 100%);
  padding: 0 0.35rem;
  border-radius: var(--radius-xs);
  border-bottom: 2px solid var(--brand-gold);
}

.hero-description {
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: var(--space-8);
}

[data-theme="light"] .hero-description {
  color: #4B5563;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-10);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-color);
}

.stat-item-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--brand-gold-bright);
  line-height: 1;
  margin-bottom: var(--space-1);
}

[data-theme="light"] .stat-item-number {
  color: var(--brand-gold-deep);
}

.stat-item-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Visual Art-Direction */
.hero-visual-card {
  position: relative;
  background: linear-gradient(145deg, #0B0B0D 0%, #1A1A1D 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  color: var(--color-pure-white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(244, 180, 0, 0.3);
  overflow: hidden;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.solar-flow-display {
  background: rgba(17, 17, 19, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(244, 180, 0, 0.25);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  margin-top: var(--space-5);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 25px rgba(244, 180, 0, 0.08), 0 12px 35px rgba(0, 0, 0, 0.5);
}

/* Electric Circuit Background Grid */
.solar-flow-display::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 180, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 180, 0, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Animated Electric Cable Paths */
.electric-cable {
  stroke-dasharray: 8 6;
  animation: powerCableFlow 1s linear infinite;
  stroke: #F4B400;
  filter: drop-shadow(0 0 5px rgba(244, 180, 0, 0.8));
}

.electric-cable.cable-home {
  animation-duration: 0.85s;
  stroke: #FFFFFF;
  filter: drop-shadow(0 0 6px #FFFFFF);
}

.electric-cable.cable-battery {
  animation-duration: 1.1s;
  stroke: #FFC928;
  filter: drop-shadow(0 0 5px #FFC928);
}

.electric-cable.cable-grid {
  animation-duration: 1.3s;
  stroke: #C58B00;
  filter: drop-shadow(0 0 4px #C58B00);
}

@keyframes powerCableFlow {
  from {
    stroke-dashoffset: 28;
  }

  to {
    stroke-dashoffset: 0;
  }
}

/* Flow Node Structure */
.flow-node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: var(--space-2);
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  position: relative;
  transition: transform var(--duration-fast);
}

.flow-node:hover {
  transform: translateY(-2px);
}

.flow-node-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
  color: var(--color-solar-lime);
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* Pulsing Electric Halo around Inverter & Nodes */
.flow-node-icon.node-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid var(--color-solar-lime);
  opacity: 0;
  animation: pulseHalo 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes pulseHalo {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.flow-node-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.04em;
}

.flow-node-metric {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-solar-lime);
}

/* Simulation Scenario Mode Tabs */
.sim-mode-toggle {
  display: flex;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 3px;
  margin-top: var(--space-4);
  gap: 4px;
}

.sim-mode-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  padding: 5px 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--duration-fast);
  text-align: center;
  white-space: nowrap;
}

.sim-mode-btn:hover {
  color: #FFFFFF;
}

.sim-mode-btn.active {
  background: #F59E0B !important;
  color: #0B0B0D !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.45) !important;
}

/* ==========================================================================
   LIVE BRAND PARTNERS NEWS TICKER (MARQUEE)
   ========================================================================== */

.live-brand-ticker-section {
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  padding: 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.live-ticker-container {
  display: flex;
  align-items: center;
  width: 100%;
  height: 64px;
}

.live-ticker-header {
  background: #0B0B0D;
  color: #FAF9F6;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1.25rem;
  height: 100%;
  flex-shrink: 0;
  border-right: 3px solid var(--brand-gold, #F4B400);
  z-index: 10;
  box-shadow: 4px 0 14px rgba(0, 0, 0, 0.08);
}

.live-pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #10B981;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: liveTickerPulse 1.8s infinite;
  flex-shrink: 0;
}

@keyframes liveTickerPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1.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);
  }
}

.live-ticker-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.live-tag {
  color: var(--brand-gold, #F4B400);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-label {
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marquee-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent 0%, black 25px, black calc(100% - 25px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25px, black calc(100% - 25px), transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: max-content;
  animation: marqueeScroll 80s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brand-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.95rem;
  background: #FFFFFF;
  border: 1px solid #EBEAE5;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  height: 44px;
}

.brand-ticker-item:hover {
  border-color: #F4B400;
  background: #FFFDF5;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(244, 180, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    overflow-x: auto;
  }
}

@media (max-width: 768px) {
  .live-ticker-container {
    height: 54px;
  }
  .live-ticker-header {
    padding: 0 0.75rem;
  }
  .live-label {
    display: none;
  }
  .brand-ticker-item {
    height: 38px;
    padding: 0.3rem 0.65rem;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   INTERACTIVE SOLAR ESTIMATOR WIDGET
   ========================================================================== */

.estimator-section {
  padding: var(--space-16) 0;
}

.estimator-card {
  background: var(--color-pure-white);
  border: 1px solid var(--color-soft-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.estimator-inputs {
  padding: var(--space-10);
}

.estimator-results {
  background: linear-gradient(160deg, #991B1B 0%, #DC2626 100%);
  color: var(--color-pure-white);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.bill-slider {
  width: 100%;
  accent-color: var(--color-deep-forest);
  margin: var(--space-3) 0;
}

.bill-display-amount {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-deep-forest);
}

.estimator-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.estimator-kpi {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.estimator-kpi-val {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-solar-lime);
}

.estimator-kpi-lbl {
  font-size: var(--text-2xs);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   CART DRAWER & SEARCH OVERLAY
   ========================================================================== */

.cart-drawer-backdrop,
.search-overlay-backdrop {
  position: fixed;
  inset: 0;
  background: var(--modal-backdrop-bg, rgba(0, 0, 0, 0.7));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-spring);
}

.cart-drawer-backdrop.active,
.search-overlay-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 2001;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--duration-normal) var(--ease-spring), visibility var(--duration-normal) var(--ease-spring);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer-header {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-primary);
}

.cart-drawer-close {
  color: var(--text-primary);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  color: var(--text-primary);
}

.cart-drawer-footer {
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
}

/* Search Overlay */
.search-modal-container {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  width: 90%;
  max-width: 680px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  z-index: 2002;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-spring);
  overflow: hidden;
}

.search-modal-container.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.search-modal-header {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--bg-surface);
}

.search-modal-input {
  width: 100%;
  border: none;
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  color: var(--text-primary);
  background: transparent;
  outline: none;
}

.search-modal-input::placeholder {
  color: var(--text-muted);
}

.search-modal-results {
  max-height: 400px;
  overflow-y: auto;
  padding: var(--space-4) var(--space-6);
  background: var(--bg-surface);
  color: var(--text-primary);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.footer-solar {
  background-color: var(--color-dark-evergreen);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1.25fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-pure-white);
  margin-bottom: var(--space-4);
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-link-list a {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-sm);
  transition: all var(--duration-fast);
}

.footer-link-list a:hover {
  color: var(--color-solar-lime);
  transform: translateX(3px);
}

.footer-bottom-bar {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Tablet Landscape & Compact Laptops (992px to 1240px) */
@media (min-width: 992px) and (max-width: 1240px) {
  .navbar-solar {
    padding: 0.45rem 1rem;
    gap: 0.65rem;
  }
  .brand-logo {
    margin-right: 0.25rem;
  }
  .brand-logo-img {
    height: 38px;
    max-height: 38px;
  }
  .nav-links-desktop {
    gap: 0.45rem;
  }
  .nav-link-anchor,
  .navbar-solar .nav-link-anchor {
    font-size: 0.78rem;
    padding: 0.4rem 0.2rem;
    gap: 0.25rem;
  }
  .nav-link-anchor .badge {
    font-size: 8px !important;
    padding: 1px 4px !important;
  }
}

@media (max-width: 991px) {
  .nav-links-desktop {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .estimator-card {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .estimator-inputs,
  .estimator-results {
    padding: var(--space-6);
  }
}

/* ==========================================================================
   ADVANCED FEATURES: SMART APPLIANCE LAB & SINE WAVE OSCILLOSCOPE
   ========================================================================== */

.smart-lab-section {
  background: linear-gradient(175deg, #09271F 0%, #061A14 100%);
  color: #FFFFFF;
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}

.smart-lab-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-solar-lime), transparent);
}

.station-dashboard-card {
  background: rgba(16, 59, 45, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(199, 243, 107, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(199, 243, 107, 0.04);
}

.appliance-toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--space-3);
  margin: var(--space-4) 0;
}

.appliance-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-spring);
  user-select: none;
}

.appliance-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(199, 243, 107, 0.3);
  transform: translateY(-2px);
}

.appliance-pill.active {
  background: rgba(199, 243, 107, 0.15);
  border-color: var(--color-solar-lime);
  box-shadow: 0 4px 16px rgba(199, 243, 107, 0.25);
}

.appliance-pill .indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #64748B;
  transition: all var(--duration-fast);
}

.appliance-pill.active .indicator-dot {
  background: #22C55E;
  box-shadow: 0 0 10px #22C55E;
}

.oscilloscope-box {
  background: #020C08;
  border: 1px solid rgba(199, 243, 107, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  position: relative;
  overflow: hidden;
}

.oscilloscope-box canvas {
  width: 100%;
  height: 140px;
  display: block;
}

/* ==========================================================================
   MOBILE OFFCANVAS NAVIGATION DRAWER
   ========================================================================== */

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 39, 31, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-spring);
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 86%;
  max-width: 340px;
  background: var(--color-pure-white);
  z-index: 2101;
  transform: translateX(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--duration-normal) var(--ease-spring), visibility var(--duration-normal) var(--ease-spring);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.35);
}

.mobile-nav-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-soft-border);
}

.mobile-nav-body {
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  color: var(--color-dark-evergreen);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast);
}

.mobile-nav-link svg {
  width: 18px;
  height: 18px;
  color: var(--color-deep-forest);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(16, 59, 45, 0.08);
  color: var(--color-deep-forest);
}

.mobile-cat-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  font-size: 13px;
  font-weight: 600;
  color: #4A554D;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}

.mobile-cat-pill:hover {
  background: #F7F8F3;
  color: var(--color-dark-evergreen);
  transform: translateX(4px);
}

/* ==========================================================================
   ANIMATED POWER PICTURES & ELECTRIC FLOW CONDUITS
   ========================================================================== */

/* Animated Power Laser Scanner */
.laser-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #EF4444, #FFFFFF, transparent);
  box-shadow: 0 0 15px #EF4444, 0 0 30px rgba(255, 255, 255, 0.8);
  opacity: 0.85;
  animation: laserSweep 3.5s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 5;
}

@keyframes laserSweep {
  0% {
    top: 2%;
    opacity: 0.25;
  }

  50% {
    opacity: 0.95;
  }

  100% {
    top: 96%;
    opacity: 0.25;
  }
}

/* Microgrid Interactive Hotspot Nodes */
.hotspot-node {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(26, 5, 7, 0.9);
  border: 2px solid var(--color-solar-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-solar-lime);
  cursor: pointer;
  z-index: 6;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.7);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s;
}

.hotspot-node:hover {
  transform: scale(1.25);
  box-shadow: 0 0 28px #EF4444;
}

.hotspot-node::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--color-solar-lime);
  animation: pingHalo 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes pingHalo {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Hotspot Popover Tooltip */
.hotspot-popover {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(26, 5, 7, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #FFFFFF;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 158, 11, 0.2);
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 10;
}

.hotspot-popover::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(26, 5, 7, 0.96) transparent transparent transparent;
}

.hotspot-node:hover .hotspot-popover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Active Step Hotspot Highlight State */
.hotspot-node.active-step {
  transform: scale(1.3);
  background: #F59E0B;
  color: #FFFFFF;
  border-color: #FFFFFF;
  box-shadow: 0 0 35px #F59E0B, 0 0 15px #FFFFFF;
  z-index: 15;
}

.hotspot-node.active-step .hotspot-popover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  border-color: #F59E0B;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 158, 11, 0.6);
}

.hotspot-node.active-step::after {
  border-color: #FFFFFF;
  animation: pingHaloActive 1.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingHaloActive {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.hotspot-step-tag {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 18px;
  height: 18px;
  background: #FFFFFF;
  color: #D97706;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  border: 1px solid #D97706;
}

/* Step-by-Step Flow Stepper Component */
.step-flow-pills {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px;
  border-radius: var(--radius-lg);
}

@media (max-width: 576px) {
  .step-flow-pills {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  }
}

.step-flow-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #F1F5F9 !important;
  padding: 6px 8px;
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}

.step-flow-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.step-flow-btn.active {
  background: #F59E0B !important;
  color: #0B0B0D !important;
  border-color: #F59E0B !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.45) !important;
}

.step-flow-btn .step-num {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}

.step-flow-btn.active .step-num {
  background: #FFFFFF;
  color: #F59E0B;
}

.step-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
}

.step-progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #F59E0B, #FFFFFF);
  transition: width 0.35s ease;
  box-shadow: 0 0 8px #F59E0B;
}

/* Active Step Telemetry Node */
.flow-node.active-step .flow-node-icon {
  transform: scale(1.15);
  border-color: #FFFFFF !important;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.7), 0 0 10px #FFFFFF;
  background: rgba(245, 158, 11, 0.3) !important;
}

.flow-node.active-step .flow-node-title {
  color: #FFFFFF !important;
  font-weight: 800;
}

.flow-node.active-step .flow-node-metric {
  color: #FFFFFF !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Oscilloscope Mode Selector Buttons */
.osc-mode-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.osc-mode-btn.active-pure {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22C55E;
  color: #86EFAC;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.3);
}

.osc-mode-btn.active-distorted {
  background: rgba(239, 68, 68, 0.2);
  border-color: #EF4444;
  color: #FCA5A5;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
}

/* Solar Roof Tilt Irradiance Simulator */
.tilt-simulator-canvas {
  width: 100%;
  height: 200px;
  background: #030E09;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(199, 243, 107, 0.25);
  display: block;
}

/* ==========================================================================
   TOPCON SILICON WAFER LABORATORY TEST BENCH — CINEMATIC HUD & LASER SCAN
   ========================================================================== */

.topcon-showcase-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #08080A;
  border: 1px solid rgba(244, 180, 0, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 25px rgba(244, 180, 0, 0.08);
  isolation: isolate;
  aspect-ratio: 16 / 9;
  max-height: 440px;
}

.topcon-showcase-card img.topcon-wafer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
  filter: brightness(0.96) contrast(1.04);
}

.topcon-showcase-card:hover img.topcon-wafer-img {
  transform: scale(1.03);
  filter: brightness(1.0) contrast(1.06);
}

/* Subtle Vignette & Dark Protection Layer */
.topcon-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(8, 8, 10, 0.45) 85%, rgba(8, 8, 10, 0.8) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Diagonal Microscopic Laser Beam Overlay */
.topcon-laser-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}

.topcon-live-laser {
  animation: topconLaserPulse 2.8s ease-in-out infinite alternate;
}

@keyframes topconLaserPulse {
  0% {
    opacity: 0.65;
    stroke-width: 2.5;
  }
  50% {
    opacity: 1;
    stroke-width: 4.2;
  }
  100% {
    opacity: 0.75;
    stroke-width: 3;
  }
}

/* Corner Reticle Viewfinder Brackets */
.topcon-corner-bracket {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.topcon-showcase-card:hover .topcon-corner-bracket {
  opacity: 0.85;
}

.topcon-corner-tl { top: 16px; left: 16px; border-top: 1.5px solid #00E5FF; border-left: 1.5px solid #00E5FF; }
.topcon-corner-tr { top: 16px; right: 16px; border-top: 1.5px solid var(--brand-gold); border-right: 1.5px solid var(--brand-gold); }
.topcon-corner-bl { bottom: 54px; left: 16px; border-bottom: 1.5px solid #00E5FF; border-left: 1.5px solid #00E5FF; }
.topcon-corner-br { bottom: 54px; right: 16px; border-bottom: 1.5px solid var(--brand-gold); border-right: 1.5px solid var(--brand-gold); }

/* HUD Badges Top */
.topcon-hud-badge {
  position: absolute;
  top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(10, 11, 15, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(244, 180, 0, 0.35);
  border-radius: 9999px;
  color: #FFFFFF;
  font-size: 11px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
  letter-spacing: 0.04em;
  z-index: 3;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}
.topcon-hud-left { left: 20px; }
.topcon-hud-right { right: 20px; border-color: rgba(0, 229, 255, 0.45); }

.topcon-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
  animation: topconDotBlink 1.4s infinite;
}

@keyframes topconDotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Bottom HUD Telemetry Strip */
.topcon-hud-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 20px;
  background: rgba(8, 9, 13, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 3;
}

.topcon-telemetry-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-family: monospace;
}

.topcon-cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34D399;
  font-size: 11px;
  font-weight: 700;
  font-family: monospace;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   ENGINEERING SPECIFICATION BENCHMARK CARDS (RIGHT SIDE)
   ========================================================================== */

.topcon-spec-card {
  position: relative;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 18px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.topcon-spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-gold), #00E5FF);
  opacity: 0.6;
  transition: opacity 0.28s ease, height 0.28s ease;
}

.topcon-spec-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 180, 0, 0.6) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08), 0 0 18px rgba(244, 180, 0, 0.12);
}

.topcon-spec-card:hover::before {
  opacity: 1;
  height: 3px;
}

.topcon-spec-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(244, 180, 0, 0.12);
  border: 1px solid rgba(244, 180, 0, 0.3);
  color: var(--brand-gold-bright, #F4B400);
  transition: transform 0.28s ease, background 0.28s ease;
}

.topcon-spec-card:hover .topcon-spec-icon-box {
  transform: scale(1.08) rotate(3deg);
  background: rgba(244, 180, 0, 0.2);
}

.topcon-spec-metric {
  font-family: var(--font-display, inherit);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.topcon-spec-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(244, 180, 0, 0.15);
  color: var(--brand-gold);
  border: 1px solid rgba(244, 180, 0, 0.35);
  display: inline-block;
}

/* Benchmark Comparison Gauge Bar */
.topcon-benchmark-bar {
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
  position: relative;
}

[data-theme="dark"] .topcon-benchmark-bar {
  background: rgba(255, 255, 255, 0.1);
}

.topcon-benchmark-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand-gold), #10B981);
}

@media (prefers-reduced-motion: reduce) {
  .topcon-laser-scanner {
    animation: none;
    top: 50%;
  }
  .topcon-reticle-ring,
  .topcon-reticle-pulse,
  .topcon-pulse-dot {
    animation: none;
  }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE ENGINE (Tablets & Smartphones)
   ========================================================================== */

/* 1. Prevent Any Horizontal Scroll / Side Wobble / Left Gap */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .header-wrapper {
    padding: 0.35rem 0;
    width: 100%;
    max-width: 100%;
  }

  .navbar-solar {
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-lg);
    width: 100%;
  }

  .brand-logo {
    font-size: 1.15rem;
    gap: 0.5rem;
  }

  .brand-icon-mark {
    width: 32px;
    height: 32px;
  }

  .brand-tag {
    display: none;
  }

  .oscilloscope-box canvas {
    max-width: 100% !important;
    height: 110px;
  }

  .tilt-simulator-canvas {
    max-width: 100% !important;
    height: auto;
  }
}

/* 2. Estimator Card Responsive Layout */
@media (max-width: 991px) {
  .estimator-card {
    grid-template-columns: 1fr;
    border-radius: var(--radius-xl);
  }

  .estimator-inputs {
    padding: var(--space-6);
  }

  .estimator-results {
    padding: var(--space-6);
  }
}

@media (max-width: 576px) {
  .estimator-inputs {
    padding: 1.25rem 1rem;
  }

  .estimator-results {
    padding: 1.25rem 1rem;
  }

  .estimator-kpi-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 1rem 0;
  }

  .bill-display-amount {
    font-size: 1.5rem;
  }
}

/* 3. Interactive Microgrid Simulator Mobile Adaptations */
@media (max-width: 768px) {
  #microgrid-simulator .rounded-4[style*="height: 420px"] {
    height: 300px !important;
  }

  .hotspot-node {
    width: 28px;
    height: 28px;
  }

  .hotspot-node svg {
    width: 13px !important;
    height: 13px !important;
  }

  .hotspot-popover {
    white-space: normal;
    width: 180px;
    font-size: 10px;
    padding: 0.4rem 0.6rem;
  }

  .flow-node-icon {
    width: 44px;
    height: 44px;
  }

  .flow-node-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  .flow-node-title {
    font-size: 9px;
  }

  .flow-node-metric {
    font-size: 10px;
  }
}

@media (max-width: 576px) {
  #microgrid-simulator .rounded-4[style*="height: 420px"] {
    height: 250px !important;
  }

  .step-flow-pills {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }

  .step-flow-btn {
    font-size: 10px;
    padding: 5px 6px;
  }

  .sim-mode-toggle {
    flex-direction: column;
    border-radius: var(--radius-md);
  }

  .sim-mode-btn {
    white-space: normal;
    padding: 6px 10px;
    font-size: 11px;
  }

  .brand-strip-wrapper {
    justify-content: center;
    gap: 1rem;
  }

  .brand-item {
    font-size: 14px;
  }
}

/* ==========================================================================
   NOON SOLAR — ADVANCED HARDWARE FILTERING SYSTEM
   Visual Identity: Obsidian & Metallic Gold Precision Engineering Console
   ========================================================================== */

.hardware-filter-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: var(--card-shadow);
  transition: all var(--duration-fast);
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-gold) rgba(255, 255, 255, 0.08);
}

/* Custom Precision Gold Vertical Scrollbars */
.hardware-filter-sidebar::-webkit-scrollbar,
.filter-category-list-scroll::-webkit-scrollbar,
.sidebar-brand-list-scroll::-webkit-scrollbar {
  width: 6px;
}

.hardware-filter-sidebar::-webkit-scrollbar-track,
.filter-category-list-scroll::-webkit-scrollbar-track,
.sidebar-brand-list-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin: 6px 0;
}

[data-theme="light"] .hardware-filter-sidebar::-webkit-scrollbar-track,
[data-theme="light"] .filter-category-list-scroll::-webkit-scrollbar-track,
[data-theme="light"] .sidebar-brand-list-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.06);
}

.hardware-filter-sidebar::-webkit-scrollbar-thumb,
.filter-category-list-scroll::-webkit-scrollbar-thumb,
.sidebar-brand-list-scroll::-webkit-scrollbar-thumb {
  background: var(--brand-gold, #F4B400);
  border-radius: 10px;
}

.hardware-filter-sidebar::-webkit-scrollbar-thumb:hover,
.filter-category-list-scroll::-webkit-scrollbar-thumb:hover,
.sidebar-brand-list-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--brand-gold-bright, #FFC928);
}

/* Mobile Offcanvas Reset */
#mobileFilterDrawer .hardware-filter-sidebar {
  max-height: none;
  overflow-y: visible;
  border: none;
  padding: 0;
  box-shadow: none;
  background: transparent;
}

.hardware-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: -1.25rem;
  background: var(--bg-surface);
  z-index: 5;
  padding-top: 0.25rem;
}

.hardware-filter-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display, sans-serif);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

.hardware-filter-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(244, 180, 0, 0.12);
  color: var(--brand-gold);
  border: 1px solid rgba(244, 180, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.filter-group-wrapper {
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.filter-group-wrapper:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
  cursor: pointer;
  user-select: none;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}

.filter-group-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 0;
}

.filter-chevron {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.filter-group-header[aria-expanded="false"] .filter-chevron {
  transform: rotate(-90deg);
}

/* Scrollable Category List with Vertical Scrollbar */
.filter-category-list-scroll {
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-gold) rgba(255, 255, 255, 0.08);
  padding-right: 4px;
}

/* Category Navigation Items */
.filter-category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

.filter-category-item:hover {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
  transform: translateX(2px);
}

.filter-category-item.active {
  background: #0B0B0D !important;
  color: #FFC928 !important;
  font-weight: 700;
  border-left: 3px solid var(--brand-gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] .filter-category-item.active {
  background: #18181B !important;
  color: #FFC928 !important;
}

/* Inverter Architecture Segmented Pills */
.filter-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.filter-type-pill {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border-color);
  background: var(--bg-surface-subtle);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  transition: all 0.15s ease;
  line-height: 1.25;
}

.filter-type-pill span.sublabel {
  font-size: 0.64rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}

.filter-type-pill:hover {
  border-color: var(--brand-gold);
  background: var(--bg-surface-hover);
  color: var(--brand-gold-bright);
}

.filter-type-pill.active {
  background: #0B0B0D !important;
  border-color: var(--brand-gold);
  color: #FFC928 !important;
  box-shadow: 0 0 0 1px var(--brand-gold);
}

.filter-type-pill.active span.sublabel {
  color: rgba(255, 201, 40, 0.85);
}

/* Capacity Badge Chips */
.filter-capacity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.filter-capacity-badge {
  display: flex;
  flex-direction: column;
  padding: 0.45rem 0.6rem;
  border-radius: 0.55rem;
  border: 1px solid var(--border-color);
  background: var(--bg-surface-subtle);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  transition: all 0.15s ease;
  line-height: 1.2;
}

.filter-capacity-badge span.cap-sublabel {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-capacity-badge:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold-bright);
  background: var(--bg-surface-hover);
}

.filter-capacity-badge.active {
  background: #0B0B0D !important;
  border-color: var(--brand-gold);
  color: #FFC928 !important;
  box-shadow: 0 0 0 1px var(--brand-gold);
}

.filter-capacity-badge.active span.cap-sublabel {
  color: rgba(255, 201, 40, 0.85);
}

/* Phase Toggle Cards */
.filter-phase-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-phase-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid var(--border-color);
  background: var(--bg-surface-subtle);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.filter-phase-card:hover {
  border-color: var(--brand-gold);
  background: var(--bg-surface-hover);
  color: var(--brand-gold-bright);
}

.filter-phase-card.active {
  background: #0B0B0D !important;
  border-color: var(--brand-gold);
  color: #FFC928 !important;
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--brand-gold);
}

/* Live Brand Search Input & List */
.sidebar-brand-search-box {
  position: relative;
  margin-bottom: 0.6rem;
}

.sidebar-brand-search-box input {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 0.65rem;
  font-size: 0.78rem;
  padding: 0.45rem 0.75rem 0.45rem 2rem;
  width: 100%;
  transition: all 0.15s ease;
}

.sidebar-brand-search-box input:focus {
  outline: none;
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 2px rgba(244, 180, 0, 0.18);
}

.sidebar-brand-list-scroll {
  max-height: 230px;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 4px;
}

.sidebar-brand-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.42rem 0.65rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: all 0.15s ease;
  margin-bottom: 2px;
}

.sidebar-brand-card:hover {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
  transform: translateX(2px);
}

.sidebar-brand-card.active {
  background: #0B0B0D !important;
  color: #FFC928 !important;
  font-weight: 700;
  border-left: 3px solid var(--brand-gold);
}

.badge-brand-tier {
  font-size: 9px;
  font-weight: 700;
  padding: 1.5px 5.5px;
  border-radius: 4px;
  background: rgba(244, 180, 0, 0.12);
  color: var(--brand-gold);
  border: 1px solid rgba(244, 180, 0, 0.25);
  margin-left: 4px;
  display: inline-block;
  line-height: 1.1;
}

/* Dispatch & Availability Switch Box */
.filter-switch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  background: var(--bg-surface-subtle);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  user-select: none;
}

.filter-switch-card:hover {
  border-color: var(--brand-gold);
  background: var(--bg-surface-hover);
}

.filter-switch-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-gold);
  cursor: pointer;
}

/* Pulsing radar dot for stock */
.radar-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  position: relative;
  display: inline-block;
  vertical-align: 1px;
}

.radar-pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #10B981;
  animation: radarPulse 1.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes radarPulse {
  0% { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Active Specs Chip Bar */
.active-specs-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  margin-bottom: 1.25rem;
  box-shadow: var(--card-shadow);
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.15s ease;
}

.spec-chip:hover {
  border-color: #EF4444;
  color: #EF4444;
  background: rgba(239, 68, 68, 0.08);
}

.spec-chip .chip-dismiss {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.14);
  color: #EF4444;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.spec-clear-all {
  font-size: 0.75rem;
  font-weight: 700;
  color: #EF4444;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  transition: all 0.15s ease;
}

.spec-clear-all:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
}

/* Mobile Filter Drawer Button */
.mobile-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn-mobile-filter {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.15rem;
  border-radius: 9999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.15s ease;
}

.btn-mobile-filter:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

/* ==========================================================================
   NOON SOLAR — IN-WEBSITE VIDEO THEATER MODAL
   ========================================================================== */

.btn-play-trigger {
  cursor: pointer;
  z-index: 5;
  outline: none;
}

.btn-play-trigger:focus-visible {
  outline: 2px solid var(--brand-gold);
  border-radius: 50%;
}

.btn-play-trigger:hover .hover-scale {
  transform: scale(1.12);
  box-shadow: 0 0 24px rgba(244, 180, 0, 0.65) !important;
}

#noonVideoTheaterModal .modal-content {
  border: 1px solid rgba(244, 180, 0, 0.35) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

#noonVideoTheaterModal .modal-dialog {
  max-width: 960px;
}

@media (min-width: 1200px) {
  #noonVideoTheaterModal .modal-dialog {
    max-width: 1040px;
  }
}

/* ==========================================================================
   WHOLE-HOME CLEAN ENERGY ARCHITECTURE — ANIMATED SCHEMATIC ENGINE
   ========================================================================== */

.arch-diagram-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 400px;
  background: #060709;
  border-radius: var(--radius-xl, 1rem);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(244, 180, 0, 0.15);
  border: 1px solid rgba(244, 180, 0, 0.35);
  user-select: none;
}

.arch-base-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.96) contrast(1.05);
  transition: filter 0.3s ease;
}

/* 1. Sun Heat & Radiation Layer */
.arch-sun-layer {
  position: absolute;
  top: 1%;
  left: 0.5%;
  width: 13%;
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 4;
}

.arch-sun-corona {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 191, 0, 0.65) 0%, rgba(245, 158, 11, 0.4) 45%, transparent 75%);
  filter: blur(8px);
  animation: sunCoronaPulse 3s ease-in-out infinite alternate;
}

@keyframes sunCoronaPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 0.95; }
}

.arch-heat-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(251, 191, 36, 0.7);
  animation: heatRippleExpand 2.4s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

.arch-heat-ripple:nth-child(2) {
  animation-delay: 0.8s;
}

.arch-heat-ripple:nth-child(3) {
  animation-delay: 1.6s;
}

@keyframes heatRippleExpand {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
    box-shadow: 0 0 25px rgba(239, 68, 68, 0);
  }
}

/* Streaming Solar Heat Rays / Photons toward Rooftop Panels */
.arch-sun-rays-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.arch-heat-beam {
  stroke-dasharray: 6 8;
  animation: heatRaysStream 1.2s linear infinite;
  filter: drop-shadow(0 0 6px rgba(255, 193, 7, 0.85));
}

@keyframes heatRaysStream {
  from { stroke-dashoffset: 42; }
  to { stroke-dashoffset: 0; }
}

/* 2. Solar PV Absorption Layer */
.arch-panel-absorb-layer {
  position: absolute;
  top: 38%;
  left: 2.5%;
  width: 32%;
  height: 38%;
  border-radius: 8px;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
}

.arch-panel-absorb-grid {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.35) 0%, rgba(56, 189, 248, 0.3) 50%, rgba(251, 191, 36, 0.35) 100%);
  mix-blend-mode: screen;
  opacity: 0.6;
  animation: panelAbsorbGlow 2.5s ease-in-out infinite alternate;
}

@keyframes panelAbsorbGlow {
  0% { opacity: 0.3; filter: brightness(1); }
  50% { opacity: 0.9; filter: brightness(1.5) drop-shadow(0 0 14px rgba(245, 158, 11, 0.85)); }
  100% { opacity: 0.45; filter: brightness(1.15); }
}

.arch-panel-heat-shimmer {
  position: absolute;
  inset: -10px;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 0.45) 0%, transparent 70%);
  animation: shimmerWiggle 2s ease-in-out infinite alternate;
}

@keyframes shimmerWiggle {
  0% { transform: translateY(0) scaleX(0.95); opacity: 0.4; }
  100% { transform: translateY(-4px) scaleX(1.05); opacity: 0.85; }
}

/* 3. Inverter Power Pulse Layer */
.arch-inverter-layer {
  position: absolute;
  top: 34%;
  left: 41.5%;
  width: 7.5%;
  height: 16%;
  pointer-events: none;
  z-index: 5;
}

.arch-inverter-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 6px;
  border: 2px solid #38BDF8;
  animation: inverterPulse 1.8s cubic-bezier(0, 0.7, 0.3, 1) infinite;
}

@keyframes inverterPulse {
  0% { transform: scale(0.9); opacity: 0.9; box-shadow: 0 0 8px #38BDF8; }
  100% { transform: scale(1.4); opacity: 0; box-shadow: 0 0 20px #38BDF8; }
}

.arch-inverter-led {
  position: absolute;
  top: 15%;
  right: 15%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
  animation: ledBlink 0.6s infinite alternate;
}

@keyframes ledBlink {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* 4. LiFePO4 Battery Charge Level Animation */
.arch-battery-layer {
  position: absolute;
  top: 60%;
  left: 41.5%;
  width: 7.5%;
  height: 18%;
  pointer-events: none;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  padding: 4px;
}

.arch-battery-bar {
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.5);
  transition: all 0.3s ease;
}

.arch-battery-bar.filled {
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: batteryBarPulse 1.5s ease-in-out infinite alternate;
}

@keyframes batteryBarPulse {
  0% { opacity: 0.7; filter: brightness(1); }
  100% { opacity: 1; filter: brightness(1.3); }
}

/* 5. Home Appliances Layer (AC Breeze, TV Glow, Kitchen) */
.arch-ac-breeze-layer {
  position: absolute;
  top: 44%;
  left: 68%;
  width: 25%;
  height: 16%;
  pointer-events: none;
  z-index: 5;
  overflow: visible;
}

.arch-ac-wave {
  position: absolute;
  top: 20%;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.9) 0%, rgba(147, 197, 253, 0.6) 60%, transparent 100%);
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.9));
  animation: acBreezeDrift 1.6s ease-out infinite;
}

.arch-ac-wave:nth-child(2) {
  top: 50%;
  animation-delay: 0.5s;
  height: 3px;
}

.arch-ac-wave:nth-child(3) {
  top: 80%;
  animation-delay: 1s;
  height: 3px;
}

@keyframes acBreezeDrift {
  0% {
    transform: translateX(0) scaleY(0.7);
    opacity: 0.9;
  }
  100% {
    transform: translateX(35px) scaleY(1.4);
    opacity: 0;
  }
}

.arch-tv-layer {
  position: absolute;
  top: 57%;
  left: 70%;
  width: 7%;
  height: 9%;
  pointer-events: none;
  z-index: 4;
  border-radius: 4px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
  animation: tvAmbientGlow 3s ease-in-out infinite alternate;
}

@keyframes tvAmbientGlow {
  0% { box-shadow: 0 0 8px rgba(56, 189, 248, 0.2); }
  50% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.6); }
  100% { box-shadow: 0 0 12px rgba(56, 189, 248, 0.35); }
}

.arch-ev-layer {
  position: absolute;
  top: 63.5%;
  left: 87.5%;
  width: 3%;
  height: 10%;
  pointer-events: none;
  z-index: 5;
}

.arch-ev-charging-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 12px #22C55E;
  animation: evChargePulse 1s infinite alternate;
}

@keyframes evChargePulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 1; }
}

/* Interactive Hotspot Node Markers on the Architecture */
.arch-hotspot {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(11, 11, 13, 0.92);
  border: 2px solid #F59E0B;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.8), 0 4px 10px rgba(0, 0, 0, 0.7);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.arch-hotspot:hover {
  transform: scale(1.22);
  border-color: #FFFFFF;
  box-shadow: 0 0 28px #F59E0B, 0 0 10px #FFFFFF;
}

.arch-hotspot.active-step {
  transform: scale(1.3);
  background: #F59E0B;
  color: #0B0B0D;
  border-color: #FFFFFF;
  box-shadow: 0 0 35px #F59E0B, 0 0 15px #FFFFFF;
  z-index: 15;
}

.arch-hotspot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(245, 158, 11, 0.7);
  animation: pingHalo 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.arch-hotspot-badge {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 11, 13, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #FFFFFF;
  padding: 5px 10px;
  border-radius: var(--radius-md, 6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75);
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 20;
}

.arch-hotspot:hover .arch-hotspot-badge,
.arch-hotspot.active-step .arch-hotspot-badge {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-2px);
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .arch-sun-corona,
  .arch-heat-ripple,
  .arch-heat-beam,
  .arch-panel-absorb-grid,
  .arch-panel-heat-shimmer,
  .arch-inverter-pulse-ring,
  .arch-inverter-led,
  .arch-battery-bar.filled,
  .arch-ac-wave,
  .arch-tv-layer,
  .arch-ev-charging-dot,
  .arch-hotspot::after {
    animation: none !important;
    opacity: 0.8 !important;
  }
}

/* ==========================================================================
   OFFICIAL SOCIAL MEDIA & MEDIA HUB STYLES
   ========================================================================== */

.social-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .social-hub-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.social-hub-card {
  position: relative;
  background: #111115;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  color: #FFFFFF;
  overflow: hidden;
}

.social-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.35s ease;
}

.social-hub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
}

/* Individual Platform Highlights */
.social-hub-card.platform-tiktok:hover {
  border-color: rgba(0, 242, 234, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 242, 234, 0.15);
}
.social-hub-card.platform-tiktok::before {
  background: linear-gradient(90deg, #00f2ea, #ff004f);
}

.social-hub-card.platform-facebook:hover {
  border-color: rgba(24, 119, 242, 0.55);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(24, 119, 242, 0.2);
}
.social-hub-card.platform-facebook::before {
  background: #1877f2;
}

.social-hub-card.platform-instagram:hover {
  border-color: rgba(225, 48, 108, 0.55);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(225, 48, 108, 0.2);
}
.social-hub-card.platform-instagram::before {
  background: linear-gradient(90deg, #fdf497, #fd5949, #d6249f, #285aeb);
}

.social-hub-card.platform-youtube:hover {
  border-color: rgba(255, 0, 0, 0.55);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 0, 0, 0.2);
}
.social-hub-card.platform-youtube::before {
  background: #ff0000;
}

.social-hub-card.platform-linkedin:hover {
  border-color: rgba(244, 180, 0, 0.6);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(244, 180, 0, 0.2);
}
.social-hub-card.platform-linkedin::before {
  background: linear-gradient(90deg, #0a66c2, #f4b400);
}

/* Social Icon Box */
.social-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  position: relative;
  flex-shrink: 0;
}

.social-hub-card:hover .social-icon-box {
  transform: scale(1.12);
}

.icon-box-tiktok {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: -2px -2px 10px rgba(0, 242, 234, 0.35), 2px 2px 10px rgba(255, 0, 79, 0.35);
}

.icon-box-facebook {
  background: linear-gradient(135deg, #1877F2, #0D65D9);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35);
}

.icon-box-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 8px 20px rgba(214, 36, 159, 0.35);
}

.icon-box-youtube {
  background: linear-gradient(135deg, #FF0000, #C20000);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.35);
}

.icon-box-linkedin {
  background: linear-gradient(135deg, #0A66C2, #004182);
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.35);
  border: 1px solid rgba(244, 180, 0, 0.3);
}

/* Live green pulse indicator */
.pulse-dot-green {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  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);
  }
}

.showroom-dossier-card {
  background: #121217 !important;
  border: 1.5px solid rgba(244, 180, 0, 0.45) !important;
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
  color: #FFFFFF !important;
}

.showroom-dossier-card h3,
.showroom-dossier-card h3.h5 {
  color: #FFFFFF !important;
}

.showroom-dossier-card p,
.showroom-dossier-card p.small {
  color: #F8FAFC !important;
}

.showroom-dossier-card p.text-xs,
.showroom-dossier-card span.text-xs {
  color: #CBD5E1 !important;
}

.showroom-dossier-card .badge {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #F1F5F9 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.showroom-dossier-card .btn-link {
  color: #FBBF24 !important;
}

/* Light Theme Specific Override to Prevent Black Text on Dark Card */
[data-theme="light"] .showroom-dossier-card h3,
[data-theme="light"] .showroom-dossier-card p,
[data-theme="light"] .showroom-dossier-card span:not([style*="color: var(--brand-gold)"]) {
  color: #FFFFFF !important;
}

[data-theme="light"] .showroom-dossier-card p.text-xs,
[data-theme="light"] .showroom-dossier-card span.text-xs:not([style*="color: var(--brand-gold)"]) {
  color: #CBD5E1 !important;
}

.map-viewport-wrapper {
  background: #121217;
  border: 1.5px solid rgba(244, 180, 0, 0.45);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   FLOATING AI ASSISTANT WIDGET
   ========================================================================== */

#noonAiChatRoot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
}

#noonAiChatWindow {
  display: flex;
  flex-direction: column;
  width: 385px;
  max-width: calc(100vw - 32px);
  height: 530px;
  max-height: calc(100vh - 110px);
  background: #FFFFFF;
  border: 1px solid rgba(244, 180, 0, 0.4) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45) !important;
  overflow: hidden;
}

#noonAiChatHeader {
  flex: 0 0 auto;
  background: #0B0B0D;
  border-bottom: 1px solid rgba(244, 180, 0, 0.35);
  color: #FAF9F6;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#noonAiMessages {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 14px;
  background: #F8F9FA;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  line-height: 1.55;
  scroll-behavior: smooth;
  scroll-padding-top: 14px;
  scroll-padding-bottom: 14px;
}

#noonAiSuggestions {
  flex: 0 0 auto;
  padding: 9px 12px;
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#noonAiSuggestions::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.noon-ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  line-height: 1.25;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.noon-ai-chip:hover {
  background: #F4B400;
  color: #0B0B0D;
  border-color: #F4B400;
  transform: translateY(-1px);
}

#noonAiChatFooter {
  flex: 0 0 auto;
  padding: 10px 12px;
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
}

/* ==========================================================================
   OFFICIAL ITEL DEALERSHIP BANNER (DIRECTLY BELOW TOP HERO BANNER)
   Flawless Dark & Light Adaptive Theme Typography & High-Contrast Design
   ========================================================================== */

.itel-dealership-strip {
  background: #0B0B0E;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 0, 51, 0.35);
  border-bottom: 1px solid rgba(244, 180, 0, 0.25);
  position: relative;
  overflow: hidden;
  z-index: 5;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.itel-dealership-glow {
  position: absolute;
  top: 50%;
  left: 18%;
  width: 520px;
  height: 260px;
  background: radial-gradient(ellipse at center, rgba(255, 0, 51, 0.15) 0%, rgba(244, 180, 0, 0.06) 40%, transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
  filter: blur(40px);
}

.itel-dealership-card {
  background: linear-gradient(135deg, rgba(22, 22, 28, 0.95) 0%, rgba(13, 13, 17, 0.98) 100%);
  border: 1px solid rgba(255, 0, 51, 0.4);
  border-radius: 18px;
  padding: 1.65rem 2.25rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 0, 51, 0.1);
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.itel-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 0, 51, 0.12);
  border: 1px solid rgba(255, 0, 51, 0.45);
  color: #FF4D6D;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
}

.itel-dot-pulse {
  width: 8px;
  height: 8px;
  background-color: #FF0033;
  border-radius: 50%;
  box-shadow: 0 0 8px #FF0033;
  display: inline-block;
  animation: itelPulse 2s infinite ease-in-out;
}

@keyframes itelPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 51, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(255, 0, 51, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 51, 0); }
}

.itel-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.itel-primary-logo {
  max-width: 220px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(255, 0, 51, 0.4));
  transition: transform 0.25s ease;
}

.itel-dealership-card:hover .itel-primary-logo {
  transform: scale(1.03);
}

/* Adaptive Logo Visibility by Theme */
.itel-logo-light {
  display: none !important;
}
.itel-logo-dark {
  display: block !important;
}

/* Dark Theme Typography (Default) */
.itel-title {
  color: #FFFFFF !important;
}
.itel-desc {
  color: #D4D4D8 !important;
}
.itel-strong {
  color: #FFFFFF !important;
}
.itel-bullet-text {
  color: #FAF9F6 !important;
}
.itel-oem-badge {
  background-color: rgba(239, 35, 60, 0.18) !important;
  color: #FF4D6D !important;
  border: 1px solid rgba(239, 35, 60, 0.4) !important;
}
.itel-kpk-badge {
  background-color: rgba(244, 180, 0, 0.15) !important;
  color: var(--brand-gold, #F4B400) !important;
  border: 1px solid rgba(244, 180, 0, 0.35) !important;
}
.itel-btn-whatsapp {
  color: #FAF9F6 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  background-color: transparent !important;
  font-weight: 600;
}
.itel-btn-whatsapp:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   LIGHT THEME ADAPTATION (GUARANTEED WCAG AAA CONTRAST & VISIBILITY)
   ========================================================================== */
html[data-theme="light"] .itel-dealership-strip,
[data-bs-theme="light"] .itel-dealership-strip {
  background: #F8F9FA !important;
  border-top: 1px solid rgba(220, 38, 38, 0.2) !important;
  border-bottom: 1px solid rgba(217, 119, 6, 0.25) !important;
}

html[data-theme="light"] .itel-dealership-glow,
[data-bs-theme="light"] .itel-dealership-glow {
  background: radial-gradient(ellipse at center, rgba(255, 0, 51, 0.08) 0%, rgba(244, 180, 0, 0.04) 40%, transparent 70%) !important;
}

html[data-theme="light"] .itel-dealership-card,
[data-bs-theme="light"] .itel-dealership-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(220, 38, 38, 0.3) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 0 0 20px rgba(220, 38, 38, 0.06) !important;
}

/* Light Theme Logo Switch */
html[data-theme="light"] .itel-logo-dark,
[data-bs-theme="light"] .itel-logo-dark {
  display: none !important;
}
html[data-theme="light"] .itel-logo-light,
[data-bs-theme="light"] .itel-logo-light {
  display: block !important;
  filter: drop-shadow(0 2px 8px rgba(220, 38, 38, 0.25)) !important;
}

/* Light Theme Typography: 100% Crisp, High Contrast Black & Slate */
html[data-theme="light"] .itel-title,
[data-bs-theme="light"] .itel-title,
html[data-theme="light"] .itel-dealership-card h2,
[data-bs-theme="light"] .itel-dealership-card h2,
html[data-theme="light"] .itel-dealership-card .text-white,
[data-bs-theme="light"] .itel-dealership-card .text-white {
  color: #0F172A !important; /* Deep Jet Black */
}

html[data-theme="light"] .itel-desc,
[data-bs-theme="light"] .itel-desc,
html[data-theme="light"] .itel-dealership-card p,
[data-bs-theme="light"] .itel-dealership-card p,
html[data-theme="light"] .itel-dealership-card .text-white-50,
[data-bs-theme="light"] .itel-dealership-card .text-white-50 {
  color: #334155 !important; /* Slate Gray */
}

html[data-theme="light"] .itel-strong,
[data-bs-theme="light"] .itel-strong,
html[data-theme="light"] .itel-dealership-card strong,
[data-bs-theme="light"] .itel-dealership-card strong {
  color: #0F172A !important; /* Bold Black */
}

html[data-theme="light"] .itel-bullet-text,
[data-bs-theme="light"] .itel-bullet-text,
html[data-theme="light"] .itel-bullets span,
[data-bs-theme="light"] .itel-bullets span {
  color: #0F172A !important; /* High contrast black */
  font-weight: 600 !important;
}

html[data-theme="light"] .itel-badge-pill,
[data-bs-theme="light"] .itel-badge-pill {
  background: rgba(220, 38, 38, 0.08) !important;
  border-color: rgba(220, 38, 38, 0.35) !important;
  color: #DC2626 !important;
}

html[data-theme="light"] .itel-oem-badge,
[data-bs-theme="light"] .itel-oem-badge {
  background-color: #FEF2F2 !important;
  color: #B91C1C !important;
  border-color: #FECACA !important;
}

html[data-theme="light"] .itel-kpk-badge,
[data-bs-theme="light"] .itel-kpk-badge {
  background-color: #FFFBEB !important;
  color: #B45309 !important;
  border-color: #FDE68A !important;
}

html[data-theme="light"] .itel-btn-whatsapp,
[data-bs-theme="light"] .itel-btn-whatsapp,
html[data-theme="light"] .itel-dealership-card .btn-outline-light,
[data-bs-theme="light"] .itel-dealership-card .btn-outline-light {
  color: #0F172A !important;
  border: 1.5px solid #CBD5E1 !important;
  background-color: #FFFFFF !important;
  font-weight: 700 !important;
}

html[data-theme="light"] .itel-btn-whatsapp:hover,
[data-bs-theme="light"] .itel-btn-whatsapp:hover,
html[data-theme="light"] .itel-dealership-card .btn-outline-light:hover,
[data-bs-theme="light"] .itel-dealership-card .btn-outline-light:hover {
  background-color: #F1F5F9 !important;
  border-color: #94A3B8 !important;
  color: #000000 !important;
}

@media (max-width: 991px) {
  .itel-dealership-card {
    padding: 1.35rem 1.25rem;
  }
}

@media (max-width: 576px) {
  .itel-dealership-strip {
    padding: 1.25rem 0;
  }
  .itel-dealership-card {
    padding: 1.15rem 0.95rem;
    border-radius: 14px;
  }
  .itel-primary-logo {
    max-width: 180px;
  }
}

/* ==========================================================================
   FLOATING ACTION BUTTONS: WHATSAPP (BOTTOM-LEFT) & ASK NOON AI (BOTTOM-RIGHT)
   Guarantees zero overlap, zero collision, and pristine mobile thumb ergonomics
   ========================================================================== */

/* Floating WhatsApp Direct Contact Widget */
.noon-floating-whatsapp-wrap {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1045;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.noon-floating-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF !important;
  padding: 10px 18px;
  border-radius: 9999px;
  border: 2px solid #F4B400;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 13.5px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.noon-floating-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.25);
  color: #FFFFFF !important;
}

/* Floating AI Assistant Widget */
#noonAiChatRoot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  font-family: var(--font-body, system-ui, -apple-system, sans-serif);
}

#noonAiToggleBtn {
  background: #0B0B0D;
  border: 2px solid #F4B400;
  color: #FAF9F6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#noonAiToggleBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(244, 180, 0, 0.35) !important;
}

/* When AI Chat is open on small screens, gracefully dismiss WhatsApp button */
body.noon-ai-open .noon-floating-whatsapp-wrap {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
}

/* Mobile View: High Ergonomics, Dedicated Left/Right Corners (< 768px) */
@media (max-width: 767.98px) {
  /* WhatsApp on Bottom-Left: circular 46px floating touch button */
  .noon-floating-whatsapp-wrap {
    bottom: 16px;
    left: 14px;
  }
  .noon-floating-whatsapp {
    width: 46px;
    height: 46px;
    padding: 0 !important;
    justify-content: center;
    border-radius: 50% !important;
    border-width: 2px !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.35) !important;
  }
  .noon-floating-whatsapp .whatsapp-text {
    display: none !important;
  }
  .noon-floating-whatsapp svg {
    width: 24px;
    height: 24px;
  }

  /* Ask NOON AI on Bottom-Right: compact 46px pill touch button */
  #noonAiChatRoot {
    bottom: 16px;
    right: 14px;
  }
  #noonAiToggleBtn {
    height: 46px;
    padding: 6px 10px !important;
    gap: 6px !important;
    border-radius: 9999px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 12px rgba(244, 180, 0, 0.25) !important;
  }
  #noonAiChatWindow {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    height: calc(100dvh - 80px) !important;
    max-height: calc(100dvh - 80px) !important;
    right: -4px;
    bottom: 54px;
    border-radius: 16px !important;
  }
}





/* ==========================================================================
   STOREFRONT THEME & RESPONSIVE REFINEMENT V3.0
   Pristine Dark/Light Mode Adaptations & Fluid Layouts
   ========================================================================== */

/* 1. Category & Brand Filter Carousel Pills */
.filter-pill-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--duration-fast, 180ms);
  background: var(--bg-surface-elevated, #1C1C21);
  color: var(--text-secondary, #D4D4D8);
  border: 1px solid var(--border-color, #2E2E33);
}

.filter-pill-btn:hover {
  background: var(--bg-surface-hover, #2B2B33);
  color: var(--brand-gold, #F4B400);
  border-color: var(--brand-gold, #F4B400);
  transform: translateY(-1px);
}

.filter-pill-btn.active {
  background: var(--brand-gold, #F4B400) !important;
  color: #0B0B0D !important;
  border-color: var(--brand-gold, #F4B400) !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(244, 180, 0, 0.3) !important;
}

[data-theme="light"] .filter-pill-btn {
  background: #FFFFFF;
  color: #374151;
  border-color: #E5E7EB;
}

[data-theme="light"] .filter-pill-btn:hover {
  background: #F8FAFC;
  color: #D97706;
  border-color: #D97706;
}

[data-theme="light"] .filter-pill-btn.active {
  background: #D97706 !important;
  color: #FFFFFF !important;
  border-color: #D97706 !important;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25) !important;
}

/* Brand Pills */
.filter-pill-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--duration-fast, 180ms);
  background: var(--bg-surface-elevated, #1C1C21);
  color: var(--text-secondary, #D4D4D8);
  border: 1px solid var(--border-color, #2E2E33);
}

.filter-pill-badge:hover {
  background: var(--bg-surface-hover, #2B2B33);
  color: var(--brand-gold, #F4B400);
  border-color: var(--brand-gold, #F4B400);
}

.filter-pill-badge.active {
  background: var(--brand-gold, #F4B400) !important;
  color: #0B0B0D !important;
  border-color: var(--brand-gold, #F4B400) !important;
  font-weight: 800 !important;
}

[data-theme="light"] .filter-pill-badge {
  background: #FFFFFF;
  color: #374151;
  border-color: #E5E7EB;
}

[data-theme="light"] .filter-pill-badge:hover {
  background: #F8FAFC;
  color: #D97706;
  border-color: #D97706;
}

[data-theme="light"] .filter-pill-badge.active {
  background: #D97706 !important;
  color: #FFFFFF !important;
  border-color: #D97706 !important;
}

/* 2. Responsive Mobile Drawer Padding */
@media (max-width: 480px) {
  .cart-drawer,
  .mobile-nav-drawer {
    width: 100% !important;
    max-width: 100vw !important;
  }

  .cart-drawer-header,
  .cart-drawer-body,
  .cart-drawer-footer {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .mobile-nav-header,
  .mobile-nav-body {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* 3. Product Catalog Grid Responsiveness on All Mobile Screens */
@media (max-width: 575px) {
  .product-card-col {
    width: 100% !important;
    max-width: 100% !important;
  }

  .product-card {
    padding: 0.85rem !important;
  }

  .product-card-media {
    height: 200px !important;
  }

  .product-card-media img {
    max-height: 180px !important;
  }
}

/* 4. Universal Form Controls & Textareas in Light Mode */
[data-theme="light"] .input-group-text {
  background-color: #F8FAFC !important;
  color: #475569 !important;
  border-color: #D1D5DB !important;
}

[data-theme="dark"] .input-group-text {
  background-color: #1A1A1E !important;
  color: #A1A1AA !important;
  border-color: #34343A !important;
}

/* 5. Clean Modal Dialog Containment on Mobile */
@media (max-width: 768px) {
  .modal-dialog {
    margin: 0.5rem !important;
    max-width: calc(100vw - 1rem) !important;
  }
}


/* ==========================================================================
   NOON SOLAR — High-Contrast Dark Instrument HUD & Map Shield
   Protects text inside Telemetry HUD and Regional Map from light-theme darkening
   ========================================================================== */
.solar-telemetry-hud,
.solar-telemetry-hud *,
#step-info-card,
#step-info-card *,
.regional-map-container,
.regional-map-container * {
  -webkit-font-smoothing: antialiased;
}

/* Regional Map Caption */
.regional-map-container span,
.regional-map-container .small,
.regional-map-container [class*="text-white"],
.regional-map-caption,
[data-theme="light"] .regional-map-container span,
[data-theme="light"] .regional-map-container .small,
[data-theme="light"] .regional-map-container [class*="text-white"],
[data-theme="light"] .regional-map-caption {
  color: #FFFFFF !important;
  opacity: 1 !important;
}

/* Telemetry HUD Titles, Headings & Net Badge */
.solar-telemetry-hud h3,
.solar-telemetry-hud h4,
#step-info-card h4,
#step-info-card #step-title,
#flow-net-badge,
[data-theme="light"] .solar-telemetry-hud h3,
[data-theme="light"] .solar-telemetry-hud h4,
[data-theme="light"] #step-info-card h4,
[data-theme="light"] #step-info-card #step-title,
[data-theme="light"] #flow-net-badge {
  color: #FFFFFF !important;
}

/* Telemetry Stepper Description and Explanatory Paragraph */
.solar-telemetry-hud p,
.solar-telemetry-hud .text-white-50,
#step-info-card p,
#step-info-card #step-desc,
#sim-status-desc,
[data-theme="light"] .solar-telemetry-hud p,
[data-theme="light"] .solar-telemetry-hud .text-white-50,
[data-theme="light"] #step-info-card p,
[data-theme="light"] #step-info-card #step-desc,
[data-theme="light"] #sim-status-desc {
  color: #F1F5F9 !important;
  opacity: 1 !important;
}

/* Failover status pills in HUD */
#step-info-card #step-failover-pill,
[data-theme="light"] #step-info-card #step-failover-pill {
  color: #FDE68A !important;
  font-weight: 600 !important;
}

/* Metric Badges (m1, m2, m3) inside Step Card */
#step-info-card #step-m1,
#step-info-card #step-m2,
[data-theme="light"] #step-info-card #step-m1,
[data-theme="light"] #step-info-card #step-m2 {
  background: #18181B !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  font-weight: 600 !important;
}

#step-info-card #step-m3,
[data-theme="light"] #step-info-card #step-m3 {
  background: #18181B !important;
  color: #38BDF8 !important;
  border: 1px solid rgba(56, 189, 248, 0.5) !important;
  font-weight: 700 !important;
}

/* Simulation Scenario Preset Buttons */
.sim-mode-toggle .sim-mode-btn,
[data-theme="light"] .sim-mode-toggle .sim-mode-btn {
  color: #E2E8F0 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.sim-mode-toggle .sim-mode-btn.active,
[data-theme="light"] .sim-mode-toggle .sim-mode-btn.active {
  background: #F59E0B !important;
  color: #0B0B0D !important;
  border-color: #F59E0B !important;
  font-weight: 800 !important;
}
