/* ===== INTERACTIVE IMPACT SHOWCASE SECTION ===== */
.impact-showcase {
  position: relative;
  background: linear-gradient(135deg, #0f1f19 0%, #1a2f26 25%, #1e392f 50%, #1a2f26 75%, #0f1f19 100%);
  padding: 6rem 0;
  overflow: hidden;
  min-height: auto;
}

.impact-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  position: relative;
  z-index: 2;
}

/* Floating Background Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(218, 165, 32, 0.3);
  border-radius: 50%;
  animation: floatUpDown 6s ease-in-out infinite;
}

.floating-particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 8s;
}

.floating-particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 2s;
  animation-duration: 7s;
}

.floating-particle:nth-child(3) {
  top: 30%;
  left: 70%;
  animation-delay: 4s;
  animation-duration: 9s;
}

.floating-particle:nth-child(4) {
  top: 80%;
  left: 20%;
  animation-delay: 1s;
  animation-duration: 6s;
}

.floating-particle:nth-child(5) {
  top: 40%;
  left: 50%;
  animation-delay: 3s;
  animation-duration: 8s;
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-30px) translateX(10px);
    opacity: 0.8;
  }
}

/* Section Header */
.impact-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 1s ease-out;
  position: relative;
  z-index: 3;
}

.impact-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.8rem;
  font-weight: 700;
  color: #FDFDF5;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(218, 165, 32, 0.2);
  background: linear-gradient(135deg, #FDFDF5 0%, #DAA520 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.impact-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #E8E8DC;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Interactive Stats Grid - Perfect Alignment */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}

/* Premium Stat Card Design - Exact Match */
.stat-card {
  background: linear-gradient(145deg, #2d4a3e 0%, #264238 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(218, 165, 32, 0.3);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 380px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Card Shine Effect */
.card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(218, 165, 32, 0.15),
    transparent
  );
  transition: left 0.8s ease;
  z-index: 1;
}

.stat-card:hover .card-shine {
  left: 100%;
}

/* Card Border Glow */
.card-border-glow {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(218, 165, 32, 0.4),
    rgba(218, 165, 32, 0.1),
    rgba(218, 165, 32, 0.4)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.stat-card:hover .card-border-glow {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(218, 165, 32, 0.5);
  background: linear-gradient(145deg, #325544 0%, #2d4a3e 100%);
  box-shadow: 
    0 16px 48px rgba(218, 165, 32, 0.3),
    0 8px 24px rgba(0, 0, 0, 0.6),
    0 0 0 2px rgba(218, 165, 32, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Card Header - Perfect Alignment */
.stat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(218, 165, 32, 0.15);
}

/* Icon Wrapper - Professional Style */
.stat-icon-wrapper {
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(218, 165, 32, 0.15);
  border-radius: 18px;
  border: 1px solid rgba(218, 165, 32, 0.25);
  flex-shrink: 0;
}

.icon-background {
  position: absolute;
  inset: 2px;
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.2), rgba(218, 165, 32, 0.05));
  border-radius: 16px;
  transition: all 0.4s ease;
}

.stat-card:hover .stat-icon-wrapper {
  background: rgba(218, 165, 32, 0.25);
  border-color: rgba(218, 165, 32, 0.4);
  transform: scale(1.05);
}

.stat-card:hover .icon-background {
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.3), rgba(218, 165, 32, 0.1));
}

.stat-icon {
  position: relative;
  z-index: 2;
  color: #DAA520;
  transition: all 0.4s ease;
  filter: drop-shadow(0 2px 8px rgba(218, 165, 32, 0.4));
}

.stat-card:hover .stat-icon {
  color: #F4D03F;
  transform: scale(1.1);
  filter: drop-shadow(0 4px 12px rgba(218, 165, 32, 0.6));
}

/* Badge - Professional Style */
.stat-badge {
  padding: 0.7rem 1.4rem;
  background: rgba(218, 165, 32, 0.2);
  border: 1px solid rgba(218, 165, 32, 0.4);
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #DAA520;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  box-shadow: 0 2px 8px rgba(218, 165, 32, 0.2);
  white-space: nowrap;
}

.stat-card:hover .stat-badge {
  background: rgba(218, 165, 32, 0.3);
  border-color: rgba(218, 165, 32, 0.6);
  color: #F4D03F;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(218, 165, 32, 0.4);
}

/* Card Body - Perfect Spacing */
.stat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.stat-number-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 0.9;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
  letter-spacing: -0.02em;
}

