@charset "UTF-8";

/* ========================================================
   BOB GREEN FOOTPRINT - PREMIUM STYLESHEET
   Bank of Baroda Sustainability Platform
   ======================================================== */

/* - CSS CUSTOM PROPERTIES - */
:root {
  --bob-orange: #FF671F;
  --bob-deep-orange: #E85D04;
  --bob-orange-light: #FF8A3D;
  --bob-yellow: #FDB913;
  --bob-yellow-light: #FFD166;
  --bob-navy: #1C2541;
  --bob-navy-corporate: #22304A;
  --bob-trust-blue: #0F2742;
  --bob-green: #00C853;
  --bob-green-light: #69F0AE;
  --bob-sky: #4FC3F7;
  --bob-white: #FFFFFF;
  --bob-cream: #FFF8F2;
  --bob-warm: #FFF3E6;
  --bob-charcoal: #111827;
  --bob-gray: #6B7280;
  --bob-gray-light: #F3F4F6;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-num: 'Space Grotesk', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.20);
  --shadow-orange: 0 8px 30px rgba(255, 103, 31, 0.30);
  --shadow-green: 0 8px 30px rgba(0, 200, 83, 0.25);

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-elastic: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-height: 72px;
}

/* - RESET & BASE - */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
#calc-phase {
  font-family: var(--font-body);
  background: #080c14;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
canvas {
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

input,
select,
textarea {
  font-family: inherit;
}

/* - GLOBAL NAV - */
.global-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 248, 242, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 103, 31, 0.12);
  transition: all var(--transition-base);
}

.global-nav.scrolled {
  background: rgba(255, 243, 230, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.bob-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bob-logo-mark {
  flex-shrink: 0;
}

.bob-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.bob-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bob-navy);
  letter-spacing: -0.01em;
}

.bob-sub {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--bob-orange);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.disclaimer-ticker-wrap {
  width: 100%;
  overflow: hidden;
  background-color: #fff9e6;
  border-bottom: 1px solid #ffd54f;
  display: flex;
  align-items: center;
  height: 36px;
}

.disclaimer-ticker {
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
}

.ticker-text {
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: #d35400;
  font-weight: 600;
  padding-left: 100vw;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--bob-gray);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--bob-orange);
  background: rgba(255, 103, 31, 0.08);
}

.nav-link.active {
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.kid-mode-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #69F0AE20, #00C85320);
  border: 1.5px solid var(--bob-green);
  font-size: 0.78rem;
  font-weight: 600;
  color: #00A040;
  transition: all var(--transition-fast);
}

.kid-mode-toggle:hover {
  background: var(--bob-green);
  color: white;
  transform: scale(1.03);
}

.kid-mode-toggle.active {
  background: var(--bob-green);
  color: white;
}

.nav-cta {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--bob-orange), var(--bob-deep-orange));
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-orange);
  transition: all var(--transition-fast);
  letter-spacing: 0.01em;
}

.nav-cta:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 12px 36px rgba(255, 103, 31, 0.4);
}

.nav-brand-banner-img {
  height: 28px;
  width: auto;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: transparent;
  z-index: 1002;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bob-navy);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 248, 242, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 2px solid var(--bob-orange);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  padding: 16px 20px;
  gap: 8px;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  z-index: 1001;
}

.nav-mobile-menu.open {
  display: flex;
  animation: mobileMenuSlideDown 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes mobileMenuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-mobile-menu .nav-link {
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--bob-navy);
  background: rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.nav-mobile-menu .nav-link:hover,
.nav-mobile-menu .nav-link.active {
  background: rgba(255, 103, 31, 0.12);
  color: var(--bob-orange);
}

.mobile-menu-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 6px 0;
}

.mobile-kid-btn,
.mobile-reset-btn,
.mobile-cta-btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.mobile-kid-btn {
  background: linear-gradient(135deg, rgba(105, 240, 174, 0.2), rgba(0, 200, 83, 0.2));
  border: 1.5px solid var(--bob-green);
  color: #00A040;
}

.mobile-kid-btn.active {
  background: var(--bob-green);
  color: white;
}

.mobile-reset-btn {
  background: rgba(255, 107, 107, 0.1);
  border: 1.5px solid #FF6B6B;
  color: #D32F2F;
}

.mobile-cta-btn {
  background: linear-gradient(135deg, var(--bob-orange), var(--bob-deep-orange));
  color: white;
  box-shadow: var(--shadow-orange);
}

/* Kid Mode Banner */
.kid-mode-banner {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(135deg, #00C853, #69F0AE);
  color: white;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.88rem;
  gap: 12px;
}

.kid-mode-banner.active {
  display: flex;
}

.kid-banner-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kid-mascot {
  font-size: 1.2rem;
  animation: kidBounce 1s ease-in-out infinite alternate;
}

@keyframes kidBounce {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-3px);
  }
}

/* - PAGE LAYOUT - */
.page-container {
  min-height: 100vh;
  position: relative;
}

.page {
  display: none;
  min-height: 100vh;
  padding-top: var(--nav-height);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.page.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.page-content {
  width: 100%;
}

/* - BUTTON SYSTEM - */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--bob-orange), var(--bob-deep-orange));
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-orange);
  transition: all var(--transition-base);
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 48px rgba(255, 103, 31, 0.4);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--bob-orange);
  outline-offset: 3px;
}

.btn-primary.large {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-primary.small {
  padding: 9px 20px;
  font-size: 0.82rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: var(--bob-cream);
  color: var(--bob-orange);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--bob-orange);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--bob-orange);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn-secondary:focus-visible {
  outline: 3px solid var(--bob-orange);
  outline-offset: 3px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  color: var(--bob-charcoal);
  font-weight: 500;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--bob-orange);
}

.btn-ghost:focus-visible {
  outline: 3px solid var(--bob-orange);
  outline-offset: 3px;
}

.btn-sm-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bob-orange);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-sm-primary:hover {
  background: var(--bob-deep-orange);
  transform: translateY(-1px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: all var(--transition-base);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateY(-2px);
}

/* - SECTION LABELS & TITLES - */
.section-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bob-orange);
  margin-bottom: 12px;
}

.section-label.light {
  color: rgba(255, 255, 255, 0.7);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--bob-charcoal);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-title.white {
  color: white;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--bob-gray);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.section-body {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 32px;
}

/* ========================================================
   PAGE 1: HOME
   ======================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--bob-trust-blue) 0%, var(--bob-navy) 40%, #0a1628 100%);
}

#earth-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 65% 50%, transparent 30%, rgba(28, 37, 65, 0.6) 80%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 60px;
  max-width: 680px;
  margin-left: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 103, 31, 0.15);
  border: 1px solid rgba(255, 103, 31, 0.35);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bob-orange-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--bob-green);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.4);
  }
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 24px;
}

.headline-line {
  display: block;
}

.headline-line.accent {
  background: linear-gradient(135deg, var(--bob-orange), var(--bob-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheadline {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-ctas .btn-ghost {
  color: rgba(255, 255, 255, 0.8);
}

.hero-ctas .btn-ghost:hover {
  color: var(--bob-yellow);
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-num);
  font-size: 2rem;
  font-weight: 700;
  color: var(--bob-yellow);
  line-height: 1;
  display: inline;
}

.stat-unit {
  font-family: var(--font-num);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--bob-yellow);
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: scrollFade 2s ease-in-out infinite;
}

@keyframes scrollFade {

  0%,
  100% {
    opacity: 0.4;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 0.9;
    transform: translateX(-50%) translateY(4px);
  }
}

.scroll-dot {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  position: relative;
}

.scroll-dot::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scrollBall 2s ease-in-out infinite;
}

@keyframes scrollBall {
  0% {
    top: 6px;
    opacity: 1;
  }

  100% {
    top: 22px;
    opacity: 0;
  }
}

/* Pillars Section */
.pillars-section {
  background: var(--bob-cream);
  padding: 96px 60px;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.pillar-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pillar-card.featured {
  background: linear-gradient(145deg, var(--bob-navy), var(--bob-trust-blue));
  border: none;
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 0 3px rgba(255, 103, 31, 0.3);
}

.pillar-card.featured:hover {
  transform: translateY(-14px);
}

.pillar-canvas-wrap {
  background: linear-gradient(135deg, rgba(255, 103, 31, 0.06), rgba(0, 200, 83, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  height: 200px;
}

.pillar-card.featured .pillar-canvas-wrap {
  background: rgba(255, 255, 255, 0.05);
}

.pillar-canvas {
  width: 100%;
  height: 100%;
  max-width: 200px;
  object-fit: contain;
}

.pillar-body {
  padding: 28px;
  text-align: left;
}

.pillar-number {
  font-family: var(--font-num);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bob-orange);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.pillar-card.featured .pillar-number {
  color: rgba(255, 103, 31, 0.8);
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bob-charcoal);
  margin-bottom: 12px;
}

.pillar-card.featured .pillar-title {
  color: white;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--bob-gray);
  line-height: 1.65;
  margin-bottom: 20px;
}

.pillar-card.featured .pillar-desc {
  color: rgba(255, 255, 255, 0.65);
}

.pillar-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bob-orange);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pillar-card.featured .pillar-cta {
  color: var(--bob-yellow);
}

.pillar-cta:hover {
  gap: 12px;
}

/* Transform Section */
.transform-section {
  position: relative;
  background: linear-gradient(135deg, var(--bob-trust-blue) 0%, var(--bob-navy) 60%, #0d1f3c 100%);
  overflow: hidden;
  padding: 0;
}

#transform-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.transform-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 96px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.transform-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
  margin-top: 12px;
}

.t-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.t-stat-val {
  font-family: var(--font-num);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--bob-yellow);
}

.t-stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.eco-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eco-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}

.eco-feature:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(6px);
  border-color: rgba(255, 103, 31, 0.4);
}

.eco-icon {
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 103, 31, 0.15);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.eco-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eco-text strong {
  font-weight: 600;
  color: white;
  font-size: 0.95rem;
}

.eco-text span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Home CTA Section */
.home-cta-section {
  background: var(--bob-warm);
  padding: 96px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255, 103, 31, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--bob-charcoal);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-content p {
  color: var(--bob-gray);
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ========================================================
   PAGE 2: CALCULATOR
   ======================================================== */
.calc-hero {
  position: relative;
  background: linear-gradient(135deg, var(--bob-trust-blue), var(--bob-navy));
  padding: 64px 60px 48px;
  overflow: hidden;
}

#calc-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
}

.calc-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.page-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  max-width: 500px;
}

/* Progress Bar */
.calc-progress-bar {
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 20px 60px;
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.prog-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  transition: all var(--transition-base);
  cursor: pointer;
}

.prog-step:hover {
  opacity: 0.85;
}

.prog-step:hover .prog-dot {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 103, 31, 0.3);
}

.prog-step.active,
.prog-step.completed {
  opacity: 1;
}

.prog-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bob-gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 2px solid transparent;
  transition: all var(--transition-base);
}

.prog-step.active .prog-dot {
  background: var(--bob-orange);
  border-color: var(--bob-orange);
  box-shadow: 0 0 0 4px rgba(255, 103, 31, 0.2);
  transform: scale(1.1);
}

.eco-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  backdrop-filter: blur(8px);
  transition: all var(--transition-base);
}

.eco-feature:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(6px);
  border-color: rgba(255, 103, 31, 0.4);
}

.eco-icon {
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 103, 31, 0.15);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.eco-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eco-text strong {
  font-weight: 600;
  color: white;
  font-size: 0.95rem;
}

.eco-text span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Home CTA Section */
.home-cta-section {
  background: var(--bob-warm);
  padding: 96px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255, 103, 31, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--bob-charcoal);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-content p {
  color: var(--bob-gray);
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ========================================================
   PAGE 2: CALCULATOR
   ======================================================== */
.calc-hero {
  position: relative;
  background: linear-gradient(135deg, var(--bob-trust-blue), var(--bob-navy));
  padding: 64px 60px 48px;
  overflow: hidden;
}

#calc-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
}

.calc-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.page-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
  max-width: 500px;
}

/* Progress Bar */
.calc-progress-bar {
  background: rgba(18, 24, 38, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1.5px solid rgba(255, 153, 51, 0.25);
  padding: 20px 60px;
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.prog-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  transition: all var(--transition-base);
  cursor: pointer;
}

.prog-step:hover {
  opacity: 0.85;
}

.prog-step:hover .prog-dot {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 103, 31, 0.3);
}

