/* Hero: ambient green background, headline, WhatsApp button and the glass stats strip */

.hero {
  position: relative;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 132px 40px 128px;
  text-align: center;
}

.hero__logo {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 76px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2.42px;
  color: var(--heading);
}

.hero__logo .logo-dot {
  width: 22px;
  height: 22px;
  margin-top: 8px;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 900px;
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--bright);
}

.hero__title {
  font-size: 88px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -4.6px;
  color: var(--heading);
}

.hero__copy {
  max-width: 660px;
  font-size: 20px;
  line-height: 29px;
  letter-spacing: -0.2px;
  color: var(--body-grey);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 100px;
  background: var(--bright);
  color: #0b2013;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 300ms var(--ease), box-shadow 300ms ease;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -16px rgba(24, 215, 107, 0.9);
}

.hero__metrics {
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter);
  margin-top: 0;
}

/* ---------- Ambient background (EfastAmbientBackground) ---------- */

.ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--base);
  pointer-events: none;
}

.ambient > div {
  position: absolute;
  pointer-events: none;
}

.ambient__sheen-top {
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 34%);
}

.ambient__orb {
  border-radius: 50%;
  will-change: transform;
  animation: drift-a 26s ease-in-out infinite;
}

/* intensity 0.6 × each orb's own opacity */
.ambient__orb--1 { width: 720px; height: 720px; top: -14%; left: -6%; opacity: 0.3;
  background: radial-gradient(circle, #18d76b 0%, rgba(24, 215, 107, 0) 70%); filter: blur(60px); }
.ambient__orb--2 { width: 640px; height: 640px; top: 18%; right: -10%; opacity: 0.45;
  background: radial-gradient(circle, #bff3d5 0%, rgba(191, 243, 213, 0) 70%); filter: blur(55px);
  animation-name: drift-b; animation-duration: 32s; }
.ambient__orb--3 { width: 560px; height: 560px; bottom: -16%; left: 24%; opacity: 0.204;
  background: radial-gradient(circle, #0f9d55 0%, rgba(15, 157, 85, 0) 70%); filter: blur(70px);
  animation-name: drift-c; animation-duration: 38s; }
.ambient__orb--4 { width: 420px; height: 420px; bottom: 6%; right: 16%; opacity: 0.18;
  background: radial-gradient(circle, #18d76b 0%, rgba(24, 215, 107, 0) 70%); filter: blur(60px);
  animation-duration: 30s; }

.ambient__aurora {
  inset: -20%;
  background: conic-gradient(from 120deg at 60% 40%, rgba(191, 243, 213, 0), rgba(24, 215, 107, 0.15), rgba(191, 243, 213, 0) 40%);
  filter: blur(42px);
  animation: aurora 20s ease-in-out infinite;
}

.ambient__sweep {
  top: -30%;
  bottom: -30%;
  left: -40%;
  width: 45%;
  opacity: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 100%);
  filter: blur(30px);
  animation: sweep 26s ease-in-out infinite;
}

.ambient__grain {
  inset: 0;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ambient__vignette {
  inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, rgba(246, 250, 247, 0) 55%, rgba(15, 157, 85, 0.06) 100%);
}

.ambient__fade {
  inset: 0;
  background: linear-gradient(180deg, rgba(246, 250, 247, 0) 60%, rgba(246, 250, 247, 0.72) 100%);
}

/* Pauses every loop while the hero is off screen (set by js/main.js) */
.is-paused,
.is-paused * {
  animation-play-state: paused !important;
}

@keyframes drift-a {
  0%, 100% { transform: translate3d(-6%, -4%, 0) scale(1); }
  50% { transform: translate3d(8%, 6%, 0) scale(1.18); }
}

@keyframes drift-b {
  0%, 100% { transform: translate3d(4%, 6%, 0) scale(1.1); }
  50% { transform: translate3d(-8%, -6%, 0) scale(0.92); }
}

@keyframes drift-c {
  0%, 100% { transform: translate3d(0%, 0%, 0) scale(1); }
  50% { transform: translate3d(-10%, 8%, 0) scale(1.22); }
}

@keyframes aurora {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.54; }
}

@keyframes sweep {
  0% { transform: translateX(-30%) rotate(8deg); opacity: 0; }
  45% { opacity: 0.3; }
  100% { transform: translateX(60%) rotate(8deg); opacity: 0; }
}

/* ---------- Glass stats strip (EfastGlassMetrics) ---------- */

.glass-metrics {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 20px;
  border-radius: 26px;
  overflow: hidden;
  font-family: var(--font-display);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(238, 250, 243, 0.55) 100%);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.glass-metrics__sheen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.glass-metrics__glow {
  display: none;
  position: absolute;
  top: -60%;
  left: 50%;
  width: 460px;
  height: 460px;
  margin-left: -230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 199, 101, 0.13), rgba(18, 199, 101, 0) 70%);
  filter: blur(20px);
  pointer-events: none;
}

.glass-metrics__item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  text-align: center;
}

