:root {
    --primary: #0a58ca;
    --primary-dark: #0949a9;
    --secondary: #f8f9fa;
    --text: #212529;
    --text-light: #6c757d;
    --border: #dee2e6;
    --success: #198754;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --stats-bg: #f0f7ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: var(--text);
    line-height: 1.6;
}

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

/* 头部样式 */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo img {
    height: 40px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* 英雄区域 */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0ff 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
}

.highlight {
    background: linear-gradient(120deg, #0a58ca 0%, #2a7de1 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
}

.app-mockup {
    max-width: 300px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(10, 88, 202, 0.15);
    z-index: 2;
}

/* 下载按钮 */
.download-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 30px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: rgba(10, 88, 202, 0.05);
    transform: translateY(-3px);
}

/* 功能部分 */
.features {
    padding: 100px 0;
    background-color: var(--white);
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

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

.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e6f0ff 0%, #d0e3ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 32px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* 新增数据展示容器 */
.stats-section {
    padding: 100px 0;
    background-color: var(--stats-bg);
}

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

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(10, 88, 202, 0.15);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e6f0ff 0%, #d0e3ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    color: var(--primary);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.stat-value::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 15px;
}

/* 官方公告 */
.announcements {
    padding: 100px 0;
    background-color: var(--white);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--border);
    left: 50%;
    transform: translateX(-50%);
}

.announcement-card {
    position: relative;
    margin-bottom: 60px;
    width: calc(50% - 40px);
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-5px);
}

.announcement-card:nth-child(odd) {
    left: 0;
}

.announcement-card:nth-child(even) {
    left: calc(50% + 40px);
}

.announcement-card::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    top: 30px;
    z-index: 1;
}

.announcement-card:nth-child(odd)::before {
    right: -56px;
}

.announcement-card:nth-child(even)::before {
    left: -56px;
}

.announcement-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-date {
    font-size: 0.9rem;
    opacity: 0.9;
}

.announcement-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.announcement-content {
    padding: 25px;
}

.announcement-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.announcement-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.announcement-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.announcement-link:hover {
    gap: 12px;
}

.view-more {
    text-align: center;
    margin-top: 50px;
}

/* 下载部分 */
.download-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a58ca 0%, #2a7de1 100%);
    color: var(--white);
    text-align: center;
}

.download-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.download-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.platform-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.platform-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px;
    width: 280px;
    transition: all 0.3s ease;
}

.platform-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.platform-card i {
    font-size: 48px;
    margin-bottom: 20px;
}

.platform-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.qr-code {
    background-color: var(--white);
    border-radius: 12px;
    padding: 15px;
    display: inline-block;
    margin: 20px 0;
}

.qr-code img {
    width: 140px;
    height: 140px;
}

/* 用户评价 */
.testimonials {
    padding: 100px 0;
    background-color: var(--secondary);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: rgba(10, 88, 202, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 20px;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.rating {
    color: #ffc107;
    margin-top: 5px;
}

/* 常见问题 */
.faq {
    padding: 100px 0;
    background-color: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    background-color: var(--secondary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}



.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

/* 页脚 */
footer {
    background-color: #0a2240;
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .platform-options {
        flex-direction: column;
        align-items: center;
    }
    
    /* 公告响应式 */
    .timeline::before {
        left: 30px;
    }
    
    .announcement-card {
        width: 100%;
        left: 0 !important;
        margin-left: 60px;
    }
    
    .announcement-card::before {
        left: -56px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .download-section h2 {
        font-size: 2.2rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}