/* PDF压缩器页面样式 - 仅SEO内容区域 */

/* SEO内容区域 */
.seo-content {
    margin-top: 4rem;
    margin-bottom: 2rem;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    border-radius: 24px;
    color: var(--gray-800);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.seo-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%236b7280" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%236b7280" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%236b7280" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%236b7280" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%236b7280" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
}

.seo-content h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0 0 1rem 0;
    line-height: 1.1;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 1rem 0;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.seo-content h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--gray-700);
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.seo-description {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}

/* 格式卡片网格 */
.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.format-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.format-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
}

.format-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15);
    border-color: var(--primary);
}

.format-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.format-card h4::before {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.format-card p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

.format-card .format-ext {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.5rem;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* 功能特点列表 */
.features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.features-list li {
    position: relative;
    padding: 1rem 1.5rem 1rem 3rem;
    color: var(--gray-700);
    line-height: 1.6;
    transition: all 0.3s ease;
    border-radius: 12px;
    background: white;
    border: 1px solid var(--gray-100);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.features-list li:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.02) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border-color: var(--primary);
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.features-list li:hover::before {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* 使用场景区域 */
.use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.use-case {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.use-case::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
}

.use-case:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

.use-case h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.use-case p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .seo-content {
        margin-top: 2rem;
        padding: 2rem 1rem;
    }

    .seo-content h1 {
        font-size: 1.75rem;
    }

    .seo-content h2 {
        font-size: 1.25rem;
    }

    .seo-content h3 {
        font-size: 1rem;
    }

    .seo-description {
        font-size: 0.9rem;
        padding: 0;
    }

    .format-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .format-card {
        padding: 1.25rem;
    }

    .format-card h4 {
        font-size: 1.1rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .features-list li {
        padding: 0.875rem 1.25rem 0.875rem 2.5rem;
    }

    .use-cases {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .seo-content {
        padding: 1.5rem 0.75rem;
    }

    .format-card {
        padding: 1rem;
    }

    .features-list li {
        padding: 0.75rem 1rem 0.75rem 2.25rem;
        font-size: 0.9rem;
    }
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
    .seo-content {
        background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
        border-color: #475569;
        color: #e2e8f0;
    }

    .seo-content h1 {
        color: #f1f5f9;
    }

    .seo-content h2 {
        color: #60a5fa;
    }

    .seo-content h3 {
        color: #cbd5e1;
    }

    .seo-description {
        color: #94a3b8;
    }

    .format-card {
        background: #1e293b;
        border-color: #475569;
        color: #e2e8f0;
    }

    .format-card h4 {
        color: #f1f5f9;
    }

    .format-card p {
        color: #94a3b8;
    }

    .features-list li {
        background: #1e293b;
        border-color: #475569;
        color: #e2e8f0;
    }

    .features-list li:hover {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    }

    .use-case {
        background: #1e293b;
        border-color: #475569;
        color: #e2e8f0;
    }

    .use-case h4 {
        color: #f1f5f9;
    }

    .use-case p {
        color: #94a3b8;
    }
} 