.glass-metrics__item + .glass-metrics__item::before {
  display: none;
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: linear-gradient(180deg, rgba(18, 199, 101, 0), rgba(18, 199, 101, 0.33), rgba(18, 199, 101, 0));
}

.glass-metrics__value {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  background-image: linear-gradient(135deg, var(--ink) 0%, var(--accent) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-metrics__label {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.glass-metrics__live {
  position: absolute;
  top: 14px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.glass-metrics__live span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: live-blink 1.8s ease-in-out infinite;
}

@keyframes live-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.35); }
}

@media (max-width: 1199px) {
  .hero__inner {
    padding: 132px 40px 128px;
  }

  .hero__title {
    font-size: clamp(48px, 14vw, 88px);
    letter-spacing: -0.05em;
  }

  /* Lighter background on phones so scrolling stays smooth */
  .ambient__orb { filter: none; }
  .ambient__orb--1 { opacity: 0.405; background: radial-gradient(closest-side, #18d76b 0%, rgba(24,215,107,.74) 26%, rgba(24,215,107,.42) 50%, rgba(24,215,107,.17) 72%, rgba(24,215,107,.04) 88%, rgba(24,215,107,0) 100%); }
  .ambient__orb--2 { opacity: 0.6075; background: radial-gradient(closest-side, #bff3d5 0%, rgba(191,243,213,.74) 26%, rgba(191,243,213,.42) 50%, rgba(191,243,213,.17) 72%, rgba(191,243,213,.04) 88%, rgba(191,243,213,0) 100%); }
  .ambient__orb--3 { opacity: 0.2754; background: radial-gradient(closest-side, #0f9d55 0%, rgba(15,157,85,.74) 26%, rgba(15,157,85,.42) 50%, rgba(15,157,85,.17) 72%, rgba(15,157,85,.04) 88%, rgba(15,157,85,0) 100%); }
  .ambient__orb--4 { opacity: 0.243; background: radial-gradient(closest-side, #18d76b 0%, rgba(24,215,107,.74) 26%, rgba(24,215,107,.42) 50%, rgba(24,215,107,.17) 72%, rgba(24,215,107,.04) 88%, rgba(24,215,107,0) 100%); }
  .ambient__aurora,
  .ambient__sweep,
  .ambient__grain { display: none; }

  .hero__metrics { padding: 0; }

  .glass-metrics {
    padding: 34px 6px 20px;
    border-radius: 22px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 251, 245, 0.84) 100%);
  }

  .glass-metrics__glow { filter: none; }
  .glass-metrics__item { padding: 2px 6px; gap: 6px; min-width: 0; }
  .glass-metrics__value { font-size: 30px; }
  .glass-metrics__label { font-size: 12px; letter-spacing: 0; line-height: 1.25; }
  .glass-metrics__live { top: 12px; right: 14px; font-size: 9.5px; }
}
