/* ============================================ */
/* 溏心vlog溏心vlog视频社区 - 主样式文件 | yfbyhdz.cn   */
/* 全部样式外部引用，无内联style                 */
/* ============================================ */

/* ============================================ */
/* 基础重置与变量                               */
/* ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green-dark: #1b5e20;
  --green-main: #2e7d32;
  --green-mid: #4caf50;
  --green-light: #81c784;
  --green-pale: #a5d6a7;
  --green-bg: #e8f5e9;
  --green-bg2: #f1f8e9;
  --green-border: #dcedc8;
  --text-dark: #1a1a1a;
  --text-mid: #444;
  --text-light: #888;
  --white: #fff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --radius: 12px;
  --transition: .25s ease;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', sans-serif;
  color: var(--text-dark);
  background: #fafafa;
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================ */
/* 干扰标签隐藏（不影响布局）                   */
/* ============================================ */
.dy-noise {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  pointer-events: none !important;
}

/* ============================================ */
/* Toast 提示（替代内联样式）                   */
/* ============================================ */
.dy-toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--green-main);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 24px;
  z-index: 9999;
  font-size: .9rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  opacity: 0;
  transition: opacity .3s, transform .3s;
  pointer-events: none;
  white-space: nowrap;
}
.dy-toast.dy-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================ */
/* 顶部公告栏                                   */
/* ============================================ */
.top-bar {
  background: var(--green-dark);
  color: var(--green-pale);
  text-align: center;
  font-size: .82rem;
  padding: 6px 16px;
  letter-spacing: .02em;
}

/* ============================================ */
/* 头部导航                                     */
/* ============================================ */
.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 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-dark);
  flex-shrink: 0;
}
.site-logo img { border-radius: 8px; }
.main-nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  padding: 8px 14px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav > li > a:hover,
.main-nav > li.active > a {
  background: var(--green-bg);
  color: var(--green-main);
}
/* 下拉菜单 */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  padding: 8px 0;
  z-index: 200;
  border: 1px solid var(--green-border);
}
.main-nav > li:hover .dropdown,
.main-nav > li.focused .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 8px 16px;
  font-size: .88rem;
  color: var(--text-mid);
  transition: all var(--transition);
}
.dropdown li a:hover {
  background: var(--green-bg);
  color: var(--green-main);
  padding-left: 22px;
}
/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: all .3s;
}

/* ============================================ */
/* 搜索框                                       */
/* ============================================ */
.search-bar-wrap {
  background: var(--green-bg2);
  border-bottom: 1px solid var(--green-border);
  padding: 10px 24px;
}
.search-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.search-bar-inner form {
  display: flex;
  flex: 1;
  min-width: 240px;
  max-width: 560px;
  border: 2px solid var(--green-border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  transition: border-color var(--transition);
}
.search-bar-inner form:focus-within { border-color: var(--green-main); }
.search-bar-inner input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px 16px;
  font-size: .9rem;
  background: transparent;
}
.search-bar-inner button[type="submit"] {
  background: var(--green-main);
  color: var(--white);
  border: none;
  padding: 8px 20px;
  font-size: .9rem;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.search-bar-inner button[type="submit"]:hover { background: var(--green-dark); }
.search-hot-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--text-light);
}
.search-hot-tags a {
  color: var(--green-main);
  font-size: .82rem;
  transition: color var(--transition);
}
.search-hot-tags a:hover { color: var(--green-dark); text-decoration: underline; }

/* ============================================ */
/* 面包屑                                       */
/* ============================================ */
.breadcrumb-nav {
  background: var(--green-bg2);
  border-bottom: 1px solid var(--green-border);
  padding: 10px 24px;
}
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-light);
  flex-wrap: wrap;
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: '›'; color: var(--text-light); }
.breadcrumb a { color: var(--green-main); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li:last-child { color: var(--text-dark); font-weight: 600; }

/* ============================================ */
/* Hero Banner                                  */
/* ============================================ */
.hero-banner {
  background: linear-gradient(135deg, #0a2e0d 0%, #1b5e20 40%, #2e7d32 70%, #388e3c 100%),
              url('/images/banner.png') center/cover no-repeat;
  background-blend-mode: overlay;
  min-height: 520px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(76,175,80,.15) 0%, transparent 70%);
}
.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px;
  color: var(--white);
  position: relative;
  z-index: 1;
}
.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.hero-content h1 em {
  font-style: normal;
  color: #a5d6a7;
}
.hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.88);
  max-width: 640px;
  margin-bottom: 28px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-mid);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 28px;
  font-size: .95rem;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(76,175,80,.4);
}
.btn-primary:hover {
  background: #43a047;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76,175,80,.5);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid rgba(255,255,255,.7);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 28px;
  font-size: .95rem;
  font-weight: 700;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat .num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: #a5d6a7;
  line-height: 1.1;
}
.hero-stat .label {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
}

