/* ── TOKENS ─────────────────────────────── */
:root {
  /* Colors */
  --color-bg: #FFFFFF;
  --color-bg-subtle: #F7F7F5;
  --color-bg-dark: #0F2318;
  --color-green-primary: #2D7A4F;
  --color-green-dark: #1E5435;
  --color-green-light: #EBF5EF;
  --color-gold: #E8961E;
  --color-text-primary: #0A1628;
  --color-text-secondary: #4B5563;
  --color-text-muted: #9CA3AF;
  --color-border: #E5E7EB;
  --color-border-subtle: #F3F4F6;

  /* Typography */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 32px;
  --text-4xl: 40px;
  --text-5xl: 52px;
  --text-6xl: 64px;
  --text-hero: 72px;

  /* Spacing (4px base) */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --space-32: 128px; --space-40: 160px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-green: 0 4px 20px rgba(45,122,79,0.25);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ── RESET ───────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-feature-settings: "cv11","ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  opacity: 0;
  animation: bodyFadeIn 350ms cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes bodyFadeIn { to { opacity: 1; } }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ── NAV ─────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: 64px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  transition: box-shadow 200ms ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px; color: var(--color-text-secondary); font-weight: 500;
  position: relative; transition: color 150ms;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 100%;
  height: 1.5px; background: var(--color-green-primary);
  transition: right 200ms cubic-bezier(0.4,0,0.2,1);
}
.nav-links a:hover { color: var(--color-green-primary); }
.nav-links a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-active-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-green-primary);
  animation: dotPulse 2.5s ease-in-out infinite;
  margin-right: 4px;
}
@keyframes dotPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 22px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 600; border: none;
  transition: all 200ms cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #2D7A4F 0%, #1E5435 100%);
  color: white; box-shadow: var(--shadow-green);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(45,122,79,0.35); filter: brightness(1.05); }
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-green); }
.btn-secondary {
  background: white; color: var(--color-text-primary);
  border: 1.5px solid var(--color-border);
}
.btn-secondary:hover { border-color: var(--color-green-primary); color: var(--color-green-primary); }
.btn-gold {
  background: #5ecf8a;
  color: #0D1F17;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(94,207,138,0.5), 0 0 8px rgba(94,207,138,0.3), 0 4px 16px rgba(0,0,0,0.2);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(94,207,138,0.65), 0 0 16px rgba(94,207,138,0.4), 0 6px 24px rgba(0,0,0,0.2);
  filter: brightness(1.06);
}
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; }

/* ── CARD ────────────────────────────────── */
.card {
  background: white; border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xs);
  padding: 32px; transition: all 250ms cubic-bezier(0.4,0,0.2,1);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-dark {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all 250ms cubic-bezier(0.4,0,0.2,1);
}
.card-dark:hover { background: rgba(255,255,255,0.06); }

/* ── SECTION LABEL ───────────────────────── */
.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-green-primary); margin-bottom: 12px;
}
.section-label::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-green-primary); opacity: 0.7; flex-shrink: 0;
}

/* ── BADGE ───────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-green-light); color: var(--color-green-primary);
  font-size: 12px; font-weight: 600; padding: 5px 12px;
  border-radius: var(--radius-full); border: 1px solid rgba(45,122,79,0.2);
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-green-primary);
  animation: dotPulse 2.5s ease-in-out infinite;
}

/* ── STAT ────────────────────────────────── */
.stat-num {
  font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  color: var(--color-text-primary);
}
.stat-num .unit { color: var(--color-green-primary); }
.stat-label { font-size: 14px; color: var(--color-text-muted); margin-top: 6px; }

/* ── TESTIMONIAL ─────────────────────────── */
.testimonial-card {
  background: white; border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-green-primary);
  border-radius: var(--radius-lg); padding: 28px 28px 28px 32px;
  box-shadow: var(--shadow-xs);
}
.testimonial-quote { font-size: 48px; line-height: 1; color: var(--color-green-primary); opacity: 0.25; font-family: Georgia, serif; margin-bottom: -8px; }
.testimonial-text { font-size: 15.5px; color: var(--color-text-secondary); line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.testimonial-stars { color: #F59E0B; font-size: 14px; margin-bottom: 10px; letter-spacing: 1px; }
.testimonial-author { font-size: 14px; font-weight: 700; color: var(--color-text-primary); }
.testimonial-meta { font-size: 13px; color: var(--color-text-muted); margin-top: 2px; }
.testimonial-pill {
  display: inline-block; font-size: 11px; font-weight: 600;
  background: var(--color-green-light); color: var(--color-green-primary);
  padding: 2px 8px; border-radius: var(--radius-full); margin-top: 6px;
}

/* ── INDUSTRY PILL ───────────────────────── */
.industry-pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--color-border); background: white;
  font-size: 14px; font-weight: 500; color: var(--color-text-secondary);
  padding: 8px 16px; border-radius: var(--radius-full);
  transition: all 200ms ease;
}
.industry-pill:hover { background: var(--color-green-light); border-color: var(--color-green-primary); color: var(--color-green-primary); }

