/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-dark: #1a3a2a;
  --green-medium: #2d5c3f;
  --green-light: #e8f0e9;
  --green-accent: #3d8b5e;
  --olive: #8b9a5e;
  --cream: #f5f2eb;
  --cream-dark: #ede8dd;
  --white: #ffffff;
  --black: #111111;
  --gray-text: #555555;
  --gray-light: #e0e0e0;
  --gray-border: #d5d5d5;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TOP BANNER ===== */
.top-banner {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.top-banner span {
  opacity: 0.7;
}

.top-banner strong {
  color: #a8d5a2;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-light);
  z-index: 100;
  padding: 0 24px;
}

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

.navbar-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar-logo .logo-icon {
  width: 28px;
  height: 28px;
  background: var(--green-dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.navbar-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.navbar-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-text);
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--green-dark);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  background: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--green-medium);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  padding: 120px 0 120px;
  overflow: hidden;
  position: relative;
  background: #eaf5ec;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Subtle rising chart */
.hero-chart {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero-chart-line {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: chartDraw 3s cubic-bezier(0.25, 0.1, 0.25, 1) 0.8s forwards;
}

.hero-chart-area {
  opacity: 0;
  animation: chartAreaReveal 2s ease 2s forwards;
}

@keyframes chartDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes chartAreaReveal {
  to { opacity: 1; }
}

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

.hero-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

/* Staggered entrance for each hero element */
.hero-stagger {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-stagger:nth-child(1) { animation-delay: 0.15s; }
.hero-stagger:nth-child(2) { animation-delay: 0.35s; }
.hero-stagger:nth-child(3) { animation-delay: 0.55s; }

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

.hero-tag {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green-medium);
  margin-bottom: 20px;
  display: inline-block;
  background: rgba(26, 58, 42, 0.08);
  padding: 6px 18px;
  border-radius: 50px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
}

.hero-description {
  font-size: 17px;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn-secondary {
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--green-dark);
  color: var(--green-dark);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* ===== PARTNERS ===== */
.partners {
  padding: 48px 0;
  background: #f5f5f5;
}

.partners .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.partners-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-text);
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
}

.partner-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  opacity: 0.4;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.partner-logo:hover {
  opacity: 0.7;
}

/* ===== ABOUT US ===== */
.about {
  padding: 100px 0 60px;
  text-align: center;
}

.section-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-text);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  max-width: 500px;
  margin: 0 auto 20px;
}

.section-description {
  font-size: 16px;
  color: var(--gray-text);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== FEATURE CARDS ===== */
.features {
  padding: 40px 0 100px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

.feature-card-green {
  background: var(--green-light);
}

.feature-card-cream {
  background: var(--cream);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  margin-bottom: 24px;
  max-width: 260px;
}

.feature-card-visual {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.mini-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.mini-card .value {
  font-size: 20px;
  font-weight: 700;
  color: var(--green-dark);
}

.mini-card .label {
  font-size: 11px;
  color: var(--gray-text);
  margin-top: 4px;
}

.mini-chart {
  width: 60px;
  height: 40px;
}

.mini-chart svg {
  width: 100%;
  height: 100%;
}

.globe-icon {
  font-size: 64px;
  margin: 10px auto;
}

.flag-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
  font-size: 24px;
}

/* ===== VALUES ===== */
.values {
  padding: 80px 0;
}

.values-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  gap: 40px;
}

.values-header-left .section-title {
  text-align: left;
  margin: 0;
}

.values-header-right {
  font-size: 14px;
  color: var(--gray-text);
  max-width: 400px;
  line-height: 1.7;
  padding-top: 20px;
}

/* Green value cards grid */
.values-grid-green {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: linear-gradient(135deg, #2a7a4b 0%, #1a5c35 50%, #1a3a2a 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.vcard-green {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  cursor: default;
  transform-style: preserve-3d;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.vcard-green:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Mouse-follow glow */
.vcard-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.vcard-green:hover .vcard-glow {
  opacity: 1;
}

.vcard-green-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  position: relative;
  z-index: 1;
  transform: translateZ(20px);
}

/* SVG check draw animation */
.vcard-green-icon .check-circle {
  stroke-dasharray: 63;
  stroke-dashoffset: 63;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.vcard-green-icon .check-path {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  transition: stroke-dashoffset 0.5s cubic-bezier(0.65, 0, 0.35, 1) 0.5s;
}

.vcard-green.animated .check-circle {
  stroke-dashoffset: 0;
}

.vcard-green.animated .check-path {
  stroke-dashoffset: 0;
}

/* Icon bounce on animated */
.vcard-green.animated .vcard-green-icon {
  animation: iconBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s both;
}

@keyframes iconBounce {
  0% { transform: translateZ(20px) scale(1); }
  50% { transform: translateZ(20px) scale(1.2); }
  100% { transform: translateZ(20px) scale(1); }
}

.vcard-green-text {
  position: relative;
  z-index: 1;
  transform: translateZ(10px);
}

.vcard-green-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.vcard-green-text p {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}

/* Stagger-in animation */
.stagger-in {
  opacity: 0;
  transform: translateY(40px) scale(0.92) rotateX(8deg);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0deg);
}

/* ===== STATS ===== */
.stats {
  padding: 80px 0;
}

.stats-inner {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  overflow: hidden;
}

.stats-numbers {
  display: flex;
  gap: 60px;
}

.stat-item .stat-value {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 14px;
  color: var(--gray-text);
  margin-top: 8px;
}

.stats-content .section-tag {
  text-align: left;
}

.stats-content .section-title {
  text-align: left;
  margin: 0;
  font-size: 36px;
}

/* ===== FAQ ===== */
.faq {
  padding: 80px 0;
}

.faq .container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.faq-left .section-tag {
  text-align: left;
}

.faq-left .section-title {
  text-align: left;
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--gray-light);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-main);
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--green-dark);
}

.faq-question .icon {
  font-size: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding-bottom: 24px;
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ===== CTA ===== */
.cta {
  padding: 80px 0;
}

.cta-inner {
  background: var(--green-dark);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.cta-content {
  max-width: 480px;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-content h2 em {
  font-style: italic;
}

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

.btn-light {
  background: var(--white);
  color: var(--green-dark);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  display: inline-block;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-visual {
  position: relative;
  z-index: 1;
}

.cta-decoration {
  display: flex;
  gap: 16px;
  opacity: 0.15;
}

.cta-decoration .shape {
  width: 100px;
  height: 100px;
  border: 3px solid white;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.cta-decoration .shape:nth-child(2) {
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  margin-top: 40px;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--gray-light);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--green-dark);
}

.footer-brand .navbar-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--gray-light);
  padding-top: 24px;
  font-size: 13px;
  color: var(--gray-text);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--gray-text);
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--green-dark);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 42px;
  }

  .stats-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }

  .faq .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--gray-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }

  .hero {
    padding: 60px 0 70px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .section-title {
    font-size: 32px;
  }

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

  .values-header {
    flex-direction: column;
    gap: 16px;
  }

  .values-grid-green {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .cta-inner {
    flex-direction: column;
    padding: 48px 32px;
    text-align: center;
  }

  .cta-content h2 {
    font-size: 32px;
  }

  .cta-decoration {
    margin-top: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .partners .container {
    justify-content: center;
  }
}
