/*
Theme Name: Regain Energy Solutions
Theme URI: https://regainenergies.com
Author: Regain Development Team
Author URI: https://regainenergies.com
Description: India's first organised, full-component solar-panel recycling platform theme. Built with 100% precision matching the official architecture, Three.js 3D exploded panel, live impact calculator, and full EPR compliance workflows.
Version: 1.0.0
Text Domain: regain
*/

:root {
  --brand-green: #00fe83;
  --brand-green-hover: #00e575;
  --brand-green-dark: #00cc66;
  --brand-green-light: #4aff9f;
  --brand-green-dim: rgba(0, 254, 131, 0.14);
  --brand-green-glow: rgba(0, 254, 131, 0.35);

  --brand-gold: #424649;
  --brand-gold-hover: #313437;
  --brand-gold-light: #949ba2;
  --brand-gold-dim: rgba(66, 70, 73, 0.12);

  --text-heading: #0f172a;
  --text-subheading: #334155;
  --text-body: #475569;
  --text-muted: #64748b;

  /* ==========================================================================
     Standardized Typography System (Headings & Descriptions)
     ========================================================================== */
  --font-family-primary: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-family-tech: 'Space Grotesk', sans-serif;

  /* 4 Standard Headings */
  --heading-h1-size: clamp(1.8rem, 4.2vw, 3.25rem); /* Display / Hero */
  --heading-h1-weight: 600;
  --heading-h1-lh: 1.15;
  --heading-h1-tracking: -0.035em;

  --heading-h2-size: clamp(1.85rem, 3.4vw, 2.65rem); /* Major Section */
  --heading-h2-weight: 600;
  --heading-h2-lh: 1.2;
  --heading-h2-tracking: -0.025em;

  --heading-h3-size: clamp(1.25rem, 1.8vw, 1.5rem);  /* Card / Feature */
  --heading-h3-weight: 600;
  --heading-h3-lh: 1.3;
  --heading-h3-tracking: -0.02em;

  --heading-h4-size: 1.125rem;                       /* Sub-widget / Minor */
  --heading-h4-weight: 600;
  --heading-h4-lh: 1.4;
  --heading-h4-tracking: -0.015em;

  /* 2 Standard Descriptions */
  --desc-lead-size: clamp(1.0625rem, 1.3vw, 1.2rem); /* Intros, subtitles, lead paras */
  --desc-lead-weight: 400;
  --desc-lead-lh: 1.65;
  --desc-lead-color: #334155;

  --desc-base-size: clamp(0.9375rem, 1vw, 1rem);     /* Body, cards, accordions */
  --desc-base-weight: 400;
  --desc-base-lh: 1.6;
  --desc-base-color: #475569;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  font-family: var(--font-family-primary);
  font-weight: 400;
  overflow-x: clip;
}

body {
  background-color: #f5f6f8;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--text-heading);
}

::selection {
  background-color: var(--brand-green);
  color: #05140b;
}

.light-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04), 0 2px 8px -2px rgba(0, 0, 0, 0.02);
  border-radius: 1.5rem;
}

.light-card-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.light-card-hover:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

html, body {
  overflow-x: clip;
}

/* ==========================================================================
   Sticky / Scrolled Header (Solid non-transparent background on scroll)
   ========================================================================== */
#site-header {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#site-header.is-scrolled {
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.03) !important;
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

#site-header.is-scrolled nav {
  background-color: #f8fafc !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

