:root {
    --canvas-bg: #f8fafc;
    --surface-bg: rgba(255, 255, 255, 0.45);
    --surface-border: rgba(255, 255, 255, 0.7);
    --stroke-color: rgba(15, 23, 42, 0.04);
    --accent-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-accent: #4f46e5;
    --brand-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ed64a6 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: -15%;
    left: -8%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.10) 0%, rgba(255, 255, 255, 0) 70%);
}
body::after {
    bottom: -8%;
    right: -8%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
}

/* ========== 导航栏 ========== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    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(79, 70, 229, 0.05);
}
.nav-item.active {
    color: #fff;
    background: var(--text-main);
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.14);
}
.btn-github {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 9px;
    background: #fff;
    border: 1px solid var(--surface-border);
    color: var(--text-main);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}
.btn-github:hover {
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.14);
    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: #fff;
    border: 1px solid var(--surface-border);
    border-radius: 28px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-accent);
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.02);
    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, #0f172a 28%, #4f46e5 55%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 720px;
    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(79, 70, 229, 0.24);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 32px rgba(79, 70, 229, 0.34);
}
.btn-secondary {
    background: #fff;
    color: var(--text-main);
    border: 1px solid var(--surface-border);
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.02);
}
.btn-secondary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* ========== Banner 预览 ========== */
.banner-wrapper {
    max-width: 1068px;
    margin: 0 auto 56px auto;
    border-radius: 22px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--surface-border);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.05);
}
.banner-image {
    width: 100%;
    height: auto;
    aspect-ratio: 21 / 9;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 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: #fff;
    border: 1px solid var(--surface-border);
    border-radius: 18px;
    padding: 28px 20px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.03);
    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(15, 23, 42, 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: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========== 核心能力矩阵 ========== */
.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: #fff;
    border: 1px solid var(--surface-border);
    border-radius: var(--card-radius);
    padding: 36px 28px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.025);
    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(15, 23, 42, 0.07);
}
.matrix-card:hover::before {
    opacity: 1;
}
.matrix-card>* {
    position: relative;
    z-index: 1;
}
.matrix-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(79, 70, 229, 0.08);
    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: #fff;
    border: 1px solid var(--surface-border);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.05);
}
.interface-mockup {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    background: var(--canvas-bg);
    border-radius: 12px;
    border: 1px solid var(--stroke-color);
    display: block;
    object-fit: cover;
}
.visual-badge {
    position: absolute;
    bottom: -14px;
    right: 28px;
    background: var(--text-main);
    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: #fff;
    border: 1px solid var(--surface-border);
    border-radius: var(--card-radius);
    padding: 32px 24px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.025);
    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(15, 23, 42, 0.2);
    flex-shrink: 0;
}

/* ========== 视频区域 ========== */
.video-wrapper {
    max-width: 860px;
    margin: 0 auto 100px auto;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--surface-border);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.035);
}
.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: #fff;
    border: 1px solid var(--surface-border);
    border-radius: var(--card-radius);
    padding: 36px 30px;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.025);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.eco-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}
.eco-card--accent {
    background: linear-gradient(135deg, #fafafe 0%, #f5f3ff 100%);
    border-color: rgba(79, 70, 229, 0.12);
}
.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: #fff;
    color: var(--text-muted);
    padding: 64px 48px;
    border-top: 1px solid rgba(15, 23, 42, 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;
    }
}

@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 {
        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;
    }
}