/* ============================================
   萝莉岛 - 国内知名植物公司+视频社区
   官网主样式文件 | caswmn.cn
   植物视频 | 植物教程视频 | 植物视频教程
   ============================================ */

/* 基础重置 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #1a7a3c;
    --primary-dark: #0f5a2a;
    --primary-light: #2db85a;
    --accent: #f0a500;
    --accent-dark: #c87d00;
    --bg-dark: #0d1f12;
    --bg-mid: #152a1a;
    --bg-light: #1e3d26;
    --text-main: #e8f5e9;
    --text-muted: #a5c8a8;
    --text-white: #ffffff;
    --card-bg: #192e1e;
    --card-border: #2a4d33;
    --shadow: 0 4px 20px rgba(0,0,0,0.4);
    --radius: 12px;
    --radius-sm: 6px;
    --transition: 0.3s ease;
    --font-main: 'PingFang SC', 'Microsoft YaHei', '微软雅黑', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--accent); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; }

/* ============ 干扰标签隐藏 ============ */
.dy-noise { display: none !important; visibility: hidden !important; }

/* ============ 顶部公告栏 ============ */
.top-bar {
    background: var(--primary-dark);
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 6px 0;
    text-align: center;
    border-bottom: 1px solid var(--card-border);
}
.top-bar a { color: var(--accent); }

/* ============ 头部导航 ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 31, 18, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.site-logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-text .brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
}
.logo-text .brand-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* 主导航 */
.main-nav { flex: 1; }
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}
.main-nav ul li a {
    display: block;
    padding: 8px 14px;
    color: var(--text-main);
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
    background: var(--primary);
    color: var(--text-white);
}

/* 搜索框 */
.header-search {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    overflow: hidden;
    flex-shrink: 0;
}
.header-search input {
    background: transparent;
    border: none;
    outline: none;
    padding: 8px 16px;
    color: var(--text-main);
    font-size: 0.85rem;
    width: 180px;
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search button {
    background: var(--primary);
    border: none;
    padding: 8px 16px;
    color: white;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background var(--transition);
}
.header-search button:hover { background: var(--primary-light); }

/* 搜索下拉 */
.search-wrapper {
    position: relative;
}
.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 100;
    padding: 12px;
}
.search-dropdown.show { display: block; }
.search-hot-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.search-hot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.search-hot-tags span {
    background: var(--bg-light);
    color: var(--text-main);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition);
}
.search-hot-tags span:hover { background: var(--primary); color: white; }

/* 汉堡菜单 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ============ 导航下方搜索条 ============ */
.nav-search-bar {
    background: var(--bg-mid);
    border-bottom: 1px solid var(--card-border);
    padding: 10px 0;
}
.nav-search-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-search-inner .search-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
}
.nav-search-full {
    flex: 1;
    display: flex;
    background: var(--bg-light);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    overflow: hidden;
    max-width: 600px;
}
.nav-search-full input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 8px 20px;
    color: var(--text-main);
    font-size: 0.9rem;
}
.nav-search-full input::placeholder { color: var(--text-muted); }
.nav-search-full button {
    background: var(--primary);
    border: none;
    padding: 8px 20px;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background var(--transition);
}
.nav-search-full button:hover { background: var(--primary-light); }
.search-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.search-tags a {
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 3px 10px;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: all var(--transition);
}
.search-tags a:hover { border-color: var(--primary-light); color: var(--primary-light); }

/* ============ 通用容器 ============ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ Banner区域 ============ */
.hero-banner {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--bg-dark);
}
.hero-banner .banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.7;
}
.hero-banner .banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,30,15,0.85) 0%, rgba(10,30,15,0.4) 60%, transparent 100%);
}
.hero-banner .banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    max-width: 700px;
}
.hero-banner .banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 16px;
    width: fit-content;
}
.hero-banner h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.hero-banner h1 span { color: var(--accent); }
.hero-banner .banner-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.8;
}
.hero-banner .banner-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 28px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition);
    border: 2px solid var(--primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,122,60,0.4);
}
.btn-outline {
    background: transparent;
    color: white;
    padding: 12px 28px;
    border-radius: 28px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition);
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    color: white;
}
.hero-stats {
    position: absolute;
    bottom: 30px;
    right: 60px;
    display: flex;
    gap: 30px;
    z-index: 2;
}
.hero-stat-item {
    text-align: center;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    padding: 12px 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-item .num {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
}
.hero-stat-item .label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============ 区块标题 ============ */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(26,122,60,0.2);
    border: 1px solid var(--primary);
    color: var(--primary-light);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}