.light-bg-grid {
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.glow-orb-daylight {
  background: radial-gradient(circle, rgba(219, 234, 254, 0.7) 0%, rgba(240, 249, 255, 0.3) 40%, transparent 70%);
  filter: blur(80px);
}

.glow-orb-emerald {
  background: radial-gradient(circle, var(--brand-green-glow) 0%, transparent 65%);
  filter: blur(60px);
}

/* ==========================================================================
   4 Standard Heading Classes
   ========================================================================== */
.regain-h1,
.regain-display {
  font-family: var(--font-family-heading);
  font-size: var(--heading-h1-size);
  font-weight: var(--heading-h1-weight);
  letter-spacing: var(--heading-h1-tracking);
  line-height: var(--heading-h1-lh);
  text-wrap: balance;
  color: inherit;
}

.regain-h2,
.regain-heading {
  font-family: var(--font-family-heading);
  font-size: var(--heading-h2-size);
  font-weight: var(--heading-h2-weight);
  letter-spacing: var(--heading-h2-tracking);
  line-height: var(--heading-h2-lh);
  color: inherit;
}

.regain-h3 {
  font-family: var(--font-family-heading);
  font-size: var(--heading-h3-size);
  font-weight: var(--heading-h3-weight);
  letter-spacing: var(--heading-h3-tracking);
  line-height: var(--heading-h3-lh);
  color: inherit;
}

.regain-h4 {
  font-family: var(--font-family-heading);
  font-size: var(--heading-h4-size);
  font-weight: var(--heading-h4-weight);
  letter-spacing: var(--heading-h4-tracking);
  line-height: var(--heading-h4-lh);
  color: inherit;
}

/* Guarantee text-white and dark section text visibility */
.text-white {
  color: #ffffff !important;
}
.text-neutral-100 {
  color: #f4f4f5 !important;
}
.text-neutral-200 {
  color: #e4e4e7 !important;
}
.text-neutral-300 {
  color: #d4d4d8 !important;
}
.text-neutral-400 {
  color: #a1a1aa !important;
}

.bg-neutral-900,
.bg-neutral-900 h1,
.bg-neutral-900 h2,
.bg-neutral-900 h3,
.bg-neutral-900 h4,
.bg-neutral-900 .regain-h1,
.bg-neutral-900 .regain-h2,
.bg-neutral-900 .regain-h3,
.bg-neutral-900 .regain-h4,
.bg-neutral-900 .regain-heading,
.bg-neutral-900 .regain-display,
#cta-banner h2,
#cta-banner .regain-h2,
#cta-banner .regain-heading {
  color: #ffffff !important;
}

/* Scoped light text inside dark sections (.bg-neutral-900) */
.bg-neutral-900 p,
.bg-neutral-900 .regain-desc-lead,
.bg-neutral-900 .regain-desc-base,
.bg-neutral-900 .regain-body-lg,
.bg-neutral-900 .regain-body {
  color: #d4d4d8 !important;
}

.bg-neutral-900 .text-neutral-200,
.bg-neutral-900 .text-neutral-200 * {
  color: #e4e4e7 !important;
}

.bg-neutral-900 .text-neutral-300,
.bg-neutral-900 .text-neutral-300 * {
  color: #d4d4d8 !important;
}

.bg-neutral-900 .text-neutral-400,
.bg-neutral-900 .text-neutral-400 * {
  color: #a1a1aa !important;
}

.regain-subheading {
  font-family: var(--font-family-primary);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-subheading);
}

/* ==========================================================================
   2 Standard Description Classes
   ========================================================================== */
.regain-desc-lead,
.regain-body-lg {
  font-family: var(--font-family-primary);
  font-size: var(--desc-lead-size);
  font-weight: var(--desc-lead-weight);
  line-height: var(--desc-lead-lh);
  color: var(--desc-lead-color);
  letter-spacing: -0.005em;
}

.regain-desc-base,
.regain-body {
  font-family: var(--font-family-primary);
  font-size: var(--desc-base-size);
  font-weight: var(--desc-base-weight);
  line-height: var(--desc-base-lh);
  color: var(--desc-base-color);
}

.regain-body-sm {
  font-family: var(--font-family-primary);
  font-size: 0.875rem;
  line-height: 1.55;
  font-weight: 400;
  color: var(--desc-base-color);
}

/* ==========================================================================
   Standardized Pill Badge Component (100% Matching Reference & Screenshot)
   ========================================================================== */
.regain-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #374151;
  font-family: var(--font-family-primary);
  font-size: 0.8125rem;
  line-height: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  width: fit-content;
  max-width: 100%;
}

.regain-pill-badge .regain-pill-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--brand-green);
  box-shadow: 0 0 0 0 rgba(0, 254, 131, 0.7);
  animation: pulseGreen 2s infinite;
  flex-shrink: 0;
}

.regain-pill-badge .regain-pill-text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dark variant for dark sections (e.g. Site Decommissioning & Facility Snapshot) */
.regain-pill-badge.regain-pill-badge-dark {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f3f4f6;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

/* Legacy alias compatibility */
.regain-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  font-family: var(--font-family-primary);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
  letter-spacing: -0.01em;
}

.regain-eyebrow-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(66, 70, 73, 0.25);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  font-family: var(--font-family-primary);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-gold);
  letter-spacing: -0.01em;
}

