/* About Page Specific Styles */

/* Background Canvases */
.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}

#networkCanvas {
  z-index: -2;
}

#particleCanvas {
  z-index: -1;
  opacity: 0.6;
}

/* Floating Elements */
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--neon1);
  border-radius: 50%;
  animation: float 20s infinite linear;
  box-shadow: 0 0 10px var(--neon1);
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Hero Section */
.about-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 2rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neon1);
  margin-bottom: 1.5rem;
  animation: slideInLeft 0.8s ease-out;
}

.hero-title {
  font-family: 'Space Grotesk', Inter, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--neon1), var(--neon2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite alternate;
}

@keyframes gradientShift {
  0% {
    background: linear-gradient(135deg, var(--neon1), var(--neon2));
    -webkit-background-clip: text;
    background-clip: text;
  }
  100% {
    background: linear-gradient(135deg, var(--neon2), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.hero-description {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  animation: slideInLeft 0.8s ease-out 0.4s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  animation: slideInUp 0.8s ease-out 0.6s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--neon1);
  text-shadow: 0 0 20px var(--neon1);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 500px;
  animation: slideInRight 0.8s ease-out 0.3s both;
}

.floating-cards {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-card {
  position: absolute;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(167, 139, 250, 0.1));
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: floatCard 6s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.floating-card:hover {
  transform: scale(1.05) translateZ(10px);
  border-color: var(--neon1);
  box-shadow: 0 15px 40px rgba(0, 229, 255, 0.2);
}

.card-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.card-2 {
  top: 20%;
  right: 15%;
  animation-delay: -1.5s;
}

.card-3 {
  bottom: 30%;
  left: 20%;
  animation-delay: -3s;
}

.card-4 {
  bottom: 15%;
  right: 10%;
  animation-delay: -4.5s;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* Team Section */
.team-section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.team-constellation {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.team-member {
  position: relative;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: scale(1.05);
}

.member-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  margin: 0 auto 1rem;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.member-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
}

.gradient-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.gradient-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.gradient-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.gradient-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.gradient-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.gradient-6 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }

.pulse-ring {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid var(--neon1);
  border-radius: 50%;
  opacity: 0;
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}

.member-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.member-info p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Member Modal */
.member-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.member-modal.active {
  display: flex;
  animation: modalFadeIn 0.3s ease-out;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease-out;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--neon1);
}

.modal-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.modal-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  flex-shrink: 0;
}

.modal-info {
  flex: 1;
}

.modal-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.modal-role {
  color: var(--neon1);
  font-weight: 600;
  margin-bottom: 1rem;
}

.modal-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--neon1);
}

.modal-description {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: var(--text);
}

.modal-skills {
  margin-bottom: 1.5rem;
}

.modal-skills h4 {
  color: var(--neon1);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
  color: var(--neon1);
}

/* Timeline Section */
.timeline-section {
  padding: 6rem 0;
  background: rgba(255, 255, 255, 0.02);
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline-track {
  position: relative;
  padding-left: 2rem;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--neon1), var(--neon2));
  box-shadow: 0 0 10px var(--neon1);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  opacity: 0;
  animation: slideInLeft 0.6s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

.timeline-marker {
  position: absolute;
  left: -30px;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--neon1);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--neon1);
  transition: all 0.3s ease;
}

.timeline-marker.active {
  width: 20px;
  height: 20px;
  left: -32px;
  background: var(--accent);
  box-shadow: 0 0 30px var(--accent);
}

.timeline-content {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  background: rgba(0, 229, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateX(10px);
}

.timeline-content h3 {
  color: var(--neon1);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.timeline-content::before {
  content: attr(data-year);
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  background: var(--bg);
  padding: 0 0.5rem;
  font-size: 0.8rem;
  color: var(--neon1);
  font-weight: 600;
}

/* Values Section */
.values-section {
  padding: 6rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.value-card:hover {
  transform: translateY(-10px);
  border-color: var(--neon1);
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.2);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.2) rotate(5deg);
}

.value-card h3 {
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 700;
}

.value-card p {
  color: var(--muted);
  line-height: 1.6;
}

.value-hover-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.value-card:hover .value-hover-effect {
  left: 100%;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(167, 139, 250, 0.05));
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Active navigation link */
.nav .links a.active {
  color: var(--neon1);
  text-shadow: 0 0 10px var(--neon1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .hero-visual {
    height: 300px;
  }
  
  .team-constellation {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-track {
    padding-left: 1rem;
  }
  
  .timeline-track::before {
    left: 10px;
  }
  
  .timeline-marker {
    left: -20px;
  }
  
  .timeline-marker.active {
    left: -22px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .floating-card {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .team-constellation {
    grid-template-columns: 1fr;
  }
  
  .member-avatar {
    width: 100px;
    height: 100px;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}