/* =========================================
   Landing Page Styles
   ========================================= */

/* Utils */
.text-blue {
  color: #4696d2;
}
.text-green {
  color: #82c92c;
}
.text-green-gradient {
  background: linear-gradient(90deg, #82c92c 0%, #4696d2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-white {
  color: white !important;
}

.section-header-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}
.section-header-center h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a1a1a;
}
.section-header-center p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}
.section-header-left {
  text-align: left;
  max-width: 800px;
  margin-bottom: 60px;
}
.section-header-left h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a1a1a;
}
.section-header-left p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.badge-pill {
  display: inline-block;
  padding: 6px 16px;
  background: #e0f2f1;
  color: #00609c;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.white-text h2,
.white-text p {
  color: white !important;
}

/* Buttons */
.btn-primary-gradient {
  background: linear-gradient(90deg, #82c92c 0%, #4696d2 100%);
  color: white;
  padding: 14px 32px;
  border-radius: 50px; /* Pill shape */
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  border: none;
  box-shadow: 0 4px 15px rgba(130, 201, 44, 0.3);
}
.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(70, 150, 210, 0.4);
  color: white;
}

.btn-outline-dark {
  background: transparent;
  border: 1px solid #333;
  color: #333;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.btn-outline-dark:hover {
  background: #333;
  color: white;
}

.btn-outline-green {
  background: white;
  border: 2px solid #82c92c;
  color: #82c92c;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-outline-green:hover {
  background: #82c92c;
  color: white;
}
.big {
  font-size: 1.1rem;
  padding: 16px 40px;
}

/* Landing Hero (Used in Home) */
.hero-section {
  padding: 120px 0 80px;
  /* Dynamic Mesh Gradient Background */
  background:
    radial-gradient(at 0% 0%, hsla(115, 68%, 90%, 1) 0px, transparent 50%),
    radial-gradient(at 100% 0%, hsla(204, 75%, 90%, 1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, hsla(115, 68%, 90%, 1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, hsla(204, 75%, 90%, 1) 0px, transparent 50%),
    #ffffff;
  background-size: 200% 200%;
  animation: gradientBG 15s ease infinite;
  position: relative;
  overflow: hidden;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #1a1a1a;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

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

.hero-img-main {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-img-main {
  transform: perspective(1000px) rotateY(0deg);
}

/* Floating Cards in Hero */
.floating-card {
  position: absolute;
  background: white;
  padding: 15px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
  min-width: 180px;
}

.card-co2 {
  top: 20%;
  left: -30px;
  animation-delay: 0s;
}

.card-trees {
  bottom: 20%;
  right: -20px;
  animation-delay: 3s;
}

.icon-box {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.icon-box.green {
  background: #dcfce7;
  color: #15803d;
}

.icon-box.blue {
  background: #dbeafe;
  color: #1e40af;
}

.card-label {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.card-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

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

/* Features Preview Section (Home) */
.features-preview-section {
  padding: 100px 0;
  background: #fff;
}
.features-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.feature-card-hover {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: #82c92c;
}

.f-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: white;
}

.icon-bg-green {
  background: linear-gradient(135deg, #84cc16, #65a30d);
}
.icon-bg-blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.icon-bg-orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.feature-card-hover h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1e293b;
}

.feature-card-hover p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 25px;
}

.link-arrow {
  color: #1e293b;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}

.link-arrow:hover {
  gap: 12px;
  color: #84cc16;
}

/* Process Section */
.process-section {
  padding: 100px 0;
  background: #f8fafc; /* Slight gray for contrast */
}
.process-steps-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  z-index: 2;
  position: relative;
}
.step-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: white;
  border: 2px solid #e2e8f0;
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.process-step:hover .step-circle {
  border-color: #82c92c;
  color: #82c92c;
  transform: scale(1.1);
}

.process-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin-top: 35px; /* Align with center of circle */
}
.process-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1e293b;
}
.process-step p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}
.center-btn-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* CTA Section */
.cta-landing-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
  text-align: center;
}
.cta-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: #1a1a1a;
  letter-spacing: -1px;
}
.cta-subtitle {
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.25rem;
  color: #555;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 40px;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 500;
}
.trust-indicators i {
  color: #82c92c;
  margin-right: 8px;
}

/* Responsive Landing */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image-wrapper {
    order: -1; /* Image first on mobile */
  }

  .features-grid-3,
  .process-steps-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 40px;
  }

  .process-line {
    display: none;
  }

  .cta-title {
    font-size: 2.5rem;
  }

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

  .trust-indicators {
    flex-direction: column;
    gap: 15px;
  }
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for grids */
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
