/* ZurdAI - Ultra-Modern CSS Stylesheet */
/* Next-Generation AI Agency Website Styles */

/* ============================================================================
   PERFORMANCE CRITICAL FIXES
   ============================================================================ */

/* Prevent layout shifts */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* GPU acceleration for smooth animations */
.group {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Fixed dimensions to prevent CLS */
nav {
  height: 80px;
  min-height: 80px;
}

#home {
  padding-top: 80px;
}

/* Optimize fonts to prevent FOIT - Using system fonts for better performance */
body {
  font-family: system-ui, -apple-system, 'Segoe UI', 'Roboto', sans-serif;
  font-display: swap;
}

/* ============================================================================
   LIGHT MODE STYLES - COMPREHENSIVE
   ============================================================================ */

/* Light Mode Theme */
body.light-mode {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  color: #1f2937 !important;
}

/* Light Mode Navigation */
body.light-mode nav {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(20px);
}

body.light-mode nav .text-white {
  color: #1f2937 !important;
}

body.light-mode nav .text-gray-300 {
  color: #6b7280 !important;
}

body.light-mode nav .hover\\:text-white:hover {
  color: #1f2937 !important;
}

body.light-mode nav .bg-black {
  background: #f3f4f6 !important;
  border-color: #d1d5db !important;
}

/* Light Mode Sections */
body.light-mode section.bg-black {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
}

body.light-mode section.bg-gray-900 {
  background: #f8fafc !important;
}

body.light-mode section.bg-gray-950 {
  background: #ffffff !important;
}

/* Light Mode Text Colors */
body.light-mode .text-white {
  color: #1f2937 !important;
}

body.light-mode .text-gray-400 {
  color: #6b7280 !important;
}

body.light-mode .text-gray-300 {
  color: #9ca3af !important;
}

body.light-mode .text-gray-500 {
  color: #9ca3af !important;
}

body.light-mode .text-gray-100 {
  color: #374151 !important;
}

/* Light Mode Cards and Backgrounds */
body.light-mode [class*="bg-gray-900/50"],
body.light-mode [class*="bg-gray-800/50"] {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode [class*="border-gray-800"],
body.light-mode [class*="border-gray-700"] {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Light Mode Buttons and Controls */
body.light-mode .bg-gray-800 {
  background: #f3f4f6 !important;
  color: #1f2937 !important;
  border-color: #d1d5db !important;
}

body.light-mode [class*="bg-gray-800"][class*="/50"] {
  background: rgba(243, 244, 246, 0.8) !important;
  border-color: rgba(209, 213, 219, 0.8) !important;
}

body.light-mode .border-gray-700 {
  border-color: #d1d5db !important;
}

body.light-mode .border-gray-600 {
  border-color: #d1d5db !important;
}

/* Light Mode Mobile Menu */
body.light-mode #mobileMenu {
  background: rgba(255, 255, 255, 0.98) !important;
}

body.light-mode #mobileMenu .bg-gray-900 {
  background: #f9fafb !important;
}

body.light-mode #mobileMenu [class*="bg-gray-800"][class*="/90"] {
  background: rgba(249, 250, 251, 0.95) !important;
}

body.light-mode #mobileMenu .bg-gray-700 {
  background: #e5e7eb !important;
}

body.light-mode #mobileMenu .border-gray-800 {
  border-color: #d1d5db !important;
}

body.light-mode #mobileMenu .border-gray-600 {
  border-color: #d1d5db !important;
}

/* Light Mode Hero Section */
body.light-mode #home {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
}

body.light-mode [class*="bg-white"][class*="/5"] {
  background: rgba(0, 0, 0, 0.02) !important;
}

/* Light Mode Service Cards */
body.light-mode .group:hover [class*="border-cyan-400"],
body.light-mode .group:hover [class*="border-purple-500"],
body.light-mode .group:hover [class*="border-pink-500"] {
  border-color: rgba(59, 130, 246, 0.3) !important;
}

/* Light Mode Footer */
body.light-mode footer {
  background: #1f2937 !important;
  color: #f9fafb !important;
}

body.light-mode footer .text-gray-400 {
  color: #9ca3af !important;
}

body.light-mode footer .text-gray-500 {
  color: #6b7280 !important;
}

/* Light Mode Border Effects */
body.light-mode [class*="border-gray-800"][class*="/50"] {
  border-color: rgba(0, 0, 0, 0.05) !important;
}

/* Light Mode Background Glows */
body.light-mode [class*="bg-cyan-400/"],
body.light-mode [class*="bg-purple-500/"],
body.light-mode [class*="bg-pink-500/"] {
  opacity: 0.3 !important;
}

/* Light Mode Share Modal */
body.light-mode #shareModal {
  background: rgba(255, 255, 255, 0.8) !important;
}

body.light-mode #shareModalContent {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
}

/* Light Mode Input Fields */
body.light-mode input[type="text"] {
  background: #f9fafb !important;
  color: #1f2937 !important;
  border-color: #d1d5db !important;
}

/* Light Mode Section Dividers */
body.light-mode .absolute.top-0.left-0.w-full.h-px {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent) !important;
}

/* Additional Light Mode Elements */
body.light-mode [class*="bg-black"][class*="/80"] {
  background: rgba(255, 255, 255, 0.95) !important;
}

body.light-mode .backdrop-blur-lg {
  backdrop-filter: blur(16px) !important;
}

/* Light Mode Scroll to Top Button */
body.light-mode #scrollToTop {
  background: linear-gradient(45deg, #3b82f6, #8b5cf6) !important;
}

