/* ========================================
   海角网 - 主样式文件
   Brand: 海角网 | Domain: msddwcmf.cn
   ======================================== */

/* CSS变量 */
:root {
  --primary: #1a3a5c;
  --secondary: #e8453c;
  --accent: #f5a623;
  --bg-dark: #0d1b2a;
  --bg-light: #f8f9fa;
  --text-main: #2c3e50;
  --text-muted: #6c757d;
  --border: #e0e6ed;
  --card-shadow: 0 4px 20px rgba(0,0,0,0.1);
  --hover-shadow: 0 8px 30px rgba(0,0,0,0.18);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font-main: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', sans-serif;
}

/* 全局重置 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text-main);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ========== 顶部公告栏 ========== */
.top-bar {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
  text-align: center;
}
.top-bar a { color: var(--accent); margin: 0 8px; }
.top-bar a:hover { text-decoration: underline; }

/* ========== 头部导航 ========== */
.site-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-wrap img.site-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
}
.logo-wrap .brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}
.logo-wrap .brand-name span { color: var(--secondary); }

/* 主导航 */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--primary);
  color: #fff;
}
.main-nav .nav-hot { position: relative; }
.main-nav .nav-hot::after {
  content: 'HOT';
  position: absolute;
  top: -4px;
  right: -2px;
  background: var(--secondary);
  color: #fff;
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 700;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== 搜索框 ========== */
.search-bar-wrap {
  background: linear-gradient(135deg, var(--primary) 0%, #2a5298 100%);
  padding: 14px 0;
}
.search-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-form {
  display: flex;
  flex: 1;
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.search-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 20px;
  font-size: 15px;
  font-family: var(--font-main);
  background: transparent;
}
.search-form button {
  background: var(--secondary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-main);
  transition: var(--transition);
}
.search-form button:hover { background: #c73530; }
.search-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.search-tags a {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
}
.search-tags a:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* ========== 面包屑 ========== */
.breadcrumb {
  background: var(--bg-light);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb-inner a { color: var(--primary); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner span { margin: 0 6px; }

/* ========== 主容器 ========== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }
.section-bg { background: var(--bg-light); }
.section-dark { background: var(--bg-dark); color: #fff; }

/* 区块标题 */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-header .sub {
  font-size: 16px;
  color: var(--text-muted);
}
.section-header .divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin: 12px auto 0;
}
.section-title-left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title-left h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title-left h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--secondary);
  border-radius: 2px;
}
.section-title-left a.more {
  font-size: 14px;
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 20px;
}
.section-title-left a.more:hover { background: var(--primary); color: #fff; }

/* ========== Hero 横幅 ========== */
.hero-banner {
  position: relative;
  overflow: hidden;
  height: 520px;
  background: var(--bg-dark);
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,92,0.85) 0%, rgba(232,69,60,0.4) 100%);
  display: flex;
  align-items: center;
}
.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
}
.hero-content h1 {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-content h1 span { color: var(--accent); }
.hero-content p {
  font-size: 18px;
  margin-bottom: 28px;
  opacity: 0.9;
  max-width: 600px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--secondary);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: #c73530; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,69,60,0.4); }
.btn-outline {
  background: transparent;
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* 统计数字 */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}
.hero-stats .stat { text-align: center; }
.hero-stats .stat .num {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
}
.hero-stats .stat .label { font-size: 13px; opacity: 0.8; }

/* ========== 视频卡片 ========== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.video-grid-3 { grid-template-columns: repeat(3, 1fr); }
.video-grid-2 { grid-template-columns: repeat(2, 1fr); }

.video-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hover-shadow);
}
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #1a1a2e;
}
.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); }
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  background: rgba(0,0,0,0.35);
}
.video-card:hover .play-btn { opacity: 1; }
.play-btn svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.video-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--secondary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.video-badge.live { background: #ff4757; animation: pulse 1.5s infinite; }
.video-badge.new { background: #2ed573; }
.video-badge.hot { background: var(--accent); color: #333; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-info { padding: 14px; }
.video-info h3 {
  font-size: 14px;
  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: 12px;
  color: var(--text-muted);
}
.video-meta .author { display: flex; align-items: center; gap: 4px; }
.video-meta .author img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}
.video-stats { display: flex; gap: 10px; margin-top: 6px; font-size: 12px; color: var(--text-muted); }
.video-stats span { display: flex; align-items: center; gap: 3px; }

/* ========== 分类标签 ========== */
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.category-tabs .tab {
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
}
.category-tabs .tab:hover, .category-tabs .tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ========== 专家卡片 ========== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.expert-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: var(--transition);
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--hover-shadow); }
.expert-avatar {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.expert-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.expert-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.expert-body { padding: 16px; }
.expert-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.expert-body .role { font-size: 13px; color: var(--secondary); margin-bottom: 8px; }
.expert-body p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.expert-links { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.expert-links a {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
}
.expert-links a.primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.expert-links a:hover { opacity: 0.85; }

/* ========== 用户评价 ========== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--card-shadow);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--hover-shadow); }
.review-stars { color: var(--accent); font-size: 16px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--text-main); line-height: 1.6; margin-bottom: 14px; }
.review-user { display: flex; align-items: center; gap: 10px; }
.review-user .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.review-user .name { font-weight: 600; font-size: 14px; }
.review-user .date { font-size: 12px; color: var(--text-muted); }

/* ========== FAQ ========== */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  transition: var(--transition);
}
.faq-question:hover { background: var(--bg-light); }
.faq-question .icon {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 20px 18px; }
.faq-item.open .faq-question { background: var(--bg-light); }
.faq-item.open .icon { transform: rotate(45deg); background: var(--secondary); }

/* ========== 合作品牌Logo墙 ========== */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.partner-logo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  min-width: 120px;
  text-align: center;
}
.partner-logo:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--card-shadow); }