/* ============================================ */
/* 通用区块                                     */
/* ============================================ */
.section {
  padding: 64px 24px;
}
.section-alt { background: var(--green-bg2); }
.section-dark {
  background: linear-gradient(135deg, #0d2b10 0%, #1a3d1e 100%);
}
.container {
  max-width: 1280px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title .tag {
  display: inline-block;
  background: var(--green-bg);
  color: var(--green-main);
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.section-title h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.section-dark .section-title h2 { color: #a5d6a7; }
.section-title p {
  font-size: .95rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}
.section-dark .section-title p { color: #81c784; }

/* ============================================ */
/* 视频卡片                                     */
/* ============================================ */
.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-sm);
  transition: all var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.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;
}
.video-card:hover .video-thumb img { transform: scale(1.05); }
/* 播放按钮（hover显示）*/
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.35);
  opacity: 0;
  transition: opacity var(--transition);
}
.video-card:hover .play-btn { opacity: 1; }
.play-btn svg {
  width: 52px;
  height: 52px;
  fill: var(--white);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
  transition: transform var(--transition);
}
.video-card:hover .play-btn svg { transform: scale(1.1); }
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.75);
  color: var(--white);
  font-size: .75rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}
/* 视频badge */
.video-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--white);
}
.badge-rare { background: #7b1fa2; }
.badge-protect { background: #1565c0; }
.badge-award { background: #e65100; }
.badge-tutorial { background: var(--green-main); }
.badge-mv { background: #880e4f; }
.video-info { padding: 14px 16px; }
.video-info h3 {
  font-size: .9rem;
  font-weight: 700;
  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-desc {
  font-size: .8rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex;
  gap: 10px;
  font-size: .78rem;
  color: var(--text-light);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.video-tag {
  display: inline-block;
  background: var(--green-bg);
  color: var(--green-main);
  font-size: .72rem;
  padding: 2px 8px;
  border-radius: 10px;
  margin-right: 4px;
  margin-bottom: 2px;
}
.video-tag-award {
  background: #fff3e0;
  color: #e65100;
}

/* ============================================ */
/* 植物传媒                                     */
/* ============================================ */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.media-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.media-card:hover img { transform: scale(1.06); }
.media-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--white);
  opacity: 0;
  transition: opacity var(--transition);
}
.media-card:hover .media-card-overlay { opacity: 1; }
.media-card-overlay h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.media-card-overlay p { font-size: .82rem; opacity: .88; line-height: 1.5; }

/* ============================================ */
/* 专家展示                                     */
/* ============================================ */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.expert-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.expert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.expert-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.expert-info { padding: 18px; }
.expert-info h3 { font-size: 1.05rem; font-weight: 800; color: var(--green-dark); margin-bottom: 4px; }
.expert-info .role { font-size: .82rem; color: var(--green-main); font-weight: 600; margin-bottom: 10px; }
.expert-info p { font-size: .85rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 12px; }
.expert-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.expert-tags span {
  background: var(--green-bg);
  color: var(--green-main);
  font-size: .75rem;
  padding: 3px 10px;
  border-radius: 10px;
  font-weight: 600;
}
.expert-btns { display: flex; gap: 8px; }
.expert-btns a {
  flex: 1;
  text-align: center;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  transition: all var(--transition);
}
.expert-btns a:first-child {
  background: var(--green-main);
  color: var(--white);
}
.expert-btns a:first-child:hover { background: var(--green-dark); }
.expert-btns a:last-child {
  border: 1.5px solid var(--green-main);
  color: var(--green-main);
}
.expert-btns a:last-child:hover {
  background: var(--green-bg);
}

/* ============================================ */
/* AI赋能                                       */
/* ============================================ */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ai-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(165,214,167,.2);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}
.ai-card:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(165,214,167,.4);
  transform: translateY(-4px);
}
.ai-icon {
  width: 64px;
  height: 64px;
  background: rgba(165,214,167,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
}
.ai-card h3 { font-size: 1.1rem; font-weight: 700; color: #a5d6a7; margin-bottom: 8px; }
.ai-card p { font-size: .88rem; color: #c8e6c9; line-height: 1.7; }

/* ============================================ */
/* 社区功能                                     */
/* ============================================ */
.community-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  justify-content: center;
}
.community-tabs button {
  padding: 8px 20px;
  border-radius: 20px;
  border: 2px solid var(--green-border);
  background: var(--white);
  color: #555;
  font-size: .9rem;
  cursor: pointer;
  transition: all .2s;
}
.community-tabs button.active,
.community-tabs button:hover {
  background: var(--green-main);
  color: var(--white);
  border-color: var(--green-main);
}
.tab-hidden { display: none !important; }

/* ============================================ */
/* 合作品牌 Logo 墙                             */
/* ============================================ */
.brand-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.brand-logo-item {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  transition: all .25s;
  text-align: center;
  min-width: 120px;
}
.brand-logo-item:hover {
  border-color: var(--green-main);
  color: var(--green-dark);
  box-shadow: 0 4px 14px rgba(46,125,50,.12);
}

/* ============================================ */
/* FAQ                                          */
/* ============================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--green-border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: var(--green-bg2);
  border: none;
  padding: 16px 20px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
}
.faq-q:hover { background: var(--green-border); }
.faq-q .arrow {
  font-size: 1.1rem;
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 14px 20px;
  font-size: .9rem;
  color: #555;
  line-height: 1.8;
  background: var(--white);
}
.faq-item.open .faq-a { display: block; }

/* ============================================ */
/* 用户评价                                     */
/* ============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--green-main);
}
.review-stars { color: #f9a825; font-size: 1rem; margin-bottom: 8px; }
.review-text { font-size: .9rem; color: #444; line-height: 1.7; margin-bottom: 12px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-main), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.review-name { font-size: .88rem; font-weight: 600; color: #333; }
.review-date { font-size: .78rem; 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: 16px; }
.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: .92rem;
  color: #444;
}
.contact-icon {
  width: 36px;
  height: 36px;
  background: var(--green-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.qr-row { display: flex; gap: 24px; flex-wrap: wrap; }
.qr-item { text-align: center; }
.qr-item img { width: 120px; height: 120px; border-radius: 8px; margin-bottom: 6px; }
.qr-item p { font-size: .8rem; color: #888; }
/* 联系页二维码大图 */
.qr-row-large .qr-item img { width: 160px; height: 160px; }
/* 社区入口按钮组 */
.community-entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 28px;
}
.community-entry-grid a {
  background: var(--green-main);
  color: var(--white);
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  font-size: .88rem;
  font-weight: 600;
  transition: all var(--transition);
}
.community-entry-grid a:hover { opacity: .85; transform: translateY(-1px); }
.community-entry-grid a.btn-wechat { background: #07c160; }
.community-entry-grid a.btn-qq { background: #1296db; }
.community-entry-grid a.btn-weibo { background: #e6162d; }
/* 社区入口容器 */
.community-entry-box {
  margin-top: 28px;
  background: var(--green-bg2);
  border-radius: var(--radius);
  padding: 20px;
}
.community-entry-box h4 {
  color: var(--green-dark);
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 700;
}

/* ============================================ */
/* 社交分享                                     */
/* ============================================ */
.share-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}
.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity .2s;
}
.share-btn:hover { opacity: .85; }
.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); }

/* ============================================ */
/* 关键词标签云                                 */
/* ============================================ */
.keyword-cloud-section { padding: 24px 24px 32px; }
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 16px 0;
}
.keyword-cloud a {
  background: var(--green-bg);
  color: var(--green-main);
  padding: 5px 14px;
  border-radius: 16px;
  font-size: .85rem;
  transition: all .2s;
}
.keyword-cloud a:hover { background: var(--green-main); color: var(--white); }

/* ============================================ */
/* 页脚                                         */
/* ============================================ */
.site-footer {
  background: #0a2e0d;
  color: #a5d6a7;
  padding: 48px 24px 24px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand .logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-brand p { font-size: .88rem; color: #81c784; line-height: 1.7; margin-bottom: 10px; }
.footer-domain-info { font-size: .82rem; color: #4caf50; }
.footer-col h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .88rem; color: #81c784; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
  color: #4caf50;
}
.footer-copy { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-update { color: #81c784; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: #4caf50; }
.footer-links a:hover { color: #a5d6a7; }

/* ============================================ */
/* 统计数字                                     */
/* ============================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item { padding: 20px; }
.stat-item .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green-main);
  display: block;
}
.stat-item .label { font-size: .88rem; color: var(--text-light); }

/* ============================================ */
/* 内页样式                                     */
/* ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 100%);
  color: var(--white);
  padding: 60px 24px;
  text-align: center;
}
.page-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 1rem; opacity: .85; max-width: 500px; margin: 0 auto; }

/* 通用卡片 */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.card h2 { font-size: 1.2rem; font-weight: 700; color: var(--green-dark); margin: 20px 0 10px; }
.card h2:first-child { margin-top: 0; }
.card h3 { font-size: 1.1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 10px; }
.card p { font-size: .9rem; color: #555; line-height: 1.8; margin-bottom: 8px; }

/* 加入社区步骤 */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--green-main);
}
.step-num {
  width: 48px;
  height: 48px;
  background: var(--green-main);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 14px;
}
.step-card h3 { font-size: 1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.step-card p { font-size: .85rem; color: #666; line-height: 1.6; }

/* 视频播放弹窗 */
.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.open { display: flex; }
.video-modal-inner {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  width: 90%;
  max-width: 800px;
  position: relative;
}
.video-modal video { width: 100%; display: block; }
.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1;
  line-height: 1;
  background: none;
  border: none;
}

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

/* ============================================ */
/* 响应式                                       */
/* ============================================ */
@media (max-width: 1024px) {
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    z-index: 999;
  }
  .main-nav.open { display: flex; }
  .hamburger { display: flex; }
  .hero-content h1 { font-size: 1.8rem; }
  .media-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 1.5rem; }
  .dropdown { position: static; box-shadow: none; border: none; padding-left: 16px; }
  .main-nav > li:hover .dropdown,
  .main-nav > li.focused .dropdown { display: none; }
}
@media (max-width: 480px) {
  .section { padding: 40px 16px; }
  .hero-content { padding: 40px 16px; }
  .hero-content h1 { font-size: 1.5rem; }
  .video-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .community-entry-grid { grid-template-columns: 1fr; }
}
