/* ============================================
   GrowMark — Hero Section (v2 — cinematic)
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  background: var(--clr-bg);
}

/* ── Mesh gradient background ──────────── */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.8;
  pointer-events: none;
  z-index: 1;
}

/* ── Grid overlay ──────────────────────── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ── Particle canvas ──────────────────── */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__particles canvas {
  width: 100%;
  height: 100%;
}


/* ── Content ───────────────────────────── */
.hero__content {
  position: relative;
  z-index: 5;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-xl);
  padding: 6px 14px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-smooth) 0.3s forwards;
}

.hero__label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-primary);
  box-shadow: 0 0 10px var(--clr-primary);
  animation: dotPulse 2s ease-in-out infinite;
}

.hero__title {
  font-family: var(--font-primary);
  font-size: var(--fs-display);
  font-weight: var(--fw-black);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--clr-text);
  margin-bottom: var(--sp-xl);
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeUp 1s var(--ease-smooth) 0.5s forwards;
}

.hero__title-highlight {
  position: relative;
  display: inline-block;
  animation: heroFadeUp 1s var(--ease-smooth) 0.5s forwards;
  opacity: 0;
}

.hero__title-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--gradient-primary);
  border-radius: 4px;
  opacity: 0.18;
  filter: blur(3px);
}

/* Word-rotate inner gets the gradient */
.hero__title-highlight .word-rotate-inner {
  background: var(--gradient-text-shine);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShine 4s linear infinite;
}

.hero__description {
  font-size: var(--fs-body);
  color: var(--clr-text-secondary);
  line-height: var(--lh-relaxed);
  max-width: 500px;
  margin-bottom: var(--sp-2xl);
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1s var(--ease-smooth) 0.7s forwards;
}

/* ── CTA Buttons ───────────────────────── */
.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-3xl);
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1s var(--ease-smooth) 0.9s forwards;
}

/* ── Trusted badges ────────────────────── */
.hero__trusted {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1s var(--ease-smooth) 1.1s forwards;
}

.hero__trusted-label {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
}

.hero__trusted-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
}

/* ── Scroll indicator ──────────────────── */
.hero__scroll-text {
  position: absolute;
  bottom: 40px;
  right: var(--container-padding);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clr-text-muted);
  writing-mode: vertical-rl;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease-smooth) 1.3s forwards;
}

.hero__scroll-text::before {
  content: '';
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--clr-primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── Bottom glow line ──────────────────── */
.hero__glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 5;
}

.hero__glow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-primary-30), var(--clr-primary), var(--clr-primary-30), transparent);
}

.hero__glow::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 20%;
  right: 20%;
  height: 20px;
  background: linear-gradient(90deg, transparent, rgba(0,200,83,0.15), transparent);
  filter: blur(10px);
}

/* ── Green ambient orbs (subtle, aurora takes precedence) ── */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,200,83,0.04) 0%, transparent 60%);
  top: -180px;
  left: -180px;
  filter: blur(100px);
  animation: orbFloat 12s ease-in-out infinite alternate;
}

.hero__orb--2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(124,58,237,0.03) 0%, transparent 60%);
  bottom: 5%;
  right: 15%;
  filter: blur(80px);
  animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}

/* ── Animations ────────────────────────── */
@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; height: 50px; }
  50%      { opacity: 1;   height: 65px; }
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, -40px) scale(1.1); }
}

@keyframes textShine {
  to { background-position: 200% center; }
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--clr-primary); }
  50%      { opacity: 0.4; box-shadow: 0 0 4px var(--clr-primary); }
}

/* ── Responsive ────────────────────────── */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .hero__title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

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

  .hero__scroll-text {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__trusted-badges {
    gap: 6px;
  }

  .hero__trusted-badges .tag {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
  }
}
