/* ================================================
   麻豆植物视频社区 - 主样式文件
   lgpywsgb.cn
   ================================================ */

/* CSS Reset & Base */
*, *::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; color: #333; background: #fff; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* CSS Variables */
:root {
  --primary: #1a7a4a;
  --primary-dark: #0f5233;
  --primary-light: #2ecc71;
  --secondary: #27ae60;
  --accent: #f39c12;
  --accent2: #e74c3c;
  --bg-light: #f8fdf9;
  --bg-dark: #0d2818;
  --text-dark: #1a1a1a;
  --text-muted: #666;
  --border: #d4edda;
  --shadow: 0 4px 20px rgba(26,122,74,0.12);
  --shadow-lg: 0 8px 40px rgba(26,122,74,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

/* ================================================
   HEADER & NAVIGATION
   ================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(13,40,24,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.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: 12px; }
.site-logo img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.site-logo .logo-text { color: #fff; font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; }
.site-logo .logo-sub { color: var(--primary-light); font-size: 0.7rem; display: block; }

/* Main Navigation */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block; padding: 8px 14px;
  color: #e8f5e9; font-size: 0.92rem; font-weight: 500;
  border-radius: 8px; transition: var(--transition);
  white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  background: var(--primary); color: #fff;
}
/* Dropdown */
.main-nav .dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 160px; background: #0d2818; border: 1px solid var(--primary); border-radius: 8px; box-shadow: var(--shadow-lg); z-index: 200; padding: 6px 0; }
.main-nav li:hover .dropdown { display: block; }
.main-nav .dropdown a { display: block; padding: 8px 16px; color: #c8e6c9; font-size: 0.88rem; transition: var(--transition); }
.main-nav .dropdown a:hover { background: var(--primary); color: #fff; }

/* Mobile Menu Toggle */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }

/* Search Bar */
.header-search { display: flex; align-items: center; gap: 8px; }
.search-wrap { position: relative; }
.search-wrap input {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px; padding: 7px 36px 7px 14px;
  color: #fff; font-size: 0.88rem; width: 200px; outline: none;
  transition: var(--transition);
}
.search-wrap input::placeholder { color: rgba(255,255,255,0.5); }
.search-wrap input:focus { background: rgba(255,255,255,0.15); border-color: var(--primary-light); width: 240px; }
.search-wrap button {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; font-size: 1rem;
}
.search-wrap button:hover { color: var(--primary-light); }

/* Search Bar Below Nav */
.search-bar-below {
  background: var(--primary-dark); padding: 10px 20px;
  display: flex; justify-content: center;
}
.search-bar-below form { display: flex; gap: 0; max-width: 600px; width: 100%; }
.search-bar-below input {
  flex: 1; padding: 10px 18px; border: 2px solid var(--primary-light);
  border-right: none; border-radius: 25px 0 0 25px;
  background: rgba(255,255,255,0.08); color: #fff; font-size: 0.95rem; outline: none;
}
.search-bar-below input::placeholder { color: rgba(255,255,255,0.4); }
.search-bar-below button {
  padding: 10px 24px; background: var(--primary-light); border: 2px solid var(--primary-light);
  border-radius: 0 25px 25px 0; color: #fff; font-size: 0.95rem; cursor: pointer;
  transition: var(--transition);
}
.search-bar-below button:hover { background: var(--secondary); }

/* ================================================
   HERO / BANNER
   ================================================ */
.hero-banner {
  position: relative; min-height: 580px;
  background: url('../images/banner.jpg') center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,40,24,0.82) 0%, rgba(26,122,74,0.55) 60%, rgba(0,0,0,0.4) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 40px 20px; max-width: 900px; }
.hero-badge { display: inline-block; background: var(--accent); color: #fff; padding: 4px 16px; border-radius: 20px; font-size: 0.82rem; font-weight: 600; margin-bottom: 16px; letter-spacing: 1px; }
.hero-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); color: #fff; font-weight: 800; line-height: 1.2; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.hero-content h1 em { color: var(--primary-light); font-style: normal; }
.hero-content p { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,0.88); margin-bottom: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-stats { display: flex; gap: 32px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { display: block; font-size: 2rem; font-weight: 800; color: var(--primary-light); }
.hero-stat .label { font-size: 0.82rem; color: rgba(255,255,255,0.7); }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 30px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: var(--transition); border: 2px solid transparent; }
.btn-primary { background: var(--primary-light); color: #fff; }
.btn-primary:hover { background: var(--secondary); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(46,204,113,0.4); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 0.88rem; }

/* ================================================
   SECTION COMMON
   ================================================ */
section { padding: 70px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag { display: inline-block; background: var(--bg-light); border: 1px solid var(--border); color: var(--primary); padding: 4px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 12px; letter-spacing: 1px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--text-dark); font-weight: 800; margin-bottom: 12px; }
.section-header h2 span { color: var(--primary); }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-divider { width: 60px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); border-radius: 2px; margin: 16px auto 0; }

/* ================================================
   VIDEO CARDS
   ================================================ */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.video-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); cursor: pointer;
  border: 1px solid var(--border);
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-thumb { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #1a1a1a; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.play-btn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0); transition: var(--transition);
}
.video-card:hover .play-btn { background: rgba(0,0,0,0.35); }
.play-icon {
  width: 56px; height: 56px; background: rgba(255,255,255,0.92);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.7); transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.video-card:hover .play-icon { opacity: 1; transform: scale(1); }
