/* ==========================================================================
   首屏展示组件 (Hero)
   ========================================================================== */

.zuoekai-hero {
  position: relative;
  background-color: var(--zuoekai-color-surface-page);
  padding: 64px 0;
  overflow: hidden;
}

.zuoekai-hero__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 10;
}

/* 内容布局 */
.zuoekai-hero__content {
  max-width: 600px;
}

/* 文本元素 */
.zuoekai-hero__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--zuoekai-color-text);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.zuoekai-hero__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--zuoekai-color-text-secondary);
  margin: 0 0 32px;
}

/* 操作按钮组 */
.zuoekai-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* 媒体元素 (图片/视频) */
.zuoekai-hero__media {
  display: none; /* Mobile default hidden or stacked */
  margin-top: 40px;
}

.zuoekai-hero__media img {
  max-width: 100%;
  height: auto;
  border-radius: var(--zuoekai-radius-lg);
  box-shadow: var(--zuoekai-shadow-xl);
}

/* --- 响应式 (Responsive) --- */
@media (min-width: 768px) {
  .zuoekai-hero {
    padding: 96px 0;
  }

  .zuoekai-hero__title {
    font-size: 48px;
  }

  .zuoekai-hero__subtitle {
    font-size: 20px;
  }
}

@media (min-width: 1024px) {
  /* 两列布局 */
  .zuoekai-hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .zuoekai-hero__media {
    display: block;
    margin-top: 0;
  }
  
  /* 居中模式下的微调 */
  .zuoekai-hero--center .zuoekai-hero__container {
    display: block;
    text-align: center;
  }
  
  .zuoekai-hero--center .zuoekai-hero__content {
    margin: 0 auto;
    max-width: 800px;
  }
  
  .zuoekai-hero--center .zuoekai-hero__actions {
    justify-content: center;
  }
}

/* --- 变体 (Variants) --- */

/* 1. 居中对齐 (Center) */
.zuoekai-hero--center {
  text-align: center;
}

.zuoekai-hero--center .zuoekai-hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.zuoekai-hero--center .zuoekai-hero__content {
  margin: 0 auto;
}

.zuoekai-hero--center .zuoekai-hero__actions {
  justify-content: center;
}

/* 2. 强调背景 (Accent) */
.zuoekai-hero--accent {
  background: linear-gradient(135deg, var(--zuoekai-color-surface-page) 0%, var(--zuoekai-color-brand-50) 100%);
}

.zuoekai-hero--dark {
  background-color: #111827;
}

.zuoekai-hero--dark .zuoekai-hero__title {
  color: white;
}

.zuoekai-hero--dark .zuoekai-hero__subtitle {
  color: #9ca3af; /* gray-400 */
}