.btn-regain-gold {
  background-color: var(--brand-gold);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(66, 70, 73, 0.28);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-regain-gold:hover {
  background-color: var(--brand-gold-hover);
  box-shadow: 0 6px 18px rgba(66, 70, 73, 0.38);
  transform: translateY(-1px);
}

.btn-regain-green {
  background-color: var(--brand-green);
  color: #05140b;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 254, 131, 0.35);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-regain-green:hover {
  background-color: var(--brand-green-hover);
  box-shadow: 0 6px 20px rgba(0, 254, 131, 0.5);
  transform: translateY(-1px);
}

/* ==========================================================================
   Sticky Floating Back to Top Button (Brand Green #00fe83)
   ========================================================================== */
.btn-back-to-top-sticky {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border-radius: 9999px;
  background-color: var(--brand-green);
  color: #05140b;
  font-family: var(--font-family-primary, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid rgba(0, 204, 102, 0.25);
  box-shadow: 0 4px 18px rgba(0, 254, 131, 0.45), 0 2px 6px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  user-select: none;
}

.btn-back-to-top-sticky.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.btn-back-to-top-sticky:hover {
  background-color: var(--brand-green-hover);
  box-shadow: 0 6px 24px rgba(0, 254, 131, 0.65), 0 4px 10px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.btn-back-to-top-sticky:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 254, 131, 0.4);
}

@media (max-width: 640px) {
  .btn-back-to-top-sticky {
    bottom: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    justify-content: center;
    border-radius: 9999px;
  }
  .btn-back-to-top-sticky span {
    display: none;
  }
  .btn-back-to-top-sticky svg {
    width: 1rem;
    height: 1rem;
  }
}

.font-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.03em;
  font-weight: 300;
}

.font-heading-normal {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.025em;
  font-weight: 400;
}

.font-tech {
  font-family: 'Space Grotesk', sans-serif;
}

.pulse-dot {
  box-shadow: 0 0 0 0 rgba(0, 254, 131, 0.7);
  animation: pulseGreen 2s infinite;
}

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

.reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.is-revealed,
.reveal-init.revealed,
.reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  filter: none !important;
}

.delay-75 { transition-delay: 75ms; }
.delay-150 { transition-delay: 150ms; }
.delay-225 { transition-delay: 225ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

.btn-shimmer {
  position: relative;
  overflow: hidden;
}
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  transform: translateX(-100%) rotate(25deg);
  pointer-events: none;
}
.btn-shimmer:hover::after {
  animation: shimmerSweep 1s ease-in-out;
}

@keyframes shimmerSweep {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(120%) rotate(25deg); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}
.animate-float-slow {
  animation: floatSlow 4s ease-in-out infinite;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-orbit-spin {
  animation: orbitSpin 12s linear infinite;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
.animate-fadeIn {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   Custom Brand Scrollbar (Brand Green #00fe83 & Deep Black #0a0b0d)
   ========================================================================== */

/* Modern Standard Spec (Firefox & compliant browsers) */
* {
  scrollbar-width: thin;
  scrollbar-color: #00fe83 #0a0b0d;
}

/* WebKit / Chromium / Edge / Safari */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0b0d;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background-color: #00fe83;
  border-radius: 9999px;
  border: 2.5px solid #0a0b0d;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #38ffa6;
  box-shadow: 0 0 12px rgba(0, 254, 131, 0.7);
}

::-webkit-scrollbar-thumb:active {
  background-color: #00df73;
}

::-webkit-scrollbar-corner {
  background: #0a0b0d;
}

/* Hide scrollbar utility */
.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Solar Stage List scrollbar */
#solar-stage-list {
  scrollbar-width: thin;
  scrollbar-color: #00fe83 #121214;
}
#solar-stage-list::-webkit-scrollbar {
  width: 6px;
}
#solar-stage-list::-webkit-scrollbar-track {
  background: #121214;
  border-radius: 9999px;
}
#solar-stage-list::-webkit-scrollbar-thumb {
  background: #00fe83;
  border-radius: 9999px;
  border: 1.5px solid #121214;
}
#solar-stage-list::-webkit-scrollbar-thumb:hover {
  background: #38ffa6;
  box-shadow: 0 0 8px rgba(0, 254, 131, 0.6);
}

/* Ambient glow orbs (soft pastel / daylight) matching React */
.glow-orb-daylight {
  background: radial-gradient(circle, rgba(219, 234, 254, 0.7) 0%, rgba(240, 249, 255, 0.3) 40%, transparent 70%);
  filter: blur(80px);
}

