/* ============================================================
   SF CYBER — Efeitos customizados
   Apenas o que o Tailwind padrão não cobre: neon glow, circuitos,
   bordas em gradiente e animações.
   ============================================================ */

:root {
  --cyan: #00f0ff;
  --magenta: #d900ff;
  --violet: #9d00ff;
  --gold: #ffd700;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

/* ---------- Fundo ---------- */
.bg-effects {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 12% 8%, rgba(0, 240, 255, 0.10), transparent 70%),
    radial-gradient(ellipse 50% 40% at 90% 30%, rgba(217, 0, 255, 0.09), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(157, 0, 255, 0.08), transparent 70%),
    linear-gradient(180deg, #040814 0%, #070d1c 45%, #040814 100%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.glow--cyan {
  width: 420px; height: 420px;
  top: -180px; left: -140px;
  background: rgba(0, 240, 255, 0.16);
}
.glow--magenta {
  width: 460px; height: 460px;
  top: 35%; right: -200px;
  background: rgba(217, 0, 255, 0.13);
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 85%);
}

/* ---------- Gradientes e destaques ---------- */
.neon-gradient {
  background: linear-gradient(92deg, var(--cyan) 5%, #a9e8ff 40%, var(--magenta) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gold-text {
  color: var(--gold);
  text-shadow: 0 0 24px rgba(255, 215, 0, 0.28);
}
.brand-icon { filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.45)); }

/* ---------- Ícones Lucide ---------- */
.lucide { stroke-width: 1.8; }
.icon-fill > svg,
.icon-neon > svg,
.gear-icon > svg,
.rocket-icon > svg { width: 100%; height: 100%; }

.icon-neon {
  background: rgba(0, 240, 255, 0.07);
  border: 1px solid rgba(0, 240, 255, 0.28);
  box-shadow: inset 0 0 18px rgba(0, 240, 255, 0.08), 0 0 18px rgba(0, 240, 255, 0.12);
}
.gear-icon {
  filter: drop-shadow(0 0 18px rgba(0, 240, 255, 0.3));
  animation: spin-slow 30s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ---------- Circuitos decorativos ---------- */
.circuit {
  position: absolute;
  width: clamp(150px, 20vw, 250px);
  color: rgba(0, 240, 255, 0.20);
  pointer-events: none;
}
.circuit--tl { top: 30px; left: 0; }
.circuit--br { bottom: 20px; right: 0; color: rgba(217, 0, 255, 0.18); }

/* ---------- Header ---------- */
.site-header { transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.site-header.is-scrolled {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  border-bottom-color: rgba(0, 240, 255, 0.24);
}
.nav-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-link.is-active { color: #fff; }
.nav-link.is-active::after {
  content: '';
  display: block;
  height: 1px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}
@media (min-width: 768px) {
  .nav-link { position: relative; }
  .nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -7px;
    width: 0; height: 1px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    transition: width 0.25s ease;
  }
  .nav-link:hover::after,
  .nav-link.is-active::after { width: 100%; margin-top: 0; }
}

/* ---------- Botões neon ---------- */
.btn-neon,
.btn-outline-neon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 15px 26px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-neon:hover,
.btn-outline-neon:hover { transform: translateY(-3px); }
.btn-neon:active,
.btn-outline-neon:active { transform: translateY(0); }

.btn-neon {
  color: #040814;
  background: linear-gradient(100deg, var(--cyan) 0%, #6ce7ff 35%, #e46bff 75%, var(--magenta) 100%);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.30), 0 0 36px rgba(217, 0, 255, 0.18);
}
.btn-neon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.65) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.65s ease;
}
.btn-neon:hover::after { transform: translateX(130%); }
.btn-neon:hover {
  box-shadow: 0 0 34px rgba(0, 240, 255, 0.55), 0 0 62px rgba(217, 0, 255, 0.35);
}
.btn-outline-neon {
  color: #fff;
  background: rgba(10, 17, 40, 0.55);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: inset 0 0 16px rgba(0, 240, 255, 0.05);
}
.btn-outline-neon:hover {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.09);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.18);
}

/* ---------- Cards com borda em gradiente ---------- */
.neon-card {
  background:
    linear-gradient(rgba(10, 17, 40, 0.75), rgba(10, 17, 40, 0.75)) padding-box,
    linear-gradient(150deg, rgba(0, 240, 255, 0.42), rgba(217, 0, 255, 0.20)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.14);
}
.neon-card::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.neon-card:hover {
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 240, 255, 0.22);
}
.neon-card:hover::before { transform: scaleX(1); }

/* ---------- Banner do diferencial ---------- */
.neon-banner {
  background:
    linear-gradient(rgba(11, 7, 30, 0.88), rgba(7, 13, 28, 0.88)) padding-box,
    linear-gradient(100deg, var(--magenta), var(--cyan), var(--magenta)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 0 32px rgba(217, 0, 255, 0.12), 0 0 28px rgba(0, 240, 255, 0.14);
}
.differential-glow {
  position: absolute;
  width: 320px; height: 320px;
  top: -190px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(217, 0, 255, 0.35), transparent 70%);
  pointer-events: none;
}

/* ---------- Faixa de autoridade ---------- */
.gold-strip {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.03), rgba(255, 215, 0, 0.08), rgba(255, 215, 0, 0.03));
  border: 1px solid rgba(255, 215, 0, 0.25);
}

/* ---------- CTA final ---------- */
.cta-panel {
  background:
    radial-gradient(ellipse 55% 70% at 50% 0%, rgba(0, 240, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 45% 60% at 80% 100%, rgba(217, 0, 255, 0.12), transparent 70%),
    rgba(8, 14, 32, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.28);
  box-shadow: 0 0 46px rgba(0, 240, 255, 0.10), 0 0 46px rgba(217, 0, 255, 0.08);
}
.cta-panel::before,
.cta-panel::after {
  content: '';
  position: absolute;
  width: 130px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}
.cta-panel::before { top: 18px; left: 18px; }
.cta-panel::after { bottom: 18px; right: 18px; transform: rotate(180deg); }
.rocket-icon {
  filter: drop-shadow(0 0 22px rgba(0, 240, 255, 0.45));
  animation: float 5s ease-in-out infinite;
}

/* ---------- Visual do hero ---------- */
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 1.8s ease-in-out infinite;
}
.visual-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 240, 255, 0.15);
}
.orbit-1 { inset: 2%; animation: spin 26s linear infinite; }
.orbit-2 { inset: 13%; border-color: rgba(217, 0, 255, 0.22); animation: spin 18s linear infinite reverse; }
.visual-core {
  filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.35));
  animation: float 6s ease-in-out infinite;
}
.float-chip {
  position: absolute;
  padding: 9px 14px;
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 10px;
  background: rgba(7, 13, 28, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.12);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}
.chip--top { top: 10%; left: -2%; }
.chip--right { top: 38%; right: -8%; animation-delay: -1.6s; }
.chip--bottom { bottom: 10%; left: 8%; animation-delay: -3s; }
.scroll-hint {
  width: 24px; height: 38px;
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 14px;
  place-items: start center;
  padding-top: 7px;
}
.scroll-hint span {
  width: 3px; height: 8px;
  border-radius: 2px;
  background: var(--cyan);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(13px); }
}

/* ---------- Entrada ao rolar ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 767px) {
  .circuit { width: 130px; opacity: 0.6; }
  .float-chip { font-size: 9px; padding: 7px 10px; }
  .chip--right { right: -2%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
