/* ================================================
   国产大片 - 主样式文件
   品牌色：深海蓝 #1a2a5e | 珊瑚红 #e8523a | 浅灰 #f5f6fa
   ================================================ */

/* ---- 基础重置 ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  background: #f5f6fa;
  color: #222;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---- CSS变量 ---- */
:root {
  --primary: #7b2d00;
  --accent: #d62828;
  --accent2: #f7b731;
  --light: #f5f6fa;
  --white: #ffffff;
  --dark: #111827;
  --gray: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 4px 24px rgba(26,42,94,0.10);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.25s ease;
}

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

/* ---- 导航栏 ---- */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 70px;
  gap: 20px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.navbar-brand .site-favicon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: contain;
}
.navbar-brand .site-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.navbar-brand .brand-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-menu a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
  background: var(--primary);
  color: var(--white);
}
.nav-search {
  display: flex;
  align-items: center;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 6px 14px;
  gap: 8px;
  min-width: 200px;
}
.nav-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  width: 100%;
  color: var(--dark);
}
.nav-search button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  font-size: 16px;
  padding: 0;
  display: flex;
  align-items: center;
}
.nav-search button:hover { color: var(--accent); }
.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);
}

/* ---- 面包屑 ---- */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb-inner a { color: var(--primary); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner .sep { color: var(--border); }

/* ---- 容器 ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 8px;
}
.section-sub {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 36px;
  margin-top: 4px;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.more-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.more-link:hover { gap: 8px; }

/* ---- Hero Banner ---- */
.hero {
  position: relative;
  min-height: 520px;
  background: var(--primary);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 60px 20px 60px 60px;
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--accent2); }
.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin-bottom: 28px;
  line-height: 1.8;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #c9412a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,82,58,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- 统计数据条 ---- */
.stats-bar {
  background: var(--primary);
  padding: 20px 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  text-align: center;
  color: var(--white);
}
.stat-item .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent2);
  display: block;
}
.stat-item .label {
  font-size: 13px;
  opacity: 0.8;
}

