/* =====================================================
   91植物品牌网站 - 主样式文件
   egimt.cn | 91植物视频社区
   ===================================================== */

/* ---- CSS变量 ---- */
:root {
    --green-dark: #1a4d2e;
    --green-mid: #2d7a4f;
    --green-light: #4caf78;
    --gold: #c9a84c;
    --gold-light: #e8c97a;
    --white: #ffffff;
    --off-white: #f8f9f4;
    --gray-light: #f0f4ee;
    --gray-mid: #8a9a8e;
    --gray-dark: #3a3f3c;
    --text-dark: #1e2820;
    --text-mid: #4a5a4e;
    --shadow: 0 4px 20px rgba(26,77,46,0.12);
    --shadow-hover: 0 8px 32px rgba(26,77,46,0.22);
    --radius: 12px;
    --radius-sm: 6px;
    --transition: all 0.3s ease;
}

/* ---- 重置与基础 ---- */
*, *::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: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- 干扰标签隐藏 ---- */
.seo-noise { display: none !important; visibility: hidden !important; height: 0 !important; overflow: hidden !important; }

/* ---- 布局容器 ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-bg { background: var(--off-white); }
.section-dark { background: var(--green-dark); color: var(--white); }

/* ---- 标题系统 ---- */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 12px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--green-mid), var(--gold));
    margin-top: 10px;
    border-radius: 2px;
}
.section-title.center { text-align: center; }
.section-title.center::after { margin: 10px auto 0; }
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-mid);
    margin-bottom: 40px;
    max-width: 700px;
}
.section-subtitle.center { text-align: center; margin: 0 auto 40px; }

/* ---- 顶部公告栏 ---- */
.top-bar {
    background: var(--green-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 7px 0;
    text-align: center;
}
.top-bar a { color: var(--gold-light); }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar-links a { margin-left: 16px; }

/* ---- 导航栏 ---- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 16px rgba(26,77,46,0.1);
    transition: var(--transition);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green-dark);
    letter-spacing: -0.5px;
}
.logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 50%;
}
.logo span { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    white-space: nowrap;
}
.nav a:hover, .nav a.active {
    color: var(--green-mid);
    background: var(--gray-light);
}
.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--green-mid);
    border-radius: 1px;
}
.nav-btn {
    background: var(--green-mid);
    color: var(--white) !important;
    padding: 8px 18px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
}
.nav-btn:hover { background: var(--green-dark) !important; color: var(--white) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--green-dark); border-radius: 1px; transition: var(--transition); }

/* ---- 搜索栏 ---- */
.search-bar {
    background: var(--gray-light);
    border-bottom: 1px solid rgba(26,77,46,0.08);
    padding: 10px 0;
}
.search-bar-inner {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border: 2px solid var(--green-light);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(26,77,46,0.08);
}
.search-bar input {
    flex: 1;
    padding: 10px 20px;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: transparent;
}
.search-bar input::placeholder { color: var(--gray-mid); }
.search-bar button {
    padding: 10px 22px;
    background: var(--green-mid);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0 28px 28px 0;
    transition: var(--transition);
}
.search-bar button:hover { background: var(--green-dark); }

/* ---- Hero Banner ---- */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
    transform: scale(1.03);
    transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.0); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,77,46,0.7) 0%, rgba(0,0,0,0.3) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 750px;
    padding: 60px 0;
}
.hero-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--green-dark);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero h1 .brand { color: var(--gold-light); }
.hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.92;
    margin-bottom: 32px;
    max-width: 600px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--green-dark);
    padding: 13px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.5); }
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.7);
    transition: var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn-green {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-mid);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}
.btn-green:hover { background: var(--green-dark); transform: translateY(-1px); }
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    flex-wrap: wrap;
}
.hero-stat-item { text-align: center; }
.hero-stat-num { font-size: 1.8rem; font-weight: 800; color: var(--gold-light); display: block; }
.hero-stat-label { font-size: 0.82rem; opacity: 0.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: var(--shadow-hover); }
.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-dark);
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.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,0);
    transition: var(--transition);
    opacity: 0;
}
.video-card:hover .video-play-btn { opacity: 1; background: rgba(0,0,0,0.35); }
.video-play-btn .play-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.video-card:hover .play-icon { transform: scale(1); }
.play-icon::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent var(--green-dark);
    margin-left: 4px;
}
.video-duration {
    position: absolute;
    bottom: 8px;
    right: 10px;
    background: rgba(0,0,0,0.75);
    color: var(--white);
    font-size: 0.75rem;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 600;
}
.video-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--green-mid);
    color: var(--white);
    font-size: 0.72rem;
    padding: 3px 9px;
    border-radius: 4px;
    font-weight: 600;
}
.video-info { padding: 14px 16px 16px; }
.video-title {
    font-size: 0.97rem;
    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;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--gray-mid);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }
