@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary: #00F2FF;
  --primary-glow: rgba(0, 242, 255, 0.5);
  --secondary: #B026FF;
  --accent: #22C55E;
  --bg-deep: #060212;
  --bg-card: rgba(16, 12, 42, 0.7);
  --border-cyan: rgba(0, 242, 255, 0.2);
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: #E2E8F0;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-title {
  font-family: var(--font-title);
  letter-spacing: -0.02em;
}

/* Glassmorphism */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-cyan);
}

.glass-nav {
  background: rgba(6, 2, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-cyan);
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float-delayed {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(20px) rotate(-1.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float-fast {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) scale(1.05); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 8s ease-in-out infinite 1s;
}

.animate-float-fast {
  animation: float-fast 5s ease-in-out infinite 0.5s;
}

.device-showcase img {
  will-change: transform;
  filter: drop-shadow(0 25px 35px rgba(0,0,0,0.5));
}

.mask-device {
  /* Máscara para "recortar" o objeto e remover os cantos pretos da imagem */
  mask-image: radial-gradient(circle, black 65%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, black 65%, transparent 100%);
  mix-blend-mode: screen; /* Reforço para tons escuros sumirem */
}

.glow-hover:hover {
  box-shadow: 0 0 30px var(--primary-glow);
  border-color: var(--primary);
  transform: translateY(-5px);
}

.btn-futuristic {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(90deg, #00F2FF, #00A3FF);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.btn-futuristic::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.6s ease-out;
}

.btn-futuristic:hover::after {
  transform: scale(1);
}

.btn-futuristic:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 0 25px var(--primary-glow);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Cyber Border */
.cyber-border {
  position: relative;
  border-radius: 1rem;
  background: var(--bg-card);
  overflow: hidden;
}

.cyber-border::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, var(--primary), transparent, var(--secondary), transparent, var(--primary));
  background-size: 400%;
  z-index: -1;
  animation: border-beam 4s linear infinite;
  border-radius: 1rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--bg-deep), var(--primary), var(--bg-deep));
  border-radius: 10px;
}

/* Ticker Animation */
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-wrapper {
  display: inline-block;
  animation: ticker 30s linear infinite;
}

.ticker-wrapper:hover {
  animation-play-state: paused;
}

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

.animate-bounce-slow {
  animation: bounce-slow 3s ease-in-out infinite;
}

#whatsapp-float:hover .relative {
  transform: scale(1.1);
  background-color: #128C7E; /* Tom de verde mais escuro do Whats ao hover */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .text-huge {
    font-size: 2.5rem;
    line-height: 1.1;
  }
  nav {
    top: 0 !important;
  }
  .ticker-wrapper {
    animation-duration: 20s;
  }
  #whatsapp-float {
    bottom: 4rem;
    right: 1.5rem;
  }
}