/* Light Mode Stats Cards */
body.light-mode [class*="bg-white"][class*="/5"] {
  background: rgba(0, 0, 0, 0.03) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Light Mode Technology Badges */
body.light-mode [class*="bg-cyan-400"][class*="/10"] {
  background: rgba(6, 182, 212, 0.1) !important;
  border-color: rgba(6, 182, 212, 0.2) !important;
}

body.light-mode [class*="bg-blue-500"][class*="/10"] {
  background: rgba(59, 130, 246, 0.1) !important;
  border-color: rgba(59, 130, 246, 0.2) !important;
}

body.light-mode [class*="bg-purple-500"][class*="/10"] {
  background: rgba(139, 92, 246, 0.1) !important;
  border-color: rgba(139, 92, 246, 0.2) !important;
}

/* Light Mode AI Agent Styles */
body.light-mode .ai-agent-swarm {
  opacity: 0.8 !important;
}

/* Light Mode Gradient Text Fallback */
body.light-mode .text-transparent.bg-clip-text {
  background: linear-gradient(45deg, #1f2937, #4b5563) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

/* Light Mode Performance Optimization */
body.light-mode * {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}

/* ============================================================================
   ACCESSIBILITY IMPROVEMENTS - CONTRAST FIXES
   ============================================================================ */

/* Enhanced contrast for better readability */
body.light-mode .text-gray-400 {
  color: #4b5563 !important; /* Darker for better contrast */
}

body.light-mode .text-gray-300 {
  color: #6b7280 !important; /* Darker for better contrast */
}

body.light-mode .text-gray-500 {
  color: #6b7280 !important; /* Darker for better contrast */
}

/* Dark mode contrast improvements */
body:not(.light-mode) .text-gray-500 {
  color: #9ca3af !important; /* Lighter for better contrast */
}

body:not(.light-mode) .text-gray-400 {
  color: #d1d5db !important; /* Lighter for better contrast */
}

/* Focus states for better accessibility */
button:focus,
a:focus,
input:focus {
  outline: 2px solid #3b82f6 !important;
  outline-offset: 2px !important;
}

/* High contrast borders */
body.light-mode [class*="border-gray"] {
  border-color: rgba(0, 0, 0, 0.15) !important;
}

/* Additional Critical Light Mode Elements */
body.light-mode .bg-gray-950 {
  background: #f8fafc !important;
}

body.light-mode .text-gray-100 {
  color: #1f2937 !important;
}

body.light-mode .bg-gray-700 {
  background: #e5e7eb !important;
  color: #1f2937 !important;
}

body.light-mode [class*="hover:bg-gray-700"]:hover {
  background: rgba(229, 231, 235, 0.7) !important;
}

body.light-mode .hover\\:bg-gray-800:hover {
  background: #f3f4f6 !important;
}

body.light-mode .hover\\:border-gray-600:hover {
  border-color: #d1d5db !important;
}

body.light-mode .hover\\:border-gray-500:hover {
  border-color: #9ca3af !important;
}

body.light-mode .border-l {
  border-left-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .border-b {
  border-bottom-color: rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02) !important;
}

/* Light Mode Technology Badge Colors */
body.light-mode .text-cyan-400 {
  color: #0891b2 !important;
}

body.light-mode .text-purple-400 {
  color: #a855f7 !important;
}

body.light-mode .text-pink-400 {
  color: #ec4899 !important;
}

body.light-mode .text-blue-400 {
  color: #3b82f6 !important;
}

body.light-mode .text-green-400 {
  color: #10b981 !important;
}

body.light-mode .text-red-400 {
  color: #ef4444 !important;
}

body.light-mode .text-orange-400 {
  color: #f97316 !important;
}

body.light-mode .text-amber-400 {
  color: #f59e0b !important;
}

/* Light Mode Hover States for Navigation */
body.light-mode nav .hover\\:text-white:hover {
  color: #1f2937 !important;
}

body.light-mode .mobile-nav-link:hover {
  background: #f3f4f6 !important;
  color: #1f2937 !important;
}

/* ============================================================================
   CUSTOM BACKGROUND COLORS & SECTION SEPARATORS
   ============================================================================ */

/* Custom Background Color for Better Section Separation */
.bg-gray-850 {
  background-color: #1a1a1a !important;
}

/* Section Dividers */
.section-divider {
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.3), transparent);
  height: 1px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Enhanced Section Separation */
section {
  position: relative;
  z-index: 1;
}

/* Add subtle shadow between sections */
section:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  z-index: 2;
}

/* Different section backgrounds for better visual separation */
section:nth-child(odd) {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

section:nth-child(even) {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.01);
}

/* ============================================================================
   CUSTOM ANIMATIONS FOR COACHING SECTION
   ============================================================================ */

/* Heartbeat Animation */
@keyframes heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.1); }
  28% { transform: scale(1); }
  42% { transform: scale(1.1); }
  70% { transform: scale(1); }
}

/* Custom Pulse Animation */
@keyframes customPulse {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Smooth Rotation */
@keyframes smoothSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Gentle Bounce */
@keyframes gentleBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* Coaching Section Icon Animations */
.coaching-icon {
  transition: all 0.3s ease;
}

.coaching-icon:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* ============================================================================
   MODERN TYPOGRAPHY & FUNDAMENTALS
   ============================================================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #000000;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Hero Typography - Extra Space for Large Text */
h1 {
  line-height: 1.2 !important;
  padding-bottom: 0.25em; /* Extra space for descenders */
}

/* Large Text Containers */
.hero-title {
  overflow: visible !important;
  padding: 1rem 0 2rem 0 !important;
  line-height: 1.3 !important;
  min-height: fit-content;
}

/* Ensure text doesn't get cut off */
.text-4xl, .text-5xl, .text-6xl, .text-7xl, .text-8xl {
  line-height: 1.2 !important;
  padding-bottom: 0.2em;
  overflow: visible !important;
}

/* Mobile Typography Adjustments */
@media (max-width: 768px) {
  .hero-title {
    padding: 0.5rem 0 1.5rem 0 !important;
    line-height: 1.2 !important;
  }
  
  .text-4xl, .text-5xl, .text-6xl, .text-7xl, .text-8xl {
    line-height: 1.15 !important;
    padding-bottom: 0.15em;
  }
  
  /* Mobile Hero Adjustments */
  h1 {
    word-break: break-word;
  }
  
  /* Mobile Button Improvements */
  .group {
    min-height: 48px; /* iOS tap target size */
  }
  
  /* Mobile Text Readability */
  p {
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .hero-title {
    padding: 0.25rem 0 1rem 0 !important;
    line-height: 1.1 !important;
  }
  
  /* Extra small mobile adjustments */
  .text-3xl {
    font-size: 1.7rem !important;
    line-height: 1.1 !important;
  }
  
  /* Ensure buttons are large enough */
  .group, a[role="button"] {
    min-height: 44px;
    font-size: 0.9rem;
  }
}

/* Modern Ultra-Gradient Text Effects - Logo Colors */
.text-gradient {
  background: linear-gradient(135deg, #00e5ff 0%, #2196f3 25%, #673ab7 50%, #e91e63 75%, #00ff88 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-flow 3s ease-in-out infinite;
}

@keyframes gradient-flow {
  0%, 100% { 
    background: linear-gradient(135deg, #00e5ff 0%, #2196f3 25%, #673ab7 50%, #e91e63 75%, #00ff88 100%);
  }
  50% { 
    background: linear-gradient(135deg, #00ff88 0%, #e91e63 25%, #673ab7 50%, #2196f3 75%, #00e5ff 100%);
  }
}

/* ============================================================================
   ACCENT COLORS - Logo Green Highlights
   ============================================================================ */

/* Logo Green Accent Class */
.accent-green {
  color: #00ff88 !important;
}

.bg-accent-green {
  background-color: #00ff88 !important;
}

.border-accent-green {
  border-color: #00ff88 !important;
}

.shadow-accent-green {
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3) !important;
}

/* Pulse animation mit Logo-Grün */
.pulse-green {
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
  }
}

/* ============================================================================
   GLASMORPHISM EFFEKTE
   ============================================================================ */

/* ============================================================================
   GLASMORPHISM EFFEKTE
   ============================================================================ */

/* Moderne Glasmorphism-Effekte */
.glass {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.25);
}

.glass-card {
  backdrop-filter: blur(16px);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ============================================================================
   GLOW EFFEKTE & HOVER STATES
   ============================================================================ */

/* ============================================================================
   GLOW EFFEKTE & HOVER STATES
   ============================================================================ */

/* Verbesserte Glow-Effekte - Logo Colors */
.glow:hover {
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.8), 0 0 60px rgba(33, 150, 243, 0.4);
  transform: translateY(-2px);
}

.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 229, 255, 0.25);
}

/* ============================================================================
   ANIMATIONEN - GRADIENT & FLOATING
   ============================================================================ */

