:root {
    --green: #4ade80;
    --green-dark: #22c55e;
    --green-bright: #6aff6a;
    --black: #080b08;
    --black-soft: #0f150f;
    --black-card: #111811;
    --white: #ffffff;
    --gray: #9ca3af;
  }

  * { box-sizing: border-box; }

  body {
    font-family: 'Inter', sans-serif;
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
  }

  html { scroll-behavior: smooth; }

  @keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(74, 222, 128, 0.4); }
    50% { box-shadow: 0 0 40px rgba(74, 222, 128, 0.8), 0 0 60px rgba(74, 222, 128, 0.3); }
  }

  @keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
  }

  @keyframes glow-border {
    0%, 100% { border-color: rgba(74, 222, 128, 0.3); }
    50% { border-color: rgba(74, 222, 128, 0.8); }
  }

  @keyframes circuit {
    0% { opacity: 0.2; }
    50% { opacity: 0.6; }
    100% { opacity: 0.2; }
  }

  .btn-glow {
    animation: pulse-glow 2s infinite;
  }

  .shimmer-btn {
    position: relative;
    overflow: hidden;
  }

  .shimmer-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.25), transparent);
    animation: shimmer 2.5s infinite;
  }

  .float-card {
    animation: float 4s ease-in-out infinite;
  }

  .fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
  }

  .glow-card {
    animation: glow-border 3s infinite;
  }

  .circuit-bg {
    animation: circuit 4s ease-in-out infinite;
  }

  .hero-gradient {
    background: radial-gradient(ellipse at 20% 50%, rgba(34, 197, 94, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(74, 222, 128, 0.08) 0%, transparent 50%),
                linear-gradient(180deg, #080b08 0%, #0a110a 100%);
  }

  .section-dark {
    background: linear-gradient(180deg, #080b08 0%, #0c130c 100%);
  }

  .section-darker {
    background: linear-gradient(180deg, #050805 0%, #080b08 100%);
  }

  .card-glass {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 222, 128, 0.15);
  }

  .card-glass:hover {
    border-color: rgba(74, 222, 128, 0.5);
    background: rgba(74, 222, 128, 0.05);
    transform: translateY(-4px);
    transition: all 0.3s ease;
  }

  .text-green { color: #4ade80; }
  .bg-green { background-color: #22c55e; }
  .border-green { border-color: #4ade80; }

  .gradient-text {
    background: linear-gradient(135deg, #4ade80, #86efac, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .nav-link {
    color: #9ca3af;
    transition: color 0.2s;
    font-size: 0.875rem;
    font-weight: 500;
  }

  .nav-link:hover { color: #4ade80; }

  .glow-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80, 0 0 16px #4ade80;
  }

  .star-icon {
    color: #4ade80;
  }

  .section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.3), transparent);
  }

  /* Scrollbar */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: #080b08; }
  ::-webkit-scrollbar-thumb { background: #22c55e; border-radius: 2px; }

/* ── Botões: proteção global ── */
button,
input[type="button"],
input[type="submit"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    line-height: 1.2;
}

/* ── WhatsApp links: alinhamento ícone+texto em todas as resoluções ── */
a[href*="wa.me"],
a[href*="whatsapp.com"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    line-height: 1.2;
    text-decoration: none;
}


/* ── Navbar ≤ 767px: remove CTA/WhatsApp no mobile ── */
@media (max-width: 767px) {
    nav a[href*="wa.me"],
    nav a[href*="whatsapp.com"] {
        display: none !important;
    }
}

/* ========================================
   LÂMPADA NEON — ASCENDENDO E APAGANDO
   ======================================== */

@keyframes lamp-cycle {
  0%, 22%  { opacity: 0; }
  24%      { opacity: 0.5; }
  25%      { opacity: 0.1; }
  27%      { opacity: 0.9; }
  28%      { opacity: 0.2; }
  30%      { opacity: 1; }
  72%      { opacity: 1; }
  75%      { opacity: 0.55; }
  77%      { opacity: 1; }
  80%      { opacity: 0; }
  100%     { opacity: 0; }
}

@keyframes filament-heat {
  0%, 22%  { stroke: rgba(74,222,128,0.25); filter: none; }
  30%, 72% { stroke: #ffffff; filter: drop-shadow(0 0 3px #4ade80) drop-shadow(0 0 10px #22c55e); }
  80%, 100%{ stroke: rgba(74,222,128,0.25); filter: none; }
}

@keyframes lamp-ambient {
  0%, 22%  { opacity: 0; transform: translate(-50%,-50%) scale(0.15); }
  30%, 72% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  80%, 100%{ opacity: 0; transform: translate(-50%,-50%) scale(0.15); }
}

@keyframes ray-appear {
  0%, 28%, 82%, 100% { transform: scaleX(0); opacity: 0; }
  35%, 70%            { transform: scaleX(1); opacity: 1; }
}

@keyframes particle-rise {
  0%   { transform: translateY(0) scale(1); opacity: 0.9; }
  100% { transform: translateY(-110px) scale(0.2); opacity: 0; }
}

@keyframes float-product {
  0%, 100% { transform: translateY(0px); filter: drop-shadow(0 0 22px rgba(74,222,128,0.35)); }
  50%      { transform: translateY(-14px); filter: drop-shadow(0 0 38px rgba(74,222,128,0.6)); }
}

@keyframes energy-scan {
  0%   { left: -4%; }
  100% { left: 104%; }
}

@keyframes neon-border-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(74,222,128,0.15), inset 0 0 8px rgba(74,222,128,0.04); }
  50%      { box-shadow: 0 0 28px rgba(74,222,128,0.45), inset 0 0 18px rgba(74,222,128,0.1); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

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

/* --- Estrutura da Lâmpada --- */
.neon-lamp-wrap {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-68%);
  width: 88px;
  height: 172px;
  pointer-events: none;
  z-index: 5;
}

@media (max-width: 767px) {
  .neon-lamp-wrap {
    width: 50px;
    height: 98px;
    right: 2%;
    top: 6%;
    transform: none;
    opacity: 0.6;
  }
}

.lamp-ambient-orb {
  position: absolute;
  top: 38%;
  left: 50%;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,222,128,0.55) 0%, rgba(74,222,128,0.15) 45%, transparent 70%);
  animation: lamp-ambient 5.5s ease-in-out infinite;
  pointer-events: none;
}

.neon-lamp-svg .bulb-glow   { animation: lamp-cycle 5.5s ease-in-out infinite; }
.neon-lamp-svg .bulb-filament{ animation: filament-heat 5.5s ease-in-out infinite; }

/* Raios da lâmpada — cada .ray-arm gira, o .l-ray anima scaleX */
.lamp-rays-wrap {
  position: absolute;
  top: 38%;
  left: 50%;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.ray-arm {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
}

.l-ray {
  height: 2px;
  background: linear-gradient(to right, rgba(74,222,128,0.95), transparent);
  transform-origin: 0 center;
  border-radius: 2px;
  animation: ray-appear 5.5s ease-in-out infinite;
}

/* ========================================
   EFEITOS DE ENERGIA
   ======================================== */

.hero-energy-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.e-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80, 0 0 12px rgba(74,222,128,0.4);
  animation: particle-rise linear infinite;
}

.hero-scan-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, rgba(74,222,128,0.5), transparent);
  animation: energy-scan 6s ease-in-out infinite;
  pointer-events: none;
}

/* ========================================
   PRODUTO FLUTUANTE + LOGO GLOW
   ======================================== */

.product-float {
  animation: float-product 5s ease-in-out infinite;
}

.logo-glow {
  filter: drop-shadow(0 0 6px rgba(74,222,128,0.28));
  transition: filter 0.3s;
}
.logo-glow:hover {
  filter: drop-shadow(0 0 16px rgba(74,222,128,0.6));
}

/* ========================================
   GALERIA DO PRODUTO
   ======================================== */

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(74,222,128,0.15);
  background: rgba(6,11,6,0.85);
  transition: all 0.35s ease;
  cursor: pointer;
}

