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

:root {
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* 顶部导航栏 */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

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

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

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.lang-link {
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
    cursor: pointer;
}

.lang-link:hover,
.lang-link.active {
    color: var(--primary-color);
}

.lang-sep {
    color: #ddd;
}

/* 主要内容区 */
.main {
    padding-top: 90px;
    padding-bottom: 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.download-section {
    text-align: center;
    width: 100%;
    max-width: 380px;
}

.download-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.2);
}

.download-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.download-info {
    margin-bottom: 24px;
}

.download-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.download-desc {
    font-size: 14px;
    color: #666;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.download-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.download-btn:hover svg {
    transform: translateX(3px);
}

.download-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: #888;
    font-size: 13px;
}

.download-hint svg {
    width: 16px;
    height: 16px;
}

/* 响应式 */
@media (max-width: 768px) {
    .download-card {
        padding: 30px 24px;
    }
    
    .download-icon {
        width: 60px;
        height: 60px;
        border-radius: 14px;
    }
    
    .download-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .download-title {
        font-size: 20px;
    }
    
    .download-btn {
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* 页脚 */
.footer {
    background: var(--white);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.footer-text {
    font-size: 14px;
    color: var(--text-light);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-left {
        max-width: 100%;
    }

    .download-section {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    .lang-switch {
        order: 2;
    }

    .main {
        padding-top: 160px;
    }
}

@media (max-width: 480px) {
    .nav-link {
        font-size: 14px;
    }
}
