/* 基础样式 */
:root {
    --primary-color: #5d87ff;
    --text-dark: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    height: 70px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #f1f5f9;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* 英雄区 */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-main {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(93, 135, 255, 0.2);
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(93, 135, 255, 0.3);
}

.version-tag {
    margin-left: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.hero-mockup {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.phone-frame {
    width: 280px;
    height: 560px;
    border: 8px solid #334155;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.15);
}

/* 特色板块 */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

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

.feature-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: var(--bg-light);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.feature-item .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* 下载板块 */
.download-section {
    padding: 100px 0;
    background-color: #f1f5f9;
    text-align: center;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.download-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
}

.platform-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.btn-download {
    margin-top: 20px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-download:hover {
    background: var(--primary-color);
    color: white;
}

.btn-download.disabled {
    border-color: #cbd5e1;
    color: #cbd5e1;
    pointer-events: none;
}

/* 页脚 */
footer {
    padding: 60px 0;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid #f1f5f9;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-mockup {
        margin-top: 50px;
        justify-content: center;
    }
    
    .nav-links {
        display: none; /* 简易起见移动端先隐藏，可用JS做汉堡菜单 */
    }
    
    .phone-frame {
        width: 220px;
        height: 440px;
    }
}
    height: 560px;
    border: 8px solid #334155;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.15);
}

/* 特色板块 */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

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

.feature-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: var(--bg-light);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.feature-item .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* 下载板块 */
.download-section {
    padding: 100px 0;
    background-color: #f1f5f9;
    text-align: center;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.download-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
}

.platform-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.btn-download {
    margin-top: 20px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-download:hover {
    background: var(--primary-color);
    color: white;
}

.btn-download.disabled {
    border-color: #cbd5e1;
    color: #cbd5e1;
    pointer-events: none;
}

/* 页脚 */
footer {
    padding: 60px 0;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid #f1f5f9;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-mockup {
        margin-top: 50px;
        justify-content: center;
    }
    
    .nav-links {
        display: none; /* 简易起见移动端先隐藏，可用JS做汉堡菜单 */
    }
    
    .phone-frame {
        width: 220px;
        height: 440px;
    }
}