/* InnovateFlow KZ - Cyberpunk Neon Theme */

/* Base styles */
html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #fff;
  font-family: "Inter", sans-serif;
}

/* Neon color palette */
:root {
  --neon-pink: #ff3cac;
  --neon-purple: #7b2eff;
  --neon-cyan: #29e0ff;
  --glass-bg: rgba(0, 0, 0, 0.3);
  --glass-border: rgba(255, 255, 255, 0.1);
}

/* Scanline overlay */
.scanlines {
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.03) 2px,
    rgba(255, 255, 255, 0.03) 4px
  );
  pointer-events: none;
}

/* Neon border effects */
.neon-border-pink {
  border: 2px solid var(--neon-pink);
  box-shadow: 0 0 10px var(--neon-pink), inset 0 0 10px rgba(255, 60, 172, 0.1);
}

.neon-border-purple {
  border: 2px solid var(--neon-purple);
  box-shadow: 0 0 10px var(--neon-purple), inset 0 0 10px rgba(123, 46, 255, 0.1);
}

.neon-border-cyan {
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan), inset 0 0 10px rgba(41, 224, 255, 0.1);
}

/* Glass panel effect */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

/* Glossy effect */
.glossy {
  position: relative;
  overflow: hidden;
}

.glossy::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: rotate(45deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glossy:hover::before {
  opacity: 1;
}

/* Neon text glow */
.neon-text {
  text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor;
}

/* Glitch effect for hero title */
.glitch-text {
  position: relative;
}

.glitch-text.glitch-active::before,
.glitch-text.glitch-active::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-text.glitch-active::before {
  animation: glitch-1 0.5s infinite;
  color: var(--neon-pink);
  z-index: -1;
}

.glitch-text.glitch-active::after {
  animation: glitch-2 0.5s infinite;
  color: var(--neon-cyan);
  z-index: -2;
}

@keyframes glitch-1 {
  0%,
  14%,
  15%,
  49%,
  50%,
  99%,
  100% {
    transform: translate(0);
  }
  15%,
  49% {
    transform: translate(-2px, 2px);
  }
}

@keyframes glitch-2 {
  0%,
  20%,
  21%,
  62%,
  63%,
  99%,
  100% {
    transform: translate(0);
  }
  21%,
  62% {
    transform: translate(2px, -2px);
  }
}

/* Navigation link effects */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Form input neon effects */
.neon-input {
  transition: all 0.3s ease;
}

.neon-input:focus {
  box-shadow: 0 0 10px var(--neon-pink), inset 0 0 10px rgba(255, 60, 172, 0.1);
  border-color: var(--neon-pink);
}

/* Step cards animation */
.step-card {
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-10px) scale(1.05);
}

/* FAQ accordion */
.faq-item.active .neon-border-pink,
.faq-item.active .neon-border-purple,
.faq-item.active .neon-border-cyan {
  box-shadow: 0 0 20px currentColor, inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-content.active {
  max-height: 200px;
}

/* Scroll reveal animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile menu animation */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobileMenu.active {
  max-height: 400px;
}

/* Cookie notice animation */
.cookie-notice-show {
  transform: translateY(0) !important;
}

/* Loading animation */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--neon-pink);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Pulse animation for decorative elements */
@keyframes pulse-neon {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.animate-pulse {
  animation: pulse-neon 2s infinite;
}

/* Hover effects for cards */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-pink), var(--neon-cyan));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
}

/* Focus styles for accessibility */
.focus-visible:focus {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
}

/* Responsive design */
@media (max-width: 768px) {
  .glitch-text {
    font-size: 2rem;
  }

  .step-card:hover {
    transform: translateY(-5px) scale(1.02);
  }

  .glass-panel {
    backdrop-filter: blur(5px);
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .neon-border-pink,
  .neon-border-purple,
  .neon-border-cyan {
    border-width: 3px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scanlines {
    display: none;
  }
}

/* Print styles */
@media print {
  .scanlines,
  .neon-border-pink,
  .neon-border-purple,
  .neon-border-cyan,
  .glass-panel {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }
}