.video-stats {
    display: flex;
    gap: 14px;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--gray-mid);
}
.video-stats span { display: flex; align-items: center; gap: 4px; }

/* ---- 特色卡片 ---- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--green-light);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-left-color: var(--gold); }
.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--green-light), var(--green-mid));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--white);
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--green-dark); }
.feature-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }

/* ---- 专家卡片 ---- */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.expert-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.expert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.expert-photo {
    height: 240px;
    overflow: hidden;
    position: relative;
}
.expert-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.4s ease; }
.expert-card:hover .expert-photo img { transform: scale(1.04); }
.expert-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--gold);
    color: var(--green-dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}
.expert-info { padding: 20px 22px 22px; }
.expert-name { font-size: 1.15rem; font-weight: 700; color: var(--green-dark); margin-bottom: 4px; }
.expert-role { font-size: 0.85rem; color: var(--green-mid); font-weight: 600; margin-bottom: 10px; }
.expert-desc { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 14px; }
.expert-awards { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.award-tag {
    background: var(--gray-light);
    color: var(--green-dark);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}
.expert-btns { display: flex; gap: 10px; }
.expert-btns a {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}
.btn-contact { background: var(--green-mid); color: var(--white); }
.btn-contact:hover { background: var(--green-dark); }
.btn-works { background: var(--gray-light); color: var(--green-dark); border: 1px solid var(--green-light); }
.btn-works:hover { background: var(--green-light); 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: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}
.review-card::before {
    content: '"';
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 4rem;
    color: var(--green-light);
    opacity: 0.25;
    font-family: Georgia, serif;
    line-height: 1;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-text { font-size: 0.92rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-light), var(--green-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.reviewer-name { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
.reviewer-info { font-size: 0.78rem; color: var(--gray-mid); }

/* ---- 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 10px rgba(26,77,46,0.07);
    overflow: hidden;
    border: 1px solid rgba(26,77,46,0.08);
}
.faq-question {
    padding: 18px 22px;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--green-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    user-select: none;
}
.faq-question:hover { background: var(--gray-light); }
.faq-question .faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.faq-item.open .faq-icon { background: var(--green-dark); transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 22px;
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 22px 18px; }

/* ---- 合作品牌Logo墙 ---- */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    align-items: center;
}
.partner-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(26,77,46,0.07);
    transition: var(--transition);
    border: 1px solid rgba(26,77,46,0.06);
}
.partner-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-light); }
.partner-item .partner-name { font-size: 0.9rem; font-weight: 700; color: var(--green-dark); margin-top: 8px; }
.partner-logo-placeholder {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--green-light), var(--green-mid));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 800;
}

/* ---- 联系模块 ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-light);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--green-light), var(--green-mid));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    flex-shrink: 0;
}
.contact-label { font-size: 0.8rem; color: var(--gray-mid); margin-bottom: 3px; }
.contact-value { font-size: 0.97rem; font-weight: 600; color: var(--text-dark); }
.qr-section { display: flex; gap: 24px; flex-wrap: wrap; }
.qr-item { text-align: center; }
.qr-item img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; border: 2px solid var(--green-light); }
.qr-item p { font-size: 0.82rem; color: var(--text-mid); margin-top: 8px; }

/* ---- 社交分享 ---- */
.share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.share-label { font-size: 0.9rem; color: var(--text-mid); font-weight: 600; }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.83rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}
.share-wechat { background: #07c160; color: var(--white); }
.share-weibo { background: #e6162d; color: var(--white); }
.share-douyin { background: #000; color: var(--white); }
.share-bilibili { background: #00a1d6; color: var(--white); }
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* ---- 面包屑 ---- */
.breadcrumb {
    padding: 14px 0;
    font-size: 0.85rem;
    color: var(--gray-mid);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--green-mid); }
.breadcrumb a:hover { color: var(--green-dark); }
.breadcrumb .sep { color: var(--gray-mid); }
.breadcrumb .current { color: var(--text-dark); font-weight: 500; }

/* ---- 标签云 ---- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    background: var(--gray-light);
    color: var(--green-dark);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.83rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}
.tag:hover { background: var(--green-mid); color: var(--white); }
.tag.active { background: var(--green-mid); color: var(--white); }

/* ---- 统计数字 ---- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.15);
}
.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold-light);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label { font-size: 0.9rem; opacity: 0.85; }

/* ---- 页脚 ---- */
.footer {
    background: var(--green-dark);
    color: rgba(255,255,255,0.85);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; opacity: 0.75; margin-bottom: 16px; }
.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--green-mid);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.88rem; opacity: 0.75; transition: var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--gold-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: wrap;
    gap: 12px;
    font-size: 0.83rem;
    opacity: 0.7;
}
.footer-qr { display: flex; gap: 20px; }
.footer-qr-item { text-align: center; }
.footer-qr-item img { width: 80px; height: 80px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.2); }
.footer-qr-item p { font-size: 0.72rem; margin-top: 5px; opacity: 0.7; }
.update-time { font-size: 0.8rem; color: var(--gold-light); }