.play-icon::after { content: ''; border-left: 20px solid var(--primary); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 4px; }
.video-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.75); color: #fff; font-size: 0.75rem; padding: 2px 7px; border-radius: 4px; }
.video-badge { position: absolute; top: 8px; left: 8px; background: var(--accent2); color: #fff; font-size: 0.72rem; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.video-info { padding: 14px 16px; }
.video-info h3 { font-size: 0.95rem; font-weight: 600; 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: 12px; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; flex-wrap: wrap; }
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-block; background: var(--bg-light); border: 1px solid var(--border); color: var(--primary); padding: 2px 8px; border-radius: 10px; font-size: 0.72rem; }

/* ================================================
   FEATURE CARDS
   ================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: var(--transition); text-align: center;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.feature-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.8rem; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ================================================
   EXPERT CARDS
   ================================================ */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.expert-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition);
}
.expert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.expert-avatar { position: relative; height: 220px; overflow: hidden; }
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-role { position: absolute; bottom: 12px; left: 12px; background: var(--primary); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.expert-info { padding: 20px; }
.expert-info h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.expert-info .title { font-size: 0.85rem; color: var(--primary); margin-bottom: 10px; font-weight: 500; }
.expert-info p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.expert-awards { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.award-tag { background: #fff8e1; border: 1px solid #ffe082; color: #f57f17; padding: 2px 8px; border-radius: 10px; font-size: 0.72rem; }
.expert-links { display: flex; gap: 10px; }
.expert-links a { flex: 1; text-align: center; padding: 7px; border-radius: 8px; font-size: 0.82rem; font-weight: 600; transition: var(--transition); }
.btn-contact { background: var(--bg-light); border: 1px solid var(--border); color: var(--primary); }
.btn-contact:hover { background: var(--primary); color: #fff; }
.btn-works { background: var(--primary); color: #fff; }
.btn-works:hover { background: var(--primary-dark); }

/* ================================================
   PARTNER LOGOS
   ================================================ */
.partner-section { background: var(--bg-light); }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
.partner-item {
  background: #fff; border-radius: var(--radius); padding: 20px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); transition: var(--transition);
  font-weight: 700; color: var(--text-muted); font-size: 0.9rem; text-align: center;
  min-height: 80px;
}
.partner-item:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); }

/* ================================================
   REVIEWS
   ================================================ */
.reviews-section { background: var(--bg-light); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.review-card {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.reviewer-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.reviewer-info h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); }
.reviewer-info span { font-size: 0.78rem; color: var(--text-muted); }
.review-stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 10px; }
.review-text { font-size: 0.88rem; color: #555; line-height: 1.7; }
.review-date { font-size: 0.75rem; color: var(--text-muted); margin-top: 10px; }

/* ================================================
   FAQ
   ================================================ */
.faq-section { background: #fff; }
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  padding: 18px 24px; background: var(--bg-light); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; color: var(--text-dark); font-size: 0.98rem;
  transition: var(--transition);
}
.faq-question:hover { background: #e8f5e9; color: var(--primary); }
.faq-question.active { background: var(--primary); color: #fff; }
.faq-arrow { font-size: 0.8rem; transition: transform 0.3s; }
.faq-question.active .faq-arrow { transform: rotate(180deg); }
.faq-answer { display: none; padding: 16px 24px; font-size: 0.9rem; color: #555; line-height: 1.8; border-top: 1px solid var(--border); }
.faq-answer.open { display: block; }

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.contact-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--border); text-align: center;
}
.contact-icon { font-size: 2.5rem; margin-bottom: 14px; }
.contact-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.contact-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.qr-wrap { margin: 14px auto 0; width: 120px; height: 120px; border-radius: 8px; overflow: hidden; border: 2px solid var(--border); }
.qr-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ================================================
   AI SECTION
   ================================================ */
.ai-section { background: linear-gradient(135deg, #0d2818 0%, #1a4a2e 50%, #0d2818 100%); color: #fff; }
.ai-section .section-header h2 { color: #fff; }
.ai-section .section-header p { color: rgba(255,255,255,0.7); }
.ai-section .section-tag { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: var(--primary-light); }
.ai-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.ai-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 28px 24px; transition: var(--transition);
}
.ai-card:hover { background: rgba(255,255,255,0.1); border-color: var(--primary-light); transform: translateY(-4px); }
.ai-card-icon { font-size: 2.2rem; margin-bottom: 14px; }
.ai-card h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.ai-card p { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.7; }

/* ================================================
   COMMUNITY SECTION
   ================================================ */
.community-section { background: var(--bg-light); }
.community-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.community-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition);
}
.community-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.community-img { height: 180px; overflow: hidden; }
.community-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.community-card:hover .community-img img { transform: scale(1.05); }
.community-body { padding: 20px; }
.community-body h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.community-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.community-stats { display: flex; gap: 16px; font-size: 0.78rem; color: var(--text-muted); }

/* ================================================
   BREADCRUMB
   ================================================ */
.breadcrumb { background: var(--bg-light); padding: 12px 0; border-bottom: 1px solid var(--border); }
.breadcrumb-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); flex-wrap: wrap; }
.breadcrumb-inner a { color: var(--primary); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner span { color: var(--text-muted); }

/* ================================================
   SHARE BAR
   ================================================ */
.share-bar { background: var(--bg-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; }
.share-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.share-label { font-size: 0.88rem; font-weight: 600; color: var(--text-dark); }
.share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 20px; font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: var(--transition); border: none; }
.share-wechat { background: #07c160; color: #fff; }
.share-weibo { background: #e6162d; color: #fff; }
.share-douyin { background: #010101; color: #fff; }
.share-bilibili { background: #00a1d6; color: #fff; }
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* ================================================
   FOOTER
   ================================================ */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.8); }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo-text { color: #fff; font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.8; 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: 8px; border: 2px solid rgba(255,255,255,0.2); }
.footer-qr-item span { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-top: 6px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; gap: 12px; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-links a:hover { color: var(--primary-light); }
.update-time { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 4px; }

/* ================================================
   INNER PAGE HERO
   ================================================ */
.page-hero { background: linear-gradient(135deg, var(--bg-dark), var(--primary-dark)); padding: 60px 0; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ================================================
   HOW-TO GUIDE
   ================================================ */
.howto-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.step-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--border); text-align: center; position: relative; }
.step-num { width: 44px; height: 44px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 800; margin: 0 auto 14px; }
.step-card h3 { font-size: 0.98rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ================================================
   STATS BAR
   ================================================ */
.stats-bar { background: linear-gradient(90deg, var(--primary-dark), var(--primary)); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item .num { font-size: 2.2rem; font-weight: 800; color: #fff; display: block; }
.stat-item .label { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* ================================================
   TABS
   ================================================ */
.tab-nav { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 28px; flex-wrap: wrap; }
.tab-btn { padding: 10px 20px; font-size: 0.92rem; font-weight: 600; color: var(--text-muted); cursor: pointer; border: none; background: none; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: var(--transition); }
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ================================================
   NOTICE BAR
   ================================================ */
.notice-bar { background: var(--primary); color: #fff; padding: 10px 0; overflow: hidden; }
.notice-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 12px; }
.notice-label { background: rgba(255,255,255,0.2); padding: 2px 10px; border-radius: 10px; font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
.notice-text { font-size: 0.88rem; white-space: nowrap; animation: marquee 30s linear infinite; }
@keyframes marquee { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* ================================================
   HIDDEN SEO KEYWORDS (natural distribution)
   ================================================ */
.seo-keywords { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg-dark); padding: 16px; border-bottom: 2px solid var(--primary); z-index: 999; }
  .main-nav.open > ul { flex-direction: column; width: 100%; }
  .main-nav.open > ul > li > a { padding: 12px 16px; border-radius: 8px; }
  .main-nav .dropdown { position: static; display: none; border: none; box-shadow: none; padding-left: 16px; }
  .main-nav.open li:hover .dropdown { display: block; }
  .menu-toggle { display: flex; }
  .header-search { display: none; }
  .hero-banner { min-height: 400px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  section { padding: 50px 0; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 20px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .search-bar-below input { font-size: 0.85rem; }
}

/* ================================================
   UTILITY CLASSES
   ================================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--bg-dark); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.lazy { opacity: 0; transition: opacity 0.4s; }
.lazy.loaded { opacity: 1; }

/* Interference tags - hidden, no layout impact */
div[id^="x"],div[class^="z"],div[id^="q"],div[class^="r"] { display:none!important; }


/* ===== H5 Video 样式 ===== */
.video-h5 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0; left: 0;
  cursor: pointer;
  background: #0a0a0a;
}
/* 鼠标悬停显示播放按钮 - 平滑过渡增强 */
.video-card:hover .play-btn { background: rgba(0,0,0,0.38); }
.video-card:hover .play-icon { opacity: 1; transform: scale(1); }

/* ===== 通知栏 ===== */
.notice-bar {
  background: linear-gradient(90deg, var(--primary) 0%, #2d9e5c 100%);
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  font-size: 0.88rem;
}
.notice-inner {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}
.notice-label {
  background: rgba(255,255,255,0.2);
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.82rem;
}
.notice-text {
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== 亲密教育科普 btn-more ===== */
.btn-more {
  display: inline-block;
  margin-top: 12px;
  padding: 7px 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-more:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ===== 移动端视频优化 ===== */
@media (max-width: 768px) {
  .play-icon { width: 44px; height: 44px; opacity: 0.85; transform: scale(1); }
  .play-icon::after { border-left: 16px solid var(--primary); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
  .notice-text { animation-duration: 20s; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .play-icon { opacity: 1; }
}

/* ===== 404页面 ===== */
.error-404 { text-align:center; padding:80px 20px; min-height:60vh; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.error-404 .error-code { font-size:7rem; font-weight:900; color:var(--primary); line-height:1; margin-bottom:16px; }
.error-404 h1 { font-size:2rem; color:var(--text-dark); margin-bottom:12px; }
.error-404 p { color:var(--text-muted); font-size:1.1rem; margin-bottom:32px; max-width:500px; }
.error-404 .error-links { display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }
.error-404 .btn-primary { background:var(--primary); color:#fff; padding:12px 28px; border-radius:8px; text-decoration:none; font-weight:600; }
.error-404 .btn-secondary { border:2px solid var(--primary); color:var(--primary); padding:12px 28px; border-radius:8px; text-decoration:none; font-weight:600; }
.error-404 .suggest-videos { margin-top:48px; width:100%; max-width:900px; }
.error-404 .suggest-videos h2 { font-size:1.4rem; color:var(--text-dark); margin-bottom:24px; }
