/* 茄子视频 - 植物视频社区 主样式文件 */
/* fmtcy06.cn */

/* ===== 全局重置与基础 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: #222;
  background: #f8faf5;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: #2e7d32; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; outline: none; background: none; }

/* ===== CSS变量 ===== */
:root {
  --green-dark: #1b5e20;
  --green-main: #2e7d32;
  --green-light: #4caf50;
  --green-pale: #e8f5e9;
  --green-accent: #81c784;
  --gold: #f9a825;
  --text-dark: #1a1a1a;
  --text-mid: #444;
  --text-light: #888;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all .3s ease;
}

/* ===== 顶部公告栏 ===== */
.top-notice {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 6px 20px;
  font-size: 13px;
  letter-spacing: .5px;
}
.top-notice a { color: var(--gold); font-weight: 600; }

/* ===== 头部导航 ===== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(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;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  color: var(--green-dark);
  letter-spacing: -0.5px;
}
.site-logo img { width: 44px; height: 44px; border-radius: 8px; }
.site-logo span { color: var(--green-light); }

/* 主导航 */
.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
.main-nav ul li a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  background: var(--green-pale);
  color: var(--green-main);
}
.nav-cta {
  background: var(--green-main) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 20px !important;
}
.nav-cta:hover { background: var(--green-dark) !important; }

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