.glow-orb-emerald {
  background: radial-gradient(circle, var(--brand-green-glow) 0%, transparent 65%);
  filter: blur(60px);
}

/* ==========================================================================
   Inside Solar Panel 3D Viewer & Disassembly Stages
   100% Faithful Port of React InsideSolarPanel.tsx with 560vh Sticky Scroll
   ========================================================================== */

/* Pinned Sticky Scroll Track & Responsive Grid */
#inside-panel {
  position: relative;
  background-color: #f5f6f8;
}

@media (max-width: 1023px) {
  #inside-panel {
    height: auto !important;
    min-height: auto !important;
    position: relative !important;
  }
  #inside-panel-sticky {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-top: 1.25rem !important;
    padding-bottom: 2.5rem !important;
  }
  #solar-canvas-container {
    height: 280px !important;
    touch-action: pan-y !important;
  }
  #mobile-stage-pills-bar {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
}

@media (min-width: 1024px) {
  #inside-panel {
    height: 340vh !important;
    position: relative !important;
    display: block !important;
  }
  #inside-panel-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    z-index: 20 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  /* Grid layout matching React (12 columns: 7 cols canvas, 5 cols stage list) */
  #inside-panel-sticky .lg\:grid-cols-12 {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }

  #inside-panel-sticky .lg\:col-span-7 {
    grid-column: span 7 / span 7 !important;
  }

  #inside-panel-sticky .lg\:col-span-5 {
    grid-column: span 5 / span 5 !important;
    display: flex !important;
  }

  #inside-panel-sticky .lg\:h-screen {
    height: 100vh !important;
  }

  #inside-panel-sticky .lg\:overflow-hidden {
    overflow: hidden !important;
  }
}

/* 3D Canvas Box */
#solar-canvas-container {
  position: relative !important;
  overflow: hidden !important;
  background: transparent !important;
}

#solar-stage-list {
  scroll-behavior: smooth;
  max-height: calc(100vh - 195px) !important;
}

/* Camera preset buttons */
.camera-preset-btn.is-active {
  background-color: #171717 !important;
  color: #ffffff !important;
  font-weight: 500 !important;
}

/* Right Column: 9 Stage List */
.stage-item {
  border-left: 5px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}

.stage-item:not(.is-active):hover {
  background-color: rgba(249, 250, 251, 0.6) !important;
}

.stage-item.is-active {
  background-color: var(--brand-green-dim) !important;
  border-left-color: var(--brand-green) !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.stage-item.is-active .stage-item-num-circle {
  background-color: #424649 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 0 0 2px rgba(66, 70, 73, 0.35);
  transform: scale(1.05);
}

.stage-item:not(.is-active) .stage-item-num-circle {
  background-color: #f5f5f5 !important;
  color: #525252 !important;
}

.stage-item.is-active .stage-item-title {
  font-weight: 600 !important;
  color: #0a0a0a !important;
}

.stage-item:not(.is-active) .stage-item-title {
  font-weight: 300 !important;
  color: #525252 !important;
}

.stage-item.is-active .stage-item-selected-badge {
  display: inline-flex !important;
}

.stage-item:not(.is-active) .stage-item-selected-badge {
  display: none !important;
}

.stage-item.is-active .stage-item-weight {
  color: var(--brand-green) !important;
  font-weight: 700 !important;
}

.stage-item:not(.is-active) .stage-item-weight {
  color: #737373 !important;
  font-weight: 300 !important;
}

.stage-item.is-active .stage-item-chevron {
  transform: rotate(90deg);
  color: #171717 !important;
  stroke-width: 2.5;
}

.stage-item:not(.is-active) .stage-item-chevron {
  transform: rotate(0deg);
  color: #a3a3a3 !important;
}

.stage-item.is-active .stage-item-expanded {
  display: block !important;
}

.stage-item:not(.is-active) .stage-item-expanded {
  display: none !important;
}

.stage-item.is-active .stage-item-special-tag,
.stage-item.is-active .stage-item-high-tag {
  display: none !important;
}

.stage-item:not(.is-active) .stage-item-special-tag,
.stage-item:not(.is-active) .stage-item-high-tag {
  display: inline-flex !important;
}

/* ==========================================================================
   Inside Solar Panel Mobile Sticky Pinning & Single-Screen View
   ========================================================================== */
@media (max-width: 1023px) {
  #site-header {
    padding-top: 0.625rem !important;
    padding-bottom: 0.625rem !important;
  }
  #site-header.is-scrolled {
    padding-top: 0.625rem !important;
    padding-bottom: 0.625rem !important;
  }

  #inside-panel {
    height: 300vh !important;
    position: relative !important;
    display: block !important;
    overflow: visible !important;
    max-width: 100vw !important;
  }

  #inside-panel-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 64px !important;
    height: calc(100dvh - 64px) !important;
    max-height: calc(100dvh - 64px) !important;
    overflow: visible !important;
    z-index: 20 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  body.admin-bar #inside-panel-sticky {
    top: 110px !important;
    height: calc(100dvh - 110px) !important;
    max-height: calc(100dvh - 110px) !important;
  }

  #banner-reassembled,
  #banner-silver,
  #mobile-banner-reassembled,
  #mobile-banner-silver {
    display: none !important;
  }

  #solar-canvas-container {
    height: 220px !important;
    max-height: 32vh !important;
    touch-action: pan-y !important;
  }

  #solar-webgl-canvas {
    touch-action: pan-y !important;
  }
}

