* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

:root {
    --primary-color: #1e90ff;
    --primary-dark: #187bcd;
    --secondary-color: #6c757d;
    --accent-color: #00d4ff;
    --bg-light: #f5f7fa;
    --bg-white: #ffffff;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --border-color: #e0e0e0;
    --gradient-start: #1e90ff;
    --gradient-end: #00d4ff;
}

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

header {
    background: linear-gradient(135deg, var(--primary-color), var(--gradient-end));
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: headerFadeIn 0.5s ease-out;
}

@keyframes headerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.download-btn {
    background: white;
    color: var(--primary-color) !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
}

.download-btn:hover {
    background: var(--accent-color);
    color: white !important;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px;
    transition: all 0.3s ease;
}

main {
    margin-top: 80px;
}

#hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gradient-end) 100%);
    padding: 100px 20px;
    color: white;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    animation: slideInLeft 0.6s ease-out;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: slideInLeft 0.6s ease-out 0.2s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: slideInLeft 0.6s ease-out 0.4s both;
}

.primary-btn {
    background: white;
    color: var(--primary-color);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.secondary-btn {
    background: transparent;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid white;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    animation: slideInLeft 0.6s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

#features {
    background: var(--bg-light);
}

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

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(2) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.feature-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

#services {
    background: white;
}

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

.service-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4) {
    animation-delay: 0.3s;
}

.service-card:nth-child(5) {
    animation-delay: 0.4s;
}

.service-card:nth-child(6) {
    animation-delay: 0.5s;
}

.service-card:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--gradient-end));
    color: white;
    transform: translateY(-10px);
}

.service-card:hover h3,
.service-card:hover p {
    color: white;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

#download {
    background: linear-gradient(135deg, var(--primary-color), var(--gradient-end));
    color: white;
}

#download h2 {
    color: white;
}

#download .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.download-container {
    text-align: center;
}

.download-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
}

.qr-code {
    background: white;
    padding: 20px;
    border-radius: 20px;
    color: var(--text-dark);
}

.qr-code img {
    width: 250px;
    height: 250px;
    border-radius: 15px;
}

.qr-code p {
    margin-top: 15px;
    font-weight: bold;
}

.download-info {
    text-align: left;
}

.download-btn-group {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.download-platform {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.download-platform:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.platform-icon {
    font-size: 1.5rem;
}

.download-features {
    list-style: none;
}

.download-features li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

#faq {
    background: var(--bg-light);
}

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

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question::after {
    content: '▼';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(180deg);
}

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

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

#cta {
    background: white;
    text-align: center;
}

.cta-container {
    padding: 80px 20px;
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-container p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer {
    background: var(--text-dark);
    color: white;
    padding: 50px 20px 20px;
}

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

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

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(30, 144, 255, 0.95);
        width: 100%;
        padding: 20px;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .burger {
        display: block;
    }

    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .download-content {
        flex-direction: column;
        gap: 40px;
    }

    .download-btn-group {
        flex-direction: column;
    }

    .download-info {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-container h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .feature-card,
    .service-card {
        padding: 20px;
    }

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

    .download-platform {
        padding: 12px 20px;
        font-size: 1rem;
    }
}