/* ── SCROLL ANIMATIONS ───────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(0.16,1,0.3,1), transform 600ms cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity 500ms cubic-bezier(0.16,1,0.3,1);
  will-change: opacity;
}
.fade-in.visible { opacity: 1; }

.scale-up {
  opacity: 0;
  transform: scale(0.96) translateY(16px);
  transition: opacity 550ms cubic-bezier(0.16,1,0.3,1), transform 550ms cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.scale-up.visible { opacity: 1; transform: scale(1) translateY(0); }

.slide-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 600ms cubic-bezier(0.16,1,0.3,1), transform 600ms cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 600ms cubic-bezier(0.16,1,0.3,1), transform 600ms cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 80ms; }
.stagger > *:nth-child(3) { transition-delay: 160ms; }
.stagger > *:nth-child(4) { transition-delay: 240ms; }
.stagger > *:nth-child(5) { transition-delay: 320ms; }
.stagger > *:nth-child(6) { transition-delay: 400ms; }
.stagger > *:nth-child(7) { transition-delay: 480ms; }
.stagger > *:nth-child(8) { transition-delay: 560ms; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-in, .scale-up, .slide-left, .slide-right {
    transition: opacity 200ms ease !important;
    transform: none !important;
  }
  body { animation-duration: 1ms !important; }
}

/* ── LAYOUT UTILITIES ────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 40px; }
.container-md { max-width: 920px; margin: 0 auto; padding: 0 40px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ── GRADIENT TEXT ───────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #2D7A4F 0%, #5BAF7E 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── FOOTER ──────────────────────────────── */
.footer {
  background-color: #091A0D;
  padding: 48px 0 32px;
  position: relative;
}
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; }
.footer-logo-img { height: 26px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 150ms; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ── DARK SECTION OVERRIDES ──────────────── */
.section-dark { background: var(--color-bg-dark); }
.section-dark .section-label { color: #5ecf8a; }
.section-dark .section-label::before { background: #5ecf8a; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: white; }
.section-dark p, .section-dark .body-text { color: rgba(255,255,255,0.55); }

/* ══════════════════════════════════════════
   SITE-WIDE GLOW + GRADIENT SYSTEM
   Applied via design-system so every page gets it
   ══════════════════════════════════════════ */

/* Dark sections: green bloom from top */
.section-dark,
[style*="--color-bg-dark"] {
  background-image:
    radial-gradient(ellipse 110% 55% at 50% 0%, rgba(94,207,138,0.20) 0%, rgba(45,122,79,0.08) 45%, transparent 68%),
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(45,122,79,0.04) 0%, transparent 70%) !important;
}


/* Section labels: neon text glow + dot pulse-glow */
.section-label {
  text-shadow: 0 0 20px rgba(45,122,79,0.55);
}
.section-label::before {
  box-shadow: 0 0 10px rgba(94,207,138,0.9), 0 0 20px rgba(94,207,138,0.5);
}

/* Section label on dark bg — brighter */
.section-dark .section-label,
[style*="--color-bg-dark"] .section-label {
  text-shadow: 0 0 24px rgba(94,207,138,0.75);
}
[style*="--color-bg-dark"] .section-label::before {
  box-shadow: 0 0 12px rgba(94,207,138,1), 0 0 24px rgba(94,207,138,0.6);
}

/* Gradient text: stronger drop-shadow bloom */
.gradient-text {
  filter: drop-shadow(0 0 28px rgba(45,122,79,0.55));
}

/* Dark cards: green border + ambient on hover */
.card-dark:hover {
  border-color: rgba(94,207,138,0.35) !important;
  box-shadow: 0 0 32px rgba(94,207,138,0.14), inset 0 1px 0 rgba(94,207,138,0.1);
}

/* Testimonial cards: left-edge glow on hover */
.testimonial-card:hover {
  box-shadow: var(--shadow-md), -3px 0 24px rgba(45,122,79,0.22);
}

/* Primary button: halo bloom on hover */
.btn-primary {
  transition: all 200ms cubic-bezier(0.4,0,0.2,1);
}

/* Light sections: green ambient from top + warm vignette edges */
.section {
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(45,122,79,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 100% 60% at 0% 50%, rgba(45,122,79,0.025) 0%, transparent 55%),
    radial-gradient(ellipse 100% 60% at 100% 50%, rgba(45,122,79,0.025) 0%, transparent 55%);
}

/* Badges: green ambient */
.badge {
  box-shadow: 0 0 16px rgba(45,122,79,0.18);
}

/* Stats: green unit glow */
.stat-num .unit {
  text-shadow: 0 0 20px rgba(45,122,79,0.4);
}

/* Glowing divider line between sections */
section {
  position: relative;
}
section + section::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(94,207,138,0.12) 30%, rgba(94,207,138,0.22) 50%, rgba(94,207,138,0.12) 70%, transparent 100%);
  pointer-events: none;
}

/* ── MOBILE ──────────────────────────────── */
@media (max-width: 768px) {
  .container, .container-sm, .container-md { padding: 0 20px; }
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .stat-num { font-size: 40px; }
  .hamburger { display: flex; }
}
.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px;
}
.hamburger span { width: 22px; height: 2px; background: var(--color-text-primary); border-radius: 2px; transition: all 200ms; }
.mobile-nav {
  display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: white; border-bottom: 1px solid var(--color-border);
  padding: 20px; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 16px; font-weight: 500; color: var(--color-text-primary); padding: 8px 0; border-bottom: 1px solid var(--color-border-subtle); }
