.banner {
    color: white;
    text-align: center;
    padding: 140px 20px;
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    backdrop-filter: blur(1px);
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern.png') repeat;
    opacity: 0.06;
    animation: moveBackground 20s linear infinite;
    z-index: 0;
}

.banner h1,
.banner p,
.banner-stats,
.banner .button {
    position: relative;
    z-index: 1;
}

.banner h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.banner p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
    letter-spacing: 0.5px;
}

.banner .button {
    display: inline-block;
    padding: 16px 44px;
    background: white;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    letter-spacing: 0.5px;
}

.banner .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.description {
    color: rgb(187, 191, 255);
    text-decoration: none;
    font-style: italic;
}

.main-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 0;
    background: #f8f9fa;
    overflow: hidden;
}

h2 {
    color: #333;
    margin: 22px 0 10px;
    padding-bottom: 5px;
}

p {
    text-indent: 0em;
    margin-bottom: 15px;
    line-height: 1.8em;
}

.banner-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 1em;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

.download-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 30px 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior: contain;
    touch-action: pan-x;
}

.download-cards::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.card {
    flex: 1 0 calc(20% - 16px);
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 260px;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.card img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
}

.card h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

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

.download-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #4a6cf7;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #3a5ccd;
}

@media (max-width: 768px) {
    .nav a {
        float: none;
        display: block;
        text-align: left;
    }
    .logo img {
        float: none;
        display: block;
        margin: 0 auto;
    }
    .banner {
        padding: 100px 20px;
    }
    .banner h1 {
        font-size: 2em;
    }
    .banner p {
        font-size: 1em;
    }
    .banner .button {
        padding: 14px 36px;
        font-size: 1em;
    }
    .main-content {
        padding: 20px 0;
    }
    .download-cards {
        padding: 20px 20px;
        gap: 20px;
    }
    .card {
        flex: 0 0 calc(70% - 16px);
        min-height: 250px;
        margin: 0 auto;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.08);
    }
    .banner-stats {
        flex-direction: column;
        gap: 20px;
        margin: 30px 0;
    }
    .stat-number {
        font-size: 2em;
    }
    .stat-label {
        font-size: 0.9em;
    }
    .video-background video {
        height: 120%;
        transform: translateY(-10%);
    }
}

/* 新闻区域样式 */
.news-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    background: white;
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-title {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.news-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #666;
    font-size: 0.9em;
    display: block;
    margin-bottom: 10px;
}

.news-content h3 {
    color: #2c3e50;
    font-size: 1.2em;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
}

.news-footer {
    text-align: center;
    margin-top: 40px;
}

.view-more {
    display: inline-block;
    color: #4a6cf7;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.view-more:hover {
    color: #3a5ccd;
}

@media (max-width: 768px) {
    .news-section {
        padding: 0 20px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }
}
