/* 全局样式 */
:root {
    --primary-color: #2B5AED;
    --secondary-color: #FF6B00;
    --text-color: #333333;
    --light-gray: #F5F5F5;
    --border-radius: 4px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}


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

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

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

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

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

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

.auth-buttons {
    display: flex;
    gap: 15px;
}

.login-btn, .register-btn {
    padding: 8px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
}

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

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

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #666;
}

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

.primary-btn, .secondary-btn {
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

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

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

/* 核心数据 */
.stats {
    padding: 80px 0;
    background: white;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    color: #666;
    font-size: 16px;
}

/* 产品优势 */
.advantages {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-color);
}

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

.advantage-item {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s;
}

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

.advantage-item .icon {
    font-size: 40px;
    margin-bottom: 20px;
    width: 50%;
}

.advantage-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 解决方案 */
.solutions {
    padding: 60px 0;
    background: white;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 24px;
    margin-top: 40px;
}

.solution-item {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.solution-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.solution-item img {
    width: 330px;
    height: 120px;
    border-radius: 6px;
    margin: 0 auto;
}

.solution-item h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    margin-top: 12px;
    font-size: 18px;
}

.solution-item p {
    color: #666;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.solution-item ul {
    list-style: none;
    margin-bottom: 16px;
    flex-grow: 1;
}

.solution-item li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #555;
    font-size: 14px;
}

.solution-item li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.learn-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: transform 0.3s ease;
    margin-top: auto;
}

.learn-more:hover {
    transform: translateX(5px);
}

/* 合作品牌 */
.partners {
    padding: 80px 0;
    background: var(--light-gray);
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.partner-logo {
    background: white;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: transform 0.3s;
    padding: 0 20px;
}

.partner-logo img{
    width: 188px;
    height: 100px;
    border-radius: 6px;
}

.partner-logo:hover {
    transform: scale(1.05);
}

/* 新闻资讯 */
.news {
    padding: 80px 0;
    background: white;
}

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

.news-category h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.news-category ul {
    list-style: none;
}

.news-category li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.news-category .date {
    color: #999;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.news-category a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.news-category a:hover {
    color: var(--primary-color);
}

/* 底部信息 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 80px 0 40px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

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

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

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #6689f3;
}

.qr-codes {
    display: flex;
    gap: 20px;
}

.qr-code {
    text-align: center;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: white;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 12px;
    border-radius: 4px;
}

.qr-placeholder img{
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

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

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

/* 移动菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
}

.modal-content {
    position: relative;
    background: white;
    margin: 15% auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .advantage-grid,
    .stats .container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 20px;
    }
    
    .solution-item {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .solutions-grid,
    .news-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .partner-logos {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .solution-item {
        padding: 20px;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .advantage-grid,
    .stats .container,
    .partner-logos {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-item {
        padding: 16px;
    }
} 