/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: #f0b90b;
    font-size: 24px;
    font-weight: bold;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav ul li a:hover {
    color: #f0b90b;
}

/* 主要内容区域 */
.main {
    min-height: calc(100vh - 120px);
}

/* Hero部分样式 */
.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #f0b90b;
}

.stat-label {
    display: block;
    font-size: 1rem;
    opacity: 0.9;
}

.cta-buttons {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 0 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background-color: #f0b90b;
    color: #333;
}

.btn-primary:hover {
    background-color: #d8a00a;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #2a5298;
    transform: translateY(-2px);
}

/* 特性部分样式 */
.features {
    padding: 80px 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-card h3 {
    color: #2a5298;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* 下载流程样式 */
.download-process {
    padding: 80px 0;
    background-color: #f0f4f8;
}

.download-process h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #333;
}

.steps {
    max-width: 800px;
    margin: 0 auto 40px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.step-number {
    width: 30px;
    height: 30px;
    background-color: #f0b90b;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    color: #333;
    font-size: 1.2rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-download {
    display: inline-block;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    color: white;
    transition: all 0.3s;
    min-width: 180px;
    text-align: center;
}

.android-btn {
    background-color: #3ddc84;
}

.ios-btn {
    background-color: #007AFF;
}

.pc-btn {
    background-color: #4285F4;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 安全保障样式 */
.security {
    padding: 80px 0;
    background-color: white;
}

.security h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #333;
}

.security-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.security-text {
    flex: 1;
}

.security-text h3 {
    color: #2a5298;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.security-text ul {
    list-style: none;
}

.security-text ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #666;
    line-height: 1.7;
}

.security-text ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f0b90b;
    font-weight: bold;
}

.security-image {
    flex: 1;
    text-align: center;
}

.security-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 客服支持样式 */
.support {
    padding: 80px 0;
    background-color: #f0f4f8;
}

.support h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #333;
}

.support-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.support-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.support-option {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.support-option h3 {
    color: #2a5298;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.support-option p {
    color: #666;
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-section h3 {
    color: #f0b90b;
    margin-bottom: 10px;
}

.footer-links ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.footer-links ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #f0b90b;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

/* 回到顶部按钮样式 */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #f0b90b;
    color: #333;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
    transition: all 0.3s;
}

#backToTop:hover {
    background-color: #d8a00a;
    transform: translateY(-3px);
}

/* 倒计时横幅样式 */
.countdown-banner {
    background: linear-gradient(90deg, #f0b90b, #2a5298);
    color: white;
    text-align: center;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1001;
    display: none; /* 默认隐藏，如果启用倒计时功能则显示 */
}

.countdown-container {
    font-size: 14px;
}

.countdown-container span {
    display: inline-block;
    min-width: 30px;
    margin: 0 5px;
    padding: 5px;
    background-color: rgba(0,0,0,0.2);
    border-radius: 5px;
}

/* 页面加载动画 */
body {
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.loaded {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .nav ul {
        margin-top: 15px;
        justify-content: center;
    }
    
    .nav ul li {
        margin: 0 10px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .security-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}