/* ============================================
   OPC社区官方网站 - Hero区域样式
   ============================================ */

.hero {
  position: relative;
  background: linear-gradient(135deg, #0a0f24 0%, #1a2a6c 40%, #1c388e 70%, #16204a 100%);
  padding: 45px 0 60px;
  overflow: hidden;
}

/* 背景装饰 */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

/* 几何装饰线 */
.hero-geo-lines {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  opacity: 0.06;
  background:
    linear-gradient(45deg, transparent 49%, rgba(212, 168, 67, 0.5) 49%, rgba(212, 168, 67, 0.5) 51%, transparent 51%),
    linear-gradient(-45deg, transparent 49%, rgba(59, 130, 246, 0.5) 49%, rgba(59, 130, 246, 0.5) 51%, transparent 51%);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

/* Logo */
.hero-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-text-white);
  letter-spacing: 2px;
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  font-weight: 400;
}

/* 标语 */
.hero-slogan {
  text-align: right;
}

.hero-slogan-main {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text-white);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.hero-slogan-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero {
    padding: var(--space-lg) 0 calc(var(--space-lg) + 10px);
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  .hero-slogan {
    text-align: center;
  }

  .hero-slogan-main {
    font-size: 18px;
  }

  .logo-title {
    font-size: 24px;
  }

  .hero-geo-lines {
    display: none;
  }
}