.prog-step.active,
.prog-step.completed {
  opacity: 1;
}

.prog-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bob-gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 2px solid transparent;
  transition: all var(--transition-base);
}

.prog-step.active .prog-dot {
  background: var(--bob-orange);
  border-color: var(--bob-orange);
  box-shadow: 0 0 0 4px rgba(255, 103, 31, 0.2);
  transform: scale(1.1);
}

.prog-step.completed .prog-dot {
  background: var(--bob-green);
  border-color: var(--bob-green);
}

.prog-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bob-gray);
  letter-spacing: 0.02em;
}

.prog-step.active .prog-label {
  color: var(--bob-orange);
}

.prog-step.completed .prog-label {
  color: var(--bob-green);
}

.progress-fill-bar {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  height: 4px;
  background: var(--bob-gray-light);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--bob-orange), var(--bob-yellow));
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Calculator Main */
.calculator-wrapper {
  padding: 0 0 80px;
}

.calc-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 60px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* Meter Panel */
.calc-meter-panel {
  position: sticky;
  top: calc(var(--nav-height) + 105px);
  background: rgba(18, 24, 38, 0.85);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 153, 51, 0.3);
  text-align: center;
}

.meter-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bob-gray);
  margin-bottom: 16px;
}

#meter-canvas {
  margin: 0 auto 4px;
}

.meter-value {
  margin-bottom: 20px;
}

.meter-number {
  font-family: var(--font-num);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--bob-charcoal);
  display: block;
  line-height: 1;
}

.meter-unit {
  font-size: 0.78rem;
  color: var(--bob-gray);
  display: block;
  margin-top: 4px;
}

.meter-category-breakdown {
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.8rem;
}

.br-label {
  color: var(--bob-gray);
  font-weight: 500;
}

.br-val {
  font-family: var(--font-num);
  font-weight: 600;
  color: var(--bob-charcoal);
}

.meter-benchmark {
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.bench-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  padding: 5px 0;
}

.bench-label {
  color: var(--bob-gray);
}

.bench-val {
  font-weight: 600;
  color: var(--bob-charcoal);
  font-family: var(--font-num);
}

/* Form Steps */
.calc-form-panel {
  min-width: 0;
}

.calc-step {
  display: none;
  animation: stepIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.calc-step.active {
  display: block;
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.step-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bob-warm);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--bob-charcoal);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 1.05rem;
  color: var(--bob-gray);
  line-height: 1.65;
}

.step-canvas-row {
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(28, 37, 65, 0.03), rgba(0, 200, 83, 0.05));
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.step-canvas-row canvas {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* Input Grid - 1 Full Width Row Straight Per Item to prevent clamping */
#calc-phase .input-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

#calc-phase .input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff !important;
  border: 2px solid #ff671f !important;
  border-radius: 20px !important;
  padding: 24px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}

#calc-phase .input-group:hover {
  border-color: #ff671f !important;
  box-shadow: 0 8px 28px rgba(255, 103, 31, 0.2) !important;
}

#calc-phase .input-group.full-width {
  grid-column: 1 / -1;
}

#calc-phase .input-group label {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #111827 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
}

#calc-phase .input-row {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid #d1d5db !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  transition: all 0.2s ease !important;
  min-height: 56px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}

#calc-phase .input-row:focus-within {
  border-color: #ff671f !important;
  box-shadow: 0 0 0 4px rgba(255, 103, 31, 0.25) !important;
  background: #ffffff !important;
}

#calc-phase .calc-input {
  flex: 1;
  padding: 14px 20px !important;
  border: none !important;
  background: #ffffff !important;
  font-family: var(--font-num) !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #000000 !important;
  outline: none !important;
  min-width: 140px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#calc-phase .calc-input::placeholder {
  color: #6b7280 !important;
  font-weight: 500 !important;
}

.calc-input::-webkit-inner-spin-button,
.calc-input::-webkit-outer-spin-button {
  opacity: 0.8;
  height: 24px;
}

.input-unit {
  padding: 14px 22px !important;
  background: #fff3e6 !important;
  color: #e65100 !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  border-left: 2px solid #ff671f !important;
  flex-shrink: 0 !important;
  letter-spacing: 0.5px !important;
}

.input-hint {
  font-size: 0.9rem !important;
  color: #d97706 !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}

/* Toggle Groups */
.toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toggle-btn {
  padding: 13px 24px;
  border-radius: var(--radius-full);
  border: 2.5px solid rgba(0, 0, 0, 0.1);
  background: white;
  color: var(--bob-gray);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: -0.01em;
}

.toggle-btn:hover {
  border-color: var(--bob-orange);
  color: var(--bob-orange);
  background: rgba(255, 103, 31, 0.05);
  transform: translateY(-1px);
}

.toggle-btn.active {
  border-color: var(--bob-orange);
  background: var(--bob-orange);
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 103, 31, 0.3);
}

/* Calc Nav */
.calc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.step-indicator {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bob-gray);
}

/* ========================================================
   PAGE 3: REPORT
   ======================================================== */
.report-hero {
  position: relative;
  background: linear-gradient(135deg, #0f1e38 0%, var(--bob-navy) 100%);
  padding: 64px 60px 52px;
  overflow: hidden;
}

#report-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.report-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.report-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 60px 80px;
}

/* Prominent Annual Footprint Hero Card with Rotating Conic Glow Border */
.annual-footprint-prominent-card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  padding: 3px;
  margin-bottom: 48px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(255, 103, 31, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2);
}

.afp-glow-border {
  position: absolute;
  inset: -100%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    #FF671F 0deg,
    #FFCA28 90deg,
    #00C853 180deg,
    #FF8A3D 270deg,
    #FF671F 360deg
  );
  animation: afpGlowRotate 6s linear infinite;
  z-index: 1;
}

@keyframes afpGlowRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.afp-card-inner {
  position: relative;
  z-index: 2;
  background: linear-gradient(145deg, #161F33 0%, #111827 100%);
  border-radius: calc(var(--radius-xl) - 3px);
  padding: 44px 52px;
  color: #FFFFFF;
  text-align: left;
}

.afp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFCA28;
  background: rgba(255, 202, 40, 0.15);
  border: 1.5px solid rgba(255, 202, 40, 0.4);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(255, 202, 40, 0.15);
}

.afp-main-value {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}

.afp-number {
  font-family: var(--font-num);
  font-size: clamp(3.5rem, 7vw, 5.2rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.afp-unit {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1;
  align-self: baseline;
}

.afp-subtext {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.6;
  font-weight: 500;
}

.afp-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: rgba(255, 255, 255, 0.05);
  padding: 24px 36px;
  border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.afp-m-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.afp-m-label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
}

.afp-m-val {
  font-family: var(--font-num);
  font-size: 1.75rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.2;
}

.afp-m-val.gold {
  color: #FFCA28;
}

.report-headline-numbers {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 20px;
  margin-bottom: 60px;
}

.headline-num-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-base);
}

.headline-num-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.headline-num-card.primary {
  background: linear-gradient(145deg, var(--bob-orange), var(--bob-deep-orange));
  border: none;
  color: white;
}

.hn-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bob-gray);
  margin-bottom: 12px;
}

.headline-num-card.primary .hn-label {
  color: rgba(255, 255, 255, 0.75);
}

.hn-value {
  font-family: var(--font-num);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--bob-charcoal);
  line-height: 1;
  margin-bottom: 8px;
}

.headline-num-card.primary .hn-value {
  color: white;
}

.hn-unit {
  font-size: 1rem;
  font-weight: 400;
  color: var(--bob-gray);
  margin-left: 4px;
}

.headline-num-card.primary .hn-unit {
  color: rgba(255, 255, 255, 0.7);
}

.hn-context {
  font-size: 0.78rem;
  color: var(--bob-gray);
}

.headline-num-card.primary .hn-context {
  color: rgba(255, 255, 255, 0.65);
}

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--bob-yellow), var(--bob-orange));
  border-radius: 50%;
  color: white;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(253, 185, 19, 0.4);
}

.report-section {
  margin-bottom: 64px;
}

.report-section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bob-charcoal);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

/* Report Category Chart */
.report-categories {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
}

.report-cat-chart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut-center {
  position: absolute;
  text-align: center;
}

.donut-total {
  font-family: var(--font-num);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bob-charcoal);
  display: block;
}

.donut-label {
  font-size: 0.72rem;
  color: var(--bob-gray);
  display: block;
}

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

.cat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cat-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.cat-info {
  flex: 1;
  min-width: 0;
}

.cat-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bob-charcoal);
  display: block;
  margin-bottom: 6px;
}

.cat-bar-wrap {
  height: 8px;
  background: var(--bob-gray-light);
  border-radius: 4px;
  overflow: hidden;
}

.cat-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-pct {
  font-family: var(--font-num);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bob-gray);
  width: 40px;
  text-align: right;
  flex-shrink: 0;
}

.cat-val {
  font-family: var(--font-num);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bob-charcoal);
  width: 50px;
  text-align: right;
  flex-shrink: 0;
}

/* Equivalents Grid - Bank of Baroda Style */
.equivalents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.eq-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border: 1.5px solid rgba(255, 103, 31, 0.12);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.eq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(255, 103, 31, 0.18);
  border-color: var(--bob-orange);
}

.eq-card.highlight {
  background: linear-gradient(145deg, #F0FDF4 0%, #DCFCE7 100%);
  border: 2px solid rgba(0, 200, 83, 0.35);
  box-shadow: 0 8px 24px rgba(0, 200, 83, 0.15);
}

.eq-card.highlight:hover {
  border-color: var(--bob-green);
  box-shadow: 0 16px 36px rgba(0, 200, 83, 0.25);
}

.eq-icon {
  font-size: 2.6rem;
  margin-bottom: 14px;
  transition: transform 0.3s var(--transition-elastic);
}

.eq-card:hover .eq-icon {
  transform: scale(1.2) rotate(6deg);
}

.eq-value {
  font-family: var(--font-num);
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--bob-orange);
  margin-bottom: 10px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.eq-card.highlight .eq-value {
  color: var(--bob-green);
}

.eq-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.5;
}

/* Benchmark Chart - Bank of Baroda Column Style */
.benchmark-chart {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  height: 320px;
  padding: 32px 28px 24px;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
  border: 1.5px solid rgba(255, 103, 31, 0.12);
  margin-top: 20px;
}

.bench-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 100%;
}

.bench-bar-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 16px 16px 8px 8px;
  padding: 8px 8px 0;
}

.bench-bar {
  width: 56px;
  border-radius: 14px 14px 6px 6px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10px;
  transition: height 0.8s var(--transition-elastic);
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bench-bar.yours {
  background: linear-gradient(180deg, #FF671F 0%, #E85D04 100%);
  box-shadow: 0 6px 18px rgba(255, 103, 31, 0.35);
}

.bench-bar.india {
  background: linear-gradient(180deg, #FFCA28 0%, #F57F17 100%);
  box-shadow: 0 6px 18px rgba(255, 202, 40, 0.3);
}

.bench-bar.global {
  background: linear-gradient(180deg, #4FC3F7 0%, #0288D1 100%);
  box-shadow: 0 6px 18px rgba(79, 195, 247, 0.3);
}

.bench-bar.paris {
  background: linear-gradient(180deg, #00C853 0%, #009624 100%);
  box-shadow: 0 6px 18px rgba(0, 200, 83, 0.3);
}

.bench-bar-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  color: #FFFFFF;
  text-align: center;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.bench-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #374151;
  text-align: center;
}

.bench-num {
  font-family: var(--font-num);
  font-size: 1.15rem;
  font-weight: 900;
  color: #111827;
  text-align: center;
}

.report-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================================
   PAGE 4: REDUCE
   ======================================================== */
.reduce-hero {
  position: relative;
  background: linear-gradient(135deg, #0a2e1a 0%, #0f3d1f 40%, #1a5225 100%);
  padding: 64px 60px 52px;
  overflow: hidden;
}

#reduce-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}

.reduce-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.reduce-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 60px 80px;
}

.savings-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.08), rgba(105, 240, 174, 0.12));
  border: 1.5px solid rgba(0, 200, 83, 0.25);
  border-radius: var(--radius-xl);
  padding: 20px 28px;
  margin-bottom: 32px;
}

.savings-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.savings-text {
  flex: 1;
  font-size: 0.95rem;
  color: var(--bob-charcoal);
  line-height: 1.5;
}

.savings-amount {
  font-weight: 700;
  color: var(--bob-green);
  font-family: var(--font-num);
}

.savings-score-tag {
  background: var(--bob-green);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* Filter Tabs */
.reduce-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(0, 0, 0, 0.1);
  background: white;
  color: var(--bob-gray);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  border-color: var(--bob-orange);
  color: var(--bob-orange);
}

.filter-tab.active {
  background: var(--bob-orange);
  border-color: var(--bob-orange);
  color: white;
  font-weight: 600;
}

/* Actions Grid */
.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.action-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.07);
  transition: all var(--transition-base);
  position: relative;
}