/* Gradient-Animationen - Logo Colors */
.gradient-animate {
  background: linear-gradient(-45deg, #00e5ff, #2196f3, #673ab7, #e91e63, #00ff88);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating Animation */
.float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ============================================================================
   CANVAS & BACKGROUND ELEMENTS
   ============================================================================ */

/* Canvas Hintergrund - Optimized */
#bgCanvas {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100vh; /* Use viewport height instead of 100% */
  z-index: -10;
  opacity: 0.3;
  pointer-events: none;
}

/* ============================================================================
   HERO SECTION STYLES
   ============================================================================ */

/* Pulse-Animation für CTA */
.pulse-ring {
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  80%, 100% { transform: scale(1.2); opacity: 0; }
}

/* Moderne Hero Glow Effekte */
.hero-glow {
  position: relative;
  overflow: hidden;
}

.hero-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(33, 150, 243, 0.3), transparent, rgba(103, 58, 183, 0.3), transparent);
  animation: rotate 20s linear infinite;
  z-index: -1;
}

.hero-glow::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: inherit;
  z-index: -1;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================================================
   ORB ANIMATIONS
   ============================================================================ */

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  animation: float-orb 6s ease-in-out infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(33, 150, 243, 0.4), transparent);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(103, 58, 183, 0.3), transparent);
  top: 60%;
  right: 20%;
  animation-delay: -2s;
}

.orb-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent);
  bottom: 20%;
  left: 30%;
  animation-delay: -4s;
}

@keyframes float-orb {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  33% { transform: translateY(-30px) translateX(20px) scale(1.1); }
  66% { transform: translateY(10px) translateX(-15px) scale(0.9); }
}

/* ============================================================================
   TEXT EFFECTS
   ============================================================================ */

/* Text Shimmer Effekt */
.text-shimmer {
  background: linear-gradient(110deg, #00e5ff 45%, #fff 55%, #00e5ff 65%);
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================================================
   BUTTON EFFECTS
   ============================================================================ */

/* Neon Button Effekte */
.neon-button {
  position: relative;
  background: linear-gradient(45deg, #00e5ff, #2196f3);
  border: none;
  border-radius: 16px;
  box-shadow: 
    0 0 20px rgba(0, 229, 255, 0.5),
    0 0 40px rgba(0, 229, 255, 0.3),
    0 0 80px rgba(0, 229, 255, 0.1);
  transition: all 0.3s ease;
}

.neon-button:hover {
  box-shadow: 
    0 0 30px rgba(0, 229, 255, 0.8),
    0 0 60px rgba(0, 229, 255, 0.6),
    0 0 120px rgba(0, 229, 255, 0.4);
  transform: translateY(-3px) scale(1.05);
}

.neon-button::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, #00e5ff, #2196f3, #673ab7, #e91e63);
  border-radius: 18px;
  z-index: -1;
  animation: neon-pulse 2s ease-in-out infinite alternate;
}

@keyframes neon-pulse {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

/* ============================================================================
   PARTICLE SYSTEM - PROFESSIONAL & SUBTLE
   ============================================================================ */

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  opacity: 0.3; /* More subtle */
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.4); /* Less bright */
  border-radius: 50%;
  animation: particle-float 20s linear infinite; /* Slower */
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  20% {
    opacity: 0.4; /* Less visible */
  }
  80% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-100vh) translateX(50px) rotate(180deg); /* Less rotation */
    opacity: 0;
  }
}

/* ============================================================================
   PROFESSIONAL BUTTON STYLES
   ============================================================================ */

.btn-primary {
  background: linear-gradient(135deg, #00e5ff, #2196f3, #673ab7);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 229, 255, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2196f3, #673ab7, #e91e63);
  transform: translateY(-1px);
  box-shadow: 0 10px 16px -4px rgba(0, 229, 255, 0.2);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(156, 163, 175, 0.5);
  border-radius: 8px;
  color: rgba(156, 163, 175, 1);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: rgba(156, 163, 175, 0.8);
  color: white;
  background: rgba(156, 163, 175, 0.05);
}

/* Moderne Typografie */
.text-gradient {
  background: linear-gradient(135deg, #00e5ff 0%, #2196f3 50%, #673ab7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pulse-Animation für CTA */
.pulse-ring {
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  80%, 100% { transform: scale(1.2); opacity: 0; }
}

/* Moderne Hero Glow Effekte */
.hero-glow {
  position: relative;
  overflow: hidden;
}

.hero-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(33, 150, 243, 0.3), transparent, rgba(103, 58, 183, 0.3), transparent);
  animation: rotate 20s linear infinite;
  z-index: -1;
}

.hero-glow::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: inherit;
  z-index: -1;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Orb Glow Animationen */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  animation: float-orb 6s ease-in-out infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(33, 150, 243, 0.4), transparent);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(103, 58, 183, 0.3), transparent);
  top: 60%;
  right: 20%;
  animation-delay: -2s;
}

.orb-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent);
  bottom: 20%;
  left: 30%;
  animation-delay: -4s;
}

@keyframes float-orb {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  33% { transform: translateY(-30px) translateX(20px) scale(1.1); }
  66% { transform: translateY(10px) translateX(-15px) scale(0.9); }
}

/* Text Shimmer Effekt */
.text-shimmer {
  background: linear-gradient(110deg, #00e5ff 45%, #fff 55%, #00e5ff 65%);
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Neon Button Effekte */
.neon-button {
  position: relative;
  background: linear-gradient(45deg, #00e5ff, #2196f3);
  border: none;
  border-radius: 16px;
  box-shadow: 
    0 0 20px rgba(0, 229, 255, 0.5),
    0 0 40px rgba(0, 229, 255, 0.3),
    0 0 80px rgba(0, 229, 255, 0.1);
  transition: all 0.3s ease;
}

.neon-button:hover {
  box-shadow: 
    0 0 30px rgba(0, 229, 255, 0.8),
    0 0 60px rgba(0, 229, 255, 0.6),
    0 0 120px rgba(0, 229, 255, 0.4);
  transform: translateY(-3px) scale(1.05);
}

.neon-button::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, #00e5ff, #2196f3, #673ab7, #e91e63);
  border-radius: 18px;
  z-index: -1;
  animation: neon-pulse 2s ease-in-out infinite alternate;
}

@keyframes neon-pulse {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

/* Particle Animation */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: particle-float 15s linear infinite;
}

@keyframes particle-float {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px) rotate(360deg);
    opacity: 0;
  }
}

/* AI Rotor Animationen */
.ai-rotor {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(33, 150, 243, 0.3);
  border-radius: 50%;
  animation: rotor-spin 20s linear infinite;
}

.ai-rotor::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(103, 58, 183, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rotor-spin-reverse 15s linear infinite;
}

.ai-rotor::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(59, 130, 246, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rotor-spin 10s linear infinite;
}

.rotor-1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.rotor-2 {
  top: 20%;
  right: 10%;
  animation-delay: -5s;
  width: 150px;
  height: 150px;
}

.rotor-3 {
  bottom: 30%;
  left: 15%;
  animation-delay: -10s;
  width: 180px;
  height: 180px;
}

.rotor-4 {
  bottom: 10%;
  right: 5%;
  animation-delay: -15s;
  width: 120px;
  height: 120px;
}

