/* 大象传媒 exti6926.cn - 植物视频社区样式表 */
/* 干扰标签隐藏 */
.n_fe1fqp { display: none !important; visibility: hidden !important; height: 0; overflow: hidden; position: absolute; left: -9999px; }

/* CSS Reset & Variables */
:root {
  --primary: #1a6b3c;
  --primary-light: #2d9a5a;
  --primary-dark: #0d4a28;
  --accent: #c8a415;
  --accent-light: #e8c840;
  --bg: #f8faf6;
  --bg-card: #ffffff;
  --text: #2c3e2d;
  --text-light: #5a6b5c;
  --text-muted: #8a9b8c;
  --border: #d4e5d8;
  --shadow-sm: 0 2px 8px rgba(26,107,60,0.08);
  --shadow-md: 0 4px 16px rgba(26,107,60,0.12);
  --shadow-lg: 0 8px 32px rgba(26,107,60,0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --max-width: 1200px;
  --header-h: 68px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); z-index: 1000; transition: var(--transition); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 42px; width: 42px; border-radius: 50%; }
.logo-text { font-size: 1.4rem; font-weight: 700; color: var(--primary-dark); }
.logo-text span { color: var(--accent); }

.main-nav { display: flex; gap: 6px; }
.main-nav a { padding: 8px 14px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; color: var(--text); transition: var(--transition); }
.main-nav a:hover, .main-nav a.active { background: var(--primary); color: #fff; }

.header-search { position: relative; }
.header-search input { width: 200px; padding: 8px 36px 8px 14px; border: 1px solid var(--border); border-radius: 20px; font-size: 0.85rem; background: var(--bg); transition: var(--transition); }
.header-search input:focus { outline: none; border-color: var(--primary); width: 260px; }
.header-search button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 1rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* Hero Banner */
.hero { margin-top: var(--header-h); position: relative; height: 520px; overflow: hidden; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,74,40,0.85) 0%, rgba(26,107,60,0.6) 100%); display: flex; align-items: center; }
.hero-content { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; color: #fff; }
.hero-content h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; line-height: 1.3; }
.hero-content h1 span { color: var(--accent-light); }
.hero-content p { font-size: 1.15rem; max-width: 600px; opacity: 0.92; margin-bottom: 24px; line-height: 1.8; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 30px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: var(--transition); border: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }

/* Section Common */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-tag { display: inline-block; padding: 4px 14px; background: rgba(26,107,60,0.1); color: var(--primary); border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 12px; }

/* Video Card Grid */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.video-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); position: relative; }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.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.3); opacity: 0; transition: opacity 0.3s ease; }
.video-card:hover .play-btn { opacity: 1; }
.play-btn::after { content: ''; width: 56px; height: 56px; background: rgba(255,255,255,0.95); border-radius: 50%; position: relative; }
.play-btn::before { content: ''; position: absolute; top: 50%; left: 52%; transform: translate(-50%, -50%); border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent var(--primary); z-index: 1; }
.video-dur { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.75); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; }
.video-info { padding: 16px; }
.video-info h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--text-muted); }
.video-meta span { display: flex; align-items: center; gap: 4px; }