.action-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.action-card[data-category] {
  display: flex;
  flex-direction: column;
}

.action-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 0;
}

.action-badge.high {
  background: linear-gradient(90deg, rgba(255, 103, 31, 0.12), rgba(255, 103, 31, 0.06));
  color: var(--bob-orange);
}

.action-badge.medium {
  background: linear-gradient(90deg, rgba(253, 185, 19, 0.12), rgba(253, 185, 19, 0.06));
  color: #b8860b;
}

.action-badge.low {
  background: linear-gradient(90deg, rgba(0, 200, 83, 0.12), rgba(0, 200, 83, 0.06));
  color: #007a33;
}

.action-icon {
  font-size: 2.2rem;
  padding: 20px 24px 8px;
}

.action-body {
  padding: 0 24px 20px;
}

.action-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--bob-charcoal);
  margin-bottom: 8px;
  line-height: 1.3;
}

.action-desc {
  font-size: 0.85rem;
  color: var(--bob-gray);
  line-height: 1.55;
  margin-bottom: 16px;
}

.action-metrics {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

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

.am-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--bob-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.am-val {
  font-family: var(--font-num);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bob-charcoal);
}

.am-val.green {
  color: var(--bob-green);
}

.action-expand-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bob-orange);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.action-expand-btn:hover {
  opacity: 0.7;
}

.action-expanded {
  display: none;
  background: var(--bob-warm);
  padding: 20px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.action-expanded.open {
  display: block;
  animation: expandIn 0.3s ease;
}

@keyframes expandIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.action-expanded h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bob-charcoal);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.action-expanded ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.action-expanded ul li {
  font-size: 0.85rem;
  color: var(--bob-gray);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.action-expanded ul li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--bob-orange);
  font-size: 0.9rem;
}

.action-link {
  margin-top: 4px;
}

.reduce-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================================
   PAGE 5: OFFSET
   ======================================================== */
.offset-hero {
  position: relative;
  background: linear-gradient(135deg, #052010 0%, #0a3318 40%, #0f4a25 100%);
  padding: 64px 60px 52px;
  overflow: hidden;
}

#forest-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.offset-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.offset-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 60px 80px;
}

.offset-philosophy {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(253, 185, 19, 0.08);
  border: 1.5px solid rgba(253, 185, 19, 0.25);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin-bottom: 32px;
}

.phil-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.phil-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--bob-charcoal);
}

.phil-text strong {
  color: var(--bob-charcoal);
  font-weight: 700;
}

.offset-calculator-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 24px 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  flex-wrap: wrap;
}

.offset-remaining,
.offset-cost-est {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.or-label,
.oc-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bob-gray);
}

.or-value {
  font-family: var(--font-num);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bob-orange);
}

.oc-value {
  font-family: var(--font-num);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bob-charcoal);
}

.offset-section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bob-charcoal);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.project-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-base);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.project-card.featured {
  box-shadow: var(--shadow-xl);
  border: 2px solid rgba(0, 200, 83, 0.25);
}

.project-hero-img {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a3318, #0f4a25);
}

.project-scene-canvas {
  width: 100% !important;
  height: 100% !important;
}

.project-body {
  padding: 24px;
}

.project-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.proj-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.proj-badge.verified {
  background: rgba(0, 200, 83, 0.1);
  color: #007a33;
  border: 1px solid rgba(0, 200, 83, 0.25);
}

.proj-badge.sdg {
  background: rgba(79, 195, 247, 0.1);
  color: #0277bd;
  border: 1px solid rgba(79, 195, 247, 0.25);
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bob-charcoal);
  margin-bottom: 4px;
}

.project-region {
  font-size: 0.78rem;
  color: var(--bob-gray);
  margin-bottom: 12px;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--bob-gray);
  line-height: 1.55;
  margin-bottom: 16px;
}

.project-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--bob-cream);
  border-radius: var(--radius-lg);
}

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

.pm-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--bob-gray);
  text-transform: uppercase;
}

.pm-val {
  font-family: var(--font-num);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bob-charcoal);
}

.project-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.project-card.selected {
  border-color: var(--bob-green);
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.2), var(--shadow-xl);
}

/* Offset Summary */
.offset-summary {
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.06), rgba(105, 240, 174, 0.08));
  border: 2px solid rgba(0, 200, 83, 0.25);
  border-radius: var(--radius-xl);
  padding: 32px;
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.os-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bob-charcoal);
  margin-bottom: 16px;
}

.os-details {
  font-size: 0.9rem;
  color: var(--bob-gray);
  margin-bottom: 16px;
  line-height: 1.6;
}

.os-total {
  font-size: 1rem;
  color: var(--bob-charcoal);
  margin-bottom: 20px;
}

.os-total strong {
  color: var(--bob-green);
  font-family: var(--font-num);
}

/* ========================================================
   PAGE 6: GREEN FINANCE
   ======================================================== */
.finance-hero {
  position: relative;
  background: linear-gradient(135deg, var(--bob-navy) 0%, #0f1e38 50%, #1a2a48 100%);
  padding: 64px 60px 52px;
  overflow: hidden;
}

#finance-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.finance-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.finance-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 60px 80px;
}

/* Finance Vision */
.finance-vision {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 64px;
  padding: 48px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.fv-left h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--bob-charcoal);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.fv-left p {
  font-size: 0.92rem;
  color: var(--bob-gray);
  line-height: 1.7;
}

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

.fv-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fv-stat-val {
  font-family: var(--font-num);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bob-orange);
}

.fv-stat-label {
  font-size: 0.8rem;
  color: var(--bob-gray);
}

.finance-section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bob-charcoal);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

/* Finance Products Grid */
.finance-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.finance-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.07);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.finance-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255, 103, 31, 0.2);
}

.finance-card.featured {
  background: linear-gradient(145deg, var(--bob-warm), white);
  border: 2px solid rgba(255, 103, 31, 0.25);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 103, 31, 0.1);
}

.finance-icon-wrap {
  margin-bottom: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100px;
  background: var(--bob-warm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.finance-product-canvas {
  width: 100% !important;
  height: 100% !important;
}

.fc-category {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bob-orange);
  margin-bottom: 8px;
}

.fc-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--bob-charcoal);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.fc-desc {
  font-size: 0.82rem;
  color: var(--bob-gray);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.fc-metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding: 14px;
  background: var(--bob-cream);
  border-radius: var(--radius-md);
}

.fcm-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fcm-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bob-gray);
}

.fcm-val {
  font-family: var(--font-num);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bob-charcoal);
}

.fc-impact {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: #007a33;
  margin-bottom: 20px;
  padding: 10px 12px;
  background: rgba(0, 200, 83, 0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 200, 83, 0.15);
}

.fci-icon {
  flex-shrink: 0;
}

.fci-text {
  line-height: 1.4;
}

.fc-cta {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--bob-orange), var(--bob-deep-orange));
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 103, 31, 0.25);
  border: none;
  outline: none;
}

.fc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 103, 31, 0.35);
  color: white;
  text-decoration: none;
}

.finance-contact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, var(--bob-navy), var(--bob-trust-blue));
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  flex-wrap: wrap;
}

.fcb-left h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.fcb-left p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
  line-height: 1.6;
}

.fcb-right {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.fcb-right .btn-ghost {
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================================
   PAGE 7: DASHBOARD
   ======================================================== */
.dashboard-hero {
  position: relative;
  background: linear-gradient(135deg, var(--bob-trust-blue) 0%, var(--bob-navy) 100%);
  padding: 64px 60px 52px;
  overflow: hidden;
}

#dashboard-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dashboard-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.dashboard-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 60px 80px;
}

.dw-section-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--bob-charcoal);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

/* Growth Journey */
.growth-journey {
  margin-bottom: 64px;
}

.journey-stages {
  display: flex;
  align-items: center;
  padding: 40px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
  gap: 0;
}

.journey-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 100px;
  position: relative;
  opacity: 0.4;
  transition: all var(--transition-base);
}

.journey-stage.completed,
.journey-stage.active {
  opacity: 1;
}

.stage-icon {
  font-size: 2.4rem;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bob-gray-light);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.journey-stage.completed .stage-icon {
  background: linear-gradient(135deg, var(--bob-green), #00a040);
  box-shadow: var(--shadow-green);
}

.journey-stage.active .stage-icon {
  background: linear-gradient(135deg, var(--bob-orange), var(--bob-deep-orange));
  box-shadow: var(--shadow-orange);
  transform: scale(1.15);
}

.stage-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bob-charcoal);
  text-align: center;
}

.stage-desc {
  font-size: 0.72rem;
  color: var(--bob-gray);
  text-align: center;
}

.stage-check {
  display: none;
  position: absolute;
  top: -4px;
  right: 50%;
  transform: translateX(20px);
  width: 20px;
  height: 20px;
  background: var(--bob-green);
  border-radius: 50%;
  color: white;
  font-size: 0.65rem;
  font-weight: 900;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.journey-stage.completed .stage-check {
  display: flex;
}

.stage-progress-ring {
  position: absolute;
  bottom: 32px;
}

.journey-connector {
  flex: 0.5;
  height: 2px;
  background: var(--bob-gray-light);
  margin-bottom: 48px;
}

.journey-connector.completed {
  background: linear-gradient(90deg, var(--bob-green), var(--bob-green));
}

/* Metrics Grid */
.dashboard-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.dm-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.07);
  transition: all var(--transition-base);
}

.dm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.dm-card.primary-card {
  background: linear-gradient(145deg, var(--bob-navy), var(--bob-trust-blue));
  border: none;
}

.dm-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.dm-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bob-gray);
  margin-bottom: 8px;
}

.dm-card.primary-card .dm-label {
  color: rgba(255, 255, 255, 0.6);
}

.dm-value {
  font-family: var(--font-num);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bob-charcoal);
  margin-bottom: 8px;
  line-height: 1;
}

.dm-card.primary-card .dm-value {
  color: white;
}

.dm-unit {
  font-size: 0.85rem;
  font-weight: 400;
}

.green-val {
  color: var(--bob-green);
}

.orange-val {
  color: var(--bob-orange);
}

.dm-trend {
  font-size: 0.75rem;
  color: var(--bob-gray);
}

.dm-card.primary-card .dm-trend {
  color: rgba(255, 255, 255, 0.5);
}

.trend-positive {
  color: var(--bob-green);
}

.trend-neutral {
  color: var(--bob-gray);
}

/* Charts */
.dashboard-charts {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.chart-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.chart-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--bob-charcoal);
  margin-bottom: 20px;
}

.progress-rings {
  display: flex;
  gap: 16px;
  justify-content: space-around;
  flex-wrap: wrap;
}

.prog-ring-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pr-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bob-gray);
}

.pr-pct {
  font-family: var(--font-num);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bob-orange);
}

/* Badges */
.badges-section {
  margin-bottom: 48px;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.badge-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid rgba(0, 0, 0, 0.07);
  opacity: 0.5;
  transition: all var(--transition-base);
}

.badge-item.earned {
  opacity: 1;
  border-color: rgba(255, 103, 31, 0.3);
  background: linear-gradient(145deg, var(--bob-warm), white);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 103, 31, 0.1);
}

.badge-item:hover {
  transform: translateY(-4px);
  opacity: 0.85;
}

.badge-item.earned:hover {
  opacity: 1;
}

.badge-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.badge-name {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bob-charcoal);
  margin-bottom: 4px;
}

.badge-status {
  font-size: 0.66rem;
}

.earned-label {
  color: var(--bob-green);
  font-weight: 600;
}

