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

:root {
    --primary-color: #F0B90B;
    --primary-dark: #D4A009;
    --secondary-color: #1E2026;
    --text-color: #1E2026;
    --text-light: #707A8A;
    --bg-color: #FFFFFF;
    --bg-light: #F5F5F5;
    --border-color: #E6E8EA;
    --success-color: #0ECB81;
    --danger-color: #F6465D;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* 导航栏 */
.navbar {
    background-color: var(--secondary-color);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    color: var(--secondary-color);
}

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

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

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

/* 主横幅区域 */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2B3139 100%);
    padding: 150px 0 100px;
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 20px;
    color: #B7BDC6;
    margin-bottom: 40px;
}

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

.btn {
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(240, 185, 11, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    font-size: 14px;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* 主要内容区域 */
.main-content {
    padding: 60px 0;
}

.section {
    margin-bottom: 80px;
}

.section h2 {
    font-size: 36px;
    color: var(--text-color);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 卡片样式 */
.card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-color);
}

.steps {
    list-style: none;
    counter-reset: step-counter;
}

.steps li {
    counter-increment: step-counter;
    padding: 15px 0 15px 50px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
    font-size: 16px;
}

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

.steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* 下载区域 */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.download-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.download-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.download-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* 地址区域 */
.address-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2B3139 100%);
    border-radius: 12px;
    padding: 50px;
    color: #fff;
    text-align: center;
}

.address-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.address-note {
    color: #B7BDC6;
    margin-bottom: 30px;
    font-size: 16px;
}

.address-box {
    background: rgba(255,255,255,0.1);
    padding: 20px 30px;
    border-radius: 8px;
    display: inline-block;
}

.address-label {
    color: #B7BDC6;
    margin-right: 10px;
}

.address-value {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
    font-family: monospace;
}

/* 文章区域 */
.articles-section {
    margin-top: 100px;
}

.articles-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 20px;
}

.articles-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

.article-card h3 {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 14px;
}

.category {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.article-content {
    color: var(--text-color);
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content h4 {
    font-size: 20px;
    color: var(--text-color);
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
}

.article-content ul,
.article-content ol {
    margin: 15px 0 15px 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content strong {
    color: var(--secondary-color);
}

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

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

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

.footer-section p {
    line-height: 1.8;
    font-size: 14px;
}

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

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

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

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #3C4049;
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 180px 20px 80px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section h2,
    .articles-title {
        font-size: 28px;
    }

    .card,
    .article-card {
        padding: 25px;
    }

    .article-card h3 {
        font-size: 22px;
    }

    .address-card {
        padding: 30px 20px;
    }

    .address-value {
        font-size: 16px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选中文字样式 */
::selection {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}