.stat-card:hover .stat-number {
  color: #F4D03F;
  transform: scale(1.05);
  text-shadow: 0 3px 8px rgba(218, 165, 32, 0.6), 0 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-percentage {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.01em;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.3px;
}

.stat-card:hover .stat-label {
  color: #F4D03F;
  text-shadow: 0 2px 6px rgba(218, 165, 32, 0.5);
}

.stat-description {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Stat Footer Section Removed - Cards are now more compact */

/* Interactive Visualization */
.impact-visualization {
  background: rgba(253, 253, 245, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(218, 165, 32, 0.15);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 0;
}

.viz-header {
  text-align: center;
  margin-bottom: 2rem;
}

.viz-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--off-white-cream);
  margin-bottom: 0.5rem;
}

.viz-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  color: rgba(253, 253, 245, 0.8);
}

/* Comparison Visualization */
.comparison-viz {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: center;
}

.viz-side {
  text-align: center;
}

.viz-label {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #FDFDF5;
  margin-bottom: 2rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Industrial Plant Visualization */
.industrial-plant {
  position: relative;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.plant-structure {
  position: relative;
  width: 100%;
  height: 100%;
}

.smokestack-viz {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 120px;
}

.stack-body {
  width: 40px;
  height: 100px;
  background: linear-gradient(135deg, #666, #444);
  border-radius: 6px 6px 3px 3px;
  position: relative;
}

.stack-body::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 8px;
  right: 8px;
  height: 16px;
  background: linear-gradient(135deg, #777, #555);
  border-radius: 3px 3px 0 0;
}

/* Emissions Animation */
.emissions-cloud {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 80px;
}

.emission-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #666;
  border-radius: 50%;
  animation: emissionRise 3s ease-in-out infinite;
}

.emission-particle:nth-child(1) {
  left: 10px;
  animation-delay: 0s;
}

.emission-particle:nth-child(2) {
  left: 20px;
  animation-delay: 0.5s;
}

.emission-particle:nth-child(3) {
  left: 30px;
  animation-delay: 1s;
}

.emission-particle:nth-child(4) {
  left: 40px;
  animation-delay: 1.5s;
}

@keyframes emissionRise {
  0% {
    transform: translateY(0) scale(0.5);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-30px) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-60px) scale(1.5);
    opacity: 0;
  }
}

/* Clean Emissions */
.clean-emissions {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 80px;
}

.clean-particle {
  position: absolute;
  width: 6px;
  height: 15px;
  background: linear-gradient(180deg, transparent, rgba(218, 165, 32, 0.6), transparent);
  border-radius: 50%;
  animation: cleanEmissionRise 2s ease-in-out infinite;
}

.clean-particle:nth-child(1) {
  left: 15px;
  animation-delay: 0s;
}

.clean-particle:nth-child(2) {
  left: 25px;
  animation-delay: 0.3s;
}

.clean-particle:nth-child(3) {
  left: 35px;
  animation-delay: 0.6s;
}

@keyframes cleanEmissionRise {
  0%, 100% {
    transform: translateY(0) scaleX(1);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-25px) scaleX(0.8);
    opacity: 0.8;
  }
}

/* Efficiency Meter */
.efficiency-meter {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.meter-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.efficiency-meter.low .meter-fill {
  width: 30%;
  background: linear-gradient(90deg, #ff4444, #ff6666);
}

.efficiency-meter.high .meter-fill {
  width: 85%;
  background: linear-gradient(90deg, var(--muted-gold), var(--gold-accent));
}

.meter-label {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--off-white-cream);
  white-space: nowrap;
}

/* Transform Arrow */
.viz-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.transform-arrow {
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* Call to Action */
.impact-cta {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(253, 253, 245, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(218, 165, 32, 0.2);
}

.cta-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--off-white-cream);
  margin-bottom: 1.5rem;
}

.cta-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  color: rgba(253, 253, 245, 0.9);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.premium-cta-button {
  position: relative;
  background: linear-gradient(135deg, var(--muted-gold), var(--gold-accent));
  color: var(--deep-green-text);
  border: none;
  padding: 1.5rem 4rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(218, 165, 32, 0.3);
}

.premium-cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 48px rgba(218, 165, 32, 0.4);
}

.cta-text-content {
  position: relative;
  z-index: 2;
}

