:root { --bg:#050A0F; --accent:#00D1FF; --muted:rgba(255,255,255,0.8); }
.hero-root { position:relative; min-height:100vh; display:flex; align-items:center; justify-content:center; overflow:hidden; background-color: #03060a; color:#fff; font-family:Inter,system-ui,Arial; }
.hero-video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.8; }
.hero-root::before { content: ""; position: absolute; inset: 0; background: rgba(5, 10, 15, 0.6); z-index: 1; pointer-events: none; }
.hero-webgl { z-index: 2; position: relative; }
.hero-content { position:relative; z-index:3; max-width:1100px; padding:48px; text-align:left; }
.hero-badge { display:inline-block; margin-bottom:12px; font-weight:800; color:rgba(255,255,255,0.85); letter-spacing: 2px; }
.hero-title { font-size:clamp(28px,4.5vw,56px); color:var(--accent); margin:0 0 12px; font-weight:900; letter-spacing:-0.02em; text-transform: uppercase; }

/* Animações Cinematográficas HTML para substituir Motion Graphics no Vídeo */
@keyframes cinematicGlow {
  0% { opacity: 0; transform: scale(0.95); text-shadow: 0 0 0 rgba(0, 209, 255, 0); }
  20% { opacity: 1; transform: scale(1); text-shadow: 0 0 20px rgba(0, 209, 255, 0.8), 0 0 40px rgba(0, 209, 255, 0.4); }
  80% { opacity: 1; transform: scale(1.02); text-shadow: 0 0 25px rgba(255, 138, 0, 0.8), 0 0 50px rgba(255, 138, 0, 0.4); }
  100% { opacity: 1; transform: scale(1.02); text-shadow: 0 0 20px rgba(0, 209, 255, 0.6); }
}

@keyframes cinematicFade {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.cinematic-glow {
  animation: cinematicGlow 8s infinite alternate ease-in-out;
  background: linear-gradient(90deg, #00D1FF, #FF8A00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cinematic-fade {
  animation: cinematicFade 2s ease-out forwards;
}
.hero-sub { color:var(--muted); margin:0 0 18px; font-size:clamp(14px,1.6vw,18px); }
.hero-actions { display:flex; gap:12px; margin-top:18px; }
.btn { padding:12px 18px; border-radius:10px; font-weight:700; cursor:pointer; border:none; }
.btn-primary { background:linear-gradient(90deg,#00D1FF,#FF8A00); color:#04111a; }
.btn-ghost { background:rgba(255,255,255,0.04); color:#fff; border:1px solid rgba(255,255,255,0.06); }
@media (max-width:720px) { .hero-content { padding:28px; text-align:center; } .hero-badge { display:block; } }

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: rgba(10, 15, 28, 0.95);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 32px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 30px rgba(0, 209, 255, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s;
  color: #fff;
  position: relative;
}
.modal-overlay.active .modal-box {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
}
.modal-close:hover {
  color: #fff;
}
.modal-title {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  text-align: center;
  text-transform: uppercase;
}
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  color: var(--muted);
}
.form-input {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  box-sizing: border-box;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
}
.modal-btn {
  width: 100%;
  margin-top: 10px;
}
.modal-links {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal-links a {
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
}
.modal-links a:hover {
  text-decoration: underline;
}
.error-msg {
  color: #ff4d4f;
  font-size: 12px;
  margin-top: 8px;
  text-align: center;
  min-height: 15px;
}
.success-msg {
  color: #52c41a;
  font-size: 12px;
  margin-top: 8px;
  text-align: center;
  min-height: 15px;
}
