/* Enhanced Landing Page Styles for Vigthoria Operator
 * This file provides additional visual enhancements and fixes for the landing page
 */

/* Enhanced Hero Section Animation */
.hero-section {
  position: relative;
  overflow: hidden;
}

/* Keep and enhance the existing animation that you love */
.glowing-orb {
  animation: pulse-glow 6s infinite alternate, color-shift 12s infinite;
  position: relative;
}

.floating-elements {
  animation: slow-rotation 60s linear infinite;
}

.floating-element {
  box-shadow: 0 0 25px rgba(0, 150, 255, 0.4);
  background: linear-gradient(135deg, rgba(0, 150, 255, 0.2), rgba(123, 0, 255, 0.2));
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.92);
    box-shadow: 0 0 50px var(--primary-color), 0 0 80px rgba(0, 240, 255, 0.3);
  }
  50% {
    transform: scale(1.0);
    box-shadow: 0 0 80px var(--primary-color), 0 0 120px rgba(0, 240, 255, 0.5);
  }
  100% {
    transform: scale(1.08);
    box-shadow: 0 0 100px var(--primary-color), 0 0 150px rgba(0, 240, 255, 0.6);
  }
}

@keyframes color-shift {
  0% {
    background: radial-gradient(circle, var(--primary-accent) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
  }
  50% {
    background: radial-gradient(circle, var(--secondary-color) 0%, var(--primary-accent) 50%, var(--primary-color) 100%);
  }
  100% {
    background: radial-gradient(circle, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-accent) 100%);
  }
}

@keyframes slow-rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Add interactive data streams to hero section */
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(90deg, transparent 99%, rgba(0, 150, 255, 0.1) 100%),
    linear-gradient(0deg, transparent 99%, rgba(0, 150, 255, 0.1) 100%);
  background-size: 40px 40px;
  animation: grid-animation 15s linear infinite;
  opacity: 0.3;
  z-index: 0;
}

.hero-content, .hero-image {
  position: relative;
  z-index: 2;
}

@keyframes grid-animation {
  0% {
    transform: rotate(0deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1.2);
  }
}

/* Add pulsing code streams in the background */
.code-stream {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(0, 240, 255, 0.15);
  font-size: 12px;
  white-space: pre;
  line-height: 1.2;
  user-select: none;
  z-index: 1;
  overflow: hidden;
  width: 300px;
}

.code-stream-1 {
  top: 20%;
  left: 5%;
  transform: rotate(-15deg);
  animation: stream-animation 60s linear infinite;
}

.code-stream-2 {
  bottom: 25%;
  right: 8%;
  transform: rotate(15deg);
  animation: stream-animation-reverse 50s linear infinite;
}

@keyframes stream-animation {
  0% {
    transform: translateY(-100%) rotate(-15deg);
  }
  100% {
    transform: translateY(1000%) rotate(-15deg);
  }
}

@keyframes stream-animation-reverse {
  0% {
    transform: translateY(1000%) rotate(15deg);
  }
  100% {
    transform: translateY(-100%) rotate(15deg);
  }
}

/* Enhanced feature cards with interactive elements */
.feature-card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              box-shadow 0.4s ease, 
              border-color 0.4s ease;
  background: rgba(10, 20, 40, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  position: relative;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 229, 255, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  transform: scale(0.5);
  z-index: 0;
}

.feature-card:hover::after {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s ease, transform 1s ease;
}

.feature-card .feature-icon {
  position: relative;
  transition: transform 0.4s ease, color 0.4s ease, text-shadow 0.4s ease;
  z-index: 1;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15);
  color: #00f0ff;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.8);
}

.feature-card h3, .feature-card p {
  position: relative;
  z-index: 1;
}

/* Enhanced showcase with 3D effect */
.showcase-image {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.showcase-image::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(123, 0, 255, 0.2));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.showcase-item:hover .showcase-image {
  transform: translateY(-10px) rotate(5deg);
}

.showcase-item:hover .showcase-image::before {
  opacity: 1;
}

.showcase-icon {
  transition: transform 0.5s ease;
}

.showcase-item:hover .showcase-icon {
  transform: scale(1.2);
}

/* Enhance the pulse effect */
.pulse-ring {
  box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.5);
  animation: pulse-ring 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.5);
  }
  
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 20px rgba(0, 229, 255, 0);
  }
  
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
  }
}

/* Add cyberpunk circuit patterns to feature section */
.features-section {
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/static/img/circuit-pattern.png');
  background-repeat: repeat;
  opacity: 0.05;
  pointer-events: none;
}

/* Enhance Next Generation AI Orchestration section */
.hero-content h1 {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.hero-content h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
  animation: line-animation 3s infinite;
}

@keyframes line-animation {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Enhanced for better compatibility with various browsers */
.hero-section, .features-section, .pricing-section, .about-section {
  overflow: visible;
}

/* Font Awesome fallback mechanism */
i.fas, i.fab, i.fa {
  position: relative;
}

i.fas::before, i.fab::before, i.fa::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.5em;
}