.cta-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.premium-cta-button:hover .cta-glow {
  left: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .impact-showcase {
    padding: 5rem 0;
  }
  
  .impact-container {
    padding: 0 2rem;
  }
  
  .impact-header {
    margin-bottom: 3rem;
  }
  
  .impact-headline {
    font-size: 3rem;
    margin-bottom: 1.2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin-bottom: 3rem;
  }
  
  .stat-card {
    min-height: 360px;
    padding: 2.2rem 1.8rem;
  }
  
  .stat-icon-wrapper {
    width: 65px;
    height: 65px;
  }
  
  .stat-number {
    font-size: 3.2rem;
  }
  
  .stat-percentage {
    font-size: 1.8rem;
  }
  
  .impact-visualization {
    padding: 2rem;
  }
  
  .viz-header {
    margin-bottom: 2rem;
  }
  
  .comparison-viz {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .impact-showcase {
    padding: 4rem 0;
  }
  
  .impact-container {
    padding: 0 1.5rem;
  }
  
  .impact-header {
    margin-bottom: 2.5rem;
  }
  
  .impact-headline {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .impact-subtitle {
    font-size: 1.1rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  
  .stat-card {
    min-height: 340px;
    padding: 2rem 1.8rem;
  }
  
  .stat-header {
    margin-bottom: 1.8rem;
    padding-bottom: 1.2rem;
  }
  
  .stat-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .stat-number {
    font-size: 3rem;
  }
  
  .stat-percentage {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  .stat-description {
    font-size: 0.88rem;
  }
  
  .comparison-viz {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .viz-divider {
    order: 2;
  }
  
  .viz-side.after-viz {
    order: 3;
  }
  
  .viz-label {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
  }
  
  .industrial-plant {
    height: 180px;
  }
  
  .efficiency-meter {
    bottom: 10px;
    width: 110px;
    height: 18px;
  }
  
  .meter-label {
    font-size: 0.75rem;
    top: -24px;
  }
  
  .transform-arrow svg {
    width: 50px;
    height: 20px;
  }
  
  .impact-visualization {
    padding: 2rem 1.5rem;
  }
  
  .viz-header {
    margin-bottom: 2rem;
  }
  
  .viz-title {
    font-size: 1.8rem;
  }
  
  .viz-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .impact-showcase {
    padding: 3rem 0;
  }
  
  .impact-container {
    padding: 0 0.8rem;
  }
  
  .impact-header {
    margin-bottom: 2rem;
  }
  
  .impact-headline {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }
  
  .impact-subtitle {
    font-size: 0.9rem;
    margin-bottom: 0;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
    margin-bottom: 2rem;
  }
  
  .stat-card {
    padding: 1.2rem 1rem;
    min-height: 260px;
    border-radius: 16px;
  }
  
  .stat-header {
    margin-bottom: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  
  .stat-icon-wrapper {
    width: 48px;
    height: 48px;
  }
  
  .icon-background {
    border-radius: 12px;
  }
  
  .stat-icon {
    width: 24px;
    height: 24px;
  }
  
  .stat-badge {
    padding: 0.35rem 0.7rem;
    font-size: 0.65rem;
  }
  
  .stat-body {
    gap: 0.6rem;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .stat-percentage {
    font-size: 1.1rem;
  }
  
  .stat-label {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
  }
  
  .stat-description {
    font-size: 0.75rem;
    line-height: 1.3;
  }
  
  .progress-track {
    height: 4px;
  }
  
  .progress-label {
    font-size: 0.65rem;
  }
  
  .premium-cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
  }
  
  .impact-visualization {
    padding: 1.5rem 0.8rem;
  }
  
  .viz-header {
    margin-bottom: 1.2rem;
  }
  
  .viz-title {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
  }
  
  .viz-subtitle {
    font-size: 0.75rem;
    margin-bottom: 0;
  }
  
  .comparison-viz {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.6rem;
    align-items: center;
  }
  
  .viz-label {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.2;
  }
  
  .industrial-plant {
    height: 140px;
  }
  
  .smokestack-viz {
    top: 10px;
    height: 100px;
  }
  
  .stack-body {
    height: 80px;
  }
  
  .efficiency-meter {
    bottom: 5px;
    width: 90px;
    height: 14px;
  }
  
  .meter-label {
    font-size: 0.65rem;
    top: -20px;
  }
  
  .transform-arrow svg {
    width: 28px;
    height: 12px;
  }
  
  .viz-divider {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Animation Delays for Staggered Effects */
.stat-card:nth-child(1) {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.stat-card:nth-child(2) {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.stat-card:nth-child(3) {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat-card:nth-child(4) {
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.stat-card:nth-child(5) {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-card:nth-child(6) {
  animation: fadeInUp 0.8s ease-out 0.7s both;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .floating-particle,
  .stat-icon,
  .stat-glow,
  .emission-particle,
  .clean-particle,
  .transform-arrow {
    animation: none !important;
  }
  
  .stat-card,
  .premium-cta-button {
    transition-duration: 0.01ms !important;
  }
}