/* Hero Section Styles */
:root {
  --primary: #3b82f6;
  --secondary: #1e293b;
  --accent: #f1f5f9;
  --accent-warm: #fbbf24;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.6);
  --border-light: rgba(255, 255, 255, 0.1);
}

/* Hero Section Base */
#hero-section.hero-cyberpunk {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 999;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 41, 59, 0.8) 0%,
    rgba(59, 130, 246, 0.3) 50%,
    rgba(30, 41, 59, 0.8) 100%
  );
  z-index: 2;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  padding: 100px 0;
  width: 100%;
}

/* Title Styles - Optimized */
.hero-title {
  margin-bottom: 2rem;
}

.title-main {
  display: block;
  font-size: 4.5rem;
  font-weight: 800;
  font-family: 'Oxanium', sans-serif;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
  text-shadow: 
    0 0 30px rgba(0, 195, 255, 0.3),
    0 0 60px rgba(0, 195, 255, 0.2),
    0 2px 10px rgba(0, 0, 0, 0.8);
}

.title-sub {
  display: block;
  font-size: 1.6rem;
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.3px;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
}

/* Stats Section - Optimized */
.hero-stats {
  display: flex;
  gap: 15px;
  margin: 2rem 0;
  justify-content: flex-start;
  transform: translateZ(0);
}

.stat-box {
  position: relative;
  width: 120px;
  background: rgba(13, 22, 40, 0.6);
  border: 1px solid rgba(0, 195, 255, 0.15);
  border-radius: 4px;
  padding: 15px 10px;
  transition: transform 0.2s ease-out;
  box-shadow: 0 0 10px rgba(0, 195, 255, 0.1);
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.stat-box:hover {
  transform: translateY(-2px);
}

.stat-content {
  text-align: center;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-icon {
  font-size: 16px;
  color: rgba(100, 255, 218, 0.8);
  margin-bottom: 6px;
  display: block;
  text-shadow: 0 0 5px rgba(0, 195, 255, 0.3);
}

.stat-number {
  font-family: 'Oxanium', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
  margin-bottom: 4px;
  display: block;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.stat-plus {
  color: rgba(100, 255, 218, 0.8);
  font-size: 16px;
  margin-left: 1px;
  text-shadow: 0 0 5px rgba(0, 195, 255, 0.3);
}

.stat-label {
  font-size: 12px;
  margin-top: 4px;
  white-space: nowrap;
  text-align: center;
  width: 100%;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

/* 3D Cards - Optimized */
.cards-carousel {
  position: relative;
  width: 100%;
  height: 600px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.cards-container {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.card-3d {
  position: absolute;
  width: 350px;
  height: 480px;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  transition: transform 0.4s ease-out, opacity 0.3s ease-out;
  opacity: 0.6;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.card-3d.active {
  opacity: 1;
  transform: translate(-50%, -50%) translateZ(50px) scale(1.1);
  z-index: 10;
}

.card-face {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transform: translateZ(0);
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  transition: filter 0.3s ease;
  will-change: transform;
  transform: translateZ(0);
}

.card-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%) translateZ(0);
  padding: 3rem 2rem;
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.95),
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.3)
  );
  color: white;
  text-align: center;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.card-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Oxanium', sans-serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.card-content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  opacity: 0.9;
  font-weight: 500;
}

.card-desc {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .title-main {
    font-size: 3.8rem;
  }
  
  .title-sub {
    font-size: 1.4rem;
  }
  
  .hero-stats {
    gap: 10px;
  }
  
  .stat-box {
    width: 110px;
  }
  
  .card-3d {
    width: 300px;
    height: 400px;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .card-icon {
    font-size: 2rem;
  }
  
  .card-content h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .title-main {
    font-size: 3.2rem;
  }
  
  .title-sub {
    font-size: 1.2rem;
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .stat-box {
    width: 160px;
  }
  
  .card-3d {
    width: 280px;
    height: 380px;
  }
  
  .card-content {
    padding: 1.2rem;
  }
} 