.locked-label {
  color: var(--bob-gray);
}

/* Downloads */
.download-section {
  margin-bottom: 64px;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.download-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.07);
  transition: all var(--transition-base);
  cursor: pointer;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 103, 31, 0.2);
}

.dl-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.download-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bob-charcoal);
  margin-bottom: 8px;
}

.download-card p {
  font-size: 0.82rem;
  color: var(--bob-gray);
  line-height: 1.5;
  margin-bottom: 20px;
}

.dl-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bob-orange);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dl-btn:hover {
  opacity: 0.7;
}

/* Victory Section */
.victory-section {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bob-trust-blue), var(--bob-navy));
}

#victory-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.victory-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px;
  max-width: 600px;
}

.victory-emoji {
  font-size: 4rem;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.victory-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.victory-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 32px;
}

.victory-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Kid Mascot Float */
.kid-mascot-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

body.kid-mode .kid-mascot-float {
  display: flex;
}

.mascot-char {
  font-size: 3rem;
  animation: mascotBounce 2s ease-in-out infinite;
  cursor: pointer;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

@keyframes mascotBounce {

  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }

  50% {
    transform: translateY(-8px) rotate(5deg);
  }
}

.mascot-bubble {
  background: white;
  border-radius: 16px 16px 4px 16px;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--bob-charcoal);
  box-shadow: var(--shadow-md);
  max-width: 220px;
  text-align: right;
  animation: bubblePop 0.5s var(--transition-elastic);
}

/* Kid Mode Overrides */
body.kid-mode .hero-section {
  background: linear-gradient(160deg, #0a3318 0%, #0f4a25 40%, #165c30 100%);
}

body.kid-mode .section-title,
body.kid-mode .step-title,
body.kid-mode .pillar-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

body.kid-mode .btn-primary {
  font-size: 1.05rem;
  padding: 16px 32px;
}

body.kid-mode .pillar-card,
body.kid-mode .action-card,
body.kid-mode .finance-card {
  border-radius: 28px;
}

/* - RESPONSIVE - */
@media (max-width: 1100px) {
  :root {
    --nav-height: 64px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .finance-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .badges-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .report-headline-numbers {
    grid-template-columns: 1fr 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .nav-brand-banner-img {
    display: none;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .nav-brand {
    gap: 8px;
  }

  .bob-name {
    font-size: 0.58rem;
  }

  .bob-sub {
    font-size: 0.78rem;
  }

  .nav-actions {
    gap: 6px;
  }

  .kid-mode-toggle,
  .reset-btn {
    padding: 6px 12px;
    font-size: 0.76rem;
  }

  .kid-label,
  .reset-label {
    display: inline;
    font-weight: 700;
  }

  .reduce-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-tab {
    flex-shrink: 0;
  }
}

@media (max-width: 640px) {
  .kid-mode-toggle,
  .reset-btn {
    display: none !important;
  }

  .report-wrapper,
  .calc-form-panel {
    padding: 20px 16px 40px !important;
  }

  .annual-footprint-prominent-card {
    margin-bottom: 32px !important;
  }

  .afp-card-inner {
    padding: 24px 18px !important;
  }

  .afp-badge {
    font-size: 0.75rem !important;
    padding: 6px 12px !important;
    margin-bottom: 16px !important;
  }

  .afp-main-value {
    flex-wrap: wrap !important;
    gap: 6px !important;
    align-items: baseline !important;
  }

  .afp-number {
    font-size: clamp(2.4rem, 10vw, 3.8rem) !important;
  }

  .afp-unit {
    font-size: 1.1rem !important;
  }

  .afp-subtext {
    font-size: 0.9rem !important;
    margin-bottom: 20px !important;
  }

  .afp-metrics-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    padding: 16px 12px !important;
    gap: 10px !important;
  }

  .afp-m-label {
    font-size: 0.7rem !important;
  }

  .afp-m-val {
    font-size: 1.3rem !important;
  }

  .equivalents-grid {
    grid-template-columns: 1fr !important;
  }

  .benchmark-chart {
    height: 280px !important;
    padding: 20px 14px 16px !important;
    gap: 12px !important;
  }

  .bench-bar {
    width: 36px !important;
  }

  .bench-bar-label {
    font-size: 0.65rem !important;
  }

  .bench-name {
    font-size: 0.72rem !important;
  }

  .bench-num {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 900px) {

  .hero-content {
    padding: 60px 24px 80px;
    margin-left: 0;
  }

  .hero-headline {
    font-size: clamp(1.8rem, 6vw, 3rem);
  }

  .pillars-section,
  .transform-section .transform-content,
  .home-cta-section {
    padding: 64px 24px;
  }

  .transform-content {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .calc-main {
    grid-template-columns: 1fr !important;
    padding: 24px;
  }

  .calc-meter-panel {
    position: static;
  }

  .input-grid {
    grid-template-columns: 1fr;
  }

  .report-wrapper,
  .reduce-wrapper,
  .offset-wrapper,
  .finance-wrapper,
  .dashboard-wrapper {
    padding: 40px 24px 60px;
  }

  .report-categories {
    grid-template-columns: 1fr;
  }

  .equivalents-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benchmark-chart {
    padding: 16px;
    gap: 16px;
  }

  .bench-bar {
    width: 80%;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .finance-products-grid {
    grid-template-columns: 1fr;
  }

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

  .dashboard-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-charts {
    grid-template-columns: 1fr;
  }

  .badges-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .download-cards {
    grid-template-columns: 1fr;
  }

  .journey-stages {
    overflow-x: auto;
  }
}

@media (max-width: 600px) {
  .hero-ctas {
    flex-direction: column;
  }

  .hero-stats {
    gap: 24px;
  }

  .report-headline-numbers {
    grid-template-columns: 1fr 1fr;
  }

  .equivalents-grid {
    grid-template-columns: 1fr 1fr;
  }

  .actions-grid {
    grid-template-columns: 1fr;
  }

  .badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-progress-bar {
    padding: 16px 20px;
  }

  .progress-steps {
    gap: 4px;
  }

  .prog-label {
    display: none;
  }

  .report-cta-row,
  .reduce-cta-row,
  .victory-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .finance-contact-bar {
    flex-direction: column;
    text-align: center;
  }

  .offset-calculator-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* - SCROLLBAR - */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bob-cream);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 103, 31, 0.35);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 103, 31, 0.6);
}

/* - MOTION PREFERENCES - */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* - FOCUS VISIBLE - */
:focus-visible {
  outline: 3px solid var(--bob-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ========================================================
   RESET BUTTONS
   ======================================================== */
.reset-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 103, 31, 0.05);
  border: 1.5px dashed rgba(255, 103, 31, 0.4);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bob-orange);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.reset-btn:hover {
  background: rgba(255, 103, 31, 0.15);
  border-color: var(--bob-orange);
  transform: translateY(-1px);
}

.mobile-reset-btn {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border-radius: var(--radius-lg);
  background: rgba(255, 103, 31, 0.1);
  border: 1px dashed var(--bob-orange);
  color: var(--bob-orange);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-reset-btn:hover {
  background: var(--bob-orange);
  color: white;
}

/* ========================================================
   KID MODE STRUCTURAL OVERRIDES
   ======================================================== */
body.kid-mode .adult-only {
  display: none !important;
}

body:not(.kid-mode) .kid-only {
  display: none !important;
}

/* Hide complex text on Reduce page for kids */
body.kid-mode .action-metrics {
  display: none !important;
}

body.kid-mode .action-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--bob-charcoal);
}

body.kid-mode .action-card {
  background: #fdfdfd;
  border: 3px solid #e0e0e0;
  border-radius: 20px;
  box-shadow: 0 8px 0 #e0e0e0;
  transition: transform 0.2s;
}

body.kid-mode .action-card:hover {
  transform: translateY(-4px);
  border-color: #00C853;
  box-shadow: 0 12px 0 #00C853;
}

body.kid-mode .action-icon {
  font-size: 3rem;
  background: transparent;
}

body.kid-mode .action-title {
  font-size: 1.4rem;
  color: #1b5e20;
}

body.kid-mode .finance-metrics {
  display: none !important;
}

body.kid-mode .finance-feature {
  display: none !important;
}


/* Kid Grid & Choice Cards */
.kid-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 20px;
}

.kid-question {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kid-question h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--bob-navy);
  font-weight: 700;
}

body.kid-mode .kid-question h3 {
  color: #1b5e20;
  /* Fun dark green in kid mode */
}

.kid-toggle-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.kid-toggle-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  border-radius: var(--radius-xl);
  background: white;
  border: 2.5px solid rgba(0, 200, 83, 0.2);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  text-align: center;
  min-height: 110px;
}

.kid-toggle-btn .ktb-emoji {
  font-size: 2.8rem;
  transition: transform 0.3s var(--transition-elastic);
}

.kid-toggle-btn .ktb-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--bob-charcoal);
  line-height: 1.3;
}

.kid-toggle-btn:hover {
  transform: translateY(-4px);
  border-color: var(--bob-green);
  box-shadow: var(--shadow-md);
}

.kid-toggle-btn:hover .ktb-emoji {
  transform: scale(1.2) rotate(5deg);
}

.kid-toggle-btn.active {
  background: linear-gradient(145deg, #e8f5e9, #c8e6c9);
  border-color: var(--bob-green);
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.25), 0 0 0 1px var(--bob-green);
}

.kid-toggle-btn.active .ktb-label {
  color: #1b5e20;
}

.kid-toggle-btn.active .ktb-emoji {
  transform: scale(1.15);
}

/* Kid Report Page Panel */
.kid-report-panel {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-2xl);
  padding: 40px;
  border: 3px solid #81c784;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(15px);
}

.kid-mascot-cheer {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #e8f5e9;
  border-radius: 20px;
  padding: 24px;
  border: 1.5px solid #a5d6a7;
}

.kmc-char {
  font-size: 3.5rem;
  animation: float 2.5s ease-in-out infinite;
}

.kmc-bubble h2 {
  font-family: var(--font-heading);
  color: #1b5e20;
  font-size: 1.7rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.kmc-bubble p {
  color: #388e3c;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Kid Animal Rank Card */
.kid-animal-card {
  display: flex;
  align-items: center;
  gap: 30px;
  background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
  border-radius: 28px;
  padding: 32px;
  border: 2px solid #81c784;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.kid-animal-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.kac-icon {
  font-size: 4.5rem;
  background: white;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  animation: mascotBounce 2s ease-in-out infinite;
}

.kac-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kac-rank-label {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2e7d32;
}

.kac-animal-name {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: #1b5e20;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.kac-desc {
  font-size: 1.1rem;
  color: #2e7d32;
  font-weight: 600;
  line-height: 1.5;
}

/* Kid Equivalents Grid */
.kid-section-subtitle {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: #1b5e20;
  margin-bottom: 20px;
}

.kid-eq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.kid-eq-card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  border: 1.5px solid rgba(0, 200, 83, 0.1);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
}

.kid-eq-card:hover {
  transform: translateY(-4px);
}

.keq-icon {
  font-size: 2.6rem;
}

.keq-value {
  font-family: var(--font-num);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--bob-green);
}

.keq-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bob-gray);
  line-height: 1.4;
}

/* Kid next steps */
.kid-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 20px;
}

.kid-steps-list li {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bob-charcoal);
  list-style-type: none;
  position: relative;
}

.kid-steps-list li::before {
  content: "";
  position: absolute;
  left: -24px;
}

.kid-cta-row {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

/* ========================================================
   FLAGSHIP FLOATING CHATBOT WIDGET
   ======================================================== */
/* - ADI LAUNCHER - */
.adi-launcher-tooltip {
  position: relative;
  background: var(--bob-navy);
  color: white;
  padding: 14px 18px;
  border-radius: 16px;
  max-width: 220px;
  font-size: 0.83rem;
  line-height: 1.5;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.4s ease;
  display: none;
}

.adi-launcher-tooltip.visible {
  display: block;
}

.adi-launcher-tooltip::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 22px;
  width: 16px;
  height: 8px;
  background: var(--bob-navy);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.adi-launcher-tooltip p {
  margin: 0 0 4px;
}

.adi-launcher-tooltip p:last-of-type {
  margin-bottom: 0;
  opacity: 0.8;
  font-size: 0.78rem;
}

.adi-tooltip-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}