/* AI Section */
.ai-section { background: linear-gradient(135deg, #0d2818 0%, #1a4a2e 100%); color: #fff; }
.ai-section .section-header h2 { color: #fff; }
.ai-section .section-header p { color: rgba(255,255,255,0.8); }
.ai-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.ai-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: var(--transition); }
.ai-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.ai-card-icon { width: 64px; height: 64px; margin: 0 auto 20px; background: linear-gradient(135deg, var(--primary-light), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.ai-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.ai-card p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* Expert Section */
.expert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.expert-card { background: var(--bg-card); border-radius: var(--radius); padding: 30px; text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); }
.expert-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.expert-avatar { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden; border: 3px solid var(--primary-light); }
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.expert-card .role { color: var(--primary); font-size: 0.85rem; font-weight: 500; margin-bottom: 12px; }
.expert-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.expert-links { display: flex; gap: 10px; justify-content: center; }
.expert-links a { padding: 6px 16px; border: 1px solid var(--border); border-radius: 20px; font-size: 0.8rem; transition: var(--transition); }
.expert-links a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* FAQ Section */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border-radius: var(--radius-sm); margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q { padding: 18px 24px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-q:hover { background: rgba(26,107,60,0.04); }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--primary); transition: transform 0.3s; }
.faq-item.active .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.active .faq-a { max-height: 300px; padding: 0 24px 18px; }
.faq-a p { color: var(--text-light); font-size: 0.92rem; line-height: 1.7; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.review-card { background: var(--bg-card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.review-stars { color: var(--accent); margin-bottom: 12px; font-size: 1rem; }
.review-text { font-size: 0.92rem; color: var(--text-light); line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.review-author { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.review-date { font-size: 0.78rem; color: var(--text-muted); }

/* Brand Wall */
.brand-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; align-items: center; padding: 30px 0; }
.brand-wall-item { padding: 16px 28px; background: var(--bg-card); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); font-weight: 600; color: var(--text-light); font-size: 0.95rem; transition: var(--transition); }
.brand-wall-item:hover { box-shadow: var(--shadow-md); color: var(--primary); }

/* How-To Guide */
.howto-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; counter-reset: step; }
.howto-step { background: var(--bg-card); border-radius: var(--radius); padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm); position: relative; counter-increment: step; }
.howto-step::before { content: counter(step); position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 32px; height: 32px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.howto-step h4 { margin-top: 10px; margin-bottom: 8px; font-size: 1rem; }
.howto-step p { font-size: 0.85rem; color: var(--text-light); }

/* Footer */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.85); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 1rem; margin-bottom: 16px; color: #fff; }
.footer-col p, .footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 2; }
.footer-col a:hover { color: var(--accent-light); }
.footer-qr { display: flex; gap: 20px; }
.footer-qr img { width: 100px; height: 100px; border-radius: var(--radius-sm); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { height: 36px; width: 36px; border-radius: 50%; }
.footer-brand span { font-size: 1.2rem; font-weight: 700; color: #fff; }

/* Share Buttons */
.share-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.share-btn { padding: 8px 16px; border-radius: 20px; font-size: 0.82rem; font-weight: 500; color: #fff; cursor: pointer; transition: var(--transition); border: none; }
.share-btn.wechat { background: #07c160; }
.share-btn.weibo { background: #e6162d; }
.share-btn.douyin { background: #161823; }
.share-btn.bilibili { background: #00a1d6; }
.share-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* Back to Top */
.back-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: var(--transition); z-index: 999; border: none; font-size: 1.2rem; }
.back-top.visible { opacity: 1; }
.back-top:hover { background: var(--primary-light); transform: translateY(-3px); }

/* Breadcrumb */
.breadcrumb { padding: 16px 0; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

/* Page Banner */
.page-banner { margin-top: var(--header-h); height: 300px; position: relative; overflow: hidden; }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }
.page-banner-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,74,40,0.8), rgba(26,107,60,0.5)); display: flex; align-items: center; justify-content: center; }
.page-banner h1 { color: #fff; font-size: 2.4rem; font-weight: 700; }

/* Contact Section */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.contact-card { background: var(--bg-card); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 16px; color: var(--primary-dark); }
.contact-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.9rem; color: var(--text-light); }
.contact-item strong { color: var(--text); min-width: 70px; }

/* Responsive */
@media (max-width: 768px) {
  .main-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; box-shadow: var(--shadow-md); border-top: 1px solid var(--border); }
  .main-nav.active { display: flex; }
  .hamburger { display: flex; }
  .header-search { display: none; }
  .hero { height: 400px; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 0.95rem; }
  .section { padding: 50px 0; }
  .section-header h2 { font-size: 1.5rem; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { height: 350px; }
  .hero-content h1 { font-size: 1.5rem; }
  .video-grid { grid-template-columns: 1fr; }
  .btn { padding: 10px 20px; font-size: 0.85rem; }
}

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Video Modal */
.video-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 2000; align-items: center; justify-content: center; }
.video-modal.active { display: flex; }
.video-modal-content { background: #000; border-radius: var(--radius); max-width: 800px; width: 90%; aspect-ratio: 16/9; position: relative; }
.video-modal-close { position: absolute; top: -40px; right: 0; color: #fff; font-size: 1.5rem; cursor: pointer; background: none; border: none; }
