/**
 * cont.html 专属 Hero · 国内低代码对比首屏
 * v=20260625 — cont-nav-slim 压缩首屏导航层级
 */
body.cont-page > .ai-tldr {
    display: none;
}

body.cont-page section.hero#hero {
    background: #f1f5f9;
    padding: 0 0 28px !important;
    text-align: left;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.cont-page section.hero#hero::before {
    background:
        radial-gradient(ellipse 900px 420px at 0% 0%, rgba(16, 185, 129, 0.14) 0%, transparent 62%),
        radial-gradient(ellipse 700px 380px at 100% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 55%),
        linear-gradient(180deg, #ecfdf5 0%, #f8fafc 48%, #f1f5f9 100%);
}

body.cont-page section.hero#hero::after {
    display: none;
}

body.cont-page .lc-series-label {
    justify-content: flex-start;
    margin-bottom: 16px;
    font-size: 11px;
}

body.cont-page .lc-hero-carousel {
    max-width: var(--lc-shell-max, 1440px);
    margin: 0;
}

body.cont-page .lc-hero-carousel__tabs {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    margin: 0 0 18px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

body.cont-page .lc-hero-tab {
    flex: 1;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
}

body.cont-page .lc-hero-tab.is-active {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28);
}

body.cont-page .lc-hero-tab.is-active i {
    color: rgba(255, 255, 255, 0.92);
}

.cont-hero-shell--panel {
    padding: 22px 20px 24px;
}

.cont-hero-panel-title {
    margin: 0 0 14px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
}

body.cont-page .lc-hero-carousel__viewport {
    min-height: 0;
}

@media (min-width: 961px) {
    body.cont-page .lc-hero-carousel__viewport {
        min-height: 380px;
    }
}

body.cont-page .lc-hero-slide {
    text-align: left;
}

/* ── Slide 1: 概览双栏 ── */
.cont-hero-shell {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 20px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 20px 50px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.cont-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 0;
}

.cont-hero-copy {
    padding: 28px 32px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cont-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.cont-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.cont-hero-badge--live {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.cont-hero-badge--live i {
    color: #10b981;
    font-size: 10px;
}

.cont-hero-badge--muted {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    font-weight: 600;
}

body.cont-page section.hero#hero h1.cont-hero-title {
    font-size: clamp(1.65rem, 3.8vw, 2.35rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.22;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
    max-width: 16ch;
}

body.cont-page section.hero#hero .cont-hero-title .hero-accent {
    display: block;
    margin-top: 6px;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    letter-spacing: -0.02em;
}

.cont-hero-lead {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.65;
    margin: 0 0 18px;
    max-width: 36rem;
}

.cont-hero-lead strong {
    color: #047857;
    font-weight: 700;
}

.cont-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.cont-hero-stat {
    background: linear-gradient(180deg, #f8fafc, #fff);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
}

.cont-hero-stat strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #047857;
    line-height: 1.1;
}

.cont-hero-stat span {
    display: block;
    margin-top: 4px;
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
}

.cont-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cont-hero-cta .hero-button {
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 13px;
}

.cont-hero-cta .hero-button.primary {
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.28);
}

.cont-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    padding: 8px 4px;
}

.cont-hero-link:hover {
    color: #047857;
}

/* ── 右侧平台矩阵预览 ── */
.cont-hero-visual {
    background: linear-gradient(165deg, #022c22 0%, #064e3b 52%, #047857 100%);
    padding: 24px 22px;
    position: relative;
    overflow: hidden;
}

.cont-hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.12) 0%, transparent 42%),
        radial-gradient(circle at 85% 80%, rgba(16, 185, 129, 0.25) 0%, transparent 45%);
    pointer-events: none;
}

.cont-hero-visual-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.cont-hero-visual-head h2 {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cont-hero-visual-head span {
    font-size: 10px;
    font-weight: 600;
    color: rgba(236, 253, 245, 0.85);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 8px;
    border-radius: 999px;
}

.cont-hero-matrix {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.cont-hero-platform {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    transition: background 0.2s, transform 0.2s;
}

.cont-hero-platform:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.cont-hero-platform--featured {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(167, 243, 208, 0.35);
}

.cont-hero-platform__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.cont-hero-platform__icon--jd { background: linear-gradient(135deg, #059669, #10b981); }
.cont-hero-platform__icon--md { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.cont-hero-platform__icon--yd { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.cont-hero-platform__icon--cy { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.cont-hero-platform__icon--ql { background: linear-gradient(135deg, #ea580c, #f97316); }
.cont-hero-platform__icon--hb { background: linear-gradient(135deg, #db2777, #ec4899); }
.cont-hero-platform__icon--ms { background: linear-gradient(135deg, #047857, #059669); }

.cont-hero-platform__body {
    min-width: 0;
    flex: 1;
}

.cont-hero-platform__body strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.cont-hero-platform__body span {
    display: block;
    font-size: 10px;
    color: rgba(236, 253, 245, 0.78);
    margin-top: 2px;
}

.cont-hero-platform__score {
    font-size: 11px;
    font-weight: 800;
    color: #6ee7b7;
    white-space: nowrap;
}

.cont-hero-abstract {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 10px;
    line-height: 1.55;
    color: rgba(236, 253, 245, 0.72);
}

.cont-hero-abstract strong {
    color: #a7f3d0;
}

/* ── Slide 2/3 容器 ── */
body.cont-page .lc-hero-slide .hero-cards-grid {
    margin-bottom: 0;
}

/* ── Slide 3: 工具卡片网格 ── */
.lc-hero-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.lc-tool-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.lc-tool-card:hover {
    border-color: #10b981;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
    transform: translateY(-2px);
}

.lc-tool-card--featured {
    background: linear-gradient(135deg, #047857, #10b981);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.28);
}

.lc-tool-card--featured:hover {
    border-color: transparent;
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.38);
}

.lc-tool-card--featured .lc-tool-card__body span {
    color: rgba(255, 255, 255, 0.82);
}

.lc-tool-card__icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.lc-tool-card__body {
    min-width: 0;
}

.lc-tool-card__body strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
    line-height: 1.35;
}

.lc-tool-card--featured .lc-tool-card__body strong {
    color: #fff;
}

.lc-tool-card__body span {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    color: #64748b;
}

body.cont-page .lc-hero-carousel__nav {
    justify-content: flex-end;
    padding-right: 4px;
    margin-top: 14px;
}

body.cont-page .lc-hero-arrow {
    background: #fff;
    border-color: #e2e8f0;
}

@media (max-width: 960px) {
    .cont-hero-grid {
        grid-template-columns: 1fr;
    }

    .cont-hero-copy {
        padding: 22px 20px 18px;
    }

    body.cont-page section.hero#hero h1.cont-hero-title {
        max-width: none;
    }

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

    .cont-hero-visual {
        padding: 18px 16px 20px;
    }

    body.cont-page .lc-hero-tab {
        font-size: 12px;
        padding: 9px 10px;
    }

    body.cont-page .lc-hero-tab span.tab-label-long {
        display: none;
    }

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

@media (max-width: 640px) {
    body.cont-page section.hero#hero {
        padding-bottom: 20px !important;
    }

    .cont-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .cont-hero-cta .hero-button {
        justify-content: center;
    }

    .cont-hero-matrix {
        grid-template-columns: 1fr;
    }

    .cont-hero-platform--featured {
        grid-column: auto;
    }

    body.cont-page .hero-cards-grid {
        grid-template-columns: 1fr !important;
    }

    .lc-hero-tools-grid {
        grid-template-columns: 1fr;
    }
}