/* ==========================================================================
   Standardized Responsive Section Spacing System
   Guarantees clean, rhythmic vertical breathing room across all viewports
   ========================================================================== */
#impact,
#services-overview,
#certifications,
#operational-bento,
#faq,
#testimonials {
  padding-top: 4rem !important;    /* 64px on mobile */
  padding-bottom: 4rem !important;
}

@media (min-width: 640px) {
  #impact,
  #services-overview,
  #certifications,
  #operational-bento,
  #faq,
  #testimonials {
    padding-top: 5rem !important;  /* 80px on tablet */
    padding-bottom: 5rem !important;
  }
}

@media (min-width: 1024px) {
  #impact,
  #services-overview,
  #certifications,
  #operational-bento,
  #faq,
  #testimonials {
    padding-top: 7rem !important;  /* 112px on desktop */
    padding-bottom: 7rem !important;
  }
}

/* CTA Banner Section Spacing */
#cta-banner {
  padding-top: 3.5rem !important;    /* 56px on mobile */
  padding-bottom: 3.5rem !important; /* 56px on mobile */
}

@media (min-width: 640px) {
  #cta-banner {
    padding-top: 4.5rem !important;  /* 72px on tablet */
    padding-bottom: 4.5rem !important; /* 72px on tablet */
  }
}

@media (min-width: 1024px) {
  #cta-banner {
    padding-top: 5rem !important;    /* 80px on desktop */
    padding-bottom: 5rem !important; /* 80px on desktop */
  }
}

/* Footer Container & Pre-Footer Ribbon Balance */
.site-footer-container {
  padding-top: 2.5rem !important;  /* 40px on mobile */
  padding-bottom: 5rem !important; /* 80px on mobile for back-to-top button clearance */
}

@media (min-width: 640px) {
  .site-footer-container {
    padding-top: 3rem !important;    /* 48px on tablet */
    padding-bottom: 3rem !important;
  }
}

@media (min-width: 1024px) {
  .site-footer-container {
    padding-top: 3.25rem !important; /* 52px on desktop */
    padding-bottom: 3.5rem !important;
  }
}

.site-footer-ribbon {
  padding-bottom: 1.75rem !important; /* 28px */
  margin-bottom: 2.5rem !important;   /* 40px */
}

@media (min-width: 640px) {
  .site-footer-ribbon {
    padding-bottom: 2rem !important;   /* 32px */
    margin-bottom: 2.75rem !important; /* 44px */
  }
}

/* Tablet 2-column grid helper */
@media (min-width: 768px) and (max-width: 1023px) {
  .tablet-col-span-2 {
    grid-column: span 2 / span 2 !important;
  }
}

/* ==========================================================================
   Inside Solar Panel Version 2: Architectural Progressive Assembly Studio
   Faithfully inspired by: media_1789645115269.png
   - Seamless blueprint grid with light-blue accent tiles
   - Multi-tier cylindrical translucent exhibition plinth
   - Upright axonometric exploded 3D solar module standing on plinth
   - Technical architectural leader lines & spec callout badge
   - Quick scrubber pill navigation & Exploded vs Compact view mode
   - Editorial typography-first storytelling on left with 85vh focus breathing room
   ========================================================================== */

#inside-panel-v2 {
  background-color: #f8fafc;
  color: #0f172a;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