/* ===== 搜索框 ===== */
.search-bar-wrap {
  background: var(--green-pale);
  border-bottom: 1px solid #c8e6c9;
  padding: 10px 20px;
}
.search-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-bar-inner form {
  display: flex;
  flex: 1;
  max-width: 600px;
  background: var(--white);
  border: 2px solid var(--green-accent);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(46,125,50,.1);
}
.search-bar-inner input {
  flex: 1;
  padding: 9px 18px;
  font-size: 14px;
  border: none;
  outline: none;
  color: var(--text-dark);
  font-family: inherit;
}
.search-bar-inner button {
  background: var(--green-main);
  color: var(--white);
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.search-bar-inner button:hover { background: var(--green-dark); }
.search-hot-tags { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.search-hot-tags span { font-size: 12px; color: var(--text-light); }
.search-hot-tags a {
  font-size: 12px;
  padding: 3px 10px;
  background: var(--white);
  border: 1px solid var(--green-accent);
  border-radius: 12px;
  color: var(--green-main);
  transition: var(--transition);
}
.search-hot-tags a:hover { background: var(--green-main); color: var(--white); }

/* ===== Banner区域 ===== */
.hero-banner {
  position: relative;
  min-height: 580px;
  background: var(--green-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/banner.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(.55);
  transition: transform 8s ease;
}
.hero-banner:hover .hero-bg { transform: scale(1.04); }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px;
  color: var(--white);
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: #333;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: .5px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.hero-content h1 em { color: var(--green-accent); font-style: normal; }
.hero-desc {
  font-size: 17px;
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 32px;
  opacity: .92;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 2rem; font-weight: 900; color: var(--gold); }
.hero-stat .label { font-size: 13px; opacity: .85; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--green-light);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(76,175,80,.4);
  transition: var(--transition);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--white); color: var(--green-dark); }

/* ===== 通用区块 ===== */
.section { padding: 70px 20px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-main);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid var(--green-accent);
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.section-header p { color: var(--text-mid); font-size: 16px; max-width: 600px; margin: 0 auto; }
.section-bg-green { background: var(--green-pale); }
.section-bg-dark { background: var(--green-dark); color: var(--white); }
.section-bg-dark .section-header h2 { color: var(--white); }
.section-bg-dark .section-header p { color: rgba(255,255,255,.8); }

/* ===== 视频卡片 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,.16); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .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,.35);
  opacity: 0;
  transition: opacity .3s;
}
.video-card:hover .video-play-btn { opacity: 1; }
.video-play-btn svg {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}
.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--green-main);
  color: var(--white);
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 10px;
  font-weight: 600;
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.75);
  color: var(--white);
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 4px;
}
.video-info { padding: 14px 16px; }
.video-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-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;
  gap: 14px;
  font-size: 12px;
  color: var(--text-light);
  align-items: center;
  flex-wrap: wrap;
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.video-tag {
  font-size: 11px;
  padding: 2px 8px;
  background: var(--green-pale);
  color: var(--green-main);
  border-radius: 10px;
  border: 1px solid #c8e6c9;
}

/* 视频模态框 */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.video-modal.active { display: flex; }
.modal-inner {
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 860px;
  width: 94%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  color: var(--white);
  font-size: 28px;
  z-index: 10;
  cursor: pointer;
  background: rgba(0,0,0,.5);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.modal-video-wrap { aspect-ratio: 16/9; background: #000; display: flex; align-items: center; justify-content: center; }
.modal-video-wrap video { width: 100%; height: 100%; }
.modal-info { padding: 16px 20px; color: var(--white); }
.modal-info h4 { font-size: 17px; margin-bottom: 6px; }
.modal-info p { font-size: 13px; color: rgba(255,255,255,.7); }

/* ===== 功能模块卡片 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--green-light);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--green-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* ===== 专家展示 ===== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.expert-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}
.expert-card:hover { transform: translateY(-5px); }
.expert-avatar {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  max-height: 220px;
}
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-info { padding: 20px; }
.expert-info h3 { font-size: 18px; font-weight: 800; color: var(--text-dark); margin-bottom: 4px; }
.expert-role {
  font-size: 13px;
  color: var(--green-main);
  font-weight: 600;
  margin-bottom: 10px;
  background: var(--green-pale);
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
}
.expert-info p { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin-bottom: 14px; }
.expert-awards { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 14px; }
.award-tag {
  font-size: 11px;
  padding: 2px 8px;
  background: #fff8e1;
  color: #f57f17;
  border-radius: 10px;
  border: 1px solid #ffe082;
}
.expert-btns { display: flex; gap: 8px; justify-content: center; }
.btn-sm {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-green { background: var(--green-main); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-border { border: 1.5px solid var(--green-main); color: var(--green-main); }
.btn-border:hover { background: var(--green-main); color: var(--white); }

/* ===== 评价模块 ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green-light);
  transition: var(--transition);
}
.review-card:hover { transform: translateY(-3px); }
.review-stars { color: var(--gold); font-size: 16px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--green-main);
  flex-shrink: 0;
}
.reviewer-name { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.reviewer-tag { font-size: 12px; color: var(--text-light); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.faq-question:hover { background: var(--green-pale); color: var(--green-main); }
.faq-question.open { background: var(--green-pale); color: var(--green-main); }
.faq-icon { font-size: 20px; transition: transform .3s; font-weight: 400; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  border-top: 1px solid #e8f5e9;
}
.faq-answer.open { display: block; }

/* ===== 合作品牌Logo墙 ===== */
.partner-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.partner-logo {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-mid);
  transition: var(--transition);
  min-width: 120px;
  text-align: center;
}
.partner-logo:hover { border-color: var(--green-light); color: var(--green-main); box-shadow: 0 4px 12px rgba(46,125,50,.12); }

/* ===== 社区加入指南 ===== */
.join-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.join-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  counter-increment: step;
}
.join-step::before {
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-main);
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.join-step-icon { font-size: 36px; margin-bottom: 12px; }
.join-step h4 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.join-step p { font-size: 13px; color: var(--text-mid); }

/* ===== 联系我们 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}
.contact-card:hover { transform: translateY(-4px); }
.contact-icon { font-size: 40px; margin-bottom: 14px; }
.contact-card h4 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.contact-card a { color: var(--green-main); font-weight: 600; }
.qrcode-wrap { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.qrcode-item { text-align: center; }
.qrcode-item img { width: 130px; height: 130px; border-radius: 10px; border: 3px solid var(--green-pale); margin-bottom: 10px; }
.qrcode-item p { font-size: 13px; color: var(--text-mid); font-weight: 600; }

/* ===== 社交分享 ===== */
.share-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 22px;
  font-size: 14px;
  font-weight: 600;
  transition: 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: .85; transform: translateY(-2px); color: var(--white); }

