/* 重置 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
    background: #eef7ff;
}

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

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

/* 页面容器 */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: url("../images/bg.png") no-repeat center top;
    background-size: cover;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 头部 */
.header {
    padding: 24px 0;
}

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

.logo {
    display: block;
    height: 40px;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    color: #4a5568;
}

.nav a {
    transition: color 0.2s ease;
}

.nav a:hover {
    color: #2b8cff;
}

/* 主视觉区 */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 0 60px;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 0 0 46%;
    max-width: 520px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a2e;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a2e;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #718096;
    margin-bottom: 40px;
    max-width: 460px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    background: #2b8cff;
    border-radius: 9999px;
    box-shadow: 0 10px 28px rgba(43, 140, 255, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(43, 140, 255, 0.4);
}

.download-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
}

.download-icon svg {
    width: 100%;
    height: 100%;
}

.hero-visual {
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual img {
    max-width: 100%;
    max-height: 640px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 底部 */
.footer {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: #a0aec0;
}

/* 响应式 */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 40px;
    }

    .hero-title {
        font-size: 46px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-visual img {
        max-height: 520px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 16px 0;
    }

    .logo {
        height: 34px;
    }

    .nav {
        gap: 16px;
        font-size: 13px;
    }

    .hero {
        padding: 32px 0 48px;
    }

    .hero-inner {
        flex-direction: column-reverse;
        text-align: center;
        gap: 36px;
    }

    .hero-content {
        flex: none;
        max-width: 100%;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .hero-desc {
        margin: 0 auto 32px;
        font-size: 14px;
    }

    .hero-visual {
        flex: none;
        width: 100%;
    }

    .hero-visual img {
        max-height: 420px;
    }

    .download-btn {
        min-width: 180px;
        padding: 14px 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-visual img {
        max-height: 340px;
    }
}
