/* ===== 全局重置 & 基础 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background: #f8f9fc;
    color: #1a1a2e;
    line-height: 1.6;
    padding-bottom: 80px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #6C63FF, #4A3FCF);
    color: #fff;
    box-shadow: 0 8px 24px rgba(108, 99, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(108, 99, 255, 0.45);
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
}

.btn-download {
    background: #2d2d44;
    color: #fff;
    padding: 14px 36px;
    font-size: 17px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: #6C63FF;
    transform: scale(1.03);
}

.btn-float {
    padding: 12px 28px;
    font-size: 15px;
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.5);
    animation: pulse-float 2s infinite;
}

@keyframes pulse-float {
    0%, 100% { box-shadow: 0 8px 30px rgba(108, 99, 255, 0.5); }
    50% { box-shadow: 0 8px 50px rgba(108, 99, 255, 0.7); }
}

/* ===== 顶部导航 ===== */
.header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 36px;
    width: auto;
}

.logo span {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
}

.nav {
    display: flex;
    gap: 24px;
    font-size: 15px;
    font-weight: 500;
}

.nav a {
    color: #4a4a6a;
    transition: color 0.3s;
}

.nav a:hover {
    color: #6C63FF;
}

/* ===== Hero 主横幅 ===== */
.hero {
    padding: 50px 0 40px;
    background: linear-gradient(135deg, #f0eeff 0%, #ffffff 100%);
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1.2;
    min-width: 280px;
}

.hero-text h1 {
    font-size: 38px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
}

.hero-sub {
    font-size: 18px;
    color: #555577;
    margin: 16px 0 20px;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.badge {
    background: #e8e6ff;
    color: #4A3FCF;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
}

.hero-image {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.hero-image img {
    max-width: 280px;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.10);
}

/* ===== 通用章节标题 ===== */
.section-title {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #1a1a2e;
}

/* ===== 功能特色 ===== */
.features {
    padding: 60px 0;
    background: #ffffff;
}

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

.feature-card {
    background: #f8f9fc;
    padding: 30px 24px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}

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

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

.feature-card p {
    font-size: 15px;
    color: #666688;
    line-height: 1.6;
}

/* ===== 软件截图 ===== */
.screenshots {
    padding: 60px 0;
    background: #f8f9fc;
}

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

.screenshot-grid img {
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #ddd;
    transition: transform 0.3s;
}

.screenshot-grid img:hover {
    transform: scale(1.02);
}

/* ===== 下载区域 ===== */
.download {
    padding: 60px 0 40px;
    background: #ffffff;
}

.download-sub {
    text-align: center;
    color: #777799;
    font-size: 17px;
    margin-bottom: 36px;
}

.download-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.download-card {
    background: #f8f9fc;
    border-radius: 24px;
    padding: 36px 32px 32px;
    text-align: center;
    min-width: 260px;
    flex: 1 1 260px;
    max-width: 360px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.os-icon {
    font-size: 44px;
    margin-bottom: 8px;
}

.download-card h3 {
    font-size: 22px;
    margin-bottom: 4px;
}

.version {
    color: #8888aa;
    font-size: 14px;
    margin-bottom: 18px;
}

.download-note {
    font-size: 13px;
    color: #aaaacc;
    margin-top: 12px;
}

/* ===== 底部 ===== */
.footer {
    background: #1a1a2e;
    color: #ccccee;
    padding: 28px 0 20px;
    text-align: center;
}

.footer-stats {
    font-size: 15px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.footer-stats strong {
    color: #ffffff;
    font-weight: 700;
}

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 16px auto;
    max-width: 400px;
}

.footer-disclaimer {
    font-size: 13px;
    color: #9999bb;
    margin-bottom: 6px;
}

.footer-copy {
    font-size: 13px;
    color: #666688;
}

/* ===== 悬浮下载按钮 ===== */
.float-download {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, bottom 0.4s ease;
}

.float-download.show {
    opacity: 1;
    visibility: visible;
    bottom: 30px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 28px;
    }
    .hero-sub {
        font-size: 16px;
    }
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .hero-badges {
        justify-content: center;
    }
    .hero-image img {
        max-width: 200px;
    }
    .nav {
        gap: 14px;
        font-size: 14px;
    }
    .section-title {
        font-size: 24px;
    }
    .download-grid {
        flex-direction: column;
        align-items: center;
    }
    .download-card {
        max-width: 100%;
        width: 100%;
    }
    .footer-stats {
        font-size: 14px;
        gap: 6px 12px;
    }
    .btn-large {
        padding: 14px 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    .logo span {
        font-size: 17px;
    }
    .nav a {
        font-size: 13px;
    }
    .hero-text h1 {
        font-size: 24px;
    }
    .btn {
        padding: 10px 24px;
        font-size: 14px;
    }
    .btn-large {
        padding: 12px 28px;
        font-size: 15px;
    }
    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}