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

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

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

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

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

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

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

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.nav-links li {
    padding: 0;
}

.nav-links a {
    display: block;
    padding: 20px 25px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: #1e3c72;
    background-color: #f0f0f0;
}

/* 移动端导航栏样式 */
@media (max-width: 768px) {
    .navbar {
        position: relative;
        top: auto;
    }
    
    .nav-links {
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-links.active {
        max-height: 500px;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        padding: 15px 20px;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    
    /* 添加菜单按钮 */
    .menu-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #333;
        z-index: 1001;
    }
    
    .navbar .container {
        position: relative;
    }
}

/* 通用区块样式 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #1e3c72;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #2a5298;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 产品概述样式 */
.overview-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.overview-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin-bottom: 40px;
    text-align: center;
}

.key-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    min-width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2a5298;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 1rem;
}

/* 核心功能样式 */
.features-section {
    background-color: white;
}

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

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

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #2a5298;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1e3c72;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 系统架构样式 */
.architecture-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.layer {
    width: 100%;
    max-width: 800px;
    padding: 25px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.layer:hover {
    transform: scale(1.02);
}

.user-interface {
    background-color: #e3f2fd;
    border-left: 5px solid #1976d2;
}

.logic-layer {
    background-color: #e8f5e9;
    border-left: 5px solid #43a047;
}

.storage-layer {
    background-color: #fff3e0;
    border-left: 5px solid #fb8c00;
}

.security-layer {
    background-color: #ffebee;
    border-left: 5px solid #e53935;
}

.layer h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

/* 技术优势样式 */
.advantages-section {
    background-color: #f8f9fa;
}

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

.advantage-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #2a5298;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.advantage-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1e3c72;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

/* 应用场景样式 */
.scenarios-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

.scenario-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.scenario-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1e3c72;
    position: relative;
    padding-bottom: 10px;
}

.scenario-item h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #2a5298;
    margin: 10px auto 0;
    border-radius: 1.5px;
}

.scenario-item p {
    color: #666;
    line-height: 1.6;
}

/* 授权模块样式 */
.modules-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modules-chart {
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
}

.modules-list {
    width: 100%;
    max-width: 800px;
}

.module-item {
    background-color: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.module-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.module-item h4 {
    font-size: 1.1rem;
    color: #1e3c72;
    margin-bottom: 8px;
}

.module-item p {
    color: #666;
    font-size: 0.95rem;
}

/* 页脚样式 */
.copyright-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.copyright-image {
    flex: 0 0 auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.certificate-img {
    max-width: 300px;
    height: auto;
    border: 1px solid #ddd;
    transition: transform 0.3s ease;
}

.certificate-img:hover {
    transform: scale(1.02);
}

.copyright-details {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #0066cc;
}

.copyright-details h3 {
    color: #0066cc;
    margin-bottom: 20px;
    font-size: 22px;
    text-align: center;
}

.copyright-details p {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 16px;
}

.copyright-details p strong {
    color: #004080;
    min-width: 120px;
    display: inline-block;
}

@media (max-width: 768px) {
    .copyright-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .certificate-img {
        max-width: 250px;
    }
    
    .copyright-details {
        padding: 20px;
    }
}

.footer {
    background: linear-gradient(135deg, #0066cc 0%, #004080 100%);
    color: white;
    padding: 30px 0;
    text-align: center;
}

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

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

.footer-info a:hover {
    opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links a {
        padding: 15px 20px;
    }
    
    .key-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 150px;
    }
    
    .features-grid,
    .advantages-grid,
    .scenarios-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 60px 0 40px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .architecture-diagram {
        padding: 20px;
    }
    
    .layer {
        padding: 15px;
    }
}