/* 丝瓜视频 全站样式表 */
/* 版权所有 © 2025 丝瓜视频 adwtdz.cn */

/* ===== CSS变量定义 ===== */
:root {
    --primary-color: #ff6b9d;
    --secondary-color: #c44569;
    --accent-color: #ff8fab;
    --dark-color: #2d3436;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e9ecef;
    --gradient-primary: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* ===== 基础重置 ===== */
*, *::before, *::after {
    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;
    line-height: 1.6;
    color: var(--text-color);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul, ol {
    list-style: none;
}

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

/* ===== 头部导航 ===== */
.header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 45px;
    height: 45px;
    border-radius: 10px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-menu a {
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-color);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--gradient-primary);
    color: #fff;
}

/* ===== 搜索栏 ===== */
.search-bar {
    background: var(--light-color);
    padding: 15px 0;
}

.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-size: 15px;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-btn {
    padding: 12px 30px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* ===== 面包屑导航 ===== */
.breadcrumb {
    background: var(--light-color);
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== Hero区域 ===== */
.hero {
    background: var(--gradient-primary);
    padding: 60px 0;
    color: #fff;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.page-hero {
    background: var(--gradient-primary);
    padding: 50px 0;
    color: #fff;
    text-align: center;
}

.page-hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.creator-hero,
.community-hero,
.tools-hero {
    background: var(--gradient-secondary);
}

/* ===== 按钮样式 ===== */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: var(--primary-color);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* ===== 通用区块 ===== */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.section-title p {
    font-size: 16px;
    color: var(--text-light);
}

/* ===== 分类标签 ===== */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.tag {
    padding: 8px 20px;
    background: var(--light-color);
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.tag:hover,
.tag.active {
    background: var(--gradient-primary);
    color: #fff;
}

/* ===== 视频卡片网格 ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.video-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
    cursor: pointer;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-left: 20px solid var(--primary-color);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.video-card:hover .play-btn {
    opacity: 1;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
}

.video-author {
    color: var(--primary-color);
}

.video-stats {
    display: flex;
    gap: 12px;
}

.video-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== 功能网格 ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.feature-item {
    background: #fff;
    padding: 25px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.feature-item p {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== AI区域 ===== */
.ai-section {
    background: var(--gradient-secondary);
    color: #fff;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.ai-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.ai-card:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

.ai-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.ai-card p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.7;
}

/* ===== 专家卡片 ===== */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.expert-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.expert-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-card h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.expert-title {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.expert-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.expert-btn {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
}

/* ===== 用户评价 ===== */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-user h4 {
    font-size: 16px;
    margin-bottom: 3px;
}

.review-user span {
    font-size: 13px;
    color: var(--text-light);
}

.review-stars {
    color: #ffc107;
    font-size: 16px;
    margin-bottom: 10px;
}

.review-text {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.7;
}

/* ===== 合作伙伴 ===== */
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.partner-logo {
    width: 150px;
    height: 80px;
    background: var(--light-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-color);
}

.faq-answer {
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ===== 联系区域 ===== */
.contact-section {
    background: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.contact-item {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-item p {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.qrcode-img {
    margin-top: 15px;
}

.qrcode-img img {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-sm);
}

/* ===== 社交分享 ===== */
.social-share {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition);
}

.social-btn:hover {
    transform: scale(1.1);
}

/* ===== 页脚 ===== */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.footer-desc {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-qrcodes {
    display: flex;
    gap: 15px;
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    margin-bottom: 5px;
}

.footer-qrcode p {
    font-size: 12px;
    opacity: 0.7;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 5px;
}

.update-time {
    font-size: 13px;
}

/* ===== 统计数据 ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== 流程步骤 ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.process-step h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== 等级卡片 ===== */
.level-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.level-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.level-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.level-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.level-badge.bronze { background: #cd7f32; }
.level-badge.silver { background: #c0c0c0; color: #333; }
.level-badge.gold { background: linear-gradient(135deg, #ffd700, #ffb347); }
.level-badge.diamond { background: linear-gradient(135deg, #b9f2ff, #89cff0); color: #333; }

.level-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.level-card > p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.level-card ul {
    text-align: left;
}

.level-card ul li {
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

/* ===== 指南卡片 ===== */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.guide-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.guide-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.guide-content {
    padding: 20px;
}

.guide-content h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.guide-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.guide-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

/* ===== 案例卡片 ===== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.case-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.case-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
}

.case-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.case-stats {
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.case-story {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== CTA区域 ===== */
.cta-section {
    background: var(--gradient-primary);
    text-align: center;
    color: #fff;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* ===== 话题卡片 ===== */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.topic-card {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.topic-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.topic-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-color);
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 12px;
}

.topic-tag.hot {
    background: #ff4757;
    color: #fff;
}

.topic-tag.new {
    background: #2ed573;
    color: #fff;
}

.topic-card h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.topic-card > p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.topic-stats {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-light);
}

/* ===== 直播卡片 ===== */
.live-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.live-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.live-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.live-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
}

.live-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4757;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.live-viewers {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.live-info {
    padding: 15px;
}

.live-info h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.live-author {
    font-size: 13px;
    color: var(--primary-color);
}

/* ===== 活动卡片 ===== */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.activity-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
}

.activity-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.activity-content {
    padding: 25px;
    flex: 1;
}

.activity-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #2ed573;
    color: #fff;
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 12px;
}

.activity-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.activity-content > p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.activity-time {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* ===== 规则网格 ===== */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rule-item {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.rule-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.rule-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.rule-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== 工具卡片 ===== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.tool-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.tool-card.featured {
    grid-column: span 2;
    background: var(--gradient-primary);
    color: #fff;
}

.tool-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.tool-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.tool-card > p {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.tool-features {
    margin-bottom: 20px;
}

.tool-features li {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.tool-card:not(.featured) .tool-features li {
    border-color: var(--border-color);
}

/* ===== AI展示区 ===== */
.ai-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.ai-showcase-content h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.ai-showcase-content > p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.ai-showcase-content ul li {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.ai-showcase-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* ===== 价格卡片 ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pricing-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.pricing-price {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-features {
    text-align: left;
    margin-bottom: 25px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

/* ===== 筛选栏 ===== */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-label {
    font-weight: 600;
    color: var(--text-color);
}

.filter-select {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

/* ===== 分页 ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    padding: 10px 16px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

.page-dots {
    padding: 10px;
    color: var(--text-light);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid,
    .process-steps,
    .level-grid,
    .rules-grid,
    .live-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .guide-grid,
    .case-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-card.featured {
        grid-column: span 1;
    }
    
    .ai-showcase {
        grid-template-columns: 1fr;
    }
    
    .activity-card {
        flex-direction: column;
    }
    
    .activity-card img {
        width: 100%;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu a {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .page-hero h1 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-qrcodes {
        justify-content: center;
    }
    
    .stats-grid,
    .process-steps,
    .level-grid,
    .rules-grid,
    .live-grid,
    .topic-grid,
    .activity-grid {
        grid-template-columns: 1fr;
    }
    
    .level-card.featured {
        transform: none;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .category-tags {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-text h1 {
        font-size: 24px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