/* ===== 底部 ===== */
.site-footer {
  background: #0d2b0e;
  color: rgba(255,255,255,.8);
  padding: 60px 20px 0;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-text {
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.65); max-width: 280px; }
.footer-col h5 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.65); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--green-accent); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.65); }
.footer-bottom a:hover { color: var(--green-accent); }
.update-time { color: rgba(255,255,255,.4); font-size: 12px; }

/* ===== 面包屑 ===== */
.breadcrumb {
  background: var(--green-pale);
  padding: 12px 20px;
  border-bottom: 1px solid #c8e6c9;
}
.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--text-mid);
}
.breadcrumb-inner a { color: var(--green-main); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner span { margin: 0 6px; color: var(--text-light); }

/* ===== 内页Banner ===== */
.page-hero {
  background: var(--green-dark);
  padding: 60px 20px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/about_banner.jpg') center/cover;
  opacity: .25;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; margin-bottom: 12px; }
.page-hero p { font-size: 16px; opacity: .85; max-width: 560px; margin: 0 auto; }

/* ===== AI功能区 ===== */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.ai-card {
  background: linear-gradient(135deg, #0d2b0e, #1b5e20);
  border-radius: var(--radius);
  padding: 30px 24px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.ai-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: rgba(76,175,80,.15);
  border-radius: 50%;
}
.ai-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,.3); }
.ai-icon { font-size: 36px; margin-bottom: 14px; }
.ai-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.ai-card p { font-size: 14px; opacity: .85; line-height: 1.7; }
.ai-tag {
  display: inline-block;
  background: rgba(76,175,80,.25);
  border: 1px solid rgba(76,175,80,.5);
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 12px;
  margin-top: 12px;
  color: var(--green-accent);
}

/* ===== 统计数字 ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item { padding: 24px 16px; }
.stat-num { font-size: 2.4rem; font-weight: 900; color: var(--green-light); }
.stat-label { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 4px; }

/* ===== 娱乐专区 ===== */
.entertainment-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 12px;
}
.tab-btn {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  transition: var(--transition);
  border: 1.5px solid transparent;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--green-main);
  color: var(--white);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== 精选内页 ===== */
.inner-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

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

/* ===== 回到顶部 ===== */
#back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--green-main);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(46,125,50,.4);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}
#back-top.show { opacity: 1; pointer-events: all; }
#back-top:hover { background: var(--green-dark); transform: translateY(-3px); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.1); padding: 16px 20px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .hamburger { display: flex; }
  .hero-banner { min-height: 420px; }
  .hero-stats { gap: 20px; }
  .footer-inner { 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: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; }
  .video-grid { grid-template-columns: 1fr; }
}

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

/* ===== 内页文章样式 ===== */
.article-body { max-width: 860px; margin: 0 auto; }
.article-body h2 { font-size: 1.6rem; color: var(--green-dark); margin: 32px 0 14px; }
.article-body h3 { font-size: 1.2rem; color: var(--text-dark); margin: 24px 0 10px; }
.article-body p { font-size: 15px; color: var(--text-mid); line-height: 1.9; margin-bottom: 16px; }
.article-body ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.article-body ul li { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 6px; }

/* ===== EEAT 信任栏 ===== */
.eeat-trust-bar { background: #fff; border-top: 3px solid var(--green-light); }
.eeat-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.eeat-trust-item {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius);
  background: var(--green-pale);
  transition: var(--transition);
}
.eeat-trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.eeat-icon { font-size: 36px; margin-bottom: 12px; }
.eeat-trust-item h4 { font-size: 16px; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.eeat-trust-item p { font-size: 13px; color: var(--text-mid); line-height: 1.7; }

/* ===== Footer Logo链接 ===== */
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
}
.footer-logo-link img { border-radius: 8px; }

