/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo h2 {
    color: #2c3e50;
    font-size: 24px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #3498db;
}

/* 主页横幅样式 */
.hero {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 150px 0 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #3498db;
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
}

/* 功能特色部分 */
.features {
    padding: 80px 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

.feature-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.icon {
    margin-bottom: 20px;
}

.icon img {
    width: 60px;
    height: 60px;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: #6c757d;
}

/* 驾校合作部分 */
.partnership {
    padding: 60px 0;
    background-color: #2c3e50;
    color: white;
    text-align: center;
}

.partnership h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.partnership p {
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-logo {
    background-color: rgba(255,255,255,0.1);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.partner-logo:hover {
    background-color: rgba(255,255,255,0.2);
}

/* 安全知识部分 */
.safety-knowledge {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.safety-knowledge h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

.knowledge-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.knowledge-item:hover {
    transform: translateY(-5px);
}

.knowledge-item h3 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.knowledge-item p {
    color: #6c757d;
}

/* 商务合作部分 */
.business {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
}

.business h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.business h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #3498db;
    margin: 15px auto 0;
    border-radius: 2px;
}

.business-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.business-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #eef2f7;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.2);
    border-color: #3498db;
}

.business-card h3 {
    color: #2c3e50;
    margin: 0 0 20px 0;
    font-size: 1.6rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.business-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #3498db;
    border-radius: 2px;
}

.business-card p {
    margin-bottom: 15px;
    color: #6c757d;
    line-height: 1.7;
    font-size: 1rem;
    flex-grow: 1;
}

.business-card p strong {
    color: #2c3e50;
}

.wechat-qr {
    text-align: center;
    margin: 25px 0;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px dashed #d1e7ff;
}

.wechat-qr img {
    width: 150px;
    height: 150px;
    border: 3px solid #3498db;
    border-radius: 10px;
    margin: 10px auto;
    display: block;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.wechat-qr p {
    margin: 10px 0 0;
    font-size: 0.9rem;
    color: #3498db;
    font-weight: 500;
}

.business-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-card li {
    padding: 12px 0 12px 30px;
    position: relative;
    color: #6c757d;
    border-bottom: 1px solid #f0f5fa;
    transition: all 0.3s ease;
}

.business-card li:last-child {
    border-bottom: none;
}

.business-card li:hover {
    color: #3498db;
    padding-left: 35px;
}

.business-card li:before {
    content: '✓';
    color: #3498db;
    font-weight: bold;
    font-size: 16px;
    position: absolute;
    left: 0;
    top: 12px;
    background: #e3f2fd;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cooperation-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.info-section {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    background: #f9fbfd;
    border: 1px solid #e6f0f7;
}

.info-section h4 {
    color: #3498db;
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    text-align: left;
    border-bottom: 1px solid #e6f0f7;
    padding-bottom: 8px;
}

/* 下载区域 */
.download-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    text-align: center;
}

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

.download-section p {
    font-size: 1.2rem;
    margin-bottom: 50px;
}

.download-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.download-card {
    background-color: rgba(255,255,255,0.1);
    padding: 40px 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    min-width: 250px;
    transition: transform 0.3s ease;
}

.qrcode-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.qrcode-display img {
    border: 5px solid white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

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

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.download-card p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.btn-download {
    background-color: #e74c3c;
    color: white;
    padding: 12px 25px;
}

.btn-download:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-disabled {
    background-color: #6c757d;
    color: white;
    padding: 12px 25px;
    cursor: not-allowed;
}

/* 关于我们部分 */
.about {
    padding: 80px 0;
    background-color: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.about p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
    text-align: center;
}

/* 页脚 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 0 60px;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features h2, .safety-knowledge h2, .download-section h2, .about h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-options {
        flex-direction: column;
        align-items: center;
    }
    
    .download-card {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .feature-grid, .knowledge-grid {
        grid-template-columns: 1fr;
    }
}
