/* platform */
@layer modules {
/* 平台总览页横幅贴顶，避免和固定导航重复留白 */
body.page-platform-overview {
    padding-top: 0;
}

.platform-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0 80px;
    color: white;
    text-align: center;
}

.platform-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.platform-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.platforms-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
}

.platforms-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 0 auto;
}

.platform-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* 平台名称链接样式 */
.platform-name a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.platform-name a:hover {
    opacity: 0.9;
}

/* 文章链接样式 */
.article-link {
    color: #1890ff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 10px 12px;
    background: #f0f8ff;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.article-link:hover {
    background: #e6f4ff;
    padding-left: 16px;
    color: #0050b3;
}

.article-link:before {
    content: "📖";
    font-size: 0.9rem;
    flex-shrink: 0;
}

.platform-card-header {
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.platform-card.wechat .platform-card-header {
    background: linear-gradient(135deg, #09bb07 0%, #00d100 100%);
}

.platform-card.douyin .platform-card-header {
    background: linear-gradient(135deg, #fe2c55 0%, #ff6b9d 100%);
}

.platform-card.alipay .platform-card-header {
    background: linear-gradient(135deg, #1677ff 0%, #00a6ff 100%);
}

.platform-card.xiaohongshu .platform-card-header {
    background: linear-gradient(135deg, #ff2442 0%, #ff6b8a 100%);
}

.platform-card.baidu .platform-card-header {
    background: linear-gradient(135deg, #2932e1 0%, #5c7cfa 100%);
}

.platform-card.kuaishou .platform-card-header {
    background: linear-gradient(135deg, #ff6600 0%, #ff9955 100%);
}

.platform-card.h5 .platform-card-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.platform-card.web .platform-card-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.platform-card.app .platform-card-header {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.platform-card.gongzhonghao .platform-card-header {
    background: linear-gradient(135deg, #07c160 0%, #39d98a 100%);
}

.platform-card.fuwuhao .platform-card-header {
    background: linear-gradient(135deg, #1890ff 0%, #36cfc9 100%);
}

.platform-icon {
    font-size: 2.5rem;
}

.platform-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.platform-card-body {
    padding: 30px;
}

.platform-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.platform-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.platform-features-section {
    display: flex;
    flex-direction: column;
}

.platform-features-section h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.platform-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.platform-features li {
    padding: 8px 0;
    color: #555;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.platform-features li:before {
    content: "✓";
    color: #52c41a;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.platform-articles {
    display: flex;
    flex-direction: column;
}

.platform-articles h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.article-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.view-all-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.view-all-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.stats-section {
    padding: 60px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 10px;
    font-weight: bold;
}

.stat-item p {
    color: #666;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .platform-hero h1 {
        font-size: 2rem;
    }

    .platform-hero p {
        font-size: 1rem;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .platform-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.platform-hero {
    background: linear-gradient(135deg, var(--platform-primary) 0%, var(--platform-primary-end) 100%);
    padding: 100px 0 80px;
    color: white;
    text-align: center;
}

.platform-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.platform-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.platform-icon-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.platform-icon-large i {
    font-size: 60px;
    color: white;
}

.content-section {
    padding: 80px 0;
}

.content-section.gray {
    background: #fafbfc;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.pros,
.cons {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.pros {
    border-top: 4px solid #10b981;
}

.cons {
    border-top: 4px solid #f59e0b;
}

.pros h3 {
    color: #10b981;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.cons h3 {
    color: #f59e0b;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.pros ul,
.cons ul {
    list-style: none;
    padding: 0;
}

.pros li,
.cons li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #5f6368;
    line-height: 1.6;
}

.pros li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

.cons li:before {
    content: "!";
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
    font-size: 1.2rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--platform-primary, #1a73e8), var(--platform-primary-end, #4285f4));
    padding: 80px 0;
    text-align: center;
    color: white;
}

body.theme-platform-xiaohongshu .cta-section {
    background: linear-gradient(135deg, #ff2442, #ff6b8a);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .platform-hero h1 {
        font-size: 2rem;
    }

    .pros-cons {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .platform-section-title {
        font-size: 2rem;
    }
}

body.page-platform-overview .platform-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
}