@keyframes rotor-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rotor-spin-reverse {
  0% { transform: translate(-50%, -50%) rotate(360deg); }
  100% { transform: translate(-50%, -50%) rotate(0deg); }
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */
    
    .ai-orchestration {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 2;
      opacity: 0.95; /* Viel sichtbarer! */
    }
    
    /* HOCHMODERNER CENTRAL ORCHESTRATOR */
    .central-orchestrator {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 120px;
      height: 120px;
      transform: translate(-50%, -50%);
      background: radial-gradient(circle, 
        rgba(33, 150, 243, 1) 0%, 
        rgba(147, 51, 234, 0.8) 50%, 
        rgba(33, 150, 243, 0.3) 100%);
      border-radius: 50%;
      border: 3px solid rgba(255, 255, 255, 0.8);
      animation: orchestrator-mega-pulse 4s ease-in-out infinite;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 
        0 0 30px rgba(33, 150, 243, 0.8),
        0 0 60px rgba(33, 150, 243, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    }
    
    .central-orchestrator::before {
      content: '🤖';
      font-size: 40px;
      animation: ai-rotate 8s linear infinite;
      filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    }
    
    .central-orchestrator::after {
      content: '';
      position: absolute;
      width: 140px;
      height: 140px;
      border: 2px solid rgba(33, 150, 243, 0.6);
      border-radius: 50%;
      border-top: 2px solid rgba(255, 255, 255, 0.9);
      border-right: 2px solid rgba(255, 255, 255, 0.7);
      animation: orbit-ring 6s linear infinite;
    }
    
    /* SPEKTAKULÄRE AI AGENT NODES */
    .ai-agent {
      position: absolute;
      width: 80px;
      height: 80px;
      border-radius: 50%;
      border: 3px solid;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      animation: agent-mega-float 8s ease-in-out infinite;
      transition: all 0.3s ease;
      box-shadow: 
        0 0 20px currentColor,
        0 0 40px rgba(255, 255, 255, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.2);
    }
    
    .ai-agent::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: inherit;
      opacity: 0.4;
      animation: agent-mega-ping 3s ease-in-out infinite;
      z-index: -1;
    }
    
    /* INDIVIDUELLE AGENT DESIGNS MIT SPEKTAKULÄREN FARBEN */

    
    /* Data Analyst Agent */
    /* DATA ANALYST AGENT - Grün/Emerald */
    .agent-analyst {
      top: 15%;
      left: 18%;
      background: radial-gradient(circle, 
        rgba(16, 185, 129, 1) 0%, 
        rgba(34, 197, 94, 0.8) 50%, 
        rgba(16, 185, 129, 0.4) 100%);
      border-color: rgba(16, 185, 129, 1);
      color: rgba(16, 185, 129, 1);
      animation-delay: 0s;
    }
    
    .agent-analyst::before {
      content: '📊';
      filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    }
    
    /* CODE GENERATOR AGENT - Lila/Purple */
    .agent-coder {
      top: 12%;
      right: 22%;
      background: radial-gradient(circle, 
        rgba(147, 51, 234, 1) 0%, 
        rgba(103, 58, 183, 0.8) 50%, 
        rgba(147, 51, 234, 0.4) 100%);
      border-color: rgba(147, 51, 234, 1);
      color: rgba(147, 51, 234, 1);
      animation-delay: -1s;
    }
    
    .agent-coder::before {
      content: '⚡';
      filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    }
    
    /* TEST EXECUTOR AGENT - Rot/Red */
    .agent-tester {
      bottom: 18%;
      left: 22%;
      background: radial-gradient(circle, 
        rgba(239, 68, 68, 1) 0%, 
        rgba(248, 113, 113, 0.8) 50%, 
        rgba(239, 68, 68, 0.4) 100%);
      border-color: rgba(239, 68, 68, 1);
      color: rgba(239, 68, 68, 1);
      animation-delay: -2s;
    }
    
    .agent-tester::before {
      content: '🔧';
      filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    }
    
    /* API INTEGRATOR AGENT - Blau/Blue */
    .agent-api {
      bottom: 22%;
      right: 18%;
      background: radial-gradient(circle, 
        rgba(59, 130, 246, 1) 0%, 
        rgba(96, 165, 250, 0.8) 50%, 
        rgba(59, 130, 246, 0.4) 100%);
      border-color: rgba(59, 130, 246, 1);
      color: rgba(59, 130, 246, 1);
      animation-delay: -3s;
    }
    
    .agent-api::before {
      content: '🔗';
      filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    }
    
    /* SECURITY GUARD AGENT - Orange/Amber */
    .agent-security {
      top: 50%;
      left: 8%;
      background: radial-gradient(circle, 
        rgba(245, 158, 11, 1) 0%, 
        rgba(251, 191, 36, 0.8) 50%, 
        rgba(245, 158, 11, 0.4) 100%);
      border-color: rgba(245, 158, 11, 1);
      color: rgba(245, 158, 11, 1);
      animation-delay: -4s;
    }
    
    .agent-security::before {
      content: '🛡️';
      filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    }
    
    /* PERFORMANCE MONITOR AGENT - Türkis/Teal */
    .agent-monitor {
      top: 50%;
      right: 8%;
      background: radial-gradient(circle, 
        rgba(20, 184, 166, 1) 0%, 
        rgba(45, 212, 191, 0.8) 50%, 
        rgba(20, 184, 166, 0.4) 100%);
      border-color: rgba(20, 184, 166, 1);
      color: rgba(20, 184, 166, 1);
      animation-delay: -5s;
    }
    
    .agent-monitor::before {
      content: '📈';
      filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    }
    
    /* SPEKTAKULÄRE ANIMATIONEN */
    
    @keyframes orchestrator-mega-pulse {
      0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 
          0 0 30px rgba(33, 150, 243, 0.8),
          0 0 60px rgba(33, 150, 243, 0.4),
          inset 0 0 20px rgba(255, 255, 255, 0.2);
      }
      50% { 
        transform: translate(-50%, -50%) scale(1.15);
        box-shadow: 
          0 0 50px rgba(33, 150, 243, 1),
          0 0 100px rgba(33, 150, 243, 0.6),
          inset 0 0 30px rgba(255, 255, 255, 0.4);
      }
    }
    
    @keyframes ai-rotate {
      0% { transform: rotate(0deg) scale(1); }
      25% { transform: rotate(90deg) scale(1.1); }
      50% { transform: rotate(180deg) scale(1); }
      75% { transform: rotate(270deg) scale(1.1); }
      100% { transform: rotate(360deg) scale(1); }
    }
    
    @keyframes orbit-ring {
      0% { 
        transform: rotate(0deg) scale(1);
        opacity: 0.6;
      }
      50% { 
        transform: rotate(180deg) scale(1.05);
        opacity: 1;
      }
      100% { 
        transform: rotate(360deg) scale(1);
        opacity: 0.6;
      }
    }
    
    @keyframes agent-mega-float {
      0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        box-shadow: 
          0 0 20px currentColor,
          0 0 40px rgba(255, 255, 255, 0.3),
          inset 0 0 15px rgba(255, 255, 255, 0.2);
      }
      33% { 
        transform: translateY(-20px) rotate(120deg) scale(1.05);
        box-shadow: 
          0 0 30px currentColor,
          0 0 60px rgba(255, 255, 255, 0.5),
          inset 0 0 20px rgba(255, 255, 255, 0.3);
      }
      66% { 
        transform: translateY(8px) rotate(240deg) scale(0.95);
        box-shadow: 
          0 0 25px currentColor,
          0 0 50px rgba(255, 255, 255, 0.4),
          inset 0 0 18px rgba(255, 255, 255, 0.25);
      }
    }
    
    @keyframes agent-mega-ping {
      0% {
        transform: scale(1);
        opacity: 0.4;
      }
      50% {
        transform: scale(1.3);
        opacity: 0.2;
      }
      100% {
        transform: scale(1.6);
        opacity: 0;
      }
    }
    /* Jeder Agent kann sowohl senden als auch empfangen */
    
    /* Zusätzliche Before-Pseudo-Elemente für Empfangs-Animationen */
    .agent-coder::before {
      content: '⚡';
      z-index: 10;
      position: relative;
    }
    
    /* Coder empfängt Daten vom Analyst - Empfangs-Animation */
    .agent-coder {
      position: relative;
    }
    .agent-coder:hover::before {
      animation: data-receive 2s ease-in-out infinite;
    }
    
    /* Tester empfängt Code vom Coder */
    .agent-tester::before {
      content: '🔧';
      z-index: 10;
      position: relative;
    }
    .agent-tester:hover::before {
      animation: code-receive 2s ease-in-out infinite;
    }
    
    /* API empfängt Testergebnisse */
    .agent-api::before {
      content: '🔗';
      z-index: 10;
      position: relative;
    }
    .agent-api:hover::before {
      animation: results-receive 2s ease-in-out infinite;
    }
    
    /* Security empfängt Integration */
    .agent-security::before {
      content: '🛡️';
      z-index: 10;
      position: relative;
    }
    .agent-security:hover::before {
      animation: security-receive 2s ease-in-out infinite;
    }
    
    /* Monitor empfängt Sicherheitsstatus */
    .agent-monitor::before {
      content: '📈';
      z-index: 10;
      position: relative;
    }
    .agent-monitor:hover::before {
      animation: monitor-receive 2s ease-in-out infinite;
    }
    
    /* Analyst empfängt Feedback */
    .agent-analyst::before {
      content: '�';
      z-index: 10;
      position: relative;
    }
    .agent-analyst:hover::before {
      animation: feedback-receive 2s ease-in-out infinite;
    }
    
    /* EMPFANGS-ANIMATIONEN */
    @keyframes data-receive {
      0%, 100% { 
        transform: scale(1) rotate(0deg);
        text-shadow: 0 0 5px rgba(34, 197, 94, 0.5);
      }
      50% { 
        transform: scale(1.3) rotate(180deg);
        text-shadow: 0 0 15px rgba(34, 197, 94, 1);
      }
    }
    
    @keyframes code-receive {
      0%, 100% { 
        transform: scale(1) rotate(0deg);
        text-shadow: 0 0 5px rgba(103, 58, 183, 0.5);
      }
      50% { 
        transform: scale(1.3) rotate(-180deg);
        text-shadow: 0 0 15px rgba(103, 58, 183, 1);
      }
    }
    
    @keyframes results-receive {
      0%, 100% { 
        transform: scale(1) rotate(0deg);
        text-shadow: 0 0 5px rgba(239, 68, 68, 0.5);
      }
      50% { 
        transform: scale(1.3) rotate(360deg);
        text-shadow: 0 0 15px rgba(239, 68, 68, 1);
      }
    }
    
    @keyframes security-receive {
      0%, 100% { 
        transform: scale(1) rotate(0deg);
        text-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
      }
      50% { 
        transform: scale(1.3) rotate(180deg);
        text-shadow: 0 0 15px rgba(59, 130, 246, 1);
      }
    }
    
    @keyframes monitor-receive {
      0%, 100% { 
        transform: scale(1) rotate(0deg);
        text-shadow: 0 0 5px rgba(245, 158, 11, 0.5);
      }
      50% { 
        transform: scale(1.3) rotate(-180deg);
        text-shadow: 0 0 15px rgba(245, 158, 11, 1);
      }
    }
    
    @keyframes feedback-receive {
      0%, 100% { 
        transform: scale(1) rotate(0deg);
        text-shadow: 0 0 5px rgba(20, 184, 166, 0.5);
      }
      50% { 
        transform: scale(1.3) rotate(360deg);
        text-shadow: 0 0 15px rgba(20, 184, 166, 1);
      }
    }
    
    @keyframes agent-float {
      0%, 100% { transform: translateY(0px) rotate(0deg); }
      33% { transform: translateY(-15px) rotate(120deg); }
      66% { transform: translateY(5px) rotate(240deg); }
    }
    
    @keyframes agent-ping {
      0% {
        transform: scale(1);
        opacity: 0.3;
      }
      100% {
        transform: scale(1.4);
        opacity: 0;
      }
    }
    
    @keyframes spin-slow {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    
    /* SPEKTAKULÄRE AGENT-ZU-AGENT VERBINDUNGSLINIEN */

    /* ECHTE AGENT-ZU-AGENT VERBINDUNGEN */
    /* Jeder Agent sendet Verbindungslinien direkt zu anderen Agents */
    
    /* Analyst Agent - sendet zu Coder */
    .agent-analyst::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 100%;
      width: 300px;
      height: 2px;
      background: linear-gradient(90deg, 
        rgba(16, 185, 129, 1) 0%, 
        rgba(16, 185, 129, 0.8) 30%,
        rgba(147, 51, 234, 0.8) 70%, 
        rgba(147, 51, 234, 1) 100%);
      background-image: repeating-linear-gradient(
        90deg,
        rgba(16, 185, 129, 1) 0px,
        rgba(16, 185, 129, 1) 6px,
        transparent 6px,
        transparent 12px
      );
      transform: translateY(-50%) rotate(-3deg);
      animation: data-flow-enhanced 4s ease-in-out infinite;
      z-index: 1;
      border-radius: 1px;
      box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
    }
    
    /* Coder Agent - sendet zu Tester */
    .agent-coder::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 50%;
      width: 280px;
      height: 2px;
      background: linear-gradient(90deg, 
        rgba(147, 51, 234, 1) 0%, 
        rgba(147, 51, 234, 0.8) 30%,
        rgba(239, 68, 68, 0.8) 70%, 
        rgba(239, 68, 68, 1) 100%);
      background-image: repeating-linear-gradient(
        90deg,
        rgba(147, 51, 234, 1) 0px,
        rgba(147, 51, 234, 1) 6px,
        transparent 6px,
        transparent 12px
      );
      transform: translateX(-50%) rotate(45deg);
      transform-origin: left center;
      animation: data-flow-enhanced 4s ease-in-out infinite;
      animation-delay: 1s;
      z-index: 1;
      border-radius: 1px;
      box-shadow: 0 0 8px rgba(147, 51, 234, 0.4);
    }
    
    /* Tester Agent - sendet zu API */
    .agent-tester::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 100%;
      width: 250px;
      height: 2px;
      background: linear-gradient(90deg, 
        rgba(239, 68, 68, 1) 0%, 
        rgba(239, 68, 68, 0.8) 30%,
        rgba(59, 130, 246, 0.8) 70%, 
        rgba(59, 130, 246, 1) 100%);
      background-image: repeating-linear-gradient(
        90deg,
        rgba(239, 68, 68, 1) 0px,
        rgba(239, 68, 68, 1) 6px,
        transparent 6px,
        transparent 12px
      );
      transform: translateY(-50%) rotate(3deg);
      animation: data-flow-enhanced 4s ease-in-out infinite;
      animation-delay: 2s;
      z-index: 1;
      border-radius: 1px;
      box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
    }
    
    /* API Agent - sendet zu Security */
    .agent-api::after {
      content: '';
      position: absolute;
      top: 50%;
      right: 100%;
      width: 280px;
      height: 2px;
      background: linear-gradient(90deg, 
        rgba(245, 158, 11, 1) 0%, 
        rgba(245, 158, 11, 0.8) 30%,
        rgba(59, 130, 246, 0.8) 70%, 
        rgba(59, 130, 246, 1) 100%);
      background-image: repeating-linear-gradient(
        90deg,
        rgba(59, 130, 246, 1) 0px,
        rgba(59, 130, 246, 1) 6px,
        transparent 6px,
        transparent 12px
      );
      transform: translateY(-50%) rotate(-25deg);
      transform-origin: right center;
      animation: data-flow-enhanced 4s ease-in-out infinite;
      animation-delay: 3s;
      z-index: 1;
      border-radius: 1px;
      box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
    }
    
    /* Security Agent - sendet zu Monitor */
    .agent-security::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 100%;
      width: 320px;
      height: 2px;
      background: linear-gradient(90deg, 
        rgba(245, 158, 11, 1) 0%, 
        rgba(245, 158, 11, 0.8) 30%,
        rgba(20, 184, 166, 0.8) 70%, 
        rgba(20, 184, 166, 1) 100%);
      background-image: repeating-linear-gradient(
        90deg,
        rgba(245, 158, 11, 1) 0px,
        rgba(245, 158, 11, 1) 6px,
        transparent 6px,
        transparent 12px
      );
      transform: translateY(-50%) rotate(0deg);
      animation: data-flow-enhanced 4s ease-in-out infinite;
      animation-delay: 4s;
      z-index: 1;
      border-radius: 1px;
      box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
    }
    
    /* Monitor Agent - sendet zurück zu Analyst (komplettiert den Kreis) */
    .agent-monitor::after {
      content: '';
      position: absolute;
      top: 50%;
      right: 100%;
      width: 300px;
      height: 2px;
      background: linear-gradient(90deg, 
        rgba(16, 185, 129, 1) 0%, 
        rgba(16, 185, 129, 0.8) 30%,
        rgba(20, 184, 166, 0.8) 70%, 
        rgba(20, 184, 166, 1) 100%);
      background-image: repeating-linear-gradient(
        90deg,
        rgba(20, 184, 166, 1) 0px,
        rgba(20, 184, 166, 1) 6px,
        transparent 6px,
        transparent 12px
      );
      transform: translateY(-50%) rotate(-25deg);
      transform-origin: right center;
      animation: data-flow-enhanced 4s ease-in-out infinite;
      animation-delay: 5s;
      z-index: 1;
      border-radius: 1px;
      box-shadow: 0 0 8px rgba(20, 184, 166, 0.4);
    }
    
    @keyframes data-flow {
      0%, 100% { 
        opacity: 0.2; 
        background: linear-gradient(90deg, transparent, rgba(33, 150, 243, 0.2), transparent);
      }
      50% { 
        opacity: 0.8; 
        background: linear-gradient(90deg, transparent, rgba(33, 150, 243, 0.8), transparent);
      }
    }
    
    /* Neue Agent-zu-Agent Strahlen Animation */
    .ai-orchestration::after {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
    }
    
    /* AGENT-ZU-AGENT KOMMUNIKATION SYSTEM */
    /* Jeder Agent hat mehrere Pseudo-Elemente für verschiedene Kommunikationsstrahlen */
    
    /* Agent Analyst - Sendet Daten an Coder und empfängt von Monitor */
    .agent-analyst {
      overflow: visible;
    }
    .agent-analyst::after {
      content: '';
      position: absolute;
      width: 3px;
      height: 180px;
      background: linear-gradient(0deg, 
        transparent 0%, 
        rgba(34, 197, 94, 0.8) 10%, 
        rgba(34, 197, 94, 1) 50%, 
        rgba(34, 197, 94, 0.8) 90%, 
        transparent 100%);
      transform-origin: center bottom;
      opacity: 0;
      border-radius: 2px;
      box-shadow: 0 0 15px rgba(34, 197, 94, 0.6);
      z-index: 5;
      /* Zielt direkt auf Coder Agent (rechts oben) */
      transform: rotate(45deg);
      left: 50%;
      bottom: 50%;
      animation: beam-shoot-to-coder 4s ease-in-out infinite;
      animation-delay: 0s;
    }
    
    /* Coder Agent - Sendet Code an Tester und empfängt von Analyst */
    .agent-coder::after {
      content: '';
      position: absolute;
      width: 3px;
      height: 220px;
      background: linear-gradient(0deg, 
        transparent 0%, 
        rgba(103, 58, 183, 0.8) 10%, 
        rgba(103, 58, 183, 1) 50%, 
        rgba(103, 58, 183, 0.8) 90%, 
        transparent 100%);
      transform-origin: center bottom;
      opacity: 0;
      border-radius: 2px;
      box-shadow: 0 0 15px rgba(103, 58, 183, 0.6);
      z-index: 5;
      /* Zielt direkt auf Tester Agent (links unten) */
      transform: rotate(165deg);
      right: 50%;
      bottom: 50%;
      animation: beam-shoot-to-tester 4s ease-in-out infinite;
      animation-delay: 1s;
    }
    
    /* Tester Agent - Sendet Ergebnisse an API und empfängt von Coder */
    .agent-tester::after {
      content: '';
      position: absolute;
      width: 3px;
      height: 160px;
      background: linear-gradient(0deg, 
        transparent 0%, 
        rgba(239, 68, 68, 0.8) 10%, 
        rgba(239, 68, 68, 1) 50%, 
        rgba(239, 68, 68, 0.8) 90%, 
        transparent 100%);
      transform-origin: center bottom;
      opacity: 0;
      border-radius: 2px;
      box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
      z-index: 5;
      /* Zielt direkt auf API Agent (rechts unten) */
      transform: rotate(-45deg);
      left: 50%;
      top: 50%;
      animation: beam-shoot-to-api 4s ease-in-out infinite;
      animation-delay: 2s;
    }
    
    /* API Agent - Sendet Integration an Security und empfängt von Tester */
    .agent-api::after {
      content: '';
      position: absolute;
      width: 3px;
      height: 200px;
      background: linear-gradient(0deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.8) 10%, 
        rgba(59, 130, 246, 1) 50%, 
        rgba(59, 130, 246, 0.8) 90%, 
        transparent 100%);
      transform-origin: center bottom;
      opacity: 0;
      border-radius: 2px;
      box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
      z-index: 5;
      /* Zielt direkt auf Security Agent (links) */
      transform: rotate(165deg);
      right: 50%;
      top: 50%;
      animation: beam-shoot-to-security 4s ease-in-out infinite;
      animation-delay: 3s;
    }
    
    /* Security Agent - Sendet Sicherheitscheck an Monitor */
    .agent-security::after {
      content: '';
      position: absolute;
      width: 3px;
      height: 140px;
      background: linear-gradient(0deg, 
        transparent 0%, 
        rgba(245, 158, 11, 0.8) 10%, 
        rgba(245, 158, 11, 1) 50%, 
        rgba(245, 158, 11, 0.8) 90%, 
        transparent 100%);
      transform-origin: center bottom;
      opacity: 0;
      border-radius: 2px;
      box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
      z-index: 5;
      /* Zielt direkt auf Monitor Agent (rechts) */
      transform: rotate(-90deg);
      left: 50%;
      top: 50%;
      animation: beam-shoot-to-monitor 4s ease-in-out infinite;
      animation-delay: 4s;
    }
    
    /* Monitor Agent - Sendet Feedback zurück an Analyst (komplettiert den Kreis) */
    .agent-monitor::after {
      content: '';
      position: absolute;
      width: 3px;
      height: 190px;
      background: linear-gradient(0deg, 
        transparent 0%, 
        rgba(20, 184, 166, 0.8) 10%, 
        rgba(20, 184, 166, 1) 50%, 
        rgba(20, 184, 166, 0.8) 90%, 
        transparent 100%);
      transform-origin: center bottom;
      opacity: 0;
      border-radius: 2px;
      box-shadow: 0 0 15px rgba(20, 184, 166, 0.6);
      z-index: 5;
      /* Zielt zurück auf Analyst Agent (links oben) - komplettiert den Kreis */
      transform: rotate(135deg);
      right: 50%;
      top: 50%;
      animation: beam-shoot-to-analyst 4s ease-in-out infinite;
      animation-delay: 5s;
    }
    
    /* SPEZIFISCHE KOMMUNIKATIONS-ANIMATIONEN */
    
    /* Analyst → Coder: Datenanalyse wird übertragen */
    @keyframes beam-shoot-to-coder {
      0% {
        opacity: 0;
        height: 0px;
        box-shadow: 0 0 5px rgba(34, 197, 94, 0);
      }
      15% {
        opacity: 1;
        height: 120px;
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.8);
      }
      50% {
        opacity: 1;
        height: 180px;
        box-shadow: 0 0 25px rgba(34, 197, 94, 1);
      }
      85% {
        opacity: 1;
        height: 120px;
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.8);
      }
      100% {
        opacity: 0;
        height: 0px;
        box-shadow: 0 0 5px rgba(34, 197, 94, 0);
      }
    }
    
    /* Coder → Tester: Generierter Code wird getestet */
    @keyframes beam-shoot-to-tester {
      0% {
        opacity: 0;
        height: 0px;
        box-shadow: 0 0 5px rgba(103, 58, 183, 0);
      }
      15% {
        opacity: 1;
        height: 150px;
        box-shadow: 0 0 20px rgba(103, 58, 183, 0.8);
      }
      50% {
        opacity: 1;
        height: 220px;
        box-shadow: 0 0 25px rgba(103, 58, 183, 1);
      }
      85% {
        opacity: 1;
        height: 150px;
        box-shadow: 0 0 20px rgba(103, 58, 183, 0.8);
      }
      100% {
        opacity: 0;
        height: 0px;
        box-shadow: 0 0 5px rgba(103, 58, 183, 0);
      }
    }
    
    /* Tester → API: Testergebnisse für Integration */
    @keyframes beam-shoot-to-api {
      0% {
        opacity: 0;
        height: 0px;
        box-shadow: 0 0 5px rgba(239, 68, 68, 0);
      }
      15% {
        opacity: 1;
        height: 100px;
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.8);
      }
      50% {
        opacity: 1;
        height: 160px;
        box-shadow: 0 0 25px rgba(239, 68, 68, 1);
      }
      85% {
        opacity: 1;
        height: 100px;
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.8);
      }
      100% {
        opacity: 0;
        height: 0px;
        box-shadow: 0 0 5px rgba(239, 68, 68, 0);
      }
    }
    
    /* API → Security: Integration braucht Sicherheitscheck */
    @keyframes beam-shoot-to-security {
      0% {
        opacity: 0;
        height: 0px;
        box-shadow: 0 0 5px rgba(59, 130, 246, 0);
      }
      15% {
        opacity: 1;
        height: 130px;
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
      }
      50% {
        opacity: 1;
        height: 200px;
        box-shadow: 0 0 25px rgba(59, 130, 246, 1);
      }
      85% {
        opacity: 1;
        height: 130px;
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
      }
      100% {
        opacity: 0;
        height: 0px;
        box-shadow: 0 0 5px rgba(59, 130, 246, 0);
      }
    }
    
    /* Security → Monitor: Sicherheitsstatus wird überwacht */
    @keyframes beam-shoot-to-monitor {
      0% {
        opacity: 0;
        height: 0px;
        box-shadow: 0 0 5px rgba(245, 158, 11, 0);
      }
      15% {
        opacity: 1;
        height: 90px;
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
      }
      50% {
        opacity: 1;
        height: 140px;
        box-shadow: 0 0 25px rgba(245, 158, 11, 1);
      }
      85% {
        opacity: 1;
        height: 90px;
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
      }
      100% {
        opacity: 0;
        height: 0px;
        box-shadow: 0 0 5px rgba(245, 158, 11, 0);
      }
    }
    
    /* Monitor → Analyst: Feedback komplettiert den Kreislauf */
    @keyframes beam-shoot-to-analyst {
      0% {
        opacity: 0;
        height: 0px;
        box-shadow: 0 0 5px rgba(20, 184, 166, 0);
      }
      15% {
        opacity: 1;
        height: 125px;
        box-shadow: 0 0 20px rgba(20, 184, 166, 0.8);
      }
      50% {
        opacity: 1;
        height: 190px;
        box-shadow: 0 0 25px rgba(20, 184, 166, 1);
      }
      85% {
        opacity: 1;
        height: 125px;
        box-shadow: 0 0 20px rgba(20, 184, 166, 0.8);
      }
      100% {
        opacity: 0;
        height: 0px;
        box-shadow: 0 0 5px rgba(20, 184, 166, 0);
      }
    }
    
    /* Zusätzliche Blitz-Effekte zwischen Agenten */
    .ai-agent {
      position: relative;
      overflow: visible;
    }
    
    .ai-agent:nth-child(even)::before {
      animation: lightning-flash 4s ease-in-out infinite;
    }
    
    @keyframes lightning-flash {
      0%, 90%, 100% { 
        box-shadow: 0 0 5px rgba(33, 150, 243, 0.3); 
      }
      5%, 15% { 
        box-shadow: 
          0 0 15px rgba(0, 212, 255, 0.8),
          0 0 30px rgba(0, 212, 255, 0.6),
          0 0 45px rgba(0, 212, 255, 0.4); 
      }
    }
    
    /* KOMMUNIKATIONS-LABELS UND DATENFLUSS-INDIKATOREN */
    
    /* Agent Labels erweitert um Kommunikationsstatus */
    .agent-label {
      position: absolute;
      bottom: -35px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(0, 0, 0, 0.8);
      color: white;
      padding: 4px 8px;
      border-radius: 4px;
      font-size: 10px;
      white-space: nowrap;
      opacity: 0;
      animation: label-appear 2s ease-in-out infinite;
      z-index: 10;
    }

    /* ORCHESTRATOR LABEL LINKS VOM TEXT POSITIONIEREN */
    .central-orchestrator .agent-label {
      position: absolute !important;
      bottom: auto !important;
      left: -160px !important;
      top: 50% !important;
      transform: translateY(-50%) !important;
      background: linear-gradient(135deg, rgba(33, 150, 243, 0.95), rgba(139, 92, 246, 0.95)) !important;
      border: 2px solid rgba(33, 150, 243, 0.6) !important;
      box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4) !important;
      font-weight: 700 !important;
      font-size: 12px !important;
      opacity: 1 !important;
      animation: orchestrator-label-glow 3s ease-in-out infinite !important;
      z-index: 1000 !important;
      white-space: nowrap !important;
      padding: 6px 12px !important;
      border-radius: 8px !important;
    }
    
    @keyframes orchestrator-label-glow {
      0%, 100% { 
        box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
        background: linear-gradient(135deg, rgba(33, 150, 243, 0.95), rgba(139, 92, 246, 0.95));
      }
      50% { 
        box-shadow: 0 8px 30px rgba(33, 150, 243, 0.7);
        background: linear-gradient(135deg, rgba(33, 150, 243, 1), rgba(139, 92, 246, 1));
      }
    }
    
    /* Spezifische Kommunikationslabels */
    .agent-analyst .agent-label::after {
      content: " → Sendet Daten";
      color: rgba(34, 197, 94, 1);
    }
    
    .agent-coder .agent-label::after {
      content: " → Generiert Code";
      color: rgba(103, 58, 183, 1);
    }
    
    .agent-tester .agent-label::after {
      content: " → Testet System";
      color: rgba(239, 68, 68, 1);
    }
    
    .agent-api .agent-label::after {
      content: " → Integriert APIs";
      color: rgba(59, 130, 246, 1);
    }
    
    .agent-security .agent-label::after {
      content: " → Prüft Sicherheit";
      color: rgba(245, 158, 11, 1);
    }
    
    .agent-monitor .agent-label::after {
      content: " → Überwacht Status";
      color: rgba(20, 184, 166, 1);
    }
    
    @keyframes label-appear {
      0%, 70% { opacity: 0; transform: translateX(-50%) translateY(10px); }
      80%, 95% { opacity: 1; transform: translateX(-50%) translateY(0px); }
      100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    }
    
    /* DATENFLUSS-PARTIKEL zwischen Agenten */
    .ai-orchestration::before {
      content: '';
      position: absolute;
      width: 4px;
      height: 4px;
      background: radial-gradient(circle, rgba(33, 150, 243, 1), rgba(33, 150, 243, 0.3));
      border-radius: 50%;
      top: 25%;
      left: 25%;
      animation: data-particle-flow 6s linear infinite;
      z-index: 8;
    }
    
    @keyframes data-particle-flow {
      0% { 
        transform: translate(0, 0) scale(0);
        opacity: 0;
      }
      10% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
      }
      /* Analyst → Coder */
      25% {
        transform: translate(150px, -50px) scale(1);
        opacity: 1;
        background: radial-gradient(circle, rgba(34, 197, 94, 1), rgba(34, 197, 94, 0.3));
      }
      /* Coder → Tester */
      45% {
        transform: translate(50px, 150px) scale(1);
        opacity: 1;
        background: radial-gradient(circle, rgba(103, 58, 183, 1), rgba(103, 58, 183, 0.3));
      }
      /* Tester → API */
      65% {
        transform: translate(200px, 130px) scale(1);
        opacity: 1;
        background: radial-gradient(circle, rgba(239, 68, 68, 1), rgba(239, 68, 68, 0.3));
      }
      /* API → Security */
      85% {
        transform: translate(100px, 80px) scale(1);
        opacity: 1;
        background: radial-gradient(circle, rgba(59, 130, 246, 1), rgba(59, 130, 246, 0.3));
      }
      100% { 
        transform: translate(250px, 80px) scale(0);
        opacity: 0;
      }
    }
    
    /* Agent Status Labels */
    .agent-label {
      position: absolute;
      top: -30px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(0, 0, 0, 0.8);
      color: white;
      padding: 4px 8px;
      border-radius: 6px;
      font-size: 10px;
      font-weight: 600;
      opacity: 0;
      animation: label-fade 8s ease-in-out infinite;
      white-space: nowrap;
    }
    
    @keyframes label-fade {
      0%, 80%, 100% { opacity: 0; transform: translateX(-50%) translateY(5px); }
      10%, 70% { opacity: 1; transform: translateX(-50%) translateY(0); }
    }
    
    /* SPEKTAKULÄRES AI NETWORK GRID */
    .ai-network-grid {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: 
        linear-gradient(rgba(33, 150, 243, 0.4) 2px, transparent 2px),
        linear-gradient(90deg, rgba(33, 150, 243, 0.4) 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, rgba(33, 150, 243, 0.2) 2px, transparent 2px);
      background-size: 60px 60px, 60px 60px, 30px 30px;
      animation: grid-mega-pulse 8s ease-in-out infinite;
      z-index: -1;
      opacity: 0.8;
    }
    
    @keyframes grid-mega-pulse {
      0%, 100% { 
        opacity: 0.6; 
        background-size: 60px 60px, 60px 60px, 30px 30px;
      }
      33% { 
        opacity: 0.9; 
        background-size: 70px 70px, 70px 70px, 35px 35px;
      }
      66% { 
        opacity: 0.7; 
        background-size: 50px 50px, 50px 50px, 25px 25px;
      }
    }
    
    /* Responsive Design for Mobile */
    @media (max-width: 768px) {
      .ai-orchestration {
        transform: scale(0.8);
      }
      
      .ai-agent {
        width: 45px;
        height: 45px;
        font-size: 16px;
      }
      
      .central-orchestrator {
        width: 60px;
        height: 60px;
      }
      
      .central-orchestrator::before {
        font-size: 18px;
      }
      
      .agent-label {
        font-size: 8px;
        padding: 2px 6px;
      }
      
      .connection-line {
        height: 1px;
      }
      
      .task-flow {
        width: 6px;
        height: 6px;
      }
    }
    
    /* Reduce motion for accessibility */
    @media (prefers-reduced-motion: reduce) {
      .ai-orchestration * {
        animation-duration: 0.1s !important;
        animation-iteration-count: 1 !important;
      }
    }/* Floating AI Icons */