.adi-tooltip-close:hover {
  color: white;
}

.adi-launch-btn {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* \u2500\u2500 CHATBOT CONTAINER (ADI) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
.chatbot-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

body.kid-mode .chatbot-container {
  right: auto;
  left: 24px;
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bob-orange), var(--bob-deep-orange));
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 103, 31, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--transition-base);
}

.chatbot-toggle:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 28px rgba(255, 103, 31, 0.5);
}

.chatbot-toggle .chat-icon {
  font-size: 1.7rem;
}

.chatbot-toggle .chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--bob-green);
  color: white;
  border-radius: 10px;
  min-width: 28px;
  height: 20px;
  padding: 0 5px;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  letter-spacing: 0.03em;
  animation: pulseBadge 2.5s infinite;
}

@keyframes pulseBadge {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 7px rgba(0, 200, 83, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 200, 83, 0);
  }
}

/* Hide the dashboard section entirely */
#page-dashboard {
  display: none !important;
}

.chatbot-window.open {
  pointer-events: all;
}


/* Chat Header */
.chat-header {
  background: linear-gradient(135deg, var(--bob-navy) 0%, #1a2c4e 100%);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-avatar {
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.chat-header-info h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
}

.chat-status {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bob-green);
  display: inline-block;
}

.chat-close-btn {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.chat-close-btn:hover {
  color: white;
}

/* Chat Messages */
.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.chat-message.bot {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--bob-charcoal);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.chat-message.bot strong {
  color: var(--bob-orange);
}

.chat-message.user {
  background: linear-gradient(135deg, var(--bob-orange) 0%, var(--bob-deep-orange) 100%);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(255, 103, 31, 0.2);
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 8px 12px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: #999;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {

  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Quick replies */
.chat-quick-replies {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  align-self: flex-start;
  width: 100%;
}

.quick-reply-btn {
  background: rgba(255, 103, 31, 0.06);
  border: 1.5px solid rgba(255, 103, 31, 0.18);
  color: var(--bob-orange);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  width: fit-content;
  max-width: 100%;
}

.quick-reply-btn:hover {
  background: var(--bob-orange);
  color: white;
  border-color: var(--bob-orange);
  transform: translateX(3px);
}

/* Chat Input Area */
.chat-input-area {
  padding: 16px 20px;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  gap: 10px;
}

#chat-input {
  flex: 1;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

#chat-input:focus {
  border-color: var(--bob-orange);
}

#chat-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bob-orange);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

#chat-send-btn:hover {
  background: var(--bob-deep-orange);
  transform: scale(1.05);
}

@media (max-width: 500px) {
  .chatbot-window {
    width: calc(100vw - 48px);
    height: 420px;
    right: 0;
  }
}

/* - EMISSION FACTORS MODAL - */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 17, 40, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 90%;
  max-width: 750px;
  max-height: 85vh;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-window {
  transform: translateY(0);
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title-area h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--bob-charcoal);
  margin: 0;
}

.modal-title-area p {
  font-size: 0.8rem;
  color: var(--bob-gray);
  margin: 4px 0 0 0;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--bob-gray);
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--bob-orange);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

.modal-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bob-charcoal);
  margin-top: 0;
  margin-bottom: 12px;
  border-left: 3px solid var(--bob-orange);
  padding-left: 8px;
}

.factors-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 0.85rem;
  text-align: left;
}

.factors-table th {
  background: rgba(0, 0, 0, 0.04);
  color: var(--bob-charcoal);
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.factors-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #333;
}

.factors-table tbody tr:hover {
  background: rgba(255, 103, 31, 0.03);
}

.factor-value {
  font-family: var(--font-num);
  font-weight: 600;
}

.factor-source {
  font-size: 0.75rem;
  color: var(--bob-gray);
  font-style: italic;
}

/* ========================================================
   CCTS EDUCATIONAL HUB & KIDS LAYOUT STYLES
   ======================================================== */
.ccts-educational-hub {
  margin-top: 54px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ccts-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.ccts-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(0, 0, 0, 0.04);
}

.ccts-card h3,
.ccts-mechanism-card h3,
.ccts-eligible-card h3,
.ccts-value-section h3,
.ccts-resources-box h3 {
  font-family: var(--font-heading);
  color: var(--bob-trust-blue);
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.25rem;
  font-weight: 750;
}

.ccts-concept-badge {
  background: rgba(253, 185, 19, 0.1);
  border-left: 4px solid var(--bob-yellow);
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #a07300;
  border-radius: 4px;
}

.ccts-bullet-list {
  padding-left: 20px;
  margin: 0;
}

.ccts-bullet-list li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.ccts-mechanism-card,
.ccts-eligible-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 32px;
}

.ccts-flow-steps {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.ccts-step {
  flex: 1;
  min-width: 170px;
  position: relative;
  text-align: center;
  padding: 16px;
}

.ccts-step-num {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--bob-orange), var(--bob-deep-orange));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-orange);
}

.ccts-step h4 {
  font-size: 0.92rem;
  margin: 0 0 6px 0;
  color: var(--bob-charcoal);
  font-weight: 700;
}

.ccts-step p {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--bob-gray);
  margin: 0;
}

.ccts-value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 18px;
}

.ccts-value-item {
  background: rgba(0, 200, 83, 0.03);
  border: 1px solid rgba(0, 200, 83, 0.1);
  padding: 20px;
  border-radius: var(--radius-lg);
}

.ccts-value-item h4 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 0.98rem;
  color: #007a33;
}

.ccts-value-item p {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--bob-charcoal);
  margin: 0;
}

.ccts-resources-box {
  background: linear-gradient(135deg, var(--bob-navy-corporate) 0%, var(--bob-trust-blue) 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-top: 40px;
}

.ccts-resources-box h3 {
  color: white;
}

.ccts-resources-box p {
  opacity: 0.9;
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.ccts-links-container {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ccts-resource-link {
  flex: 1;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-decoration: none;
  color: white;
  transition: all var(--transition-base);
}

.ccts-resource-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--bob-orange);
  transform: translateY(-3px);
}

.ccts-link-title {
  display: block;
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.ccts-link-url {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ==================== KIDS VIEW STYLES ==================== */
.kid-offset-header {
  text-align: center;
  margin-bottom: 32px;
}

.kid-offset-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--bob-trust-blue);
  margin-bottom: 10px;
}

.kid-offset-subtitle {
  font-size: 1.1rem;
  color: var(--bob-gray);
}

.kid-offset-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 2px solid rgba(0, 0, 0, 0.03);
  margin-bottom: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.bathtub-card {
  border-left: 8px solid var(--bob-sky);
}

.club-card {
  border-left: 8px solid var(--bob-yellow);
}

.gov-card {
  border-left: 8px solid var(--bob-orange);
}

.actions-card {
  border-left: 8px solid var(--bob-green);
}

.koc-icon {
  font-size: 2.8rem;
  line-height: 1;
}

.koc-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--bob-trust-blue);
  margin-top: 0;
  margin-bottom: 12px;
}

.koc-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--bob-charcoal);
}

.kid-fun-fact-badge {
  background: rgba(79, 195, 247, 0.12);
  color: #0277bd;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 16px;
  display: inline-block;
}

.kid-gov-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.kg-item {
  background: rgba(255, 103, 31, 0.03);
  border: 1px solid rgba(255, 103, 31, 0.08);
  padding: 18px;
  border-radius: 16px;
}

.kg-emoji {
  font-size: 2.2rem;
  margin-bottom: 8px;
  display: block;
}

.kg-item h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--bob-trust-blue);
  font-weight: 750;
}

.kg-item p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--bob-charcoal);
  margin: 0;
}

.kid-actions-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 16px;
}

.kas-column h4 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: var(--bob-trust-blue);
}

.kas-column ul {
  padding-left: 20px;
  margin: 0;
}

.kas-column li {
  margin-bottom: 10px;
  font-size: 0.98rem;
  line-height: 1.5;
}

.highlight-column {
  background: rgba(0, 200, 83, 0.03);
  border: 1.5px dashed rgba(0, 200, 83, 0.2);
  padding: 20px;
  border-radius: 18px;
}

.kid-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.k-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.k-check-item input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--bob-green);
}

.k-check-item span {
  font-size: 0.95rem;
  line-height: 1.4;
}

.kid-facts-row {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}

.kf-box {
  flex: 1;
  background: #fbfbfb;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.kf-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 10px;
}

.kf-box p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--bob-charcoal);
  margin: 0;
}

.kid-facts-outro {
  text-align: center;
  font-size: 1.1rem;
  margin-top: 24px;
  color: var(--bob-green);
}

.kid-parents-box {
  background: #f9f9f9;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #ededed;
  margin-top: 32px;
}

.kid-parents-box h4 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: var(--bob-trust-blue);
}

.kid-parents-box p {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--bob-charcoal);
}

.kid-parents-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.kid-parents-links a {
  background: white;
  border: 1px solid #ddd;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--bob-trust-blue);
  transition: all 0.2s;
}

.kid-parents-links a:hover {
  border-color: var(--bob-orange);
  color: var(--bob-orange);
}

/* - GREEN DEPOSIT - COMPACT PREMIUM WIDGET - */

.gd-widget {
  position: relative;
  max-width: 1000px;
  margin: 48px auto;
  background: linear-gradient(145deg, #0d2235 0%, #0f3328 50%, #152b10 100%);
  border-radius: 24px;
  padding: 32px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* Subtle gradient border glow */
.gd-glow {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1.5px;
  background: conic-gradient(from var(--gd-angle, 0deg),
    transparent 0%, #00C853 12%, #69F0AE 22%, transparent 35%,
    transparent 55%, #FF671F 67%, #FDB913 77%, transparent 90%
  );
  -webkit-mask-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
  -webkit-mask-clip: content-box, border-box;
  -webkit-mask-composite: xor;
  mask-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
  mask-clip: content-box, border-box;
  mask-composite: exclude;
  animation: gdSpin 14s linear infinite;
  pointer-events: none;
  opacity: 0.7;
}
@property --gd-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes gdSpin { to { --gd-angle: 360deg; } }

/* Slow breathing shadow */
.gd-widget::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  box-shadow: 0 0 24px rgba(0,200,83,0.08);
  animation: gdBreathe 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes gdBreathe {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* - TOP ROW - */
.gd-top-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.gd-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0,200,83,0.12);
  border: 1px solid rgba(0,200,83,0.3);
  color: #69F0AE;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.gd-info-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.gd-info-btn:hover {
  background: rgba(79,195,247,0.2);
  border-color: rgba(79,195,247,0.5);
  color: #4FC3F7;
  box-shadow: 0 0 16px rgba(79,195,247,0.2);
}

/* - POPOVER - */
.gd-popover {
  position: relative;
  z-index: 10;
  background: rgba(8,20,32,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(79,195,247,0.2);
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  animation: gdPopIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
  overflow: hidden;
}
@keyframes gdPopIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.gd-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #4FC3F7;
}
.gd-popover-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s;
}
.gd-popover-close:hover { color: #fff; }
.gd-popover-body {
  padding: 12px 16px 16px;
}
.gd-popover-body p {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin: 0 0 8px 0;
}
.gd-popover-body p:last-child { margin-bottom: 0; }
.gd-popover-body strong { color: rgba(255,255,255,0.85); }

/* - HEADING - */
.gd-heading {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.gd-subtitle {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin: 0 0 24px 0;
  line-height: 1.5;
}

/* - KPI PILLS - */
.gd-kpi-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.gd-kpi-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 8px 14px;
  transition: all 0.25s ease;
}
.gd-kpi-pill:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,200,83,0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.gd-kpi-emoji { font-size: 14px; }
.gd-kpi-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.gd-kpi-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.4);
  line-height: 1;
}
.gd-kpi-val {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

/* - TWO-COLUMN BODY - */
.gd-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* LEFT: Input */
.gd-input-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gd-field-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
}
.gd-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.3);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.gd-input-wrap:focus-within {
  border-color: #00C853;
  box-shadow: 0 0 0 3px rgba(0,200,83,0.12);
}
.gd-rupee-sign {
  padding: 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #FDB913;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.gd-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 14px;
  outline: none;
  font-family: var(--font-num);
}
.gd-input::placeholder { color: rgba(255,255,255,0.2); }
.gd-input::-webkit-inner-spin-button,
.gd-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.gd-calc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 220px;
  height: 44px;
  background: linear-gradient(135deg, #00C853, #00A846);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,200,83,0.25);
}
.gd-calc-btn:hover {
  background: linear-gradient(135deg, #00E676, #00C853);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,200,83,0.35);
}
.gd-calc-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0,200,83,0.2);
}

