*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f6f8fa;
    color: #1a202c;
    line-height: 1.65;
    letter-spacing: 0.02em;
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.nav-logo img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-logo-text {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.nav-badge {
    background-color: #f0fdf4;
    color: #16a34a;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid #bbf7d0;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 6px 0;
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: #2563eb;
}

/* 移动端菜单按钮 */
.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* ==================== 主视觉区 ==================== */
.hero-section {
    padding: 180px 24px 100px 24px;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.hero-left {
    display: block;
}

.hero-tag {
    display: inline-block;
    background: #ffffff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 28px 0;
    letter-spacing: -0.04em;
}

.hero-desc {
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 44px;
    max-width: 620px;
    text-align: justify;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
    background-color: #ffffff;
    color: #0f172a;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    border: 1px solid #cbd5e1;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
}

.hero-mini-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.hero-right-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.hero-right-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #2563eb, #3b82f6);
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-number {
    font-size: 40px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-label {
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    text-align: right;
}

.divider {
    height: 1px;
    background: #edf2f7;
    margin: 32px 0;
}

/* ==================== 媒体展示区 ==================== */
.media-container {
    max-width: 1320px;
    margin: 0 auto 100px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.image-placeholder-box {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 24px;
    height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-weight: 700;
    font-size: 16px;
    border: 1px solid #cbd5e1;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.02);
    padding: 40px;
    text-align: center;
}

.image-placeholder-box img {
    width: 100%;
    height: auto;
    max-height: 70%;
    object-fit: contain;
    border-radius: 12px;
}

.image-caption {
    margin-top: 20px;
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.video-placeholder-box {
    background: #0f172a;
    border-radius: 24px;
    height: 480px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid #1e293b;
}

.video-placeholder-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==================== 核心优势区 ==================== */
.features-section {
    background-color: #ffffff;
    padding: 110px 24px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.features-container {
    max-width: 1272px;
    margin: 0 auto;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 64px auto;
    text-align: center;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin: 0 0 16px 0;
}

.section-header p {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

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

.feature-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 20px 30px rgba(37, 99, 235, 0.05);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
}

.feature-icon-wrapper svg {
    width: 26px;
    height: 26px;
    fill: #2563eb;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

.feature-card p {
    font-size: 15px;
    color: #4a5568;
    margin: 0;
    line-height: 1.7;
    text-align: justify;
}

/* ==================== 三步配置区 ==================== */
.quickstart-section {
    padding: 110px 24px;
    background: #f8fafc;
}

.quickstart-container {
    max-width: 1272px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 48px 0 40px;
}

.step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 44px 32px;
    text-align: center;
    transition: all 0.25s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.05);
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    color: #e2e8f0;
    position: absolute;
    top: 20px;
    right: 24px;
    line-height: 1;
}

.step-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.step-card h4 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px 0;
}

.step-card p {
    font-size: 15px;
    color: #4a5568;
    margin: 0 0 20px 0;
    line-height: 1.7;
}

.step-tag {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
}

.quickstart-cta {
    text-align: center;
    margin-top: 20px;
}

/* ==================== 协议支持区 ==================== */
.protocol-section {
    padding: 110px 24px;
    background: #ffffff;
}

.protocol-container {
    max-width: 1272px;
    margin: 0 auto;
}

.protocol-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.protocol-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.2s ease;
}

.protocol-card:hover {
    background: #ffffff;
    border-color: #2563eb;
}

.protocol-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

.protocol-badge.stable {
    background: #f0fdf4;
    color: #16a34a;
}

.protocol-badge.recommended {
    background: #eff6ff;
    color: #2563eb;
}

.protocol-badge.advanced {
    background: #fefce8;
    color: #ca8a04;
}

.protocol-card h5 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.protocol-card p {
    font-size: 14px;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

/* ==================== 应用场景区 ==================== */
.scenario-section {
    padding: 110px 24px;
    max-width: 1320px;
    margin: 0 auto;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 48px;
}

.scenario-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 44px;
}

.scenario-card h4 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px 0;
}

.scenario-card p {
    font-size: 15px;
    color: #4a5568;
    margin: 0;
    line-height: 1.7;
}

/* ==================== 规则库亮点区 ==================== */
.ruleset-section {
    padding: 110px 24px;
    background: #f8fafc;
}

.ruleset-container {
    max-width: 1272px;
    margin: 0 auto;
}

.ruleset-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.ruleset-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.25s ease;
}

.ruleset-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
    border-color: #2563eb;
}

.ruleset-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.ruleset-card h5 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.ruleset-card p {
    font-size: 14px;
    color: #4a5568;
    margin: 0 0 18px 0;
    line-height: 1.6;
}

.ruleset-meta {
    display: inline-block;
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* ==================== 发展历程区 ==================== */
.history-section {
    padding: 60px 24px 110px 24px;
    max-width: 1320px;
    margin: 0 auto;
}

.history-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 32px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
}

.history-content h2 {
    font-size: 32px;
    font-weight: 900;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.history-content p {
    font-size: 16px;
    color: #334155;
    margin-bottom: 20px;
    line-height: 1.75;
    text-align: justify;
}

.history-content p:last-child {
    margin-bottom: 0;
}

/* ==================== 信任与安全区 ==================== */
.trust-section {
    padding: 100px 24px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.trust-container {
    max-width: 900px;
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.trust-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.trust-check {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.trust-item strong {
    display: block;
    font-size: 16px;
    color: #0f172a;
    margin-bottom: 8px;
}

.trust-item p {
    font-size: 14px;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

/* ==================== 页脚 ==================== */
.footer {
    background-color: #0b0f19;
    color: #94a3b8;
    padding: 80px 24px 40px 24px;
    font-size: 14px;
    border-top: 1px solid #1e293b;
}

.footer-inner {
    max-width: 1272px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h4 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.footer-brand p {
    line-height: 1.7;
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.footer-col h5 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s ease;
    font-weight: 500;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1272px;
    margin: 0 auto;
    padding-top: 36px;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    color: #475569;
    font-weight: 500;
}

/* ==================== 移动端响应式 ==================== */
@media (max-width: 1200px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 140px;
        gap: 50px;
    }
    .media-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .image-placeholder-box,
    .video-placeholder-box {
        height: 400px;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .scenario-grid {
        grid-template-columns: 1fr;
    }
    .ruleset-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .protocol-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(16px);
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid #e2e8f0;
    }
    .nav-links.nav-open {
        display: flex;
    }
    .nav-links a {
        padding: 16px 24px;
        border-bottom: 1px solid #f1f5f9;
    }
    .nav-mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 30px;
        height: 22px;
        background: transparent;
        border: none;
        cursor: pointer;
    }
    .nav-mobile-toggle span {
        display: block;
        height: 3px;
        background: #0f172a;
        border-radius: 2px;
        transition: all 0.3s;
    }
    .hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-right-card {
        padding: 32px;
    }
    .media-container {
        padding: 0;
        grid-template-columns: 1fr;
    }
    .features-section,
    .scenario-section,
    .history-section,
    .quickstart-section,
    .protocol-section,
    .ruleset-section {
        padding: 70px 0;
    }
    .history-content {
        padding: 32px;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .protocol-grid {
        grid-template-columns: 1fr;
    }
    .ruleset-cards {
        grid-template-columns: 1fr;
    }
}