:root {
  --brand: #ff5c39;
  --brand-2: #2b6cff;
  --brand-3: #ffb020;
  --accent: #8b5cf6;
  --green: #2fa86a;
  --bg: #ffffff;
  --bg-2: #f6f7fb;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --text: #1c1f26;
  --text-2: #5a6072;
  --line: #e6e8ef;
  --shadow: 0 8px 28px rgba(20, 24, 40, 0.08);
  --shadow-lg: 0 20px 48px rgba(20, 24, 40, 0.14);
  --radius: 14px;
  --radius-lg: 20px;
  --grad-hero: linear-gradient(135deg, #fff4ef 0%, #eef3ff 55%, #f3e8ff 100%);
  --grad-brand: linear-gradient(135deg, #ff5c39 0%, #ff8a3d 50%, #ffb020 100%);
  --grad-cool: linear-gradient(135deg, #2b6cff 0%, #6a8dff 100%);
}

html[data-theme="dark"] {
  --bg: #12141a;
  --bg-2: #1a1d26;
  --bg-glass: rgba(18, 20, 26, 0.72);
  --text: #eef0f5;
  --text-2: #a3a9ba;
  --line: #2a2e3a;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.6);
  --grad-hero: linear-gradient(135deg, #1e1a17 0%, #151b2b 55%, #1c1630 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--brand);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 9999;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* ============ 头部 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header:hover {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.logo svg {
  width: 36px;
  height: 36px;
  transition: transform 0.5s ease;
}

.logo:hover svg {
  transform: rotate(90deg);
}

.logo .brand-name {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a:focus {
  background: var(--bg-2);
  color: var(--brand);
  transform: translateY(-1px);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px 8px;
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent);
}

.search-box input {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  width: 150px;
  font-size: 14px;
  padding: 6px;
  font-family: inherit;
}

.search-box input::placeholder {
  color: var(--text-2);
}

.search-box button {
  border: 0;
  background: var(--grad-brand);
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  font-weight: 600;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.search-box button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.icon-btn {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
  background: var(--bg-2);
}

.menu-toggle {
  display: none;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  padding: 56px 0 48px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  background: var(--brand);
  top: -160px;
  right: -80px;
  opacity: 0.18;
}

.hero::after {
  width: 360px;
  height: 360px;
  background: var(--brand-2);
  bottom: -180px;
  left: -100px;
  opacity: 0.16;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero h1 .hl {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero .lead {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 17px;
}

.hero .lead strong {
  color: var(--text);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 32%, transparent);
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--brand) 40%, transparent);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--bg);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.stat .num {
  font-size: 26px;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1.4;
}

.stat .label {
  font-size: 13px;
  color: var(--text-2);
}

.hero-art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.banner-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-2);
}

.slides {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide svg {
  width: 100%;
  height: auto;
  display: block;
}

.slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.68), transparent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.6;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
  transition: width 0.3s ease, background 0.3s ease;
}

.slider-dots button:hover {
  background: rgba(255, 255, 255, 0.85);
}

.slider-dots button.active {
  background: #fff;
  width: 22px;
  border-radius: 5px;
}

/* ============ 区块通用 ============ */
.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--bg-2);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.4;
}

.section-head p {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 15px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ============ 卡片 ============ */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.card p {
  color: var(--text-2);
  font-size: 15px;
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.28s ease, background 0.28s ease;
}

.card:hover .icon {
  transform: scale(1.08) rotate(-4deg);
  background: color-mix(in srgb, var(--brand) 20%, transparent);
}

.card .icon svg {
  width: 26px;
  height: 26px;
}

.feature-list {
  list-style: none;
  margin-top: 14px;
}

.feature-list li {
  padding-left: 24px;
  position: relative;
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.feature-list li:hover {
  color: var(--text);
  transform: translateX(2px);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-brand);
}

/* ============ 面包屑 ============ */
.breadcrumb {
  font-size: 14px;
  color: var(--text-2);
  padding: 16px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.breadcrumb a {
  color: var(--brand);
  transition: opacity 0.2s ease;
}

.breadcrumb a:hover {
  opacity: 0.75;
}

.breadcrumb span {
  margin: 0 8px;
  color: var(--text-2);
}

/* ============ 文章卡片 ============ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
}

.article-card .thumb {
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  overflow: hidden;
}

.article-card .thumb svg {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.article-card:hover .thumb svg {
  transform: scale(1.06);
}

.article-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.article-meta span:first-child {
  color: var(--brand);
  font-weight: 600;
}

.article-body h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.article-card:hover .article-body h3 {
  color: var(--brand);
}

.article-body p {
  color: var(--text-2);
  font-size: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  margin-top: 14px;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.2s ease, letter-spacing 0.2s ease;
  display: inline-block;
}

.article-card:hover .read-more {
  letter-spacing: 0.5px;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--bg);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}

.faq-item.open {
  border-color: var(--brand);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--brand) 12%, transparent);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.faq-q:hover {
  color: var(--brand);
}

.faq-q .plus {
  color: var(--brand);
  font-size: 22px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
  font-weight: 400;
}

.faq-item.open .plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-2);
  font-size: 15px;
}

.faq-a .inner {
  padding: 0 22px 20px;
  line-height: 1.8;
}

.faq-item.open .faq-a {
  max-height: 800px;
}

/* ============ 步骤 ============ */
.howto-steps {
  counter-reset: step;
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.step:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
}

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 30%, transparent);
  transition: transform 0.28s ease;
}

