html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

.hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15,20,25,0.75) 0%, rgba(15,20,25,0.45) 50%, rgba(6,78,59,0.55) 100%),
    radial-gradient(ellipse at top right, rgba(16,185,129,0.25), transparent 50%);
}
@keyframes heroZoom {
  0% { transform: scale(1.05) translate(0,0); }
  100% { transform: scale(1.12) translate(-1%, -1%); }
}

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.floating { animation: floating 8s ease-in-out infinite; }
.floating-slow { animation: floating 12s ease-in-out infinite; }
@keyframes floating {
  0%,100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-20px) translateX(15px); }
}

.value-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border: 1px solid #d1fae5;
  transition: all 0.5s cubic-bezier(.2,.7,.2,1);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -25px rgba(16,185,129,0.35);
  border-color: rgba(16,185,129,0.5);
}

.tech-image {
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.tech-image:hover {
  transform: scale(1.05);
}

.eco-image {
  transition: transform 1.5s cubic-bezier(.2,.7,.2,1);
}
.reveal:hover .eco-image {
  transform: scale(1.04);
}

.flow-card {
  position: relative;
  padding: 2rem;
  border-radius: 1.5rem;
  background: white;
  border: 1px solid rgba(16,185,129,0.1);
  transition: all 0.5s cubic-bezier(.2,.7,.2,1);
  overflow: hidden;
}
.flow-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #10b981, #6ee7b7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.flow-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16,185,129,0.4);
  box-shadow: 0 25px 50px -25px rgba(16,185,129,0.3);
}
.flow-card:hover::before {
  transform: scaleX(1);
}

.feature-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background: white;
  border: 1px solid #f3f4f6;
  transition: all 0.5s cubic-bezier(.2,.7,.2,1);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16,185,129,0.3);
  box-shadow: 0 20px 40px -20px rgba(16,185,129,0.2);
}

.scenario-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background: white;
  border: 1px solid #f3f4f6;
  transition: all 0.5s cubic-bezier(.2,.7,.2,1);
}
.scenario-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -25px rgba(16,185,129,0.3);
  border-color: rgba(16,185,129,0.4);
}
.scenario-icon {
  width: 56px; height: 56px;
  border-radius: 1rem;
  background: linear-gradient(135deg, #10b981, #047857);
  color: white;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 25px -8px rgba(16,185,129,0.5);
  transition: transform 0.5s ease;
}
.scenario-card:hover .scenario-icon {
  transform: scale(1.08) rotate(-5deg);
}

.green-feature {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: white;
  border: 1px solid #f3f4f6;
  transition: all 0.4s ease;
}
.green-feature:hover {
  border-color: rgba(16,185,129,0.4);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -15px rgba(16,185,129,0.25);
}
.green-icon {
  width: 48px; height: 48px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #059669;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}
.green-feature:hover .green-icon {
  transform: scale(1.1) rotate(8deg);
}

.partner-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  transition: all 0.5s cubic-bezier(.2,.7,.2,1);
}
.partner-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  border-color: rgba(110,231,183,0.3);
}

.progress-bar {
  position: relative;
  overflow: hidden;
}
.progress-bar::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer 2.5s ease-in-out infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

#navbar.scrolled {
  background: rgba(255,255,255,0.9);
  border-bottom-color: rgba(0,0,0,0.06);
  box-shadow: 0 4px 30px -10px rgba(0,0,0,0.08);
}

::selection { background: #10b981; color: white; }

@media (max-width: 1024px) {
  .hero-overlay {
    background:
      linear-gradient(135deg, rgba(15,20,25,0.85) 0%, rgba(15,20,25,0.7) 50%, rgba(6,78,59,0.7) 100%);
  }
}
