/* 
 * 主视觉区域样式
 */

.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 120px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--color-dark) 0%, rgba(12, 14, 18, 0.8) 100%);
}

.particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  max-width: 600px;
  margin-right: var(--spacing-6);
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-4);
  background: linear-gradient(to right, var(--color-white), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-gray-4);
  margin-bottom: var(--spacing-5);
  line-height: var(--line-height-relaxed);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-3);
  margin-top: var(--spacing-5);
}

.hero-visual {
  position: relative;
  flex: 1;
  height: 460px;
}

.trading-chart {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(27, 31, 43, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(46, 50, 64, 0.8);
}

.chart-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  padding: var(--spacing-3);
  background: rgba(27, 31, 43, 0.8);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(46, 50, 64, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.floating-badge-1 {
  top: 10%;
  right: -5%;
  animation: float 6s ease-in-out infinite;
}

.floating-badge-2 {
  bottom: 15%;
  left: -8%;
  animation: float 7s ease-in-out infinite 1s;
}

.floating-badge-3 {
  bottom: 30%;
  right: 10%;
  animation: float 5s ease-in-out infinite 0.5s;
}

.badge-icon {
  width: 32px;
  height: 32px;
  margin-right: var(--spacing-2);
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-text {
  font-weight: 500;
  font-size: var(--font-size-sm);
  color: var(--color-white);
}

.security-icon {
  background: var(--gradient-primary);
}

.trade-icon {
  background: var(--gradient-secondary);
}

.global-icon {
  background: var(--gradient-accent);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .hero-title {
    font-size: var(--font-size-4xl);
  }
}

@media (max-width: 1024px) {
  .hero-section {
    padding: 100px 0;
  }
  
  .hero-content {
    max-width: 500px;
  }
  
  .hero-title {
    font-size: var(--font-size-3xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 120px 0 60px;
    flex-direction: column;
  }
  
  .hero-content {
    margin-right: 0;
    margin-bottom: var(--spacing-6);
    text-align: center;
  }
  
  .hero-title {
    font-size: var(--font-size-2xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-base);
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-visual {
    width: 100%;
    height: 360px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 100px 0 40px;
  }
  
  .hero-title {
    font-size: var(--font-size-xl);
  }
  
  .hero-visual {
    height: 280px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
}