:root {
    /* 全新深色科技主题 */
    --canvas-bg: #0b0e14;
    --surface-bg: rgba(18, 22, 28, 0.82);
    --surface-border: rgba(255, 255, 255, 0.08);
    --stroke-color: rgba(255, 255, 255, 0.06);
    --accent-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(6, 182, 212, 0.18) 100%);
    --text-main: #eef2f6;
    --text-muted: #94a3b8;
    --text-accent: #38bdf8;
    --brand-gradient: linear-gradient(135deg, #6366f1 0%, #06b6d4 50%, #a855f7 100%);
    --card-radius: 20px;
    --section-gap: 100px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--canvas-bg);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* 深色氛围光 */
body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
}
body::before {
    top: -10%;
    left: -6%;
    width: 58vw;
    height: 58vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(11, 14, 20, 0) 70%);
}
body::after {
    bottom: -6%;
    right: -6%;
    width: 48vw;
    height: 48vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.13) 0%, rgba(11, 14, 20, 0) 70%);
}

/* ========== 导航栏 ========== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 14, 20, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    height: 72px;
    animation: fadeIn 0.7s ease both;
}
.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
}
.nav-brand a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 19px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.4px;
}
.nav-brand img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.nav-right-zone {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-menu {
    display: flex;
    gap: 4px;
}
.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 9px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-item:hover {
    color: var(--text-accent);
    background: rgba(56, 189, 248, 0.08);
}
.nav-item.active {
    color: #fff;
    background: #1e293b;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
.btn-github {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 9px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.25s ease;
}
.btn-github:hover {
    background: #334155;
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}
.btn-github svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

/* ========== Hero 区域 ========== */
.hero-section {
    max-width: 1400px;
    margin: 64px auto 36px auto;
    padding: 0 48px;
    text-align: center;
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 15px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-accent);
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.3);
    margin-bottom: 24px;
}
.badge-dot {
    width: 5px;
    height: 5px;
    background: var(--text-accent);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(1.6); }
}
.hero-title {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -1.8px;
    line-height: 1.12;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #eef2f6 20%, #6366f1 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto 36px auto;
    font-weight: 400;
    line-height: 1.75;
}
.cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 11px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}
.btn-primary {
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: 0 7px 26px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 32px rgba(99, 102, 241, 0.55);
}
.btn-secondary {
    background: #1e293b;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.3);
}
.btn-secondary:hover {
    background: #334155;
    transform: translateY(-2px);
}

/* ========== Banner 预览 ========== */
.banner-wrapper {
    max-width: 1068px;
    margin: 0 auto 56px auto;
    border-radius: 22px;
    padding: 14px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.banner-image {
    width: 100%;
    height: auto;
    aspect-ratio: 21 / 9;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* ========== 数据指标条 ========== */
.stats-strip {
    max-width: 1400px;
    margin: 0 auto 80px auto;
    padding: 0 48px;
}
.stats-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 28px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    flex-wrap: wrap;
}
.stat-item {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 8px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.stat-number {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
}
.stat-sublabel {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 400;
}
.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

/* ========== 通用区块标题样式 ========== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--text-accent);
    margin-bottom: 10px;
    display: block;
}
.section-title {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-main);
    margin-bottom: 14px;
}
.section-desc {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========== 协议宇宙创意版块 ========== */
.protocol-universe {
    max-width: 1400px;
    margin: 0 auto 100px auto;
    padding: 0 48px;
}
.protocol-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.protocol-card {
    flex: 1 1 160px;
    max-width: 200px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--card-radius);
    padding: 28px 16px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.protocol-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.3);
}
.protocol-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(99, 102, 241, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-accent);
}
.protocol-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
}
.protocol-desc {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========== 核心能力矩阵 ========== */
.capability-matrix {
    max-width: 1400px;
    margin: 0 auto 100px auto;
    padding: 0 48px;
}
.matrix-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.matrix-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--card-radius);
    padding: 36px 28px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}
