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

:root {
    --primary-color: #2E7D6B;
    --primary-light: #4CAF93;
    --primary-dark: #1B5E4B;
    --accent-color: #FFD54F;
    --text-primary: #333333;
    --text-secondary: #666666;
    --bg-light: #F5F9F8;
    --white: #FFFFFF;
    --shadow: 0 10px 40px rgba(46, 125, 107, 0.15);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 40px 20px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 18px;
    background: var(--white);
    padding: 8px;
}

.app-name {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.app-slogan {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    font-weight: 300;
}

/* Download Button */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary-color);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.download-btn svg {
    width: 24px;
    height: 24px;
}

.download-hint {
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255, 255, 0.7);
}

/* Main Container - 限制内容最大宽度，避免铺满屏幕 */
.main-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

/* Main Content */
.main-content {
    max-width: 100%;
    margin: -35px auto 0;
    padding: 0 0 40px;
    position: relative;
    z-index: 2;
}

/* Features Section */
.features-card {
    background: var(--white);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    margin: 16px auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.feature-item {
    text-align: center;
    padding: 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--bg-light);
    transform: translateY(-5px);
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 26px;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

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

/* App Info */
.app-info-card {
    background: var(--white);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    margin-bottom: 20px;
}

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

.info-item {
    text-align: center;
    padding: 20px;
}

.info-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.info-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Screenshots Placeholder */
.screenshots-section {
    background: var(--white);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    margin-bottom: 20px;
    text-align: center;
}

.screenshots-placeholder {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.screenshot-item {
    width: 150px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-secondary);
}

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

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-dark);
}

.copyright {
    font-size: 14px;
}

.beian {
    font-size: 12px;
    margin-top: 10px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .main-container {
        padding: 0 12px;
    }
    
    .header {
        padding: 30px 16px 70px;
        margin: 0 -16px;
    }

    .app-name {
        font-size: 28px;
    }

    .app-slogan {
        font-size: 14px;
    }

    .app-icon {
        width: 80px;
        height: 80px;
    }
    
    .download-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .features-card,
    .app-info-card,
    .screenshots-section {
        padding: 24px 16px;
        border-radius: 16px;
        margin-bottom: 16px;
    }

    .section-title {
        font-size: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .feature-item {
        padding: 14px;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .feature-title {
        font-size: 14px;
    }
    
    .feature-desc {
        font-size: 12px;
    }

    .screenshot-item {
        width: 100px;
        height: auto;
    }
    
    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .info-item {
        padding: 16px 12px;
    }
    
    .footer {
        padding: 20px 10px;
    }
    
    .footer-links a {
        margin: 0 8px;
        font-size: 13px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .main-container {
        padding: 0 8px;
    }
    
    .header {
        margin: 0 -8px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Platform Badge */
.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--white);
    margin-top: 20px;
}

/* About Section */
.about-section {
    margin-bottom: 30px;
    padding: 0 10px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.author-note {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 16px;
    margin: 30px 0;
}

.author-note .about-text {
    color: var(--text-primary);
}

.contact-notice {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-notice a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-notice a:hover {
    text-decoration: underline;
}