.gallery-item:hover {
  border-color: rgba(74,222,128,0.6);
  box-shadow: 0 10px 40px rgba(74,222,128,0.2), 0 0 60px rgba(74,222,128,0.08);
  transform: translateY(-8px) scale(1.01);
}

.gallery-item img {
  width: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.35s ease;
  display: block;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8px 12px;
  background: linear-gradient(to top, rgba(6,10,6,0.95), transparent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4ade80;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-label { transform: translateY(0); }

/* ========================================
   COMPARAÇÃO ANTES / DEPOIS
   ======================================== */

.compare-bad {
  background: rgba(185,28,28,0.08);
  border: 1px solid rgba(220,38,38,0.28);
  border-radius: 16px;
  padding: 20px;
}

.compare-good {
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: 16px;
  padding: 20px;
}

/* ========================================
   CARDS DE MERCADO / APLICAÇÕES
   ======================================== */

.market-card {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(74,222,128,0.12);
  transition: all 0.25s ease;
}
.market-card:hover {
  background: rgba(74,222,128,0.06);
  border-color: rgba(74,222,128,0.4);
  transform: translateY(-4px);
}

/* ========================================
   COMPONENTES ELETRÔNICOS
   ======================================== */

.tech-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(74,222,128,0.1);
  transition: all 0.2s;
}
.tech-item:hover {
  background: rgba(74,222,128,0.05);
  border-color: rgba(74,222,128,0.3);
}
.tech-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(74,222,128,0.2);
  border: 1px solid rgba(74,222,128,0.5);
  color: #4ade80;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ========================================
   FLUXO DE ENERGIA / INSTALAÇÃO
   ======================================== */

.energy-flow-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(8,11,8,0.85);
  border: 1px solid rgba(74,222,128,0.2);
  animation: neon-border-pulse 3s ease-in-out infinite;
  flex-wrap: wrap;
  justify-content: center;
}

.install-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  min-width: 70px;
}

.install-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.35);
}

.install-arrow {
  color: rgba(74,222,128,0.7);
  font-size: 22px;
  flex-shrink: 0;
  animation: float-slow 2s ease-in-out infinite;
}

/* neon pulse em ícones de diferencial */
.diff-icon-wrap {
  animation: spark-blink 4s ease-in-out infinite;
}