/* 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;
}

/* Cyberpunk Rotating Text Glitch Animation (Zero Pink - High-Tech Cyan, Electric Blue & Mint) */
@keyframes cyberTextGlitch {
  0% {
    text-shadow: -2.5px 0 0 #00f0ff, 2.5px 0 0 #2563eb;
    transform: translate(0, 0) skewX(0deg);
  }
  16% {
    text-shadow: 3px -1px 0 #00f0ff, -3px 1px 0 #10b981;
    transform: translate(-3px, 1px) skewX(-2deg);
  }
  33% {
    text-shadow: -3px 1.5px 0 #38bdf8, 3px -1.5px 0 #06b6d4;
    transform: translate(3px, -1px) skewX(2.5deg);
  }
  50% {
    text-shadow: 3.5px 0 0 #22d3ee, -3.5px 0 0 #2563eb;
    transform: translate(-2px, 0) skewX(-1.5deg);
  }
  66% {
    text-shadow: -3px -1px 0 #00ff9d, 3px 1px 0 #00f0ff;
    transform: translate(3px, 1.5px) skewX(2deg);
  }
  83% {
    text-shadow: 2.5px 1px 0 #38bdf8, -2.5px -1px 0 #1d4ed8;
    transform: translate(-1px, -1px) skewX(-1deg);
  }
  100% {
    text-shadow: -2.5px 0 0 #00f0ff, 2.5px 0 0 #2563eb;
    transform: translate(0, 0) skewX(0deg);
  }
}

.cyber-glitching {
  animation: cyberTextGlitch 0.12s infinite linear;
  filter: brightness(1.3) drop-shadow(0 0 10px rgba(6, 182, 212, 0.7));
}

.cyber-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background-color: #22d3ee;
  box-shadow: 0 0 12px #22d3ee;
  vertical-align: -0.05em;
  margin-left: 6px;
  animation: cyberCursorBlink 0.8s infinite;
}

@keyframes cyberCursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}




/* Clean Translucent Cyber Card Background (Zero Blur, Smooth Lowered Opacity) */
.cyber-card-bg {
  background: linear-gradient(180deg, rgba(16, 16, 20, 0.58) 0%, rgba(10, 10, 14, 0.68) 50%, rgba(5, 5, 8, 0.78) 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Unselected Tab Button */
.cyber-tab-btn-unselected {
  background: linear-gradient(180deg, rgba(20, 20, 25, 0.55) 0%, rgba(10, 10, 14, 0.68) 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
