/* =============================================
   小小绘 abbmbjx.cn - 主样式文件
   植物视频社区 | 版本 2025.05
   ============================================= */

/* ---- 基础重置 ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: #f5f7f2;
  color: #2d3a2e;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: #2d7a3a; text-decoration: none; transition: color .2s; }
a:hover { color: #1a5c2a; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ---- CSS变量 ---- */
:root {
  --green-dark: #1a5c2a;
  --green-main: #2d7a3a;
  --green-light: #4caf50;
  --green-pale: #e8f5e9;
  --green-accent: #00c853;
  --gold: #f9a825;
  --text-dark: #1b2e1c;
  --text-mid: #4a5c4b;
  --text-light: #7a8c7b;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(45,122,58,.12);
  --shadow-lg: 0 8px 40px rgba(45,122,58,.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ---- 容器 ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 12px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-main), var(--green-accent));
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* ---- 顶部公告栏 ---- */
.top-bar {
  background: var(--green-dark);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  padding: 6px 0;
  text-align: center;
}
.top-bar a { color: var(--green-accent); }

/* ---- 头部导航 ---- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(45,122,58,.1);
  transition: box-shadow var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; }
.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: .02em;
}
.logo-text span { color: var(--green-accent); }

/* 主导航 */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  background: var(--green-pale);
  color: var(--green-main);
}

/* 搜索框 */
.search-wrap {
  display: flex;
  align-items: center;
  background: var(--green-pale);
  border: 1.5px solid #c8e6c9;
  border-radius: 24px;
  padding: 4px 14px;
  gap: 8px;
  transition: border-color var(--transition);
  min-width: 200px;
}
.search-wrap:focus-within { border-color: var(--green-main); }
#search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: .9rem;
  color: var(--text-dark);
  width: 100%;
}
#search-input::placeholder { color: var(--text-light); }
#search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--green-main);
  font-size: 1rem;
  padding: 0;
  display: flex;
  align-items: center;
}
#search-btn:hover { color: var(--green-dark); }

/* 汉堡菜单 */
#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
#hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* 移动端导航 */
#mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
}
#mobile-nav.open { display: flex; }
#mobile-nav a {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}
#mobile-nav a:hover { background: var(--green-pale); color: var(--green-main); }
.mobile-search-wrap {
  display: flex;
  align-items: center;
  background: var(--green-pale);
  border: 1.5px solid #c8e6c9;
  border-radius: 24px;
  padding: 8px 16px;
  gap: 8px;
  margin-bottom: 8px;
}
#mobile-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: .95rem;
  color: var(--text-dark);
  width: 100%;
}
#mobile-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--green-main);
}

/* ---- Hero Banner ---- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(.55);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,92,42,.7) 0%, rgba(0,0,0,.3) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: var(--white);
  padding: 60px 0;
}
.hero-badge {
  display: inline-block;
  background: var(--green-accent);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero h1 em { color: var(--green-accent); font-style: normal; }
.hero-desc {
  font-size: 1.1rem;
  opacity: .9;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green-accent);
  display: block;
}
.hero-stat .label { font-size: .82rem; opacity: .8; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--green-main), var(--green-accent));
  color: var(--white);
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,200,83,.35);
  transition: transform var(--transition), box-shadow var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,200,83,.45);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 13px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,.7);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); color: var(--white); }

/* ---- 视频卡片 ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1a2e1c;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s 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;
  background: rgba(0,0,0,.3);
  opacity: 0;
  transition: opacity var(--transition);
}
.video-card:hover .play-btn { opacity: 1; }
.play-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transform: scale(.9);
  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(--green-main);
  margin-left: 4px;
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 10px;
  background: rgba(0,0,0,.72);
  color: var(--white);
  font-size: .72rem;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--green-main);
  color: var(--white);
  font-size: .7rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.video-info { padding: 16px; }
.video-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--text-light);
}
.video-stats { display: flex; gap: 12px; align-items: center; }
.video-stats span { display: flex; align-items: center; gap: 3px; }

/* ---- 标签页 ---- */
.tab-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.tab-btn {
  padding: 10px 22px;
  border-radius: 24px;
  border: 2px solid #c8e6c9;
  background: var(--white);
  color: var(--text-mid);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--green-main);
  border-color: var(--green-main);
  color: var(--white);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- 专家卡片 ---- */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.expert-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  text-align: center;
}
.expert-card:hover { transform: translateY(-4px); }
.expert-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--green-pale);
}
.expert-name { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.expert-title { font-size: .85rem; color: var(--green-main); font-weight: 600; margin-bottom: 12px; }
.expert-desc { font-size: .88rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.expert-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }
.expert-tag {
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: .72rem;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 500;
}
.expert-btns { display: flex; gap: 10px; justify-content: center; }
.btn-sm {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-sm-primary {
  background: var(--green-main);
  color: var(--white);
  border: none;
}
.btn-sm-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-sm-outline {
  background: transparent;
  color: var(--green-main);
  border: 2px solid var(--green-main);
}
.btn-sm-outline:hover { background: var(--green-pale); }

/* ---- AI赋能模块 ---- */
.ai-section { background: linear-gradient(135deg, #0d2e14 0%, #1a5c2a 100%); color: var(--white); }
.ai-section .section-title { color: var(--white); }
.ai-section .section-title::after { background: linear-gradient(90deg, var(--green-accent), var(--gold)); }
.ai-section .section-subtitle { color: rgba(255,255,255,.75); }
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.ai-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: background var(--transition), transform var(--transition);
}
.ai-card:hover { background: rgba(255,255,255,.14); transform: translateY(-4px); }
.ai-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--green-main), var(--green-accent));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.ai-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--white); }
.ai-card p { font-size: .88rem; color: rgba(255,255,255,.72); line-height: 1.7; }