.matrix-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent-glow);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}
.matrix-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}
.matrix-card:hover::before { opacity: 1; }
.matrix-card > * { position: relative; z-index: 1; }
.matrix-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(99, 102, 241, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-accent);
    margin-bottom: 18px;
}
.matrix-card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.matrix-card-text {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ========== 技术纵深亮点 ========== */
.deep-dive {
    max-width: 1400px;
    margin: 0 auto 100px auto;
    padding: 0 48px;
}
.deep-dive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.deep-dive-visual { display: flex; justify-content: center; }
.visual-frame {
    position: relative;
    width: 100%;
    max-width: 560px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
}
.interface-mockup {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    background: var(--canvas-bg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
    object-fit: cover;
}
.visual-badge {
    position: absolute;
    bottom: -14px;
    right: 28px;
    background: var(--brand-gradient);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.4px;
}
.deep-dive-content .section-eyebrow { text-align: left; }
.deep-dive-content .section-title { text-align: left; font-size: 30px; }
.deep-dive-text {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
    text-align: justify;
}
.deep-dive-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.deep-dive-list li {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 9px;
}
.deep-dive-list svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========== 快速上手三步骤 ========== */
.quickstart {
    max-width: 1400px;
    margin: 0 auto 100px auto;
    padding: 0 48px;
}
.steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.step-card {
    flex: 1;
    min-width: 220px;
    max-width: 340px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--card-radius);
    padding: 32px 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease;
}
.step-card:hover { transform: translateY(-4px); }
.step-number {
    display: inline-block;
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -1px;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.step-title { font-size: 16px; font-weight: 800; color: var(--text-main); margin-bottom: 8px; }
.step-text { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.step-text a { color: var(--text-accent); font-weight: 600; text-decoration: none; }
.step-text a:hover { text-decoration: underline; }
.step-connector {
    display: flex;
    align-items: center;
    padding-top: 60px;
    color: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

/* ========== 视频区域 ========== */
.video-wrapper {
    max-width: 860px;
    margin: 0 auto 100px auto;
    border-radius: 18px;
    overflow: hidden;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}
.video-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* ========== 生态优势 ========== */
.ecosystem-showcase {
    max-width: 1400px;
    margin: 0 auto 100px auto;
    padding: 0 48px;
}
.eco-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.eco-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--card-radius);
    padding: 36px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.eco-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6); }
.eco-card--accent {
    background: linear-gradient(135deg, #1e1b2e 0%, #1e293b 100%);
    border-color: rgba(99, 102, 241, 0.2);
}
.eco-card-title { font-size: 17px; font-weight: 800; color: var(--text-main); margin-bottom: 10px; }
.eco-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

/* ========== 底部 CTA ========== */
.bottom-cta {
    max-width: 1400px;
    margin: 0 auto 100px auto;
    padding: 0 48px;
    text-align: center;
}
.cta-bottom-title { font-size: 30px; font-weight: 900; letter-spacing: -0.8px; color: var(--text-main); margin-bottom: 12px; }
.cta-bottom-text { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; }

/* ========== Footer ========== */
.footer {
    background-color: #0f172a;
    color: var(--text-muted);
    padding: 64px 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 52px;
}
.footer-brand-side { display: flex; flex-direction: column; gap: 14px; }
.footer-brand-title { font-size: 15px; font-weight: 800; color: var(--text-main); }
.footer-text { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }
.footer-nav-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col-title { font-size: 13px; font-weight: 700; color: var(--text-main); letter-spacing: 0.4px; }
.footer-links-list { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.footer-links-list a { color: var(--text-muted); text-decoration: none; font-size: 12.5px; font-weight: 500; transition: color 0.2s ease; }
.footer-links-list a:hover { color: var(--text-accent); }

/* ========== 动画 ========== */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .matrix-grid { grid-template-columns: repeat(2, 1fr); }
    .deep-dive-grid { grid-template-columns: 1fr; gap: 36px; }
    .deep-dive-visual { order: -1; }
    .deep-dive-content .section-title { font-size: 26px; }
    .hero-title { font-size: 40px; }
    .section-title { font-size: 28px; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 36px; }
    .stats-container { gap: 8px; }
    .stat-divider { display: none; }
    .stat-item { min-width: 120px; flex: 0 0 auto; }
    .step-connector { display: none; }
    .steps-row { gap: 20px; }
    .protocol-grid { gap: 16px; }
}

@media (max-width: 768px) {
    .navbar-container { padding: 0 20px; }
    .nav-menu { display: none; }
    .hero-section { padding: 0 20px; margin: 40px auto 24px auto; }
    .hero-title { font-size: 30px; letter-spacing: -1px; }
    .hero-subtitle { font-size: 15px; }
    .matrix-grid { grid-template-columns: 1fr; }
    .eco-grid { grid-template-columns: 1fr; }
    .capability-matrix, .deep-dive, .quickstart, .ecosystem-showcase, .bottom-cta, .protocol-universe {
        padding: 0 20px;
        margin-bottom: 60px;
    }
    .section-title { font-size: 24px; }
    .banner-wrapper { margin: 0 16px 40px 16px; padding: 10px; }
    .stats-strip { padding: 0 20px; margin-bottom: 50px; }
    .stats-container { flex-direction: column; gap: 12px; padding: 20px 16px; }
    .stat-divider { width: 60%; height: 1px; }
    .footer-container { grid-template-columns: 1fr; gap: 28px; }
    .footer { padding: 48px 24px; }
    .deep-dive-content .section-title { font-size: 22px; }
    .cta-bottom-title { font-size: 24px; }
    .btn { padding: 12px 22px; font-size: 13.5px; }
    .visual-badge { right: 16px; bottom: -10px; font-size: 10px; padding: 4px 10px; }
    .protocol-card { flex: 1 1 140px; max-width: 160px; }
}