.section-header h2 span { color: var(--accent); }
.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 12px auto;
    border-radius: 2px;
}

/* ============ 通用区块 ============ */
.section-block {
    padding: 70px 0;
}
.section-block.bg-mid { background: var(--bg-mid); }
.section-block.bg-light { background: var(--bg-light); }

/* ============ 视频卡片 ============ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.video-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
}
.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    border-color: var(--primary);
}
.video-thumb {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-mid);
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.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: background var(--transition);
}
.video-card:hover .play-btn { background: rgba(0,0,0,0.4); }
.play-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition);
}
.video-card:hover .play-icon {
    opacity: 1;
    transform: scale(1);
}
.play-icon::after {
    content: '';
    border-left: 18px solid var(--primary-dark);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 4px;
}
.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
}
.video-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
}
.video-badge.hot { background: #e53935; }
.video-badge.new { background: var(--accent-dark); }
.video-info {
    padding: 14px;
}
.video-info h3 {
    font-size: 0.95rem;
    color: var(--text-white);
    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;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.video-stats {
    display: flex;
    gap: 10px;
}
.video-stats span { display: flex; align-items: center; gap: 3px; }

/* ============ 精选视频区 ============ */
.featured-video-section { padding: 70px 0; }
.featured-video-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}
.featured-main-video {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}
.featured-main-video img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.featured-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: background var(--transition);
}
.featured-play-overlay:hover { background: rgba(0,0,0,0.5); }
.featured-play-btn {
    width: 72px;
    height: 72px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
}
.featured-play-overlay:hover .featured-play-btn { transform: scale(1.1); }
.featured-play-btn::after {
    content: '';
    border-left: 24px solid white;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    margin-left: 6px;
}
.featured-video-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.featured-video-item {
    display: flex;
    gap: 12px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
    padding: 10px;
}
.featured-video-item:hover {
    border-color: var(--primary);
    background: var(--bg-light);
}
.featured-video-item img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.featured-item-info h4 {
    font-size: 0.85rem;
    color: var(--text-white);
    margin-bottom: 4px;
    line-height: 1.4;
}
.featured-item-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============ 专家卡片 ============ */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
.expert-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    text-align: center;
}
.expert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}
.expert-avatar {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
}
.expert-info {
    padding: 16px;
}
.expert-info h3 {
    font-size: 1.05rem;
    color: var(--text-white);
    margin-bottom: 4px;
}
.expert-role {
    font-size: 0.8rem;
    color: var(--primary-light);
    margin-bottom: 8px;
}
.expert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin-bottom: 12px;
}
.expert-tag {
    background: rgba(26,122,60,0.2);
    color: var(--primary-light);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(26,122,60,0.3);
}
.expert-btns {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: 16px;
    border: 1px solid var(--primary);
    color: var(--primary-light);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-sm:hover { background: var(--primary); color: white; }
.btn-sm.solid { background: var(--primary); color: white; }
.btn-sm.solid:hover { background: var(--primary-light); }

/* ============ 合作品牌 ============ */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.partner-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
}
.partner-item:hover {
    border-color: var(--primary);
    background: var(--bg-light);
}
.partner-item .partner-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}
.partner-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============ FAQ ============ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.faq-question {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background var(--transition);
    font-weight: 600;
    color: var(--text-white);
}
.faq-question:hover { background: var(--bg-light); }
.faq-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-light);
    border-bottom: 2px solid var(--primary-light);
    transform: rotate(45deg);
    transition: transform var(--transition);
    flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(-135deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
    color: var(--text-muted);
    line-height: 1.8;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 20px 18px;
}

