/* SlingShot Pro - Custom Styles, Futuristic Cyberpunk Themes & Animations */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  width: 100%;
  background-color: #06060a;
  scroll-behavior: auto; /* Handled smoothly by LERP & native scrubbing */
}

body {
  min-height: 100%;
  width: 100%;
  background-color: #06060a;
  color: #e2e8f0;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Canvas Layer */
#canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 1;
  pointer-events: none;
}

.canvas-vignette {
  display: none !important;
}

.scroller-fade-top {
  display: none !important;
}

.scroller-fade-bottom {
  display: none !important;
}

#page-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Cyber Grid */
.bg-cyber-grid {
  background-size: 50px 50px;
}

/* Transparent Panels with Neon Framing */
.glass-panel {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(0, 240, 255, 0.22);
}

.glass-panel-deep {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(0, 240, 255, 0.35);
}

/* Enhanced Text Legibility Directly Over Scroller Background */
h1, h2, h3, h4, h5, h6 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 3px rgba(0, 0, 0, 1);
}

p, span, li, a, button, label {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 1);
}

/* Neon Glows & Borders */
.neon-text {
  text-shadow: 0 0 5px #00f0ff, 0 0 10px #00f0ff, 0 0 20px #00f0ff;
}

.neon-border {
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.35), inset 0 0 8px rgba(0, 240, 255, 0.15);
  border: 1px solid #00f0ff;
}

.hover-neon {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-neon:hover {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.8), inset 0 0 12px rgba(0, 240, 255, 0.3);
  text-shadow: 0 0 8px #00f0ff;
}

/* Navigation Links Hover Effects */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #00f0ff;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

/* Cyber Card Hover Micro-Interactions */
.cyber-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.cyber-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.1), transparent);
  transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cyber-card:hover::before {
  left: 120%;
}

.cyber-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px -8px rgba(0, 240, 255, 0.35);
  border-color: rgba(0, 240, 255, 0.7) !important;
}

.icon-glow {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.cyber-card:hover .icon-glow {
  transform: scale(1.12) rotate(6deg);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
  border-color: #00f0ff;
}

/* Primary Button Hover Sweep */
.btn-cyber-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cyber-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
}

/* Image Hover Zoom & Cyber Tint */
.img-cyber {
  position: relative;
  overflow: hidden;
}

.img-cyber img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.img-cyber:hover img {
  transform: scale(1.08);
  filter: brightness(1.1) contrast(1.1);
}

/* FAQ Hover */
.faq-item {
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

/* Glitch Animation */
.glitch-wrapper {
  position: relative;
}

.glitch {
  position: relative;
  z-index: 1;
}

.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.glitch::before {
  left: 2px;
  text-shadow: -1px 0 #ff00c1;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -1px 0 #00fff9;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(4px, 9999px, 86px, 0); }
  5% { clip: rect(69px, 9999px, 7px, 0); }
  10% { clip: rect(100px, 9999px, 51px, 0); }
  15% { clip: rect(74px, 9999px, 93px, 0); }
  20% { clip: rect(21px, 9999px, 78px, 0); }
  25% { clip: rect(82px, 9999px, 32px, 0); }
  30% { clip: rect(23px, 9999px, 39px, 0); }
  100% { clip: rect(10px, 9999px, 90px, 0); }
}

@keyframes glitch-anim2 {
  0% { clip: rect(84px, 9999px, 12px, 0); }
  5% { clip: rect(2px, 9999px, 98px, 0); }
  10% { clip: rect(50px, 9999px, 20px, 0); }
  15% { clip: rect(30px, 9999px, 75px, 0); }
  20% { clip: rect(95px, 9999px, 15px, 0); }
  25% { clip: rect(10px, 9999px, 40px, 0); }
  30% { clip: rect(60px, 9999px, 85px, 0); }
  100% { clip: rect(35px, 9999px, 60px, 0); }
}

/* Subtle, modern cyan scrollbar */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 10, 15, 0.9);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.35);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 240, 255, 0.75);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.8);
}
