/*
 * -----------------------------------------------------------
 * 极简风下载页面样式
 * -----------------------------------------------------------
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --theme-primary: #18181B;
    --theme-secondary: #3F3F46;
    --theme-accent: #2563EB;
    --theme-background: #FAFAFA;
    --theme-surface: #FFFFFF;
    --theme-text: #09090B;
    --theme-text-muted: #52525B;
    --theme-border: #E4E4E7;
    --theme-font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --theme-heading-weight: 600;
    --theme-body-weight: 400;
    --theme-letter-spacing: -0.02em;
    --theme-section-padding: 100px 0;
    --theme-card-padding: 48px 40px;
    --theme-gap: 24px;
    --theme-radius-small: 8px;
    --theme-radius-medium: 12px;
    --theme-radius-large: 16px;
    --theme-shadow: none;
    --theme-transition: 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--theme-font-family);
    background-color: var(--theme-background);
    color: var(--theme-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    padding: 80px 20px 60px;
    text-align: center;
    background-color: var(--theme-surface);
    border-bottom: 1px solid var(--theme-border);
}

.logo {
    width: 96px;
    height: 96px;
    border-radius: var(--theme-radius-medium);
    margin-bottom: 24px;
    object-fit: cover;
}

header h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: var(--theme-letter-spacing);
    margin-bottom: 16px;
    color: var(--theme-text);
}

header p {
    font-size: 17px;
    color: var(--theme-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Data Import Link */
.data-import-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px 20px;
    background-color: var(--theme-background);
    border: 1px solid var(--theme-border);
    border-radius: var(--theme-radius-small);
    color: var(--theme-accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--theme-transition);
}

.data-import-link:hover {
    background-color: #EFF6FF;
    border-color: var(--theme-accent);
}

.data-import-link i {
    font-size: 16px;
}

/* Main Content */
main {
    flex: 1;
    padding: var(--theme-section-padding);
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

/* Section */
section {
    margin-bottom: 60px;
}

section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--theme-text);
    letter-spacing: var(--theme-letter-spacing);
}

/* Download Section */
.download-section {
    background-color: var(--theme-surface);
    border-radius: var(--theme-radius-large);
    padding: var(--theme-card-padding);
    border: 1px solid var(--theme-border);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--theme-gap);
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background-color: var(--theme-background);
    border-radius: var(--theme-radius-medium);
    border: 1px solid var(--theme-border);
    text-decoration: none;
    color: var(--theme-text);
    transition: all var(--theme-transition);
    cursor: pointer;
}

.download-card:hover {
    border-color: var(--theme-secondary);
    background-color: #F5F5F5;
}

.download-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.download-card-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--theme-text);
}

.download-card-badge {
    margin-top: 8px;
    padding: 4px 10px;
    background-color: var(--theme-primary);
    color: var(--theme-surface);
    font-size: 12px;
    border-radius: var(--theme-radius-small);
    font-weight: 500;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--theme-gap);
}

.feature-card {
    padding: 32px;
    background-color: var(--theme-surface);
    border-radius: var(--theme-radius-medium);
    border: 1px solid var(--theme-border);
    text-align: center;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--theme-text);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--theme-text);
}

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

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--theme-gap);
}

.review-card {
    padding: 24px;
    background-color: var(--theme-surface);
    border-radius: var(--theme-radius-medium);
    border: 1px solid var(--theme-border);
}

.review-text {
    font-size: 15px;
    color: var(--theme-text);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.review-author {
    font-size: 13px;
    color: var(--theme-text-muted);
    text-align: right;
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding: 40px;
    background-color: var(--theme-surface);
    border-radius: var(--theme-radius-medium);
    border: 1px solid var(--theme-border);
}

.contact-section p {
    font-size: 15px;
    color: var(--theme-text-muted);
    margin: 8px 0;
}

.contact-section a {
    color: var(--theme-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--theme-transition);
}

.contact-section a:hover {
    color: var(--theme-primary);
}

/* Footer */
footer {
    padding: 32px 20px;
    text-align: center;
    border-top: 1px solid var(--theme-border);
    background-color: var(--theme-surface);
}

footer p {
    font-size: 13px;
    color: var(--theme-text-muted);
}

/* Back Button */
.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: var(--theme-surface);
    border: 1px solid var(--theme-border);
    border-radius: var(--theme-radius-small);
    color: var(--theme-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--theme-transition);
    z-index: 100;
}

.back-button:hover {
    background-color: var(--theme-background);
    border-color: var(--theme-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 60px 20px 40px;
    }

    header h1 {
        font-size: 28px;
    }

    header p {
        font-size: 15px;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    main {
        padding: 60px 20px;
    }

    section h2 {
        font-size: 20px;
    }

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

    .features-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .back-button {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 13px;
    }
}
