/* 全局样式 */
:root {
    --primary-color: #0b5cff;
    --secondary-color: #00053d;
    --text-color: #333333;
    --light-bg: #f7f9fa;
    --white: #ffffff;
    --border-color: #e2e8f0;
}

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

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: #0046d5;
}

ul {
    list-style: none;
}

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

/* 头部导航 */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 40px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
}

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

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-outline:hover {
    background: rgba(11, 92, 255, 0.05);
}

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

.btn-primary:hover {
    background-color: #0046d5;
    color: var(--white);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    background-color: var(--light-bg);
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb span {
    color: #999;
    margin: 0 5px;
}

/* 轮播图 */
.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: var(--secondary-color);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.6;
}

.slide-content {
    max-width: 600px;
    color: var(--white);
    z-index: 2;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
}

.dot.active {
    background-color: var(--white);
}

/* 核心产品区 */
.products-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

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

.product-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    background: var(--white);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* 文章列表区 */
.articles-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.article-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 20px;
}

.article-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

.article-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.article-title a {
    color: inherit;
}

.article-title a:hover {
    color: var(--primary-color);
}

/* 内容页样式 */
.content-page {
    padding: 60px 0;
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-header h1 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.article-meta {
    color: #666;
    font-size: 14px;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}

.article-body h2 {
    margin: 30px 0 15px;
    color: var(--secondary-color);
}

.article-body p {
    margin-bottom: 20px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* 下载页样式 */
.download-section {
    padding: 80px 0;
    text-align: center;
}

.download-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.download-icon {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.download-btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 18px;
    margin-top: 30px;
}

/* 页脚 */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #a0aec0;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a0aec0;
    font-size: 14px;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    
    .main-nav ul {
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