/* RIGHT: Result */
.gd-result-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: gdFadeUp 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes gdFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.gd-result-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gd-result-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #69F0AE;
}
.gd-result-number-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.gd-result-num {
  font-family: var(--font-num);
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
}
.gd-result-unit {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

/* Contribution block with ring */
.gd-contrib-block {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 14px 16px;
}

.gd-ring-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.gd-ring-svg {
  width: 48px;
  height: 48px;
  transform: rotate(-90deg);
}
.gd-ring-track {
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 4;
}
.gd-ring-fill {
  fill: none;
  stroke: #00C853;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 125.66;
  stroke-dashoffset: 125.66;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4,0,0.2,1);
}
.gd-ring-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.gd-contrib-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gd-contrib-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.4);
}
.gd-contrib-val {
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 700;
  color: #69F0AE;
  line-height: 1;
}
.gd-contrib-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  line-height: 1.3;
}
.gd-contrib-cta {
  color: rgba(79,195,247,0.7);
}

/* - DISCLAIMER - */
.gd-disclaimer {
  position: relative;
  z-index: 1;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  line-height: 1.5;
  margin: 24px 0 0 0;
  font-style: italic;
  text-align: center;
}

/* - RESPONSIVE - */
@media (max-width: 768px) {
  .gd-widget {
    margin: 32px 16px;
    padding: 24px;
    border-radius: 20px;
  }
  .gd-heading { font-size: 22px; }
  .gd-kpi-row { gap: 8px; }
  .gd-kpi-pill { padding: 6px 10px; }
  .gd-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gd-calc-btn {
    width: 100%;
  }
  .gd-result-num { font-size: 36px; }
}


/* CUSTOM RESET CONFIRM MODAL */
.reset-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.reset-modal {
  background: linear-gradient(145deg, #1C2541, #0F2742);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 40px 36px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.reset-modal-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.reset-modal h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px 0;
}

.reset-modal p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0 0 28px 0;
}

