/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800;900&family=Rajdhani:wght@500;600;700&family=Syne:wght@700;800&display=swap');

:root {
  --font-sans: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Syne', sans-serif;
  --font-cyber: 'Orbitron', monospace, sans-serif;
  --cyan-glow: rgba(6, 182, 212, 0.45);
  --cyan-neon: #22d3ee;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  color-scheme: dark;
  -webkit-tap-highlight-color: transparent;
}

* {
  -webkit-tap-highlight-color: transparent;
}

a, button, [role="button"], input, select, textarea {
  touch-action: manipulation;
}

body {
  font-family: var(--font-sans);
  background-color: #000000;
  color: #ffffff;
  overflow-x: hidden;
  overflow-x: clip;
  margin: 0;
  padding: 0;
}

/* Global Sticky Header across all screen sizes */
header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}

::selection {
  background-color: #06b6d4;
  color: #000000;
}

/* Typography Utility Classes */
.font-display {
  font-family: 'Syne', sans-serif;
}
.font-cyber {
  font-family: 'Orbitron', monospace, sans-serif;
}
.font-tech {
  font-family: 'Rajdhani', sans-serif;
}

/* Cyber Clips */
.cyber-clip {
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.cyber-clip-sm {
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.cyber-clip-badge {
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

/* Cyber Grid & Background Patterns */
.cyber-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(6, 182, 212, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(6, 182, 212, 0.07) 1px, transparent 1px);
}

/* Neon Glows & Shadows */
.neon-glow-cyan {
  box-shadow: 0 0 25px -4px rgba(6, 182, 212, 0.45), 0 0 10px -2px rgba(6, 182, 212, 0.3);
}

.neon-glow-cyan-strong {
  box-shadow: 0 0 35px 0px rgba(6, 182, 212, 0.65), inset 0 0 15px rgba(6, 182, 212, 0.25);
}

.neon-text-cyan {
  text-shadow: 0 0 12px rgba(6, 182, 212, 0.8), 0 0 24px rgba(6, 182, 212, 0.4);
}

.neon-border-cyan {
  border-color: rgba(6, 182, 212, 0.6);
  box-shadow: 0 0 15px -2px rgba(6, 182, 212, 0.3);
}

/* Custom Keyframe Animations */
@keyframes scanline {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(1000%);
  }
}

.animate-scanline {
  animation: scanline 7s linear infinite;
}

@keyframes pulse-cyan {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.02);
  }
}

.animate-pulse-cyan {
  animation: pulse-cyan 3.5s ease-in-out infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.25s ease-out forwards;
}

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

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #082f49;
  border-radius: 4px;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: #06b6d4;
  box-shadow: 0 0 10px #06b6d4;
}

/* Testimonial Curved Cards Transitions */
.testimonial-card-transition {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mobile Testimonials (Clean, Non-sticky, Natural Flow) */
@media (max-width: 639px) {
  #testimonios {
    height: auto !important;
    min-height: auto !important;
  }
  #testimonials-stage {
    position: relative !important;
    top: auto !important;
    min-height: auto !important;
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
  }
  #testimonials-cards-deck {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 !important;
    min-height: 360px !important;
  }
}

/* Cyberpunk WhatsApp Floating Button */
@keyframes pulse-emerald {
  0%, 100% {
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.4), inset 0 0 8px rgba(16, 185, 129, 0.15);
  }
  50% {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.75), inset 0 0 14px rgba(16, 185, 129, 0.3);
  }
}

.animate-pulse-emerald {
  animation: pulse-emerald 2.8s ease-in-out infinite;
}
