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

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0052a3;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

/* 导航栏样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0066cc;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links li:first-child a::after {
    background-color: #ff6b35;
}

.nav-links a:hover {
    color: #0066cc;
}

.nav-links li:first-child a {
    color: #ff6b35;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-container input {
    width: 180px;
    height: 32px;
    padding: 0 15px;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    outline: none;
    font-size: 14px;
}

.search-container button {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: -30px;
    font-size: 16px;
    color: #999;
}

/* 英雄区域样式 */
.hero-section {
    background: linear-gradient(135deg, #e6f2ff 0%, #f0f8ff 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 30px;
    right: 15%;
    width: 100px;
    height: 100px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
}

.hero-section .decorative-element-1 {
    position: absolute;
    top: 40%;
    left: 5%;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 102, 204, 0.08);
    border-radius: 50%;
}

.hero-section .decorative-element-2 {
    position: absolute;
    bottom: 20%;
    left: 20%;
    width: 20px;
    height: 20px;
    background-color: rgba(0, 102, 204, 0.12);
    border-radius: 50%;
}

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

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

.hero-content h1 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.hero-image img {
    width: 400px;
    height: auto;
}

/* 白皮书区域样式 */
.whitepaper-section {
    padding: 80px 0;
    background-color: #fff;
}

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

.section-container h2 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #ff6b35;
}

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

.whitepaper-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.whitepaper-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #e6f2ff;
}

.card-image {
    height: 200px;
    background: linear-gradient(135deg, #e6f2ff 0%, #cce7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.6) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.5) 0%, transparent 25%);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.card-image img {
    width: 100%;
    height: auto;
    z-index: 1;
}

.card-content {
    padding: 20px;
    text-align: center;
    position: relative;
}

.card-content h3 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
    position: relative;
    display: inline-block;
}

.whitepaper-card:hover .card-content h3 {
    color: #0066cc;
}

/* 响应式设计 - 平板端 */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-image img {
        width: 300px;
    }

    .whitepaper-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-column {
        width: 25%;
    }
}

/* 响应式设计 - 手机端 */
@media (max-width: 768px) {

    /* 导航栏响应式 */
    header {
        height: 60px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .logo img {
        width: 32px;
        height: 32px;
    }

    .logo span {
        font-size: 18px;
    }

    .nav-links {
        display: none;
    }

    .search-container input {
        width: 120px;
        font-size: 12px;
    }

    /* 英雄区域响应式 */
    .hero-section {
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-image img {
        width: 250px;
    }

    /* 白皮书区域响应式 */
    .whitepaper-section {
        padding: 50px 0;
    }

    .section-container h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .whitepaper-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-image {
        height: 180px;
    }

    .card-content h3 {
        font-size: 15px;
    }

    /* 页脚响应式 */
    footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-column {
        width: 100%;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid #f0f0f0;
    }

    .footer-column:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .footer-column h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-column p {
        font-size: 18px;
    }

    .qrcode img {
        width: 100px;
        height: 100px;
    }

    .footer-bottom p {
        font-size: 11px;
    }
}

/* 响应式设计 - 小屏幕手机 */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
    }

    .logo span {
        font-size: 16px;
    }

    .search-container {
        display: none;
    }

    .hero-content h1 {
        font-size: 20px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .hero-image img {
        width: 200px;
    }

    .section-container {
        padding: 0 15px;
    }

    .section-container h2 {
        font-size: 22px;
    }

    .card-image {
        height: 160px;
    }

    .footer-container {
        padding: 0 15px;
    }
}