/* ---- 数据统计 ---- */
.stats-section { background: var(--green-pale); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item { padding: 28px 20px; }
.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-main);
  display: block;
  margin-bottom: 8px;
}
.stat-label { font-size: .9rem; color: var(--text-mid); font-weight: 500; }

/* ---- 合作品牌 ---- */
.brand-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.brand-item {
  background: var(--white);
  border: 1.5px solid #e0e0e0;
  border-radius: var(--radius);
  padding: 16px 28px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: all var(--transition);
  cursor: default;
}
.brand-item:hover {
  border-color: var(--green-main);
  color: var(--green-main);
  box-shadow: var(--shadow);
}

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-q {
  padding: 20px 24px;
  font-weight: 600;
  font-size: .98rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.faq-q:hover { background: var(--green-pale); }
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--green-main);
  font-weight: 300;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: .92rem;
  color: var(--text-mid);
  line-height: 1.8;
  border-top: 1px solid #f0f0f0;
}
.faq-item.open .faq-a { display: block; }

/* ---- 用户评价 ---- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 4rem;
  color: var(--green-pale);
  font-family: Georgia, serif;
  line-height: 1;
}
.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: 12px; }
.review-text { font-size: .9rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.review-user { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-main), var(--green-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: .88rem; color: var(--text-dark); }
.review-date { font-size: .76rem; color: var(--text-light); }

/* ---- 联系我们 ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h3 { font-size: 1.3rem; font-weight: 700; color: var(--green-dark); margin-bottom: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-label { font-size: .78rem; color: var(--text-light); margin-bottom: 2px; }
.contact-value { font-size: .92rem; font-weight: 600; color: var(--text-dark); }
.qr-group { display: flex; gap: 24px; flex-wrap: wrap; }
.qr-item { text-align: center; }
.qr-item img { width: 120px; height: 120px; border-radius: var(--radius); border: 2px solid #e0e0e0; }
.qr-item p { font-size: .78rem; color: var(--text-mid); margin-top: 8px; }

/* ---- 社交分享 ---- */
.share-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 0;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.share-wechat { background: #07c160; color: var(--white); }
.share-weibo { background: #e6162d; color: var(--white); }
.share-douyin { background: #010101; color: var(--white); }
.share-bilibili { background: #00a1d6; color: var(--white); }
.share-btn:hover { opacity: .85; transform: translateY(-2px); }

/* ---- 面包屑 ---- */
.breadcrumb {
  padding: 12px 0;
  font-size: .85rem;
  color: var(--text-light);
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { color: var(--green-main); }
.breadcrumb span { color: var(--text-light); }

/* ---- 页脚 ---- */
#site-footer {
  background: #0d2e14;
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo-text { color: var(--white); font-size: 1.4rem; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: .88rem; line-height: 1.8; margin-bottom: 20px; }
.footer-col h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--green-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.45); transition: color var(--transition); }
.footer-links a:hover { color: var(--green-accent); }

/* ---- 搜索结果弹窗 ---- */
#search-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}
#search-modal.open { display: flex; }
.search-modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 90%;
  max-width: 600px;
  box-shadow: var(--shadow-lg);
}
.search-modal-box h3 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 16px; }
.search-result-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: .9rem;
  color: var(--text-mid);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item a { color: var(--green-main); font-weight: 600; }
#search-close {
  float: right;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-light);
  margin-top: -4px;
}

/* ---- 入门指南 ---- */
.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.guide-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
  counter-increment: step;
}
.guide-step::before {
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 24px;
  width: 32px;
  height: 32px;
  background: var(--green-main);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .88rem;
}
.guide-step h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; margin-top: 8px; }
.guide-step p { font-size: .88rem; color: var(--text-mid); line-height: 1.7; }

/* ---- 视频播放器模态框 ---- */
#video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}
#video-modal.open { display: flex; }
.video-modal-box {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 90%;
  max-width: 860px;
  position: relative;
}
.video-modal-box video {
  width: 100%;
  display: block;
}
#video-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255,255,255,.15);
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background var(--transition);
}
#video-close:hover { background: rgba(255,255,255,.3); }

/* ---- 懒加载占位 ---- */
.lazy { opacity: 0; transition: opacity .4s; }
.lazy.loaded { opacity: 1; }

/* ---- 滚动动画 ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- 干扰标签隐藏 ---- */
.jkqdzned { display: none !important; }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav, .search-wrap { display: none; }
  #hamburger { display: flex; }
  .hero { min-height: 420px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: 16px; }
  .section { padding: 52px 0; }
  .section-title { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .expert-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }
}
