/*
==================================================
SECTION: Founder Network Block - Holographic 3D Animation
LOCATION: template-parts/blocks/founder-network/founder-network.css
USED ON: About Us page (founder section above investor profiles)
DEPENDENCIES: CSS custom properties, Three.js for WebGL
LAST MODIFIED: 2025-01-03
AUTHOR: Claude Code
DO NOT REMOVE WITHOUT CHECKING DEPENDENCIES
==================================================
*/

/* Base Styles */
.founder-network-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a1f 0%, #1a1a3e 50%, #0a0a1f 100%);
}

.network-bloom-section.bg-blue {
  background: #0a0a1f;
  position: relative;
}

.network-bloom-section.bg-blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(255, 0, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Typography */
.founder-network-section .sec-title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  letter-spacing: 1px;
}

.founder-network-section .sec-desc {
  font-size: var(--font-size-lg);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
}

/* Network Stats Badge */
.network-stats {
  margin: var(--spacing-md) 0 var(--spacing-lg) 0;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 50px;
  display: inline-block;
  background: rgba(0, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  box-shadow: 
    inset 0 0 20px rgba(0, 255, 255, 0.1),
    0 0 40px rgba(0, 255, 255, 0.2);
}

.network-stats::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, transparent, #00ffff, transparent);
  opacity: 0;
  animation: statsBorderGlow 3s linear infinite;
  border-radius: 50px;
  z-index: -1;
}

.stats-number {
  font-size: var(--font-size-xl);
  font-weight: 700;
  font-family: var(--font-primary);
  letter-spacing: 2px;
  background: linear-gradient(90deg, #00ffff, #ff00ff, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: gradientShift 3s ease-in-out infinite;
}

/* Holographic Container */
.holographic-container {
  margin: var(--spacing-xl) auto;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.holographic-network {
  width: 100%;
  max-width: 800px;
  height: 600px;
  margin: 0 auto;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(5deg);
  transition: transform 0.5s ease;
}

.holographic-network:hover {
  transform: rotateX(0deg) scale(1.02);
}

/* Canvas Background */
.network-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(0, 20, 40, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
  border-radius: 20px;
  box-shadow: 
    0 0 100px rgba(0, 255, 255, 0.3),
    inset 0 0 50px rgba(0, 0, 0, 0.5);
}

/* Holographic Overlay */
.holo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: 20px;
  overflow: hidden;
}

/* Scan Line Effect */
.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.8), transparent);
  animation: scanLine 4s linear infinite;
  filter: blur(1px);
}

/* Grid Overlay */
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(0deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridPulse 10s ease-in-out infinite;
}

/* Data Points */
.data-point {
  position: absolute;
  transform: translateZ(50px);
  pointer-events: all;
  cursor: pointer;
  animation: floatData 6s ease-in-out infinite;
}

.data-point:nth-child(odd) {
  animation-delay: -3s;
}

.data-sphere {
  position: relative;
  width: 80px;
  height: 80px;
  transform-style: preserve-3d;
  transition: all 0.3s ease;
}

.data-sphere:hover {
  transform: scale(1.2) rotateY(180deg);
}

.sphere-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 255, 255, 0.8), rgba(0, 100, 150, 0.4));
  box-shadow: 
    0 0 30px rgba(0, 255, 255, 0.6),
    inset -10px -10px 20px rgba(0, 0, 0, 0.5),
    inset 10px 10px 20px rgba(255, 255, 255, 0.1);
  animation: spherePulse 3s ease-in-out infinite;
}

.data-point[data-type="angel"] .sphere-inner {
  background: radial-gradient(circle at 30% 30%, rgba(255, 0, 255, 0.8), rgba(150, 0, 150, 0.4));
  box-shadow: 
    0 0 30px rgba(255, 0, 255, 0.6),
    inset -10px -10px 20px rgba(0, 0, 0, 0.5),
    inset 10px 10px 20px rgba(255, 255, 255, 0.1);
}

.data-point[data-type="pe"] .sphere-inner {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 0, 0.8), rgba(150, 150, 0, 0.4));
  box-shadow: 
    0 0 30px rgba(255, 255, 0, 0.6),
    inset -10px -10px 20px rgba(0, 0, 0, 0.5),
    inset 10px 10px 20px rgba(255, 255, 255, 0.1);
}

