/* =========================================================
   Tepuy Solutions – Hero Enhancement (2025 Edition)
   Combines Tesla-style motion + neon energy field + fade-up animation
   ========================================================= */

/* ===== Fade + slide on load ===== */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Core color tokens ===== */
.hero-tepuy {
  --bg: #0b0e13;
  --bg-2: #06080a;
  --text: #eaf2f0;
  --brand: #00ffae;
  --brand-dim: rgba(0,255,174,.35);

  position: relative;
  min-height: 86vh;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 50% 5%, var(--bg) 0%, var(--bg-2) 65%);
  z-index: 0;
  color: var(--text);
  font-family: "Inter Tight", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  animation: heroFadeUp 1.4s ease-out both;
  will-change: transform, opacity;
}

/* ===== Canvas background field ===== */
.hero-tepuy canvas#energyField {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .9;
  mix-blend-mode: screen;     /* neon-y lift on dark bg */
  filter: none;               /* remove blur so lines stay crisp */
  pointer-events: none;
  z-index: 1;                 /* above the bg, below text */
}

/* ===== Hero content ===== */
.hero-tepuy .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10vh 24px 8vh;
  text-align: center;
}

.hero-tepuy h1 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  animation: heroFadeUp 1.2s ease forwards;
  animation-delay: 0.2s;
}
.hero-tepuy h1 span { color: var(--brand); text-shadow: 0 0 16px var(--brand-dim); }

.hero-tepuy .lede {
  margin: 18px auto 28px;
  max-width: 820px;
  font-size: clamp(16px, 1.6vw, 20px);
  opacity: .9;
  animation: heroFadeUp 1.2s ease forwards;
  animation-delay: 0.6s;
}

/* ===== CTA Buttons ===== */
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeUp 1.2s ease forwards;
  animation-delay: 1s;
}
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--brand);
  color: #0b0e13;
  border: 0;
}
.btn-primary:hover {
  background: #00ffae;
  box-shadow: 0 0 18px rgba(0,255,174,0.4);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1px solid #2a3331;
  color: #dfe7e5;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

/* ===== Confidence strip ===== */
.trust-strip {
  margin-top: 20px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: .85;
  font-size: 14px;
}

/* ===== Scanning parallax lines ===== */
.parallax-lines {
  position: relative;
  z-index: 1;
  height: 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.parallax-lines .line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-dim), transparent);
  transform: translate3d(0,0,0);
  animation: sweep 4.5s linear infinite;
}
.parallax-lines .line:nth-child(2){ animation-delay:1.2s; opacity:.7; }
.parallax-lines .line:nth-child(3){ animation-delay:2.4s; opacity:.45; }
@keyframes sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ===== Motion / accessibility ===== */
@media (prefers-reduced-motion: no-preference) {
  .hero-tepuy { transform: translateZ(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-tepuy,
  .hero-tepuy h1,
  .hero-tepuy .lede,
  .hero-cta {
    animation: none;
    transform: none;
  }
}

/* ===== Responsive tweaks ===== */
@media (max-width: 768px) {
  .hero-tepuy h1 { font-size: 2rem; }
  .hero-tepuy .lede { font-size: 1rem; }
  .hero-cta { flex-direction: column; }
}