/* ===== 面包屑 ===== */
.breadcrumb { background: var(--green-pale); padding: 10px 20px; border-bottom: 1px solid #c8e6c9; }
.breadcrumb-inner { max-width: 1280px; margin: 0 auto; font-size: 13px; color: var(--text-mid); display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.breadcrumb-inner a { color: var(--green-main); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--text-light); margin: 0 2px; }

/* ===== 内页文章增强 ===== */
.article-body { max-width: 860px; margin: 0 auto; }
.article-body h2 { font-size: 1.6rem; color: var(--green-dark); margin: 32px 0 14px; border-left: 4px solid var(--green-light); padding-left: 12px; }
.article-body h3 { font-size: 1.2rem; color: var(--text-dark); margin: 24px 0 10px; }
.article-body h4 { font-size: 1.05rem; color: var(--text-dark); margin: 18px 0 8px; }
.article-body p { font-size: 15px; color: var(--text-mid); line-height: 1.9; margin-bottom: 16px; }
.article-body ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.article-body ul li { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 6px; }
.article-body strong { color: var(--green-dark); }
.article-body blockquote { border-left: 4px solid var(--green-accent); background: var(--green-pale); padding: 12px 18px; margin: 18px 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 14px; color: var(--text-mid); }

/* ===== 视频内页 Tab增强 ===== */
.video-tab-wrap { margin-bottom: 32px; }
.video-tab-bar { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 2px solid #e0e0e0; padding-bottom: 10px; margin-bottom: 24px; }
.video-tab-bar .tab-btn { border-radius: 20px 20px 0 0; }

/* ===== 专家详情卡增强 ===== */
.expert-detail-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
  transition: var(--transition);
}
.expert-detail-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.expert-detail-card img { width: 160px; height: 160px; object-fit: cover; border-radius: var(--radius); }
.expert-detail-info h3 { font-size: 20px; font-weight: 800; color: var(--text-dark); margin-bottom: 4px; }
.expert-detail-info .expert-role { font-size: 13px; color: var(--green-main); font-weight: 600; background: var(--green-pale); display: inline-block; padding: 2px 10px; border-radius: 10px; margin-bottom: 10px; }
.expert-detail-info p { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 10px; }
.expert-credentials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.credential-tag { font-size: 12px; padding: 3px 10px; background: #e3f2fd; color: #1565c0; border-radius: 10px; border: 1px solid #90caf9; }

/* ===== 联系页增强 ===== */
.contact-map-placeholder { background: var(--green-pale); border-radius: var(--radius); height: 200px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--text-mid); border: 2px dashed var(--green-accent); margin-top: 24px; }

/* ===== 社区页增强 ===== */
.community-topic-list { display: flex; flex-direction: column; gap: 14px; }
.community-topic-item { background: var(--white); border-radius: var(--radius-sm); padding: 16px 20px; box-shadow: 0 2px 8px rgba(0,0,0,.06); display: flex; align-items: center; gap: 14px; transition: var(--transition); }
.community-topic-item:hover { transform: translateX(4px); border-left: 3px solid var(--green-light); }
.topic-icon { font-size: 28px; flex-shrink: 0; }
.topic-info h4 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.topic-info p { font-size: 13px; color: var(--text-light); }
.topic-count { margin-left: auto; font-size: 12px; color: var(--green-main); font-weight: 700; background: var(--green-pale); padding: 3px 10px; border-radius: 10px; white-space: nowrap; }

/* ===== AI页增强 ===== */
.ai-demo-video { background: #0d2b0e; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.ai-demo-video .video-play-btn { opacity: 1; }

/* ===== 关于页时间线 ===== */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--green-accent); }
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before { content: ''; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--green-main); border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--green-main); }
.timeline-year { font-size: 13px; font-weight: 700; color: var(--green-main); margin-bottom: 4px; }
.timeline-item h4 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.timeline-item p { font-size: 13px; color: var(--text-mid); line-height: 1.6; }

/* ===== 响应式补充 ===== */
@media (max-width: 768px) {
  .eeat-trust-grid { grid-template-columns: 1fr 1fr; }
  .expert-detail-card { grid-template-columns: 1fr; }
  .expert-detail-card img { width: 100%; height: 200px; }
}
@media (max-width: 480px) {
  .eeat-trust-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