/* ---- 视频卡片 ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(26,42,94,0.15); }
.video-thumb {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: #1a1a2e;
}
.video-thumb img {
  position: absolute;
  inset: 0;
  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.3);
  opacity: 0;
  transition: opacity var(--transition);
}
.video-card:hover .video-play-btn { opacity: 1; }
.play-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform var(--transition);
}
.video-card:hover .play-icon { transform: scale(1); }
.play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--accent);
  margin-left: 4px;
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  color: var(--white);
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}
.video-info { padding: 14px 16px 16px; }
.video-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  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(--gray);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }

/* ---- 精选视频大卡片 ---- */
.featured-video {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.featured-video img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.featured-video:hover img { transform: scale(1.04); }
.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.featured-overlay h3 {
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.featured-overlay p { color: rgba(255,255,255,0.8); font-size: 14px; margin-bottom: 14px; }
.featured-play {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  transition: all var(--transition);
}
.featured-video:hover .featured-play {
  background: var(--accent);
  border-color: var(--accent);
  transform: translate(-50%,-50%) scale(1.1);
}
.featured-play::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent white;
  margin-left: 5px;
}

/* ---- 专家卡片 ---- */
.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.expert-card:hover { transform: translateY(-4px); }
.expert-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--primary);
}
.expert-name { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.expert-title { font-size: 13px; color: var(--accent); margin-bottom: 10px; font-weight: 600; }
.expert-desc { font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 16px; }
.tag {
  display: inline-block;
  background: var(--light);
  color: var(--primary);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.btn-xs {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-xs-primary { background: var(--primary); color: var(--white); }
.btn-xs-primary:hover { background: #0f1d42; }
.btn-xs-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-xs-outline:hover { background: var(--primary); color: var(--white); }

/* ---- 评论区 ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 60px;
  color: var(--border);
  font-family: Georgia, serif;
  line-height: 1;
}
.review-stars { color: var(--accent2); font-size: 15px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: #444; line-height: 1.7; margin-bottom: 14px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 600; color: var(--dark); }
.review-date { font-size: 12px; color: var(--gray); }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-question::after {
  content: '+';
  font-size: 22px;
  color: var(--accent);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.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(--gray);
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 20px 18px; }

/* ---- 合作品牌 ---- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.partner-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 80px;
}
.partner-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.partner-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
}

/* ---- 联系区块 ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item-text { font-size: 14px; color: var(--dark); line-height: 1.6; }
.contact-item-text strong { display: block; color: var(--primary); font-size: 15px; margin-bottom: 2px; }
.qr-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.qr-box { text-align: center; }
.qr-box img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; border: 2px solid var(--border); }
.qr-box p { font-size: 12px; color: var(--gray); margin-top: 6px; }

/* ---- 社区入口 ---- */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.community-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}
.community-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.community-icon { font-size: 36px; margin-bottom: 10px; }
.community-name { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.community-desc { font-size: 12px; color: var(--gray); }

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

/* ---- 页脚 ---- */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .logo-wrap img { height: 36px; filter: brightness(0) invert(1); }
.footer-brand .logo-wrap span { font-size: 20px; font-weight: 700; color: var(--white); }
.footer-brand p { font-size: 13px; line-height: 1.8; opacity: 0.75; margin-bottom: 16px; }
.footer-qr { display: flex; gap: 16px; }
.footer-qr-item { text-align: center; }
.footer-qr-item img { width: 80px; height: 80px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.2); }
.footer-qr-item p { font-size: 11px; opacity: 0.7; margin-top: 4px; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 8px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; opacity: 0.75; transition: opacity var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--accent2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  opacity: 0.7;
}
.footer-bottom a { opacity: 1; color: rgba(255,255,255,0.7); margin: 0 8px; }
.footer-bottom a:hover { color: var(--accent2); }

/* ---- 内容卡片 ---- */
.content-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.content-card:hover { transform: translateY(-4px); }
.content-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.content-card-body { padding: 16px; }
.content-card-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  font-weight: 600;
}
.content-card-title { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.content-card-meta { font-size: 12px; color: var(--gray); display: flex; gap: 12px; }

/* ---- 内页 Hero ---- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2d4a9e 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.page-hero p { font-size: 16px; opacity: 0.85; max-width: 600px; margin: 0 auto; }

/* ---- AI赋能区块 ---- */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ai-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
  transition: transform var(--transition);
}
.ai-card:hover { transform: translateY(-4px); }
.ai-card-icon { font-size: 40px; margin-bottom: 14px; }
.ai-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.ai-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ---- 弹幕效果 ---- */
.danmu-bar {
  background: var(--dark);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
}
.danmu-track {
  display: flex;
  gap: 60px;
  animation: danmu-scroll 30s linear infinite;
  white-space: nowrap;
}
.danmu-item {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  padding: 4px 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  flex-shrink: 0;
}
@keyframes danmu-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- 票房榜单 ---- */
.boxoffice-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.boxoffice-table th {
  background: var(--primary);
  color: var(--white);
  padding: 14px 16px;
  font-size: 14px;
  text-align: left;
}
.boxoffice-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
}
.boxoffice-table tr:last-child td { border-bottom: none; }
.boxoffice-table tr:hover td { background: var(--light); }
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}
.rank-1 { background: #f7a825; }
.rank-2 { background: #9ca3af; }
.rank-3 { background: #cd7c3a; }
.rank-other { background: var(--primary); }
.progress-bar {
  background: var(--light);
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
  min-width: 80px;
}
.progress-fill { height: 100%; background: var(--accent); border-radius: 4px; }

/* ---- 移动端响应式 ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ai-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .hero-content { padding: 40px 20px; }
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 999; }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav-toggle { display: flex; }
  .nav-search { min-width: 140px; }
  .footer-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-title { font-size: 22px; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .experts-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .navbar-brand .brand-text { display: none; }
}

/* ---- 懒加载占位 ---- */
img[data-src] { background: #e5e7eb; }

/* ---- 滚动条美化 ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---- 工具类 ---- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-gray { color: var(--gray); }
.bg-light { background: var(--light); }
.bg-white { background: var(--white); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