.data-label {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  text-shadow: 0 0 10px currentColor;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.data-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.data-sphere:hover .data-label {
  opacity: 1;
}

/* Central Hologram */
.central-hologram {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(100px);
  pointer-events: all;
}

.holo-core {
  position: relative;
  width: 120px;
  height: 120px;
  transform-style: preserve-3d;
  animation: coreRotate 20s linear infinite;
}

.core-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2px solid;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 100%;
  height: 100%;
  border-color: rgba(0, 255, 255, 0.6);
  animation: ringPulse 2s ease-in-out infinite;
}

.ring-2 {
  width: 130%;
  height: 130%;
  border-color: rgba(255, 0, 255, 0.4);
  animation: ringPulse 2s ease-in-out infinite 0.5s;
  transform: translate(-50%, -50%) rotateX(60deg);
}

.ring-3 {
  width: 160%;
  height: 160%;
  border-color: rgba(255, 255, 0, 0.3);
  animation: ringPulse 2s ease-in-out infinite 1s;
  transform: translate(-50%, -50%) rotateY(60deg);
}

.founder-avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.9), rgba(0, 100, 150, 0.6));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 0 40px rgba(0, 255, 255, 0.8),
    inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.founder-avatar span {
  font-size: 24px;
  font-weight: bold;
  color: white;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.pulse-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 255, 0.8);
  animation: pulseWave 2s ease-out infinite;
}

/* Connection Beams */
.connection-beams {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.beam {
  stroke-width: 2;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: beamFlow 3s ease-in-out infinite;
  filter: drop-shadow(0 0 10px currentColor);
}

.beam-1 { animation-delay: 0s; }
.beam-2 { animation-delay: 0.5s; }
.beam-3 { animation-delay: 1s; }
.beam-4 { animation-delay: 1.5s; }

/* Particle Field */
.particle-field {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(0, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
  animation: 
    particleFloat var(--duration) linear infinite var(--delay),
    particleFade 4s ease-in-out infinite var(--delay);
}

/* Interaction Hint */
.interaction-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  animation: hintPulse 2s ease-in-out infinite;
}

/* Button Enhancements */
.theme-btn.btn-white {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(0, 255, 255, 0.5);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.3),
    inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.theme-btn.btn-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.theme-btn.btn-white:hover {
  color: #0a0a1f;
  background: rgba(0, 255, 255, 0.9);
  border-color: rgba(0, 255, 255, 1);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 5px 30px rgba(0, 255, 255, 0.6),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.theme-btn.btn-white:hover::before {
  left: 100%;
}

/* Animations */
@keyframes statsBorderGlow {
  0%, 100% { opacity: 0; transform: rotate(0deg); }
  50% { opacity: 1; transform: rotate(180deg); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes scanLine {
  0% { top: 0%; }
  100% { top: 100%; }
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

@keyframes floatData {
  0%, 100% { transform: translateY(0) translateZ(50px); }
  50% { transform: translateY(-20px) translateZ(70px); }
}

@keyframes spherePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes coreRotate {
  from { transform: rotateY(0deg) rotateX(0deg); }
  to { transform: rotateY(360deg) rotateX(360deg); }
}

@keyframes ringPulse {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}

@keyframes pulseWave {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

@keyframes beamFlow {
  0% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
  50% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -100;
    opacity: 0;
  }
}

@keyframes particleFloat {
  from {
    transform: translate(0, 100%) translateZ(0);
  }
  to {
    transform: translate(100vw, -100%) translateZ(200px);
  }
}

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

@keyframes hintPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Responsive Design */
@media (max-width: var(--breakpoint-md)) {
  .holographic-network {
    height: 400px;
  }
  
  .data-sphere {
    width: 60px;
    height: 60px;
  }
  
  .holo-core {
    width: 80px;
    height: 80px;
  }
  
  .founder-avatar {
    width: 40px;
    height: 40px;
  }
  
  .founder-avatar span {
    font-size: 18px;
  }
}

@media (max-width: var(--breakpoint-sm)) {
  .holographic-network {
    height: 350px;
  }
  
  .interaction-hint {
    display: none;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}