/* 闪压压缩软件 - 全局样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #f59e0b;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

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

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.logo-sub {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Hero */
.hero {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
    padding: 80px 0;
}

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

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 20px;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 12px;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-light);
}

/* Download Button */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(37,99,235,0.4);
    transition: all 0.3s;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,99,235,0.5);
}

.btn-icon {
    font-size: 24px;
}

.btn-text strong {
    display: block;
    font-size: 18px;
}

.btn-text small {
    font-size: 12px;
    opacity: 0.85;
}

.btn-large {
    padding: 20px 40px;
}

.btn-large .btn-text strong {
    font-size: 20px;
}

/* Stats */
.stats {
    background: var(--bg);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

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

/* Section Title */
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 48px;
}

/* Features */
.features {
    padding: 80px 0;
    background: var(--bg-alt);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

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

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* Formats */
.formats {
    padding: 60px 0;
    background: var(--bg);
}

.format-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.format-tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.format-tag.more {
    background: var(--accent);
    color: white;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
}

.download .section-title {
    color: white;
}

.download .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.download-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 40px;
}

.download-info h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.download-info ul {
    list-style: none;
}

.download-info li {
    padding: 8px 0;
    font-size: 15px;
    color: rgba(255,255,255,0.85);
}

.download-action {
    text-align: center;
}

.download-tip {
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* Tutorials */
.tutorials {
    padding: 80px 0;
    background: var(--bg-alt);
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tutorial-card {
    background: var(--bg);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.tutorial-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.tutorial-card ol {
    padding-left: 20px;
}

.tutorial-card li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list details {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-list summary {
    padding: 18px 24px;
    font-weight: 600;
    cursor: pointer;
    background: var(--bg-alt);
    transition: background 0.2s;
}

.faq-list summary:hover {
    background: var(--primary-light);
}

.faq-list details p {
    padding: 16px 24px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #1e293b;
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 16px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin: 0 16px;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* Compress Animation */
.compress-anim {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    background: rgba(255,255,255,0.8);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.file-before, .file-after {
    text-align: center;
}

.file-before span, .file-after span {
    font-size: 64px;
    display: block;
}

.file-before small, .file-after small {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

.arrow {
    font-size: 32px;
    color: var(--primary);
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero h1 { font-size: 32px; }
    .stats .container { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: 1fr; }
    .tutorial-grid { grid-template-columns: 1fr; }
    .download-box { grid-template-columns: 1fr; }
    .nav { display: none; }
}