/* ============ 用户评价 ============ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.review-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all var(--transition);
}
.review-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}
.review-user h4 {
    font-size: 0.95rem;
    color: var(--text-white);
}
.review-user p {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.review-stars {
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.review-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============ 联系区域 ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-info h3 {
    font-size: 1.4rem;
    color: var(--text-white);
    margin-bottom: 20px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(26,122,60,0.2);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-item-text h4 {
    font-size: 0.9rem;
    color: var(--text-white);
    margin-bottom: 2px;
}
.contact-item-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.qr-row {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.qr-item {
    text-align: center;
}
.qr-item img {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--card-border);
}
.qr-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}
.contact-store img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

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

/* ============ 底部 ============ */
.site-footer {
    background: var(--bg-dark);
    border-top: 2px solid var(--primary-dark);
    padding: 50px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .brand-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 12px 0 20px;
}
.footer-col h4 {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--card-border);
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col ul li a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-links {
    display: flex;
    gap: 16px;
}
.footer-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-links a:hover { color: var(--primary-light); }
.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.footer-logo-wrap img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.footer-logo-wrap span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
}

/* ============ 面包屑 ============ */
.breadcrumb {
    background: var(--bg-mid);
    padding: 12px 0;
    border-bottom: 1px solid var(--card-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);
}
.breadcrumb-inner a { color: var(--text-muted); }
.breadcrumb-inner a:hover { color: var(--primary-light); }
.breadcrumb-inner .sep { color: var(--card-border); }
.breadcrumb-inner .current { color: var(--text-white); }

/* ============ 标签云 ============ */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-cloud a {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 5px 14px;
    border-radius: 16px;
    font-size: 0.82rem;
    transition: all var(--transition);
}
.tag-cloud a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ============ AI赋能区块 ============ */
.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ai-feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.ai-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.ai-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}
.ai-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.ai-feature-card h3 {
    font-size: 1.05rem;
    color: var(--text-white);
    margin-bottom: 10px;
}
.ai-feature-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============ 社区功能 ============ */
.community-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ============ 加入指南 ============ */
.join-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}
.join-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 0;
}
.join-step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.step-num {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 14px;
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 0 3px var(--primary);
}
.join-step h4 {
    font-size: 0.95rem;
    color: var(--text-white);
    margin-bottom: 6px;
}
.join-step p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

/* ============ 回到顶部 ============ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
    border: none;
    color: white;
    font-size: 1.2rem;
}
.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}
.back-to-top:hover { background: var(--primary-light); }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .ai-features-grid { grid-template-columns: repeat(2, 1fr); }
    .join-steps { grid-template-columns: repeat(2, 1fr); }
    .join-steps::before { display: none; }
    .featured-video-wrap { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-inner { height: 60px; }
    .main-nav { display: none; }
    .main-nav.open { display: block; position: absolute; top: 60px; left: 0; right: 0; background: var(--bg-dark); padding: 16px; border-bottom: 1px solid var(--card-border); }
    .main-nav.open ul { flex-direction: column; }
    .menu-toggle { display: flex; }
    .header-search { display: none; }
    .hero-banner { height: 400px; }
    .hero-banner h1 { font-size: 1.8rem; }
    .hero-banner .banner-content { padding: 0 24px; }
    .hero-stats { display: none; }
    .section-block { padding: 40px 0; }
    .section-header h2 { font-size: 1.5rem; }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .experts-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .ai-features-grid { grid-template-columns: 1fr; }
    .join-steps { grid-template-columns: 1fr 1fr; }
    .nav-search-bar .search-tags { display: none; }
}

@media (max-width: 480px) {
    .video-grid { grid-template-columns: 1fr; }
    .experts-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .join-steps { grid-template-columns: 1fr; }
    .hero-banner .banner-btns { flex-direction: column; }
    .qr-row { justify-content: center; }
}

/* ============ 内页样式 ============ */
.page-hero {
    background: linear-gradient(135deg, var(--bg-mid) 0%, var(--bg-dark) 100%);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--card-border);
}
.page-hero h1 {
    font-size: 2.2rem;
    color: var(--text-white);
    margin-bottom: 12px;
}
.page-hero p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============ 文章卡片 ============ */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.article-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}
.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.article-card-body {
    padding: 16px;
}
.article-card-body h3 {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 8px;
    line-height: 1.4;
}
.article-card-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============ 加载动画 ============ */
.skeleton {
    background: linear-gradient(90deg, var(--card-bg) 25%, var(--bg-light) 50%, var(--card-bg) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============ 视频播放模态框 ============ */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.video-modal.show { display: flex; }
.video-modal-inner {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 20px;
    max-width: 800px;
    width: 90%;
    position: relative;
}
.video-modal-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 1.2rem;
    border: none;
}
.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: var(--text-muted);
}
.video-placeholder .vp-icon {
    font-size: 3rem;
    color: var(--primary-light);
}
