/* ========================================
   银川数据要素服务中心 2.0 - 全局重置与基础样式
   ======================================== */

/* === 全局重置 === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--dark-bg-primary);
  color: var(--text-on-dark-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* === 容器 === */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === 通用标题样式 === */

/* 区域标签 - 左侧短横线 + 大写字母 */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

/* 区域大标题 + 渐变文字 */
.section-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  color: var(--text-on-dark-primary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 浅色背景区域的大标题 */
.section-light .section-title {
  color: var(--text-on-light-primary);
}

/* 渐变文字效果 - 改为双色系 */
.section-title .gradient-text {
  color: var(--color-primary);
  -webkit-text-fill-color: var(--color-primary);
  background: none;
}

/* 区域描述文字 */
.section-desc {
  font-size: var(--font-size-lg);
  color: var(--text-on-dark-secondary);
  max-width: 680px;
  line-height: 1.8;
}

.section-light .section-desc {
  color: var(--text-on-light-secondary);
}

/* 区域标题组容器 */
.section-header {
  margin-bottom: 60px;
}

/* === 渐变分隔线 === */
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--gradient-divider);
  margin: 0;
  border: none;
}

/* === 滚动渐入动画 === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 交错延迟类 */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* === 居中辅助类 === */
.text-center {
  text-align: center;
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* === 自定义滚动条 === */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(79,172,254,0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(79,172,254,0.4);
}

/* === 响应式间距调整 === */
@media (max-width: 768px) {
  .section-header {
    margin-bottom: 40px;
  }
}
