/* ============================================================
   17c一起草 - 影视传媒与视频社区 | avdzifo.cn
   主样式文件 v1.0
   ============================================================ */

/* ---- CSS变量 ---- */
:root {
  --primary: #6a1b9a;
  --primary-light: #9c4dcc;
  --primary-dark: #38006b;
  --accent: #e040fb;
  --accent-light: #ff79ff;
  --gold: #c9a84c;
  --gold-light: #f0d080;
  --dark: #1a1a2e;
  --dark2: #16213e;
  --dark3: #0f3460;
  --text-main: #2d2d2d;
  --text-light: #666;
  --text-muted: #999;
  --bg-light: #f8f4ff;
  --bg-white: #ffffff;
  --border: #e0d6f5;
  --shadow: 0 4px 20px rgba(106,27,154,0.12);
  --shadow-hover: 0 8px 32px rgba(106,27,154,0.22);
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --font-main: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', sans-serif;
}

/* ---- 重置 ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: var(--font-main); }

/* ---- 通用容器 ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section-sm { padding: 40px 0; }
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}
.section-title p {
  color: var(--text-light);
  margin-top: 14px;
  font-size: 1rem;
}
.bg-light { background: var(--bg-light); }
.bg-dark {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  color: #fff;
}
.text-center { text-align: center; }

/* ---- 按钮 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 15px rgba(106,27,154,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(106,27,154,0.4);
  color: #fff;
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(201,168,76,0.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,168,76,0.4); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ---- 顶部公告栏 ---- */
.top-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--dark3));
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 7px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: var(--gold-light); }
.top-bar a:hover { color: #fff; }
.top-bar-links { display: flex; gap: 18px; }

/* ---- 头部 ---- */
.site-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(106,27,154,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.logo-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ---- 导航 ---- */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  background: var(--bg-light);
  color: var(--primary);
}
.nav-hot {
  position: relative;
}
.nav-hot::after {
  content: 'HOT';
  position: absolute;
  top: -4px; right: -2px;
  font-size: 0.55rem;
  background: #f44336;
  color: #fff;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 700;
}

/* ---- 搜索框 ---- */
.search-bar-wrap {
  background: var(--bg-light);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.search-bar {
  display: flex;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(106,27,154,0.06);
  transition: var(--transition);
}
.search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(106,27,154,0.15);
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  background: transparent;
  color: var(--text-main);
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.search-btn:hover { opacity: 0.9; }
.search-tags {
  text-align: center;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.search-tags span { color: var(--text-light); margin-right: 4px; }
.search-tags a {
  color: var(--primary-light);
  margin: 0 4px;
}
.search-tags a:hover { color: var(--accent); }

/* ---- 移动端菜单按钮 ---- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Hero 横幅 ---- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 50%, var(--primary-dark) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 640px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(224,64,251,0.2);
  border: 1px solid rgba(224,64,251,0.4);
  color: var(--accent-light);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--accent-light); }
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-light);
  display: block;
}
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ---- 视频卡片 ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--dark);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: var(--transition);
}
.video-card:hover .video-play-btn { opacity: 1; }
.play-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.video-card:hover .play-icon { transform: scale(1); }
.play-icon::after {
  content: '';
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--primary);
  margin-left: 4px;
}
.video-duration {
  position: absolute;
  bottom: 8px; right: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-tag {
  position: absolute;
  top: 8px; left: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 600;
}
.video-info { padding: 14px 16px; }
.video-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.author-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.author-name { font-size: 0.8rem; color: var(--text-light); }

/* ---- 图片卡片 ---- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.photo-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.photo-card:hover img { transform: scale(1.08); }
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.photo-card:hover .photo-overlay { opacity: 1; }
.photo-overlay-text { color: #fff; font-size: 0.88rem; font-weight: 600; }

/* ---- 专家卡片 ---- */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}
.expert-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.expert-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--primary-light);
}
.expert-name { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.expert-title { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 14px; }
.tag {
  background: var(--bg-light);
  color: var(--primary);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid var(--border);
}
.expert-btns { display: flex; gap: 8px; justify-content: center; }

/* ---- 评价卡片 ---- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.review-stars { color: #ffc107; font-size: 1rem; margin-bottom: 10px; }
.review-text { font-size: 0.92rem; color: var(--text-main); line-height: 1.7; margin-bottom: 14px; }
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  overflow: hidden;
}
.review-info { flex: 1; }
.review-name { font-size: 0.9rem; font-weight: 600; color: var(--text-main); }
.review-date { font-size: 0.78rem; color: var(--text-muted); }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-q {
  padding: 18px 22px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-q:hover { background: var(--bg-light); }
.faq-q .faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 18px; }

/* ---- 合作品牌 ---- */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.partner-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.partner-item:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); }

