/**
 * con5.html 信创选品页 · 布局重构
 * logo 绿主色 · 模块分区 · 城市政策卡片
 * v=20260614
 */
body.lc-compare-page.con5-page section.hero {
    background: linear-gradient(165deg, #f0fdf4 0%, #ecfdf5 55%, #f8fafc 100%) !important;
    padding: 20px 0 24px !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
}

body.con5-page section.hero::before,
body.con5-page section.hero::after {
    display: none;
}

body.con5-page section.hero h1 {
    color: #1D2129 !important;
    text-shadow: none !important;
    font-size: clamp(1.25rem, 3.5vw, 1.75rem) !important;
}

body.con5-page section.hero p {
    color: #64748b !important;
    font-weight: 400 !important;
}

body.con5-page section.hero .hero-tag {
    background: rgba(16, 185, 129, 0.08) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    color: #047857 !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

body.con5-page .con5-platform-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 12px auto 16px;
    max-width: 720px;
}

body.con5-page .con5-platform-chips span {
    padding: 4px 10px;
    background: #fff;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 999px;
    font-size: 12px;
    color: #047857;
    font-weight: 500;
}

/* 主体模块 */
.con5-module {
    margin-top: 48px;
    scroll-margin-top: calc(var(--lc-page-offset, 98px) + 12px);
}

.con5-module:first-of-type {
    margin-top: 32px;
}

.con5-module__head {
    margin-bottom: 20px;
}

.con5-module__head h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1D2129;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.con5-module__head h2 i {
    color: #10B981;
}

.con5-module__desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    max-width: 820px;
}

.con5-module__note {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 12px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #10B981;
}

/* 对比表头：浅绿底替代大色块 */
body.con5-page .compare-header {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4) !important;
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    padding: 20px 24px !important;
}

body.con5-page .compare-header h2 {
    color: #065f46 !important;
    font-size: 1.125rem !important;
}

body.con5-page .compare-header p {
    color: #64748b !important;
}

body.con5-page .compare-header a {
    background: #fff !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    color: #047857 !important;
}

body.con5-page .lowcode-compare-section {
    box-shadow: 0 1px 4px rgba(16, 185, 129, 0.08) !important;
    border: 1px solid #e5e7eb;
}

/* 优先级 / 星级：全绿色阶 */
body.con5-page .priority-tag.p3 {
    background-color: #6ee7b7;
    color: #065f46;
}

body.con5-page .priority-tag.p4 {
    background-color: #d1fae5;
    color: #047857;
}

body.con5-page .row-p3 {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.06) 0%, transparent 100%) !important;
    border-left: 3px solid #6ee7b7 !important;
}

body.con5-page .row-p4 {
    background: #f8fafc !important;
    border-left: 3px solid #e2e8f0 !important;
}

body.con5-page .star-4,
body.con5-page .star-3,
body.con5-page .star-2,
body.con5-page .star-1 {
    color: #059669 !important;
    opacity: 1;
}

body.con5-page td[style*="color:#3B82F6"],
body.con5-page td[style*="color:#F59E0B"],
body.con5-page td[style*="color:#EF4444"] {
    color: #059669 !important;
}

/* 概念卡片 */
body.con5-page .dev-mode-explainer {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
}

body.con5-page .mode-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

body.con5-page .mode-type {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
}

@media (max-width: 900px) {
    body.con5-page .mode-types {
        grid-template-columns: 1fr;
    }
}

/* 城市政策 */
.con5-region-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.con5-region-btn {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.con5-region-btn:hover {
    border-color: #10B981;
    color: #047857;
}

.con5-region-btn.is-active {
    background: linear-gradient(135deg, #047857, #10B981);
    border-color: transparent;
    color: #fff;
}

.con5-policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.con5-policy-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.con5-policy-card:hover {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
}

.con5-policy-card.is-hidden {
    display: none;
}

.con5-policy-card__city {
    font-size: 15px;
    font-weight: 700;
    color: #1D2129;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.con5-policy-card__city i {
    color: #10B981;
    font-size: 13px;
}

.con5-policy-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #047857;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.con5-policy-card__row {
    font-size: 12px;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 6px;
}

.con5-policy-card__row strong {
    color: #334155;
    font-weight: 600;
}

.con5-policy-card__amount {
    font-size: 13px;
    font-weight: 700;
    color: #047857;
    margin: 8px 0 4px;
}

.con5-policy-card__platforms {
    font-size: 11px;
    color: #64748b;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e5e7eb;
}

.con5-policy-card__links {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
    font-size: 11px;
    line-height: 1.6;
}

.con5-policy-card__main-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: #047857;
    text-decoration: none;
    margin-bottom: 6px;
}

.con5-policy-card__main-link:hover {
    text-decoration: underline;
}

.con5-policy-card__bureau a {
    color: #475569;
    text-decoration: none;
    margin-right: 2px;
}

.con5-policy-card__bureau a:hover {
    color: #047857;
    text-decoration: underline;
}

/* 地区 / 行业：默认展开 + 卡片化 */
body.con5-page .section-accordion {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

body.con5-page .section-accordion.open .accordion-body {
    display: block;
    padding: 0 16px 16px;
}

body.con5-page .section-accordion .accordion-header {
    padding: 12px 16px;
    background: #f8fafc;
    cursor: pointer;
    border-bottom: 1px solid #e5e7eb;
}

body.con5-page .section-accordion.open .accordion-header {
    border-bottom-color: #e5e7eb;
}

body.con5-page .scene-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 14px;
    background: #fafafa;
}

body.con5-page .scene-card h3 {
    font-size: 14px;
    color: #047857;
    margin-bottom: 12px;
}

body.con5-page .scene-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
}

body.con5-page .scene-item strong {
    color: #1D2129;
}

body.con5-page .scene-item em {
    color: #047857;
    font-style: normal;
    font-weight: 600;
}

/* 时间轴 */
body.con5-page .con5-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

body.con5-page .con5-timeline-item {
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    padding: 12px;
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
}

body.con5-page .con5-timeline-item strong {
    display: block;
    color: #047857;
    margin-bottom: 4px;
    font-size: 13px;
}

@media (max-width: 768px) {
    body.con5-page .con5-timeline {
        grid-template-columns: 1fr 1fr;
    }

    body.con5-page .con5-policy-grid {
        grid-template-columns: 1fr;
    }
}

/* 隐藏冗余浮动目录（已有顶栏 toc） */
body.con5-page #toc-float {
    display: none !important;
}