.ai-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.ai-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(33, 150, 243, 0.1);
  border: 1px solid rgba(33, 150, 243, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float-ai-icon 8s ease-in-out infinite;
}

.ai-icon svg {
  width: 20px;
  height: 20px;
  color: rgba(33, 150, 243, 0.6);
}

.icon-1 {
  top: 15%;
  left: 20%;
  animation-delay: 0s;
}

.icon-2 {
  top: 25%;
  right: 25%;
  animation-delay: -2s;
}

.icon-3 {
  bottom: 35%;
  left: 30%;
  animation-delay: -4s;
}

.icon-4 {
  bottom: 20%;
  right: 20%;
  animation-delay: -6s;
}

@keyframes float-ai-icon {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
  html { 
    scroll-behavior: auto; 
  }
  
  .ai-rotor {
    width: 120px;
    height: 120px;
  }
  
  .rotor-2, .rotor-3 {
    width: 100px;
    height: 100px;
  }
  
  .rotor-4 {
    width: 80px;
    height: 80px;
  }

  /* Hero responsive adjustments */
  .hero-content h1 {
    font-size: 3rem !important;
  }

  .hero-content .text-gradient {
    font-size: 2.5rem !important;
  }

  .feature-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1f2937;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #00e5ff, #2196f3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #2196f3, #673ab7);
}

/* Focus states for accessibility */
a:focus,
button:focus {
  outline: 2px solid #00e5ff;
  outline-offset: 2px;
}

/* Loading animation for better UX - Fixed */
.loading {
  opacity: 1; /* Changed from 0 to 1 to prevent disappearing */
  animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Data flow animation for connection lines */
@keyframes data-flow-enhanced {
  0% {
    background-position: -100% 0;
    opacity: 0.6;
    transform: scaleY(0.8);
  }
  25% {
    opacity: 1;
    transform: scaleY(1);
  }
  50% {
    background-position: 100% 0;
    opacity: 1;
    transform: scaleY(1.1);
  }
  75% {
    opacity: 0.9;
    transform: scaleY(1);
  }
  100% {
    background-position: 200% 0;
    opacity: 0.6;
    transform: scaleY(0.8);
  }
}

/* Selection highlight */
::selection {
  background-color: rgba(33, 150, 243, 0.3);
  color: white;
}

::-moz-selection {
  background-color: rgba(33, 150, 243, 0.3);
  color: white;
}