/* ---- 联系我们 ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-list { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail h4 { font-size: 0.9rem; font-weight: 600; color: var(--text-main); margin-bottom: 3px; }
.contact-detail p { font-size: 0.85rem; color: var(--text-light); }
.qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.qr-card {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.qr-img {
  width: 120px; height: 120px;
  margin: 0 auto 10px;
  border-radius: 8px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.qr-img img { width: 100%; height: 100%; object-fit: cover; }
.qr-label { font-size: 0.85rem; font-weight: 600; color: var(--text-main); }
.qr-sub { font-size: 0.78rem; color: var(--text-muted); }

/* ---- 社交分享 ---- */
.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.share-label { font-size: 0.9rem; color: var(--text-light); font-weight: 500; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid;
}
.share-wechat { border-color: #07c160; color: #07c160; }
.share-wechat:hover { background: #07c160; color: #fff; }
.share-weibo { border-color: #e6162d; color: #e6162d; }
.share-weibo:hover { background: #e6162d; color: #fff; }
.share-douyin { border-color: #010101; color: #010101; }
.share-douyin:hover { background: #010101; color: #fff; }
.share-bilibili { border-color: #00a1d6; color: #00a1d6; }
.share-bilibili:hover { background: #00a1d6; color: #fff; }

/* ---- 底部 ---- */
.site-footer {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-name { font-size: 1.6rem; }
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin: 12px 0 20px;
  line-height: 1.8;
}
.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--accent-light); }
.footer-update { color: rgba(255,255,255,0.4); font-size: 0.8rem; }

/* ---- 面包屑 ---- */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--primary-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-muted); }

/* ---- 标签栏 ---- */
.tab-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.tab-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-color: transparent;
}

/* ---- 内页 Banner ---- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  padding: 60px 0;
  color: #fff;
  text-align: center;
}
.page-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto; }

/* ---- 特性卡片 ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.feature-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 14px;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.feature-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ---- 加入指南步骤 ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  border: 1px solid var(--border);
  position: relative;
  text-align: center;
  transition: var(--transition);
  counter-increment: step;
}
.step-card::before {
  content: counter(step);
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-card h3 { font-size: 0.98rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--text-light); }

/* ---- 通知条 ---- */
.notice-bar {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
}
.notice-scroll {
  display: flex;
  gap: 60px;
  animation: scrollLeft 30s linear infinite;
  white-space: nowrap;
}
.notice-scroll span { font-size: 0.88rem; }
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- 数据统计条 ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-item {
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stats-item:last-child { border-right: none; }
.stats-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-light);
  display: block;
}
.stats-label { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-top: 4px; }

/* ---- 视频播放模态框 ---- */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.video-modal.show { display: flex; }
.modal-content {
  background: var(--dark);
  border-radius: var(--radius);
  width: 90%;
  max-width: 800px;
  overflow: hidden;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-item:nth-child(2) { border-right: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .top-bar .container { flex-direction: column; gap: 4px; }
  .header-inner { flex-wrap: wrap; }
  .main-nav { display: none; flex-direction: column; width: 100%; background: #fff; padding: 12px 0; border-top: 1px solid var(--border); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 16px; }
  .menu-toggle { display: flex; }
  .hero h1 { font-size: 1.9rem; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 48px 0; }
  .section-title h2 { font-size: 1.6rem; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .qr-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .hero-btns { flex-direction: column; }
  .video-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .qr-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .stats-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}

/* ---- 联系页面 ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-detail h4 { color: var(--primary-dark); font-size: 0.9rem; margin-bottom: 4px; }
.contact-detail p { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qr-card { background: #fff; border-radius: var(--radius); padding: 16px; text-align: center; border: 1px solid var(--border); }
.qr-img { width: 80px; height: 80px; margin: 0 auto 8px; border-radius: 8px; overflow: hidden; }
.qr-img img { width: 100%; height: 100%; object-fit: cover; }
.qr-label { font-size: 0.85rem; font-weight: 600; color: var(--primary-dark); }
.qr-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* ---- 内页Hero ---- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark3) 100%);
  padding: 60px 0 50px;
  text-align: center;
  color: #fff;
}
.page-hero h1 { font-size: 2rem; font-weight: 800; margin: 12px 0 10px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 0.95rem; max-width: 600px; margin: 0 auto; }

/* ---- 搜索框 ---- */
.search-bar-wrap {
  background: var(--bg-light);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.search-bar {
  display: flex;
  gap: 10px;
  max-width: 600px;
}
.search-bar input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  outline: none;
  font-family: var(--font-main);
  background: #fff;
}
.search-bar input:focus { border-color: var(--primary); }
.search-btn {
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: var(--transition);
}
.search-btn:hover { background: var(--accent); }
.search-tags { margin-top: 8px; font-size: 0.82rem; color: var(--text-muted); }
.search-tags a { color: var(--primary); margin-right: 10px; }
.search-tags a:hover { color: var(--accent); }

/* ---- 标签栏 ---- */
.tab-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.tab-btn {
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--bg-light);
  color: var(--text-light);
  font-size: 0.88rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---- 专家卡片 ---- */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.expert-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.expert-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid var(--primary);
}
.expert-name { font-size: 1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.expert-title { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 10px; }
.expert-tags { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.tag {
  background: var(--bg-light);
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
}

/* ---- 功能特性卡片 ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 0.95rem; color: var(--primary-dark); margin-bottom: 8px; }
.feature-card p { font-size: 0.82rem; color: var(--text-light); line-height: 1.7; }

/* ---- 面包屑 ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { color: var(--accent); }

/* ---- 金色按钮 ---- */
.btn-gold {
  background: linear-gradient(135deg, #c9a84c, #f0d080);
  color: #38006b;
  font-weight: 700;
}
.btn-gold:hover { background: linear-gradient(135deg, #f0d080, #c9a84c); color: #38006b; }

/* ---- 视频模态框激活 ---- */
.video-modal.active { display: flex; }