.step:hover .step-num {
  transform: scale(1.08) rotate(-6deg);
}

.step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.step p {
  color: var(--text-2);
  font-size: 15px;
}

/* ============ 标签页 ============ */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.tab-btn {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text-2);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.tab-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 30%, transparent);
}

.tab-panel[hidden] {
  display: none;
}

/* ============ 联系 ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.contact-item:hover {
  background: var(--bg);
  border-color: var(--line);
  transform: translateX(4px);
}

.contact-item .ci-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.contact-item:hover .ci-icon {
  transform: scale(1.1);
}

.contact-item .ci-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item h4 {
  font-size: 15px;
  margin-bottom: 2px;
}

.contact-item p {
  color: var(--text-2);
  font-size: 14px;
  word-break: break-word;
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--text-2);
  opacity: 0.7;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent);
}

.form-row textarea {
  min-height: 110px;
  resize: vertical;
}

/* ============ 页脚 ============ */
.site-footer {
  background: color-mix(in srgb, var(--bg-2) 70%, var(--bg));
  border-top: 1px solid var(--line);
  padding: 56px 0 24px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-col h4 {
  font-size: 15px;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-col p,
.footer-col a {
  color: var(--text-2);
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  color: var(--brand);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-2);
  font-size: 13px;
}

.footer-bottom a:hover {
  color: var(--brand);
}

/* ============ 返回顶部 ============ */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  font-size: 20px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.back-top:hover {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.08);
}

.back-top.show {
  display: flex;
}

/* ============ 滚动动画 ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============ 站点地图 ============ */
.sitemap-list {
  columns: 2;
  gap: 24px;
  list-style: none;
}

.sitemap-list li {
  margin-bottom: 8px;
  break-inside: avoid;
}

.sitemap-list a {
  color: var(--text-2);
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.sitemap-list a:hover {
  color: var(--brand);
  padding-left: 4px;
}

/* ============ 提示条 ============ */
.notice {
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  border-left: 4px solid var(--brand);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  color: var(--text-2);
  font-size: 14px;
  margin: 20px 0;
  line-height: 1.8;
}

/* ============ 标签 ============ */
.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.tag {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--text-2);
  border: 1px solid var(--line);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tag:hover {
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  border-color: var(--brand);
}

/* ============ 团队 ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
}

.team-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 14px;
  overflow: hidden;
  transition: transform 0.35s ease;
  border: 3px solid var(--bg);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.team-card:hover .avatar {
  transform: scale(1.08);
}

.team-card h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.team-card p {
  color: var(--text-2);
  font-size: 14px;
}

/* ============ 时间线 ============ */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand), var(--brand-2), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
  transition: transform 0.25s ease;
}

.timeline-item:hover {
  transform: translateX(4px);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--grad-brand);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
  transition: transform 0.25s ease;
}

.timeline-item:hover::before {
  transform: scale(1.15);
}

.timeline-item h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.timeline-item .year {
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
}

.timeline-item p {
  color: var(--text-2);
  font-size: 15px;
}

.ad-slot {
  display: none;
}

/* ============ 响应式：平板 ============ */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    gap: 2px;
  }

  .main-nav.open {
    display: flex;
    animation: navSlide 0.28s ease;
  }

  @keyframes navSlide {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .main-nav a {
    padding: 12px 16px;
    border-radius: 8px;
  }

  .menu-toggle {
    display: flex;
  }

  .search-box input {
    width: 110px;
  }

  .sitemap-list {
    columns: 1;
  }

  .hero::before,
  .hero::after {
    opacity: 0.1;
  }
}

/* ============ 响应式：手机 ============ */
@media (max-width: 600px) {
  .grid-3,
  .grid-4,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero {
    padding: 36px 0 32px;
  }

  .section {
    padding: 44px 0;
  }

  .header-inner {
    gap: 12px;
  }

  .search-box {
    display: none;
  }

  .step {
    flex-direction: column;
    gap: 14px;
  }

  .card {
    padding: 22px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat .num {
    font-size: 22px;
  }

  .slide-caption {
    font-size: 12px;
    padding: 14px 16px;
  }

  .back-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .breadcrumb {
    font-size: 13px;
  }

  .contact-form {
    padding: 22px;
  }

  .timeline {
    padding-left: 24px;
  }
}

/* ============ 减少动效偏好 ============ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============ 打印样式 ============ */
@media print {
  .site-header,
  .back-top,
  .hero-actions,
  .slider-dots,
  .search-box {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .card,
  .article-card,
  .step {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}