/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-bg: #07080e;
  --color-card-bg: rgba(10, 12, 22, 0.45);
  --color-border: rgba(255, 255, 255, 0.05);
  --color-neon-blue: #00f0ff;
  --color-neon-purple: #8b5cf6;
  --color-neon-cyan: #06b6d4;
  --color-neon-pink: #ec4899;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: #f8fafc;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #07080e;
}
::-webkit-scrollbar-thumb {
  background: #181c2d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2a314f;
  border-color: var(--color-neon-blue);
  border-width: 1px;
}

/* Glassmorphism base styling */
.glass {
  background: rgba(10, 12, 22, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}

.glass-premium {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.glass-glow-blue:hover {
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.08);
  transform: translateY(-2.5px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-glow-purple:hover {
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.1);
  transform: translateY(-2.5px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mouse-tracking border glow card effect (Multicolorido) */
.glow-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.glow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: radial-gradient(
    400px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(var(--glow-color, 0, 240, 255), 0.28),
    transparent 50%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.glow-card:hover::before {
  opacity: 1;
}

.glow-card-blue:hover {
  border-color: rgba(0, 240, 255, 0.22) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 240, 255, 0.08);
}
.glow-card-purple:hover {
  border-color: rgba(139, 92, 246, 0.22) !important;
  box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.08);
}
.glow-card-cyan:hover {
  border-color: rgba(6, 182, 212, 0.22) !important;
  box-shadow: 0 10px 30px -10px rgba(6, 182, 212, 0.08);
}
.glow-card-pink:hover {
  border-color: rgba(236, 72, 153, 0.22) !important;
  box-shadow: 0 10px 30px -10px rgba(236, 72, 153, 0.08);
}

/* Efeito Premium de Feixe de Luz Orbital (Border Beam) */
.border-beam-container {
  position: relative;
  border-radius: 16px;
  background: rgba(10, 12, 22, 0.45);
  z-index: 1;
}

.border-beam-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1.2px;
  background: linear-gradient(135deg, var(--color-neon-blue), transparent 40%, var(--color-neon-purple), transparent 70%, var(--color-neon-blue));
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  animation: borderBeamMove 6s linear infinite;
}

@keyframes borderBeamMove {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

/* Forçar visualização premium e brilhante dos ícones no grid de benefícios */
.glow-card svg, .glow-card [data-lucide] {
  filter: drop-shadow(0 0 6px currentColor);
  stroke-width: 2.2px;
}

/* Background Grids and Blurs */
.tech-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
}

.tech-grid-dots {
  background-size: 24px 24px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.radial-bg {
  background: radial-gradient(circle at 50% 50%, rgba(11, 19, 41, 0.8) 0%, rgba(3, 7, 18, 1) 100%);
}

/* Glow Elements */
.glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
  mix-blend-mode: screen;
  animation: floatOrb 20s infinite alternate;
}

.glow-blue {
  background: radial-gradient(circle, var(--color-neon-blue) 0%, transparent 70%);
}

.glow-purple {
  background: radial-gradient(circle, var(--color-neon-purple) 0%, transparent 70%);
}

.glow-cyan {
  background: radial-gradient(circle, var(--color-neon-cyan) 0%, transparent 70%);
}

/* Animations */
@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(80px, 50px) scale(1.2);
  }
}

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

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

/* Text Gradients */
.text-gradient-cyan {
  background: linear-gradient(135deg, #00f0ff 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-neon {
  background: linear-gradient(135deg, #00f0ff 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: textFlow 6s linear infinite;
}

@keyframes textFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Timeline Custom Styles */
.timeline-line {
  background: linear-gradient(to bottom, var(--color-neon-blue) 0%, var(--color-neon-purple) 50%, transparent 100%);
}

.timeline-dot-active {
  box-shadow: 0 0 15px var(--color-neon-blue);
  border-color: var(--color-neon-blue);
  background-color: #030712;
}

/* Buttons */
.btn-neon {
  position: relative;
  background: #ffffff;
  color: #07080e;
  font-weight: 600;
  letter-spacing: -0.1px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
  border: 1.5px solid #ffffff;
}

.btn-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
}

.btn-secondary-neon {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-weight: 600;
  letter-spacing: -0.1px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary-neon:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* Particle Canvas Wrapper */
#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Splash Page Simulator specific styles */
.simulator-mobile-screen {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.mobile-notch {
  width: 120px;
  height: 25px;
  background: #000;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
}

/* Dashboard Mockup Styles */
.dashboard-widget {
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.dashboard-widget:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.25);
}

.pulsing-dot {
  position: relative;
}

.pulsing-dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: inherit;
  border-radius: 50%;
  animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.33); opacity: 1; }
  80%, 100% { transform: scale(2.2); opacity: 0; }
}

/* Modal and Overlays */
.modal-overlay {
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
}

/* Active Navigation Highlight */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-neon-blue), var(--color-neon-purple));
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}
