/* ===================================================
   EcoPulse — "Nature Distilled" Design System
   Dark-mode default · OLED friendly · Green Web Design
   =================================================== */

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

/* ---------- Design Tokens ---------- */
:root {
  /* Palette */
  --bg-primary:    #0a0f0a;
  --bg-secondary:  #111a11;
  --bg-card:       #162016;
  --bg-card-hover: #1d2b1d;
  --bg-surface:    #1a251a;
  --bg-glass:      rgba(22, 32, 22, 0.7);

  --text-primary:  #f5f0e8;
  --text-secondary:#b8b0a2;
  --text-muted:    #7a7368;

  --clay:          #c4956a;
  --clay-light:    #d4a87a;
  --sage:          #7a9e7e;
  --sage-dark:     #5a7e5e;
  --moss:          #4a7c59;
  --moss-glow:     rgba(74, 124, 89, 0.25);
  --forest:        #2d5a3a;
  --earth:         #8b6f47;
  --cream:         #f5f0e8;
  --danger:        #c75050;
  --warning:       #d4a03c;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow:0 0 30px var(--moss-glow);

  /* Transition */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--sage); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--clay-light); }

::selection {
  background: var(--moss);
  color: var(--cream);
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--clay);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--clay);
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* ---------- Scroll Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ===================================================
   NAVIGATION
   =================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
  padding: var(--space-sm) 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-brand .eco-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--moss), var(--sage));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clay);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--moss-glow) 0%, transparent 70%);
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 149, 106, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: pulseGlow 10s ease-in-out infinite 3s;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 750px;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--sage);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-eyebrow .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--sage);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: var(--space-lg);
  letter-spacing: -1px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--clay), var(--clay-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  max-width: 560px;
}

/* Carbon Clock Counters */
.carbon-clock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.clock-item {
  background: var(--bg-card);
  border: 1px solid rgba(122, 158, 126, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.clock-item:hover {
  border-color: rgba(122, 158, 126, 0.3);
  box-shadow: var(--shadow-glow);
}

.clock-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--moss), var(--sage), var(--clay));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.clock-item:hover::before { opacity: 1; }

.clock-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.clock-value {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--clay);
  margin-bottom: var(--space-xs);
  font-variant-numeric: tabular-nums;
}

.clock-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.clock-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

/* Hero CTA */
.hero-cta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--moss), var(--forest));
  color: var(--cream);
  box-shadow: 0 4px 20px rgba(74, 124, 89, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(74, 124, 89, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(245, 240, 232, 0.15);
}

.btn-secondary:hover {
  background: rgba(245, 240, 232, 0.05);
  border-color: rgba(245, 240, 232, 0.3);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  animation: bounce 2.5s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ===================================================
   GLOBAL WARMING HUB
   =================================================== */
.warming-hub {
  padding: var(--space-3xl) 0;
  position: relative;
}

.warming-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.warming-visual {
  position: relative;
}

.greenhouse-diagram {
  background: var(--bg-card);
  border: 1px solid rgba(122, 158, 126, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.greenhouse-diagram .earth-layer {
  text-align: center;
  padding: var(--space-lg) 0;
  position: relative;
}

.earth-emoji {
  font-size: 5rem;
  display: block;
  margin-bottom: var(--space-md);
  animation: earthFloat 4s ease-in-out infinite;
}

@keyframes earthFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.gas-arrows {
  display: flex;
  justify-content: space-around;
  margin: var(--space-md) 0;
}

.gas-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.gas-arrow .arrow-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--danger), transparent);
  position: relative;
}

.gas-arrow .arrow-line::before {
  content: '↑';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--danger);
  font-size: 1rem;
}

.warming-stat-highlight {
  background: linear-gradient(135deg, rgba(199, 80, 80, 0.1), rgba(212, 160, 60, 0.1));
  border: 1px solid rgba(199, 80, 80, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-top: var(--space-lg);
  text-align: center;
}

.warming-stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--danger), var(--warning));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.warming-stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

/* Info Text */
.warming-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.warming-info p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.fact-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-card);
  border: 1px solid rgba(122, 158, 126, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.85rem;
  color: var(--sage);
  margin: var(--space-xs) var(--space-xs) var(--space-xs) 0;
}

/* ===================================================
   WASTE PILLARS — Flip Cards
   =================================================== */
.waste-pillars {
  padding: var(--space-3xl) 0;
}

.pillars-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.pillars-header .section-subtitle {
  margin: 0 auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

/* Flip Card */
.pillar-card {
  perspective: 1000px;
  height: 420px;
  cursor: pointer;
}

.pillar-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease);
  transform-style: preserve-3d;
}

.pillar-card.flipped .pillar-card-inner {
  transform: rotateY(180deg);
}

.pillar-front, .pillar-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(122, 158, 126, 0.1);
  overflow: hidden;
}

.pillar-front {
  background: var(--bg-card);
}

.pillar-back {
  background: var(--bg-surface);
  transform: rotateY(180deg);
  border-color: rgba(74, 124, 89, 0.25);
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.pillar-category {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--clay);
  margin-bottom: var(--space-sm);
}

.pillar-front h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.pillar-stat {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--danger);
  margin-bottom: var(--space-xs);
}

.pillar-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.pillar-front p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.flip-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: auto;
  padding-top: var(--space-md);
}

/* Back side */
.pillar-back h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pillar-solution {
  background: rgba(74, 124, 89, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
}

.pillar-solution .sol-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.pillar-solution .sol-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pillar-impact {
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(122, 158, 126, 0.1);
}

.pillar-impact .impact-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--moss);
}

.pillar-impact .impact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===================================================
   HOW IT'S CAUSED — Flowchart
   =================================================== */