.reset-modal-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.reset-modal-cancel {
  flex: 1;
  padding: 13px 20px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reset-modal-cancel:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.reset-modal-confirm {
  flex: 1;
  padding: 13px 20px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #FF671F, #E85D04);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(255, 103, 31, 0.4);
}

.reset-modal-confirm:hover {
  background: linear-gradient(135deg, #FF8A3D, #FF671F);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 103, 31, 0.55);
}

/* ========================================================
   MATERIAL DESIGN 3 (M3) CALCULATOR OVERHAUL
   Google Material 3 Specification — Mobile Optimized
   Bold Orange, Warm Yellow, High Contrast Black & Pastels
   ======================================================== */

:root {
  --m3-orange-primary: #F57C00;
  --m3-orange-dark: #E65100;
  --m3-orange-container: #FFE0B2;
  --m3-yellow-accent: #FFCA28;
  --m3-yellow-container: #FFF8E1;
  --m3-black: #121212;
  --m3-surface-pastel-orange: #FFF3E0;
  --m3-surface-pastel-amber: #FFF8E1;
  --m3-surface-pastel-green: #E8F5E9;
  --m3-surface-pastel-blue: #E3F2FD;
  --m3-surface-pastel-purple: #F3E5F5;
  --m3-font-heading: 'Outfit', 'Poppins', sans-serif;
  --m3-font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --m3-duration-short-3: 150ms;
  --m3-duration-short-4: 200ms;
  --m3-duration-medium-1: 250ms;
  --m3-duration-medium-2: 300ms;
  --m3-duration-medium-3: 350ms;
}

/* Material 3 Hero Section */
#page-calculator .calc-hero {
  background: linear-gradient(135deg, #121212 0%, #1E1E1E 50%, #E65100 100%);
  padding: 48px 24px 36px;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#page-calculator .calc-hero-content .section-label {
  font-family: var(--m3-font-heading);
  background: linear-gradient(90deg, #FFCA28, #FF9800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

#page-calculator .page-title {
  font-family: var(--m3-font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

#page-calculator .page-subtitle {
  font-family: var(--m3-font-body);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0 auto 16px;
  font-weight: 500;
}

/* M3 Calculator Main Container */
.calculator-wrapper {
  max-width: 1140px;
  margin: 24px auto 60px;
  padding: 0 16px;
}

/* M3 Progress Bar & Step Navigation */
.calc-progress-bar {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
}

.progress-steps {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  flex-wrap: wrap;
}

.prog-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: var(--m3-surface-pastel-orange);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.prog-step.active {
  background: #121212;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.prog-step.active .prog-label {
  color: var(--m3-yellow-accent) !important;
  font-weight: 700;
}

.prog-step.completed {
  background: var(--m3-surface-pastel-green);
  border-color: #2E7D32;
}

.prog-step .prog-dot {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
}

.prog-label {
  font-family: var(--m3-font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #121212;
}

.progress-fill-bar {
  margin-top: 14px;
  height: 6px;
  border-radius: 9999px;
  background: #E0E0E0;
  overflow: hidden;
}

.progress-fill-inner {
  height: 100%;
  background: linear-gradient(90deg, #F57C00, #FFCA28);
  border-radius: 9999px;
  transition: width 0.4s ease;
}

/* M3 Calculator Layout Grid — Un-cramped Vertical Flow */
.calc-main {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto;
}

/* Form Steps Panel (Top / Full Width) */
.calc-form-panel {
  background: #FFFFFF;
  border-radius: 32px;
  padding: 40px 36px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
}

/* Shifted Live Carbon Card & Breakdown Table (Bottom / Underneath Inputs) */
.calc-meter-panel.m3-shifted-bottom {
  position: static;
  background: linear-gradient(145deg, #FFF8F2 0%, #FFF3E0 100%);
  border-radius: 32px;
  padding: 36px 32px;
  border: 2px solid #FFE0B2;
  box-shadow: 0 12px 40px rgba(255, 103, 31, 0.12);
  text-align: center;
  margin-top: 12px;
}

.m3-meter-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.calc-meter-panel .meter-label {
  font-family: var(--m3-font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #E65100;
}

.m3-live-badge-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #121212;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  font-size: 2rem;
}

.meter-value {
  margin-bottom: 24px;
}

.meter-number {
  font-family: var(--m3-font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: #121212;
  line-height: 1;
  display: block;
}

.meter-unit {
  font-family: var(--m3-font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: #E65100;
  background: #FFE0B2;
  padding: 4px 14px;
  border-radius: 9999px;
  display: inline-block;
  margin-top: 6px;
}

.meter-category-breakdown {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--m3-font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: #333333;
}

.br-val {
  font-family: var(--m3-font-heading);
  font-weight: 800;
  color: #121212;
  background: var(--m3-surface-pastel-orange);
  padding: 2px 10px;
  border-radius: 12px;
}

.meter-benchmark {
  background: #121212;
  border-radius: 20px;
  padding: 14px 16px;
  color: #FFFFFF;
  display: flex;
  justify-content: space-around;
  gap: 8px;
}

.bench-row {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bench-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.bench-val {
  font-family: var(--m3-font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--m3-yellow-accent);
}

/* M3 Calculator Step Cards */
.calc-form-panel {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.calc-step {
  display: none;
}

.calc-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #F5F5F5;
}

.step-icon {
  font-size: 2.2rem;
  width: 60px;
  height: 60px;
  background: var(--m3-orange-container);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title {
  font-family: var(--m3-font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #121212;
  line-height: 1.2;
}

.step-desc {
  font-family: var(--m3-font-body);
  font-size: 0.95rem;
  color: #616161;
  margin-top: 4px;
  font-weight: 500;
}

/* M3 Input Controls & Buttons */
.input-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.input-group {
  background: #FAFAFA;
  border-radius: 20px;
  padding: 18px;
  border: 1.5px solid #EEEEEE;
  transition: all 0.2s ease;
  box-sizing: border-box;
  width: 100%;
}

.input-group:focus-within,
.input-group:hover {
  border-color: #F57C00;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(245, 124, 0, 0.1);
}

.input-group label {
  display: block;
  font-family: var(--m3-font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #121212;
  margin-bottom: 10px;
}

.input-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.calc-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  height: 52px;
  border-radius: 14px;
  border: 2px solid #E0E0E0;
  background: #FFFFFF !important;
  padding: 0 16px;
  font-family: var(--m3-font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #000000 !important;
  outline: none;
  transition: border-color 0.2s ease;
}

.calc-input:focus {
  background: #FFFFFF !important;
  color: #000000 !important;
  border-color: #F57C00;
  box-shadow: 0 0 0 4px rgba(245, 124, 0, 0.15);
}

.input-unit {
  font-family: var(--m3-font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: #E65100;
  background: #FFE0B2;
  padding: 8px 14px;
  border-radius: 12px;
  white-space: nowrap;
}

.input-hint {
  font-family: var(--m3-font-body);
  font-size: 0.8rem;
  color: #757575;
  margin-top: 8px;
  font-weight: 500;
}

/* M3 Toggle Buttons / Chips */
.toggle-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.toggle-btn {
  flex: 1;
  min-width: 90px;
  min-height: 54px;
  padding: 13px 20px;
  border-radius: 14px;
  border: 2.5px solid #E0E0E0;
  background: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #424242;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  letter-spacing: -0.01em;
}

.toggle-btn.active {
  background: linear-gradient(135deg, var(--bob-orange) 0%, var(--bob-deep-orange) 100%);
  color: #FFFFFF;
  border-color: var(--bob-orange);
  box-shadow: 0 4px 18px rgba(255, 103, 31, 0.4);
  transform: translateY(-1px);
}

/* M3 Step Action Navigation Bar */
.calc-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 2px solid #F5F5F5;
  gap: 16px;
  flex-wrap: wrap;
}

.calc-nav button {
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 9999px;
  font-family: var(--m3-font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  transition: all 0.25s ease;
}

#calc-next {
  background: linear-gradient(135deg, #F57C00, #FF6F00);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 6px 20px rgba(245, 124, 0, 0.35);
}

#calc-next:hover {
  background: linear-gradient(135deg, #E65100, #F57C00);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 124, 0, 0.45);
}

#calc-prev {
  background: #F5F5F5;
  color: #121212;
  border: 2px solid #E0E0E0;
}

#calc-prev:hover {
  background: #EEEEEE;
}

.step-indicator {
  font-family: var(--m3-font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: #E65100;
  background: #FFF3E0;
  padding: 8px 18px;
  border-radius: 9999px;
}

/* MOBILE RESPONSIVE DESIGN (320px - 768px) */
@media (max-width: 768px) {
  .calc-main {
    grid-template-columns: 1fr;
    padding: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
  }

  .calc-form-panel {
    padding: 24px 16px;
    box-sizing: border-box;
    width: 100%;
  }

  .calc-meter-panel {
    position: static;
    order: -1;
  }

  .progress-steps {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .prog-step {
    flex-shrink: 0;
  }
  .input-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .calc-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .calc-nav button {
    width: 100%;
    text-align: center;
  }

  .step-indicator {
    text-align: center;
    order: -1;
  }
}

/* ========================================================
   MATERIAL DESIGN 3 EXPRESSIVE HOME & HERO STYLES
   ======================================================== */

.m3-hero-expressive {
  background: #121212;
  padding: 40px 20px 60px;
  min-height: auto;
}

.m3-hero-container {
  max-width: 1200px;
  margin: 0 auto;
}

.m3-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .m3-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Common M3 Card */
.m3-card {
  border-radius: 36px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s cubic-bezier(0.2, 0.0, 0.0, 1.0);
}

.m3-card-dark {
  background: #1C1B1F;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.m3-card-pastel {
  background: var(--m3-surface-pastel-orange);
  border: 2px solid #FFE0B2;
  color: #121212;
}

.m3-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 103, 31, 0.15);
  border: 1px solid rgba(255, 103, 31, 0.3);
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--m3-font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: #FF8A3D;
  width: fit-content;
  margin-bottom: 24px;
}

.m3-badge-dot {
  width: 8px;
  height: 8px;
  background: #00C853;
  border-radius: 50%;
}

.m3-hero-display {
  font-family: var(--m3-font-heading);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.m3-disp-row {
  display: block;
}

.m3-accent-orange {
  color: #FF671F;
}

.m3-accent-gold {
  color: #FFCA28 !important;
}

.m3-card-desc {
  font-family: var(--m3-font-body);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 32px;
}

.m3-card-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* M3 Expressive Buttons */
.m3-btn-expressive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 28px;
  border-radius: 9999px;
  font-family: var(--m3-font-heading);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.0, 0.0, 1.0);
  border: none;
}

.m3-btn-orange {
  background: #FF671F;
  color: #FFFFFF;
  box-shadow: 0 6px 24px rgba(255, 103, 31, 0.4);
}

.m3-btn-orange:hover {
  background: #E85D04;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 32px rgba(255, 103, 31, 0.55);
}

.m3-btn-outline {
  background: transparent;
  border: 2px solid #121212;
  color: #121212;
}

.m3-btn-outline:hover {
  background: #121212;
  color: #FFCA28;
}

/* Decorative M3 Toggle Pill */
.m3-toggle-decorator {
  display: flex;
  align-items: center;
}

.m3-toggle-pill {
  width: 64px;
  height: 36px;
  background: #FF671F;
  border-radius: 9999px;
  padding: 4px;
  display: flex;
  align-items: center;
}

.m3-toggle-handle {
  width: 28px;
  height: 28px;
  background: #FFFFFF;
  border-radius: 50%;
  transform: translateX(28px);
  transition: transform 0.25s ease;
}

/* Giant Stat Card */
.m3-chip-gold {
  background: #121212;
  color: #FFCA28;
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--m3-font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.m3-giant-stat-wrap {
  margin: 24px 0 16px;
}

.m3-giant-num {
  font-family: var(--m3-font-heading);
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 900;
  color: #121212;
  line-height: 0.9;
  display: block;
}

.m3-giant-unit {
  font-family: var(--m3-font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: #E65100;
  letter-spacing: 0.08em;
  margin-top: 4px;
  display: block;
}

.m3-card-subtext {
  font-family: var(--m3-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #5D4037;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* Pillars Section M3 Expressive Grid */
.m3-pillars-expressive {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.m3-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 900px) {
  .m3-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.m3-card-interactive {
  background: #FFFFFF;
  border: 2px solid #EEEEEE;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.m3-card-interactive:hover {
  transform: translateY(-6px);
  border-color: #FF671F;
  box-shadow: 0 16px 36px rgba(255, 103, 31, 0.15);
}

.m3-pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.m3-pillar-emoji {
  font-size: 2.2rem;
}

.m3-pillar-num {
  font-family: var(--m3-font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  color: #FF671F;
}

.m3-pillar-title {
  font-family: var(--m3-font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: #121212;
  margin-bottom: 8px;
}

.m3-pillar-desc {
  font-family: var(--m3-font-body);
  font-size: 0.95rem;
  color: #616161;
  line-height: 1.5;
  margin-bottom: 24px;
}

.white-70 {
  color: rgba(255, 255, 255, 0.7) !important;
}

.m3-btn-link {
  font-family: var(--m3-font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #FF671F;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color 0.2s ease;
}

.m3-btn-link:hover {
  color: #E85D04;
}

.m3-btn-link.m3-gold {
  color: #FFCA28;
}

.m3-card-glass {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 20px !important;
}

.afp-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.afp-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 600px) {
  .afp-metrics-grid {
    grid-template-columns: 1fr;
  }
}

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

.afp-m-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.afp-m-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #FFFFFF;
}

.afp-m-val.gold {
  color: #FFCA28;
}

/* Kid Mode High-Contrast Extra Bold Styling */
body.kid-mode {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
}

body.kid-mode h1,
body.kid-mode h2,
body.kid-mode h3,
body.kid-mode .kid-toggle-btn,
body.kid-mode .kid-question,
body.kid-mode .ktb-label {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 900 !important;
}

body.kid-mode .kid-toggle-btn {
  font-size: 1.1rem !important;
  padding: 16px 20px !important;
  border-radius: 24px !important;
  border: 3px solid #E0E0E0 !important;
}

body.kid-mode .kid-toggle-btn.active {
  background: linear-gradient(135deg, #FF671F 0%, #FF8A3D 50%, #FFCA28 100%) !important;
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 0 20px rgba(255, 103, 31, 0.6), 0 8px 24px rgba(255, 202, 40, 0.4) !important;
  transform: translateY(-2px) scale(1.03) !important;
}
:root {
  --m3-duration-medium-2: 300ms;
  --m3-duration-medium-3: 350ms;
}

/* Interactive State Motion (Scale + Elevation) */
.prog-step {
  transition: transform var(--m3-duration-short-4) var(--m3-easing-standard),
              background-color var(--m3-duration-short-4) var(--m3-easing-standard),
              box-shadow var(--m3-duration-short-4) var(--m3-easing-standard);
}

.prog-step:hover {
  transform: translateY(-2px) scale(1.03);
}

.prog-step:active {
  transform: translateY(0) scale(0.96);
}

.toggle-btn {
  transition: transform var(--m3-duration-short-3) var(--m3-easing-standard),
              background-color var(--m3-duration-short-3) var(--m3-easing-standard),
              color var(--m3-duration-short-3) var(--m3-easing-standard),
              box-shadow var(--m3-duration-short-3) var(--m3-easing-standard);
}

.toggle-btn:hover {
  transform: translateY(-1px) scale(1.02);
}

.toggle-btn:active {
  transform: translateY(1px) scale(0.96);
}

.calc-input {
  transition: border-color var(--m3-duration-short-4) var(--m3-easing-standard),
              box-shadow var(--m3-duration-medium-1) var(--m3-easing-emphasized),
              transform var(--m3-duration-short-2) var(--m3-easing-standard);
}

.calc-input:focus {
  transform: scale(1.01);
}

/* M3 Button Motion */
#calc-next, #calc-prev {
  transition: transform var(--m3-duration-short-4) var(--m3-easing-standard),
              background var(--m3-duration-medium-1) var(--m3-easing-standard),
              box-shadow var(--m3-duration-medium-1) var(--m3-easing-emphasized);
}

#calc-next:active, #calc-prev:active {
  transform: translateY(2px) scale(0.97);
}

/* M3 Live Meter Pulse Effect */
.meter-number.m3-pulse {
  animation: m3PulseNumber var(--m3-duration-medium-2) var(--m3-easing-emphasized-decelerate);
}

@keyframes m3PulseNumber {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); color: var(--m3-orange-primary); }
  100% { transform: scale(1); }
}

/* Container Elevation Hover Motion */
.calc-meter-panel, .calc-form-panel {
  transition: box-shadow var(--m3-duration-medium-2) var(--m3-easing-standard),
              transform var(--m3-duration-medium-2) var(--m3-easing-standard);
}

.calc-meter-panel:hover {
  box-shadow: 0 12px 36px rgba(245, 124, 0, 0.18);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════════
   M3 EXPRESSIVE — COMPLETE SYSTEM
   Motion Physics · Shape Library · Vibrant Colors · Tactics
   ════════════════════════════════════════════════════════════ */

/* ── 1. SPRING PHYSICS TOKENS ─────────────────────────────── */
:root {
  /* Spring easing curves — overshoot then settle (true physics feel) */
  --spring-gentle:   cubic-bezier(0.34, 1.30, 0.64, 1.00); /* soft bounce   */
  --spring-bouncy:   cubic-bezier(0.34, 1.56, 0.64, 1.00); /* strong bounce  */
  --spring-snappy:   cubic-bezier(0.25, 1.40, 0.50, 1.00); /* quick snap     */
  --spring-elastic:  cubic-bezier(0.68, -0.55, 0.27, 1.55); /* elastic stretch */
  --spring-wobbly:   cubic-bezier(0.36, 1.80, 0.64, 1.00); /* playful wobble */

  /* M3 Standard easing */
  --m3-ease-std:        cubic-bezier(0.2, 0.0, 0.0, 1.0);
  --m3-ease-decel:      cubic-bezier(0.0, 0.0, 0.0, 1.0);
  --m3-ease-accel:      cubic-bezier(0.3, 0.0, 1.0, 1.0);
  --m3-ease-emphasized: cubic-bezier(0.2, 0.0, 0.0, 1.0);

  /* Duration tokens */
  --dur-xs:   100ms;
  --dur-sm:   200ms;
  --dur-md:   300ms;
  --dur-lg:   400ms;
  --dur-xl:   500ms;
  --dur-2xl:  700ms;

  /* ── 2. EXPANDED SHAPE LIBRARY ─────────────────────────── */
  /* M3 Expressive shape tokens — from pill to squircle to blob */
  --shape-none:       0px;
  --shape-xs:         4px;
  --shape-sm:         8px;
  --shape-md:         12px;
  --shape-lg:         16px;
  --shape-xl:         20px;
  --shape-2xl:        28px;
  --shape-3xl:        36px;
  --shape-pill:       9999px;
  /* Asymmetric shape variants for expressive components */
  --shape-squircle:   24px;        /* near-squircle */
  --shape-leaf:       40% 60% 60% 40% / 60% 40% 60% 40%; /* organic leaf */
  --shape-pebble:     60% 40% 50% 50% / 50% 60% 40% 50%; /* pebble blob  */
  --shape-card-exp:   32px;        /* expressive card */

  /* ── 3. VIBRANT TONAL COLOR PALETTE ───────────────────── */
  /* Primary — BOB Vermilion Orange tonal surface system */
  --col-primary-10:  #3D0A00;
  --col-primary-20:  #6B1600;
  --col-primary-30:  #9C2800;
  --col-primary-40:  #D14200;
  --col-primary-50:  #FF671F;  /* BOB brand orange */
  --col-primary-60:  #FF8542;
  --col-primary-70:  #FFA06A;
  --col-primary-80:  #FFBC95;
  --col-primary-90:  #FFDDC8;
  --col-primary-95:  #FFEEDF;
  --col-primary-99:  #FFF8F5;

  /* Secondary — BOB Gold tonal */
  --col-secondary-40: #8C6900;
  --col-secondary-50: #FFCA28;
  --col-secondary-80: #FFE57F;
  --col-secondary-90: #FFF3CC;
  --col-secondary-95: #FFFAEB;

  /* Tertiary — Trust Green */
  --col-tertiary-40:  #00600F;
  --col-tertiary-50:  #00C853;
  --col-tertiary-80:  #69F0AE;
  --col-tertiary-90:  #C8FFE0;

  /* Neutral surfaces */
  --col-surface:      #FFFBFF;
  --col-surface-1:    #FFF3EC;  /* tinted with primary */
  --col-surface-2:    #FFECE0;
  --col-surface-3:    #FFE4D5;
  --col-surface-var:  #F5DED2;

  /* Error */
  --col-error-50:     #FF5449;
  --col-error-90:     #FFDAD6;
}

/* ── 4. FIX ALL CLIPPING — OVERFLOW VISIBLE ANCESTORS ─────── */

/* The root cause: card containers clip transformed children */
.calc-form-panel,
.input-group,
.calc-step,
.calc-main,
.toggle-group,
.input-grid {
  overflow: visible !important;
}

/* Input-group needs breathing room around it for shadow/transform overflow */
.input-group {
  padding: 20px 20px 24px !important; /* extra bottom padding for transforms */
  margin-bottom: 4px;
}

/* ── 5. TOGGLE GROUP — NO-CLIP GRID LAYOUT ─────────────────── */
.toggle-group {
  display: grid !important;
  /* auto-fill: buttons never get squished, text never clips */
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
  gap: 12px !important;
  flex-wrap: unset !important;
  /* Give vertical room so elevated active btn doesn't clip on top */
  padding: 6px 2px 10px !important;
}

/* ── 6. TOGGLE BUTTON — M3 EXPRESSIVE CHIP ─────────────────── */
.toggle-btn {
  /* Layout — never clip text */
  flex: unset !important;
  width: 100% !important;
  min-width: unset !important;
  min-height: 58px !important;
  padding: 14px 16px !important;
  white-space: nowrap;
  overflow: visible !important;
  text-overflow: unset !important;

  /* M3 Expressive shape: squircle (rounded square feel) */
  border-radius: var(--shape-squircle) !important;

  /* Surface */
  background: #FFFFFF !important;
  border: 2px solid rgba(0,0,0,0.10) !important;

  /* Typography */
  font-family: var(--font-heading) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #424242 !important;
  letter-spacing: -0.01em !important;
  text-align: center !important;

  /* M3 spring physics transition */
  transition:
    background-color var(--dur-md) var(--spring-gentle),
    border-color     var(--dur-sm) var(--m3-ease-std),
    color            var(--dur-sm) var(--m3-ease-std),
    box-shadow       var(--dur-md) var(--spring-gentle),
    transform        var(--dur-md) var(--spring-bouncy),
    border-radius    var(--dur-lg) var(--spring-snappy) !important;

  cursor: pointer;
  position: relative;
  isolation: isolate;
  will-change: transform, box-shadow;
}

/* Ripple-style state layer on hover */
.toggle-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--col-primary-50);
  opacity: 0;
  transition: opacity var(--dur-sm) var(--m3-ease-std);
  pointer-events: none;
  z-index: -1;
}

.toggle-btn:hover {
  border-color: var(--col-primary-50) !important;
  color: var(--col-primary-40) !important;
  background: var(--col-primary-95) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(255, 103, 31, 0.15) !important;
}

.toggle-btn:hover::before {
  opacity: 0.04;
}

/* M3 Expressive ACTIVE — spring-bounce into shape with vibrant fill */
.toggle-btn.active {
  /* Vibrant tonal fill — primary-50 (BOB orange) */
  background: linear-gradient(
    145deg,
    var(--col-primary-50) 0%,
    #E65100 100%
  ) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;

  /* M3 Expressive shape shift: pill → squircle morph on active */
  border-radius: var(--shape-2xl) !important;

  /* Elevation 3 — active/pressed state lifts element */
  box-shadow:
    0 6px 24px rgba(255, 103, 31, 0.45),
    0 2px 8px  rgba(255, 103, 31, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.20) !important;

  /* Spring-lift instead of scale (avoids clipping!) */
  transform: translateY(-3px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

/* Active press feedback */
.toggle-btn.active:active,
.toggle-btn:active {
  transform: translateY(1px) scale(0.97) !important;
  box-shadow: 0 2px 8px rgba(255, 103, 31, 0.2) !important;
  transition-duration: var(--dur-xs) !important;
}

/* ── 7. EXPRESSIVE SHAPE ANIMATION — toggle activate ─────────── */
@keyframes m3ToggleActivate {
  0%   { transform: scale(0.94) translateY(0); }
  40%  { transform: scale(1.06) translateY(-4px); }
  70%  { transform: scale(0.98) translateY(-2px); }
  100% { transform: scale(1.00) translateY(-3px); }
}

.toggle-btn.active {
  animation: m3ToggleActivate var(--dur-md) var(--spring-bouncy) forwards;
}

/* ── 8. INPUT GROUP — EXPRESSIVE SHAPE SYSTEM ─────────────────── */
.input-group {
  /* M3 Expressive: squircle container */
  border-radius: var(--shape-card-exp) !important;
  background: var(--col-primary-99) !important;
  border: 2px solid rgba(0,0,0,0.07) !important;
  transition:
    border-color var(--dur-sm) var(--m3-ease-std),
    box-shadow   var(--dur-md) var(--spring-gentle),
    background   var(--dur-sm) var(--m3-ease-std),
    transform    var(--dur-md) var(--spring-gentle) !important;
}

.input-group:focus-within {
  border-color: var(--col-primary-50) !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 0 4px rgba(255, 103, 31, 0.12), 0 8px 24px rgba(255,103,31,0.1) !important;
  transform: translateY(-2px) !important;
}

.input-group:hover:not(:focus-within) {
  border-color: rgba(255, 103, 31, 0.3) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
}

/* ── 9. CALC INPUT — M3 EXPRESSIVE FIELD ─────────────────────── */
.calc-input {
  background: #ffffff !important;
  color: #000000 !important;
  border-radius: var(--shape-xl) !important;
  border: 2px solid #E8E8E8 !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  outline: none !important;
  transition:
    border-color var(--dur-sm) var(--m3-ease-std),
    box-shadow   var(--dur-md) var(--spring-gentle),
    transform    var(--dur-sm) var(--spring-snappy) !important;
}

.calc-input::placeholder {
  color: #6b7280 !important;
  font-weight: 500 !important;
}

.calc-input:focus {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ff671f !important;
  box-shadow: 0 0 0 4px rgba(255,103,31,0.2) !important;
  transform: scale(1.005) !important;
  outline: none !important;
}

/* ── 10. STEP CARD — EXPRESSIVE CONTAINER SHAPE ──────────────── */
.calc-form-panel {
  border-radius: var(--shape-card-exp) !important;
  /* Extra padding at bottom so spring-lifted toggles don't crop */
  padding: 36px 32px 40px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04) !important;
}

/* ── 11. STEP HEADER ICON — EXPRESSIVE SHAPE MORPH ───────────── */
.step-icon {
  border-radius: var(--shape-2xl) !important;
  transition: border-radius var(--dur-lg) var(--spring-snappy),
              transform     var(--dur-md) var(--spring-bouncy),
              background    var(--dur-md) var(--m3-ease-std) !important;
}

.calc-step.active .step-icon {
  animation: m3IconEntrance var(--dur-xl) var(--spring-bouncy) !important;
}

@keyframes m3IconEntrance {
  0%   { transform: scale(0.6) rotate(-15deg); opacity: 0; }
  60%  { transform: scale(1.12) rotate(4deg);  opacity: 1; }
  80%  { transform: scale(0.96) rotate(-1deg); }
  100% { transform: scale(1.00) rotate(0deg);  }
}

/* ── 12. STEP TRANSITION — M3 EXPRESSIVE ENTER ───────────────── */
@keyframes m3StepEnter {
  0% {
    opacity: 0;
    transform: translateX(32px) scale(0.97);
    filter: blur(2px);
  }
  60% {
    opacity: 1;
    transform: translateX(-4px) scale(1.01);
    filter: blur(0);
  }
  80% { transform: translateX(2px) scale(0.995); }
  100% { transform: translateX(0) scale(1); filter: blur(0); }
}

.calc-step.active {
  animation: m3StepEnter var(--dur-xl) var(--spring-gentle) forwards !important;
}

/* ── 13. VIBRANT TONAL — ACTIVE STATE LAYER ──────────────────── */
/* Progress dots active — vibrant primary fill */
.prog-step.active .prog-dot {
  background: var(--col-primary-50) !important;
  border-color: var(--col-primary-50) !important;
  box-shadow: 0 0 0 6px var(--col-primary-90) !important;
  transform: scale(1.3) !important;
}

/* ── 14. CALC NAV BUTTONS — M3 Expressive FAB-style ──────────── */
#calc-next {
  border-radius: var(--shape-pill) !important;
  background: linear-gradient(135deg, var(--col-primary-50), #E65100) !important;
  box-shadow: 0 6px 20px rgba(255,103,31,0.4) !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  min-height: 54px !important;
  padding: 14px 32px !important;
  transition:
    transform  var(--dur-md) var(--spring-bouncy),
    box-shadow var(--dur-md) var(--spring-gentle) !important;
}

#calc-next:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(255,103,31,0.5) !important;
}

#calc-next:active {
  transform: translateY(1px) scale(0.97) !important;
  box-shadow: 0 3px 10px rgba(255,103,31,0.3) !important;
}

#calc-prev {
  border-radius: var(--shape-pill) !important;
  border: 2px solid rgba(0,0,0,0.12) !important;
  font-weight: 700 !important;
  min-height: 54px !important;
  padding: 14px 28px !important;
  transition: transform var(--dur-md) var(--spring-gentle),
              border-color var(--dur-sm) var(--m3-ease-std) !important;
}

#calc-prev:hover {
  border-color: var(--col-primary-50) !important;
  color: var(--col-primary-50) !important;
  transform: translateX(-3px) !important;
}

/* ── 15. KID TOGGLE — M3 EXPRESSIVE TONAL ───────────────────── */
.kid-toggle-group {
  gap: 16px !important;
  padding: 8px 4px 12px !important;
  overflow: visible !important;
}

.kid-toggle-btn {
  overflow: visible !important;
  border-radius: var(--shape-card-exp) !important;
  transition:
    transform    var(--dur-md) var(--spring-bouncy),
    box-shadow   var(--dur-md) var(--spring-gentle),
    background   var(--dur-sm) var(--m3-ease-std),
    border-color var(--dur-sm) var(--m3-ease-std),
    border-radius var(--dur-lg) var(--spring-snappy) !important;
}

.kid-toggle-btn:hover {
  transform: translateY(-6px) rotate(-1deg) !important;
}

.kid-toggle-btn.active {
  border-radius: var(--shape-3xl) !important;
  animation: m3KidActivate var(--dur-xl) var(--spring-wobbly) forwards !important;
}

@keyframes m3KidActivate {
  0%   { transform: scale(0.88) rotate(-4deg) translateY(0); }
  40%  { transform: scale(1.10) rotate(3deg)  translateY(-8px); }
  65%  { transform: scale(0.96) rotate(-1deg) translateY(-4px); }
  82%  { transform: scale(1.03) rotate(1deg)  translateY(-5px); }
  100% { transform: scale(1.00) rotate(0deg)  translateY(-4px); }
}

/* ── 16. METER NUMBER — EXPRESSIVE SPRING PULSE ─────────────── */
@keyframes m3PulseNumber {
  0%   { transform: scale(1);    color: inherit; }
  25%  { transform: scale(1.12); color: var(--col-primary-50); }
  50%  { transform: scale(0.97); }
  70%  { transform: scale(1.05); }
  100% { transform: scale(1);    color: inherit; }
}

.meter-number.m3-pulse {
  animation: m3PulseNumber var(--dur-lg) var(--spring-bouncy) !important;
}

/* ── 17. GLOW BORDER — Rotating expressive streak ───────────── */
@keyframes m3GlowRotate {
  0%   { --glow-angle: 0deg;   }
  100% { --glow-angle: 360deg; }
}

/* ── 18. NO OVERFLOW on any calc ancestor ────────────────────── */
.calc-main,
.calculator-wrapper,
.calc-meter-panel {
  overflow: visible !important;
}

/* Prevent page-level clip */
#page-calculator {
  overflow: visible !important;
}

/* ── 19. LABEL FONTS — arm's length legibility ───────────────── */
.input-group label {
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  color: #1a1a1a !important;
}

.input-hint {
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: var(--col-primary-40) !important;
  margin-top: 10px !important;
  line-height: 1.5 !important;
}

.step-title {
  font-size: 1.8rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
}

.step-desc {
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  color: #555 !important;
}

/* ── 20. RESPONSIVE — no clipping on mobile ─────────────────── */
@media (max-width: 640px) {
  .toggle-group {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .toggle-btn {
    min-height: 54px !important;
    font-size: 0.95rem !important;
    padding: 12px 10px !important;
    white-space: normal !important; /* allow wrap on tiny screens */
    word-break: break-word !important;
  }

  .calc-form-panel {
    padding: 24px 18px 32px !important;
    border-radius: var(--shape-2xl) !important;
  }

  .input-group {
    padding: 16px 14px 20px !important;
  }
}

@media (max-width: 400px) {
  .toggle-group {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ========================================================
   UNIVERSAL MOBILE OVERFLOW FIX 
   Forces all calculation containers to strictly fit viewport
   ======================================================== */
@media (max-width: 768px) {
  body, html {
    overflow-x: hidden !important;
  }
  
  .calc-main,
  .calc-form-panel,
  .input-grid,
  .input-group,
  .input-row,
  .calc-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  /* Ensure labels are allowed to wrap if they are long */
  .input-group label {
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Ensure the row doesn't force a minimum width */
  .input-row {
    flex-wrap: wrap !important;
  }
  
  .calc-input {
    flex: 1 1 100% !important;
  }
}



c a l c . c s s   v e r s i o n s   f o r c e d   u p d a t e  
 c a l c . c s s   v e r s i o n s   f o r c e d   u p d a t e   2  
 c a l c . c s s   v e r s i o n s   f o r c e d   u p d a t e   3  
 c a l c . c s s   v e r s i o n s   f o r c e d   u p d a t e   4  
 