/* Light Architectural Blueprint Grid (56px) */
.v2-blueprint-grid {
  background-image: 
    linear-gradient(to right, rgba(0, 204, 102, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 204, 102, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* Blueprint Decorative Accent Tiles */
.v2-blueprint-tile {
  position: absolute;
  background-color: rgba(209, 250, 229, 0.5);
  pointer-events: none;
  z-index: 1;
  border: 1px solid rgba(167, 243, 208, 0.45);
}

/* --------------------------------------------------------------------------
   Scrollytelling Step Cards & Harmonious Spacing
   -------------------------------------------------------------------------- */
.v2-story-step {
  opacity: 0.45;
  transform: scale(0.985);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.v2-story-step.is-active {
  opacity: 1;
  transform: scale(1);
}

.v2-step-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 1.25rem 1.25rem 1.35rem 1.25rem;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
@media (min-width: 640px) {
  .v2-step-card {
    border-radius: 1.75rem;
    padding: 1.75rem 1.75rem 1.85rem 1.75rem;
  }
}
@media (min-width: 1024px) {
  .v2-step-card {
    padding: 2rem 2rem 2.15rem 2rem;
  }
}
.v2-story-step.is-active .v2-step-card {
  box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(0, 204, 102, 0.35);
}

/* Card Header Row (Badge + Mass) */
.v2-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}
@media (min-width: 640px) {
  .v2-card-header {
    margin-bottom: 1.125rem;
  }
}

/* Card Heading & Description Group */
.v2-card-content {
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .v2-card-content {
    margin-bottom: 1.25rem;
  }
}
.v2-card-title {
  font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 0.375rem 0;
}
@media (min-width: 640px) {
  .v2-card-title {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
  }
}
@media (min-width: 1024px) {
  .v2-card-title {
    font-size: 1.5rem;
  }
}
.v2-card-desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #475569;
  font-weight: 400;
  margin: 0;
}
@media (min-width: 640px) {
  .v2-card-desc {
    font-size: 0.875rem;
  }
}

/* Destination Pill */
.v2-card-dest {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  background-color: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.75rem;
  color: #334155;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .v2-card-dest {
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
  }
}

/* 3-Column Stats Grid */
.v2-card-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding-top: 0.875rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
@media (min-width: 640px) {
  .v2-card-stats-grid {
    gap: 0.75rem;
    padding-top: 1.125rem;
  }
}

/* Stat Tile Item */
.v2-stat-tile {
  padding: 0.5rem 0.625rem;
  border-radius: 0.75rem;
  background-color: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: left;
}
@media (min-width: 640px) {
  .v2-stat-tile {
    padding: 0.625rem 0.875rem;
  }
}

.v2-stat-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 0.125rem;
}
@media (min-width: 640px) {
  .v2-stat-label {
    font-size: 0.625rem;
  }
}

.v2-stat-value {
  font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 640px) {
  .v2-stat-value {
    font-size: 0.9375rem;
  }
}
.v2-stat-value.is-brand-green {
  color: #00cc66;
}

/* Scrollytelling Responsive Column Layout Rules */
@media (max-width: 1023px) {
  .v2-layout-wrap {
    display: flex;
    flex-direction: column;
    position: relative;
  }
  .v2-visual-col {
    position: -webkit-sticky;
    position: sticky;
    top: 56px;
    z-index: 35;
    background-color: #f8fafc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.06);
    padding: 8px 0 6px 0;
    margin-bottom: 0;
  }
  .v2-sticky-stage-col {
    position: static !important;
    top: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    border: none !important;
  }
  .v2-story-col {
    padding-top: 0.5rem;
  }
  .v2-step-finish-spacer {
    padding-top: 2rem;
    padding-bottom: 380px;
  }
}