.how-caused {
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.how-caused-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.how-caused-header .section-subtitle {
  margin: 0 auto;
}

.flowchart {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
  overflow-x: auto;
  padding: var(--space-lg) 0;
  scrollbar-width: thin;
  scrollbar-color: var(--forest) var(--bg-secondary);
}

.flow-step {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.flow-node {
  background: var(--bg-card);
  border: 1px solid rgba(122, 158, 126, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  width: 100%;
  position: relative;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-node:hover {
  border-color: var(--sage-dark);
  box-shadow: var(--shadow-glow);
}

.flow-node .node-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.flow-node h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.flow-node p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.flow-step .flow-number {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--moss);
  background: rgba(74, 124, 89, 0.15);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  color: var(--text-muted);
  font-size: 1.3rem;
  flex-shrink: 0;
  padding-bottom: 30px;
}

/* ===================================================
   ACTION CENTER
   =================================================== */
.action-center {
  padding: var(--space-3xl) 0;
}

.action-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.action-header .section-subtitle {
  margin: 0 auto;
}

/* Search bar */
.search-container {
  max-width: 560px;
  margin: var(--space-xl) auto;
  position: relative;
}

.search-container input {
  width: 100%;
  padding: 16px 24px 16px 52px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(122, 158, 126, 0.15);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.search-container input::placeholder { color: var(--text-muted); }

.search-container input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--moss-glow);
}

.search-container .search-icon {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.filter-tab {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(122, 158, 126, 0.15);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.filter-tab:hover {
  background: rgba(74, 124, 89, 0.1);
  border-color: var(--sage);
  color: var(--text-primary);
}

.filter-tab.active {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--cream);
}

/* Solution cards grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid rgba(122, 158, 126, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  transition: height 0.4s var(--ease);
}

.solution-card[data-type="individual"]::before { background: var(--sage); }
.solution-card[data-type="systemic"]::before { background: var(--clay); }

.solution-card:hover {
  border-color: rgba(122, 158, 126, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.solution-card:hover::before { height: 100%; }

.solution-type-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-md);
  display: inline-block;
}

.solution-card[data-type="individual"] .solution-type-badge {
  background: rgba(122, 158, 126, 0.15);
  color: var(--sage);
}

.solution-card[data-type="systemic"] .solution-type-badge {
  background: rgba(196, 149, 106, 0.15);
  color: var(--clay);
}

.solution-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.solution-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.solution-impact {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(122, 158, 126, 0.08);
}

.solution-impact .impact-icon {
  font-size: 1.2rem;
}

.solution-impact .impact-text {
  font-size: 0.8rem;
  color: var(--moss);
  font-weight: 500;
}

/* Leaf micro-interaction */
.leaf-burst {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  animation: leafFloat 1.2s ease-out forwards;
  font-size: 1.5rem;
}

@keyframes leafFloat {
  0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.3); }
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-2xl);
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ===================================================
   WASTE TRACKER / CALCULATOR
   =================================================== */
.waste-tracker {
  padding: var(--space-3xl) 0;
}

.tracker-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.tracker-form-area {
  background: var(--bg-card);
  border: 1px solid rgba(122, 158, 126, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.tracker-form-area h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.tracker-form-area > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(122, 158, 126, 0.15);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--sage);
}

.form-group select option {
  background: var(--bg-card);
}

.calculate-btn {
  width: 100%;
  margin-top: var(--space-sm);
}

/* Tracker Results */
.tracker-results {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.result-card {
  background: var(--bg-card);
  border: 1px solid rgba(122, 158, 126, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.result-card.highlight-result {
  border-color: var(--moss);
  box-shadow: var(--shadow-glow);
}

.result-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.result-value {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--clay);
  margin-bottom: var(--space-xs);
}

.result-value.positive {
  color: var(--sage);
}

.result-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.result-sublabel {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.results-placeholder {
  text-align: center;
  color: var(--text-muted);
  padding: var(--space-2xl);
}

.results-placeholder .placeholder-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

.results-placeholder p {
  font-size: 0.9rem;
}

/* ===================================================
   DATA TABLE
   =================================================== */
.data-section {
  padding: var(--space-3xl) 0;
}

.data-section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.data-section-header .section-subtitle {
  margin: 0 auto;
}

.data-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122, 158, 126, 0.1);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table thead {
  background: var(--bg-surface);
}

.data-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  color: var(--text-primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(122, 158, 126, 0.1);
}

.data-table td {
  padding: var(--space-md) var(--space-lg);
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(122, 158, 126, 0.06);
  line-height: 1.6;
}

.data-table tbody tr {
  transition: background 0.3s var(--ease);
}

.data-table tbody tr:hover {
  background: rgba(74, 124, 89, 0.06);
}

.data-table .category-cell {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  padding: var(--space-2xl) 0;
  border-top: 1px solid rgba(122, 158, 126, 0.08);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  list-style: none;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.footer-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-note .eco-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(74, 124, 89, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  color: var(--sage);
  margin-top: var(--space-sm);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .warming-content {
    grid-template-columns: 1fr;
  }
  .tracker-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    padding: var(--space-lg);
    gap: var(--space-md);
    border-bottom: 1px solid rgba(122, 158, 126, 0.1);
  }
  .nav-toggle { display: block; }

  .carbon-clock {
    grid-template-columns: 1fr;
  }

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

  .pillar-card {
    height: auto;
    min-height: 380px;
  }

  .flowchart {
    flex-direction: column;
    align-items: center;
  }

  .flow-connector {
    transform: rotate(90deg);
    min-width: unset;
    min-height: 40px;
    padding-bottom: 0;
  }

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

  .hero h1 {
    font-size: 2.4rem;
  }

  .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
}