/* ---- 图片懒加载占位 ---- */
img[data-src] { opacity: 0; transition: opacity 0.4s; }
img.loaded { opacity: 1; }

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

/* ---- 移动端适配 ---- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); gap: 4px; }
    .nav.open { display: flex; }
    .nav a { padding: 12px 16px; border-radius: var(--radius-sm); }
    .hamburger { display: flex; }
    .hero { min-height: 420px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-stats { gap: 20px; }
    .hero-stat-num { font-size: 1.4rem; }
    .video-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .expert-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .top-bar-inner { flex-direction: column; gap: 4px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 1.6rem; }
}
@media (max-width: 480px) {
    .container { padding: 0 14px; }
    .hero-btns { flex-direction: column; }
    .btn-primary, .btn-outline { justify-content: center; }
    .video-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- 内页Banner ---- */
.page-banner {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
    padding: 60px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.page-banner h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.page-banner p { font-size: 1rem; opacity: 0.85; }

/* ---- 模态框 ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
}
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}
.modal-close:hover { background: var(--green-light); color: var(--white); }

/* ---- 视频播放模态框 ---- */
.video-modal-content { aspect-ratio: 16/9; background: #000; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; }

/* ---- 滚动条 ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-dark); }

/* ---- 加入社区步骤 ---- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: step;
}
.step-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 22px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.step-num {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 16px;
}
.step-card h4 { font-size: 1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }

/* ---- AI赋能卡片 ---- */
.ai-card {
    background: linear-gradient(135deg, var(--green-dark), #0d3320);
    color: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.ai-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201,168,76,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.ai-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(26,77,46,0.3); }
.ai-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--gold-light); }
.ai-card p { font-size: 0.88rem; opacity: 0.85; line-height: 1.6; }
.ai-icon { font-size: 2rem; margin-bottom: 14px; }

/* ---- 娱乐专区 ---- */
.entertainment-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 9/16;
    max-width: 220px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.entertainment-card:hover { transform: scale(1.03); box-shadow: var(--shadow-hover); }
.entertainment-card img { width: 100%; height: 100%; object-fit: cover; }
.entertainment-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    color: var(--white);
}
.entertainment-overlay h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.entertainment-overlay p { font-size: 0.75rem; opacity: 0.8; }
.entertainment-grid { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---- 时间线 ---- */
.timeline { max-width: 700px; margin: 0 auto; position: relative; }
.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(26,77,46,0.15);
}
.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    position: relative;
}
.timeline-year {
    width: 80px;
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--green-dark);
    text-align: right;
    padding-top: 4px;
}
.timeline-content {
    flex: 1;
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow);
    position: relative;
    margin-left: 16px;
}
.timeline-content::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 12px;
    width: 12px;
    height: 12px;
    background: var(--green-dark);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--green-dark);
}
.timeline-content h4 { font-size: 0.95rem; font-weight: 700; color: var(--green-dark); margin-bottom: 6px; }
.timeline-content p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; }

/* ---- 二维码区域 ---- */
.qr-item img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; border: 2px solid var(--gray-light); }
.qr-item p { font-size: 0.78rem; color: var(--gray-mid); margin-top: 6px; }

/* ---- 娱乐短视频悬停播放按钮 ---- */
.entertainment-card .hover-play { opacity: 0; transition: opacity 0.3s ease; }
.entertainment-card:hover .hover-play { opacity: 1 !important; }

/* ---- 视频卡片点击模态框 ---- */
.video-play-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.video-play-modal-inner {
    background: #000;
    border-radius: 12px;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}
.video-play-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