@media (min-width: 1024px) {
  .v2-layout-wrap {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 3.5rem;
  }
  .v2-story-col {
    order: 1;
    grid-column: span 7 / span 7;
  }
  .v2-visual-col {
    order: 2;
    grid-column: span 5 / span 5;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .v2-sticky-stage-col {
    position: -webkit-sticky;
    position: sticky;
    top: 105px;
    z-index: 20;
  }
  .v2-step-finish-spacer {
    padding-top: 3rem;
    padding-bottom: 680px;
  }
}

/* --------------------------------------------------------------------------
   Quick Scrubber Bar & View Mode Switch
   -------------------------------------------------------------------------- */
.v2-scrub-bar {
  display: flex;
  gap: 6px;
  padding: 4px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.v2-scrub-bar::-webkit-scrollbar {
  display: none;
}
.v2-scrub-pill {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  white-space: nowrap;
  background-color: rgba(241, 245, 249, 0.9);
  color: #475569;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}
.v2-scrub-pill:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}
.v2-scrub-pill.is-active {
  background-color: #00cc66;
  color: #ffffff;
  border-color: #00cc66;
  box-shadow: 0 2px 8px rgba(0, 204, 102, 0.35);
}

.v2-mode-btn {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  border: none;
  background: transparent;
}
.v2-mode-btn.is-active {
  background-color: #ffffff;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------------------
   Stacked Two-Tier Cylindrical Exhibition Plinth (media_1789645115269.png)
   -------------------------------------------------------------------------- */
.v2-pedestal-wrap {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 120px;
  pointer-events: none;
  z-index: 2;
}

.v2-pedestal-ambient-shadow {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 440px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 254, 131, 0.45) 0%, rgba(0, 204, 102, 0.18) 50%, transparent 75%);
  filter: blur(16px);
}

.v2-pedestal-tier-bottom {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 375px;
  height: 75px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.85) 0%, rgba(209, 250, 229, 0.45) 100%);
  border: 1.5px solid rgba(0, 204, 102, 0.45);
  box-shadow: 0 10px 30px rgba(0, 254, 131, 0.25);
}

.v2-pedestal-tier-cylinder {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 345px;
  height: 28px;
  background: linear-gradient(90deg, rgba(209, 250, 229, 0.25) 0%, rgba(236, 253, 245, 0.75) 30%, rgba(236, 253, 245, 0.85) 70%, rgba(209, 250, 229, 0.25) 100%);
  border-left: 1.5px solid rgba(0, 204, 102, 0.5);
  border-right: 1.5px solid rgba(0, 204, 102, 0.5);
  border-radius: 4px;
}

.v2-pedestal-tier-top {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 345px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.96) 0%, rgba(236, 253, 245, 0.85) 60%, rgba(209, 250, 229, 0.6) 100%);
  border: 1.5px solid rgba(0, 204, 102, 0.7);
  box-shadow: 0 4px 22px rgba(0, 254, 131, 0.35), inset 0 2px 6px rgba(255, 255, 255, 1);
}

.v2-pedestal-light-rim {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  width: 270px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 254, 131, 0.65) 0%, rgba(0, 204, 102, 0.2) 60%, transparent 80%);
  filter: blur(4px);
}

/* --------------------------------------------------------------------------
   Upright 3D Architectural Assembly Viewport & Stage
   -------------------------------------------------------------------------- */
.v2-assembly-viewport {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 500px;
  width: 100%;
  overflow: visible;
}

.v2-assembly-stage {
  position: relative;
  width: 100%;
  height: 440px;
  margin-bottom: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-solar-canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

.v2-rebirth-badge {
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.5));
}

@media (max-width: 1023px) {
  .v2-assembly-viewport {
    height: 210px !important;
  }
  .v2-assembly-stage {
    height: 200px !important;
    margin-bottom: 0 !important;
  }
  .v2-pedestal-wrap {
    transform: translateX(-50%) scale(0.55) !important;
    bottom: -26px !important;
  }
  .v2-leader-callout {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .v2-assembly-viewport {
    height: 185px !important;
  }
  .v2-assembly-stage {
    height: 180px !important;
    margin-bottom: 0 !important;
  }
  .v2-pedestal-wrap {
    transform: translateX(-50%) scale(0.48) !important;
    bottom: -30px !important;
  }
}

/* --------------------------------------------------------------------------
   Architectural Technical Leader Callout Tag
   -------------------------------------------------------------------------- */
.v2-leader-callout {
  position: absolute;
  top: 35px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 40;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

@media (max-width: 1023px) {
  .v2-leader-callout {
    top: 15px;
    right: 10px;
  }
}

.v2-leader-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00cc66;
  box-shadow: 0 0 0 4px rgba(0, 204, 102, 0.25);
  animation: v2-pulse-ring 2s infinite;
}

@keyframes v2-pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(0, 204, 102, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(0, 204, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 204, 102, 0); }
}

.v2-leader-line {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, #00cc66, rgba(0, 204, 102, 0.3));
}

.v2-leader-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 204, 102, 0.35);
  border-radius: 8px;
  padding: 6px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}