/* ========== 社区功能卡片 ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid transparent;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hover-shadow);
  border-top-color: var(--primary);
}
.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), #2a5298);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ========== AI赋能区块 ========== */
.ai-section {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 50%, #2a5298 100%);
  color: #fff;
  padding: 70px 0;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ai-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.ai-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.ai-icon { font-size: 42px; margin-bottom: 16px; }
.ai-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--accent); }
.ai-card p { font-size: 14px; opacity: 0.85; line-height: 1.6; }

/* ========== 联系我们 ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h3 { font-size: 22px; font-weight: 700; margin-bottom: 20px; color: var(--primary); }
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.contact-item .icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item .text .label { font-size: 13px; color: var(--text-muted); }
.contact-item .text .value { font-size: 15px; font-weight: 600; }
.qr-group { display: flex; gap: 24px; }
.qr-item { text-align: center; }
.qr-item img { width: 120px; height: 120px; border-radius: 8px; border: 2px solid var(--border); }
.qr-item p { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

/* ========== 社交分享 ========== */
.share-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.share-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.share-wechat { background: #07c160; color: #fff; }
.share-weibo { background: #e6162d; color: #fff; }
.share-douyin { background: #000; color: #fff; }
.share-bilibili { background: #00a1d6; color: #fff; }

/* ========== 页脚 ========== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-wrap { margin-bottom: 14px; }
.footer-brand .logo-wrap .brand-name { color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.7; opacity: 0.7; }
.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; opacity: 0.7; transition: var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  opacity: 0.6;
}
.footer-bottom a { opacity: 0.8; }
.footer-bottom a:hover { opacity: 1; }

/* ========== 图片展示区 ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-size: 14px; font-weight: 600; }

/* ========== 标签云 ========== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 5px 14px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}
.tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ========== 加入社区指南 ========== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step-card {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.step-card::before {
  counter-increment: step;
  content: counter(step);
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-muted); }

/* ========== 内页 Banner ========== */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #2a5298 100%);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.page-banner h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.page-banner p { font-size: 16px; opacity: 0.85; }

/* ========== 分页 ========== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
  transition: var(--transition);
}
.pagination a:hover, .pagination a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ========== 响应式 ========== */
@media (max-width: 1100px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { height: 60px; }
  .main-nav { display: none; position: fixed; top: 60px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; box-shadow: 0 8px 20px rgba(0,0,0,0.15); z-index: 999; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-banner { height: 360px; }
  .hero-content h1 { font-size: 28px; }
  .hero-stats { gap: 20px; }
  .hero-stats .stat .num { font-size: 24px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 40px 0; }
  .section-header h2 { font-size: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-grid-3 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 22px; }
  .hero-btns { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
}

/* ========== 懒加载占位 ========== */
.lazy-img { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ========== 滚动动画 ========== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========== 视频播放弹窗 ========== */
.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.open { display: flex; }
.video-modal-inner {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  max-width: 860px;
  width: 90%;
  position: relative;
}
.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-modal video { width: 100%; display: block; }
.video-placeholder {
  background: #1a1a2e;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: 12px;
}
.video-placeholder .play-icon { font-size: 60px; opacity: 0.8; }
.video-placeholder p { font-size: 16px; opacity: 0.6; }

/* ========== 通知条 ========== */
.notice-bar {
  background: linear-gradient(90deg, var(--secondary), #ff6b6b);
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
}
.notice-bar .marquee {
  display: flex;
  gap: 60px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.notice-bar .marquee span { font-size: 14px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ========== 直播标签 ========== */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ff4757;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.live-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1s infinite;
}
