/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

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

/* 导航栏 */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

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

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #4CAF50;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #4CAF50;
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* 英雄区域 */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

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

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: white;
    color: #4CAF50;
    border: 2px solid #4CAF50;
}

.btn-secondary:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
}

.btn-android {
    background: #3DDC84;
    color: white;
}

.btn-ios {
    background: #000;
    color: white;
}

.btn-harmony {
    background: #FF0000;
    color: white;
}

/* 功能特色 */
.features {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

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

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.feature-category {
    display: inline-block;
    padding: 5px 15px;
    background: #e8f5e9;
    color: #4CAF50;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 15px;
}

/* 下载区域 */
.download-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.platform-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-10px);
}

.platform-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.platform-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.platform-card p {
    color: #666;
    margin-bottom: 5px;
}

/* 内容区域 */
.content {
    padding: 60px 0;
    background: white;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.page-content h2 {
    margin-bottom: 20px;
}

/* 页脚 */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p, .footer-section a {
    color: #bbb;
    margin-bottom: 10px;
    display: block;
}

.footer-section a:hover {
    color: #4CAF50;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    font-size: 20px;
    color: white;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #4CAF50;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #bbb;
}

/* 联系页面 */
.contact-page {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.page-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    display: grid;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.info-card i {
    font-size: 36px;
    color: #4CAF50;
    margin-bottom: 15px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* 下载页面 */
.download-page {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

/* 优化平台选项卡样式 - 新增 */
.platform-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 14px 28px;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 18px; /* 增大字体 */
    color: #666;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-btn i {
    font-size: 20px;
}

.tab-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tab-btn.active {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* 为每个平台按钮添加独特颜色标识 */
.tab-btn[data-platform="android"] i {
    color: #3DDC84;
}

.tab-btn[data-platform="ios"] i {
    color: #000;
}

.tab-btn[data-platform="harmony"] i {
    color: #FF0000;
}

.tab-btn.active[data-platform="android"] {
    background: linear-gradient(135deg, #3DDC84, #34A853);
}

.tab-btn.active[data-platform="ios"] {
    background: linear-gradient(135deg, #000, #333);
}

.tab-btn.active[data-platform="harmony"] {
    background: linear-gradient(135deg, #FF0000, #CC0000);
}

.download-list {
    max-width: 800px;
    margin: 0 auto 60px;
}

.download-item {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.download-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.platform-icon {
    font-size: 32px;
    color: #4CAF50;
}

.badge {
    padding: 5px 10px;
    background: #4CAF50;
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.download-body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
}

.download-details p {
    margin-bottom: 8px;
    color: #666;
}

.download-details i {
    margin-right: 8px;
    color: #4CAF50;
}

.update-notes {
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.update-notes h4 {
    margin-bottom: 10px;
    color: #333;
}

.download-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.qrcode-section {
    text-align: center;
}

.qrcode {
    width: 120px;
    height: 120px;
    border: 1px solid #eee;
    padding: 10px;
    background: white;
}

.system-requirements {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.requirement h3 {
    margin-bottom: 15px;
    color: #333;
}

.requirement i {
    margin-right: 10px;
    color: #4CAF50;
}

.requirement ul {
    list-style: none;
    padding-left: 0;
}

.requirement li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .download-body {
        grid-template-columns: 1fr;
    }
    
    .platform-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 16px;
        min-width: 100px;
    }
    
    .tab-btn i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .platform-tabs {
        gap: 8px;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 14px;
        min-width: 85px;
    }
    
    .tab-btn i {
        font-size: 16px;
    }
}