/* 全局样式 */
:root {
    --primary: #F3BA2F;
    --secondary: #0D67EA;
    --dark: #1E2026;
    --light: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
}

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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-right: 10px;
}

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

.btn.primary:hover {
    background-color: #e5aa1c;
    transform: translateY(-2px);
}

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

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

/* 头部样式 */
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;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

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

.logo a {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    margin-left: 10px;
    color: var(--dark);
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

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

nav ul li a:hover:after {
    width: 100%;
}

.language-switcher a {
    display: flex;
    align-items: center;
    border: 1px solid var(--light-gray);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, #1E2026 0%, #2c303a 100%);
    color: white;
    padding: 80px 0;
    overflow: hidden;
}

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

.hero-content {
    max-width: 500px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
    margin-top: 30px;
}

.hero-image {
    position: relative;
    text-align: center;
}

/* 下载区域样式 */
.download-section {
    padding: 80px 0;
    background-color: #fff;
}

.download-section h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 32px;
    font-weight: 700;
}

.download-section > p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--gray);
}

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

.download-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.download-info {
    padding: 30px;
}

.download-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.download-info p {
    color: var(--gray);
    margin-bottom: 20px;
}

.download-info ul {
    margin-bottom: 25px;
}

.download-info ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.download-info ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.download-btn {
    display: inline-block;
    margin-top: 15px;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: scale(1.05);
}

/* 功能特点区域样式 */
.features {
    padding: 80px 0;
    background-color: #f9fafb;
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    font-weight: 700;
}

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

.feature-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.feature-icon {
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

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

/* 关于区域样式 */
.about {
    padding: 80px 0;
    background-color: white;
}

.about h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 700;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 17px;
    color: var(--gray);
}

/* 底部样式 */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    margin-bottom: 15px;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary);
}

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

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

.footer-column ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

.footer-bottom a {
    color: var(--primary);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-image {
        margin-top: 40px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        align-items: center;
        text-align: center;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    header .container {
        position: relative;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    nav ul.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}
