/* ============================================================
   专测平台推广页 - Base Styles
   ============================================================ */

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-text);
}

h1 { font-size: var(--fs-hero); font-weight: var(--fw-extrabold); }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-bold); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-semibold); }

p {
  line-height: var(--lh-relaxed);
  color: var(--color-text-soft);
}

a {
  color: var(--color-primary);
  transition: color var(--t-fast);
}

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

strong { font-weight: var(--fw-semibold); color: var(--color-text); }

/* ============ 容器 ============ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ============ Section 通用 ============ */
.section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  position: relative;
}

.section-soft {
  background-color: var(--color-bg-soft);
}

.section-dark {
  background: linear-gradient(135deg, #0a3eb0 0%, #1c64f2 100%);
  color: var(--color-text-on-dark);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-dark p {
  color: var(--color-text-on-dark-soft);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-title {
  margin-bottom: 0.875rem;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-soft);
  line-height: var(--lh-relaxed);
}

.section-dark .section-subtitle {
  color: var(--color-text-on-dark-soft);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

/* ============ 动画 ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--t-base), transform 0.7s var(--t-base);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
