/* Modern Hero Section Styles */

.hero-modern {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #030D1A;
  padding: 120px 20px 60px;
}

/* Animated Background */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #0A4AFF 0%, transparent 70%);
  top: -15%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #00D4FF 0%, transparent 70%);
  bottom: -15%;
  right: -10%;
  animation-delay: 5s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #00FFD1 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* Hero Container */
.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero Content */
.hero-content {
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(0, 212, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  font-size: 14px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.hero-badge span {
  background: none !important;
  color: inherit;
}

.hero-badge:hover {
  background: rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.badge-icon {
  font-size: 18px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #0A4AFF 0%, #00D4FF 50%, #00FFD1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
  background-size: 200% 200%;
  display: inline-block;
  position: relative;
}

/* Ensure no child elements interfere with gradient text */
.gradient-text * {
  background: none !important;
}

/* Fallback for browsers that don't support background-clip */
@supports not (background-clip: text) or not (-webkit-background-clip: text) {
  .gradient-text {
    color: #00D4FF;
    background: none;
  }
}

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

.hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 600px;
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary span,
.btn-secondary span {
  background: none !important;
  color: inherit;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #0A4AFF 0%, #00D4FF 100%);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

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

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
  background: rgba(0, 212, 255, 0.1);
  color: #00D4FF;
  border: 2px solid rgba(0, 212, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  align-items: center;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #0A4AFF 0%, #00D4FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  display: inline-block;
  color: transparent;
}

/* Fallback for browsers that don't support background-clip */
@supports not (background-clip: text) or not (-webkit-background-clip: text) {
  .stat-number {
    color: #00D4FF;
    background: none;
  }
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 600px;
}

.visual-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  text-decoration: none;
  cursor: pointer;
  background: rgba(10, 30, 60, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 14px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  animation: floatCard 6s ease-in-out infinite;
}

.floating-card span {
  background: none !important;
  color: inherit;
}

.floating-card i {
  font-size: 24px;
  color: #00D4FF;
}

.floating-card:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(10, 30, 60, 0.9);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.3), 0 0 20px rgba(0, 212, 255, 0.2);
}

.card-1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.card-2 {
  top: 5%;
  right: 10%;
  animation-delay: 1s;
}

.card-3 {
  top: 40%;
  left: 0;
  animation-delay: 2s;
}

.card-4 {
  top: 30%;
  right: 5%;
  animation-delay: 3s;
}

.card-5 {
  bottom: 20%;
  left: 8%;
  animation-delay: 4s;
}

.card-6 {
  bottom: 15%;
  right: 12%;
  animation-delay: 5s;
}

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

/* Center Illustration */
.center-illustration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(102, 126, 234, 0.5);
  border-radius: 50%;
  animation: pulse 3s ease-out infinite;
}

.pulse-ring.delay-1 {
  animation-delay: 1s;
}

.pulse-ring.delay-2 {
  animation-delay: 2s;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.main-illustration {
  width: 320px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(102, 126, 234, 0.6));
  animation: floatLogo 6s ease-in-out infinite;
}

/* Hero Logo Theme Switching */
.hero-logo-dark {
  display: block;
}

.hero-logo-light {
  display: none;
}

body.light-theme .hero-logo-dark {
  display: none;
}

body.light-theme .hero-logo-light {
  display: block !important;
  filter: drop-shadow(0 20px 60px rgba(10, 74, 255, 0.4));
}

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

/* Scroll Indicator - Hidden */
.scroll-indicator {
  display: none !important;
}

/* Fade In Animations */
.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-right {
  opacity: 0;
  animation: fadeInRight 1s ease forwards 0.4s;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 42px;
  }
  
  .hero-visual {
    height: 500px;
  }
  
  .floating-card {
    font-size: 12px;
    padding: 12px 18px;
  }
}

@media (max-width: 768px) {
  .hero-modern {
    padding: 100px 20px 60px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .stat-divider {
    width: 50px;
    height: 1px;
  }
  
  .hero-visual {
    height: 400px;
  }
  
  .floating-card {
    display: none;
  }
  
  .center-illustration {
    width: 280px;
    height: 280px;
  }
  
  .main-illustration {
    width: 220px;
    height: 220px;
  }
}
