/* ===================== 全局基础样式 ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", SimHei, "PingFang SC", sans-serif;
}

html {
    scrollbar-width: none;
}
html::-webkit-scrollbar {
    display: none;
}
html,
body {
    background: #eef5fb;
    color: #333;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


a {
    text-decoration: none;
    color: #333;
}

/* ===================== 整体布局容器 ===================== */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 15px;
}

.main-content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    padding: 30px;
    min-height: calc(100vh - 140px);
}

/* ===================== 标题样式 ===================== */
h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1D2129;
    padding-bottom: 10px;
    border-bottom: 2px solid #0070b8;
    margin-bottom: 20px;
}

h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1D2129;
    margin: 30px 0 15px;
    padding-left: 10px;
    border-left: 4px solid #0070b8;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0 10px;
}

p {
    margin-bottom: 15px;
    text-align: left;
}

ul {
    margin: 15px 0 15px 20px;
    list-style: disc;
}

ul li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* ===================== 测试卡片网格 ===================== */
.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.test-card {
    display: block;
    background: #fff;
    border: 1px solid #d7e0e8;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.test-card:hover {
    box-shadow: 0 4px 12px rgba(0, 112, 184, 0.12);
    border-color: #0070b8;
    transform: translateY(-2px);
}

.test-card .test-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.test-card h3 {
    color: #1D2129;
    margin: 0 0 8px 0;
    font-size: 1.15rem;
}

.test-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.test-card .test-meta {
    margin-top: 12px;
    font-size: 0.8rem;
    color: #999;
}

/* ===================== 按钮样式 ===================== */
.primary-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #0070b8;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
}

.primary-btn:hover {
    background: #00558c;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 112, 184, 0.2);
}

.primary-btn:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===================== 答题页样式 ===================== */
.quiz-progress {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    margin: 20px 0;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: #0070b8;
    border-radius: 3px;
    transition: width 0.3s;
}

.quiz-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1D2129;
    margin: 20px 0;
    line-height: 1.6;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.quiz-option {
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    font-size: 1rem;
}

.quiz-option:hover {
    border-color: #0070b8;
    background: #f0f7ff;
}

.quiz-option.selected {
    border-color: #0070b8;
    background: #e6f4ff;
    color: #0070b8;
    font-weight: 500;
}

/* ===================== 结果页样式 ===================== */
.result-badge {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 12px;
    margin: 20px 0;
}

.result-badge .band-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.result-badge .band-score {
    font-size: 1.2rem;
    opacity: 0.9;
}

.result-hook-line {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin: 15px 0 25px;
    line-height: 1.6;
}

.paywall-box {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    margin: 20px 0;
}

.paywall-box h3 {
    color: #d48806;
    margin-bottom: 10px;
}

/* 雷达图容器 */
.radar-container {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
}

/* ===================== 页脚 ===================== */
.footer {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    padding: 30px 20px;
}

.footer p {
    text-align: center;
}

/* ===================== 面包屑 ===================== */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #0070b8;
    text-decoration: underline;
}

.breadcrumb .current {
    color: #0070b8;
}

/* ===================== 手机端适配 ===================== */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .main-content {
        padding: 20px;
        border-radius: 0;
        box-shadow: none;
    }

    h1 {
        font-size: 20px;
    }

    .test-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .result-badge .band-name {
        font-size: 1.5rem;
    }

    .primary-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }
}


/* ===================== 合集聚合页样式 ===================== */
/* 文章链接列表（方案/问答） */
.link-tag {
    color: #0070b8;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
}

.link-tag:hover {
    color: #00558c;
    text-decoration: underline;
}

ul#solution,
ul#question,
ul#product {
    list-style: none;
    margin: 15px 0 0;
    padding: 0;
}

ul#solution li,
ul#question li,
ul#product li {
    border: 1px solid #d7e0e8;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 12px;
    background: #fff;
    transition: all 0.2s;
}

ul#solution li:hover,
ul#question li:hover,
ul#product li:hover {
    border-color: #0070b8;
    box-shadow: 0 2px 8px rgba(0, 112, 184, 0.08);
}

ul#solution li p,
ul#question li p,
ul#product li p {
    margin: 0 0 4px;
}

ul#solution li p:last-child,
ul#question li p:last-child,
ul#product li p:last-child {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* 测试入口按钮 */
.collection-entry {
    margin: 25px 0;
    text-align: center;
}

.entry-btn {
    display: inline-block;
    padding: 16px 48px;
    background: #0070b8;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.entry-btn:hover {
    background: #00558c;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 112, 184, 0.2);
}

/* 文章正文区（上传文章页用） */
.article-section {
    margin: 25px 0;
}

.article-cta {
    margin: 30px 0 10px;
    text-align: center;
}

@media (max-width: 768px) {
    .entry-btn {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }
}

/* ================================================================
    COLLECTION · 蓝色主题 v8 类型化拆分
    本文件自包含：基础 + 该类型专属样式，互不影响
    ================================================================ */

/* 全局字号放大（+6%） */
html { font-size: 16px; }
body { font-size: 16px; }
p, li { font-size: 16px; line-height: 1.9; }
h1.article-title { font-size: 1.75rem; }
h2, .article-section h2 { font-size: 1.35rem; line-height: 1.5; }
.teaser-summary { font-size: 16.5px; }
.teaser-dim-name { font-size: 16px; }
.teaser-dim-desc { font-size: 15.5px; }
.teaser-dim-scene { font-size: 14px; }
.teaser-dim-advice { font-size: 15px; }
.deep-summary { font-size: 16.5px; }
.dim-detail-desc { font-size: 15.5px; }
.dim-detail-advice { font-size: 15px; }
.suggest-desc { font-size: 15px; }
.breadcrumb { font-size: 13.5px; }

/* ============================================================
   心理测评网 · 全站统一主题 —— 高级（雾金·深咖）
   固定浅色模式（不随系统深色模式），PC 容器居中留白，H5 全宽
   覆盖 page.css / quiz.css / eq.css / result-report.css 中的主色
   ============================================================ */

/* ---------- 基础色板 ---------- */
:root {
    --gold-deep:   #00558c;   /* 深咖金 */
    --gold-main:   #0070b8;   /* 主雾金 */
    --gold-light:  #b3d7f0;   /* 浅金描边 */
    --gold-pale:   #f4f8fc;   /* 米白 */
    --text-dark:   #0a2540;   /* 深咖标题 */
    --text-body:   #1d2129;   /* 正文 */
    --text-muted:  #64748b;   /* 次要 */
    --card-bg:     #ffffff;   /* 卡片米白底 */
    --bg-page:     #eef5fb;   /* 页面背景 */
}


/* ---------- body 背景统一（覆盖 page.css / quiz.css 白底） ---------- */
body {
    background: var(--bg-page);
    color: var(--text-body);
}


/* ---------- 容器：PC 居中留白，H5 全宽 ---------- */
.container,
.quiz-main,
.result-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
}


/* ---------- 主内容区（主页/文章页/首页共用） ---------- */
.main-content {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 18px;
    box-shadow: none;
    padding: 36px;
    min-height: calc(100vh - 140px);
}

.main-content h1 {
    color: var(--text-dark);
    border-bottom: 2px solid var(--gold-main);
    padding-bottom: 14px;
    margin-bottom: 18px;
    font-size: 26px;
}

.main-content h2 {
    color: var(--text-dark);
    border-left: 4px solid var(--gold-main);
    padding-left: 12px;
    margin: 32px 0 16px; line-height: 1.5;
}

.main-content p {
    color: var(--text-body);
    line-height: 1.9;
}

.main-content li {
    line-height: 1.9;
    margin-bottom: 8px;
}


/* ---------- 测试卡图标：与测试页 intro 对齐（尺寸/位置统一） ---------- */
.test-icon,
.quiz-intro-icon {
    font-size: 3.5rem;
    line-height: 1.6;
    margin-bottom: 16px;
    display: block;
    color: var(--gold-main);
}


/* ---------- 置顶测试卡：雾金渐变 ---------- */
.collection-entry {
    margin: 28px 0;
}

.collection-entry .entry-card {
    display: block;
    background: linear-gradient(135deg, #0070b8 0%, #00558c 100%);
    border: none;
    border-radius: 16px;
    padding: 30px 28px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0, 112, 184, 0.26);
    transition: all 0.25s ease;
    color: #fff;
}

.collection-entry .entry-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 112, 184, 0.34);
}

.collection-entry .entry-card .test-icon {
    color: #fff;
}

.collection-entry .entry-card h3 {
    color: #fff;
    font-size: 1.35rem;
    margin: 0 0 10px;
    font-weight: 600;
}

.collection-entry .entry-card p {
    color: #dcecf9;
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
}

.collection-entry .entry-card .test-meta {
    margin-top: 14px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 0.85rem;
    color: #fff;
}

.collection-entry .entry-card .test-cta {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #00558c;
    border-radius: 22px;
    padding: 9px 26px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.collection-entry .entry-card .test-cta .arrow {
    transition: transform 0.2s ease;
}

.collection-entry .entry-card:hover .test-cta .arrow {
    transform: translateX(3px);
}


/* ---------- 长尾文章卡片：米白底浅金描边 ---------- */
.collection-articles {
    margin-top: 30px;
}

.collection-articles .test-grid,
.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.collection-articles .test-card,
.test-grid .test-card {
    display: block;
    background: var(--card-bg);
    border: 1px solid var(--gold-light);
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: 0 3px 12px rgba(0, 112, 184, 0.08);
    transition: all 0.22s ease;
    color: inherit;
    text-decoration: none;
}

.collection-articles .test-card:hover,
.test-grid .test-card:hover {
    border-color: var(--gold-main);
    box-shadow: 0 8px 22px rgba(0, 112, 184, 0.16);
    transform: translateY(-2px);
}

.collection-articles .test-card h3,
.test-grid .test-card h3 {
    color: #16375a;
    font-size: 1.08rem;
    line-height: 1.7;
    margin: 0 0 10px;
}

.collection-articles .test-card p,
.test-grid .test-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.test-grid .test-card .test-icon {
    font-size: 2.6rem;
    text-align: left;
    margin-bottom: 12px;
}

.test-grid .test-card .test-meta {
    margin-top: 12px;
    display: inline-block;
    background: var(--gold-pale);
    border: 1px solid var(--gold-light);
    color: var(--text-muted);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.78rem;
}


/* ---------- 面包屑 ---------- */
.breadcrumb {
    margin-bottom: 22px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--text-dark);
}

.breadcrumb .current {
    color: var(--text-dark);
}


/* ---------- 手机端适配：H5 全宽顶格 ---------- */
@media (max-width: 768px) {
    .container,
    .quiz-main,
    .result-main {
        padding: 0;
        max-width: none;
    }

    .main-content {
        padding: 22px 16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }

    .collection-articles .test-grid,
    .test-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .collection-entry .entry-card {
        padding: 24px 18px;
    }

    .quiz-intro {
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }
}


/* ===== SaaS 补充：阅读原文 / 返回块 / 正文区（对齐测己网形态）===== */
.read-more{display:inline-block;margin-top:12px;color:#0070b8;font-size:.88rem;font-weight:600;}


/* ===== 合集文章卡片：等高 + 描述截断 + 阅读原文固定底部 ===== */
.collection-articles .test-card,
.test-grid .test-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.collection-articles .test-card h3,
.test-grid .test-card h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.collection-articles .test-card p,
.test-grid .test-card p {
    flex: 1 1 auto;
    min-height: 4.4em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.collection-articles .test-card .read-more,
.test-grid .test-card .read-more {
    margin-top: 12px;
}
.read-more:hover{color:#00558c;text-decoration:underline;}
.article-divider{border:none;border-top:1px solid #e3edf7;margin:18px 0 8px;}
.article-back{text-align:center;margin:8px 0;}
.article-back a{color:#0070b8;font-size:14px;text-decoration:none;}
.article-back a:hover{text-decoration:underline;}
.article-content{margin-bottom:10px;}
.quiz-intro p{text-align:center;}



/* ================================================================
   v8 整体美化 · 软件工具方案站 · 蓝色信任感
   （标题层级 + 正文 + 卡片 + 按钮 + 面包屑 + CTA 细节升级）
   ================================================================ */


/* ---------- 标题层级 ---------- */
.main-content h1 {
    position: relative;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: none;
    padding-bottom: 16px;
    margin-bottom: 26px;
}
.main-content h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #0070b8, #4aa3dd 70%, rgba(74, 163, 221, 0));
}

.main-content h2,
.article-section h2 {
    position: relative;
    font-size: 1.45rem;
    font-weight: 700;
    color: #0a2540;
    border-left: none;
    padding-left: 15px;
    margin: 38px 0 18px;
}
.main-content h2::before,
.article-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 5px;
    border-radius: 3px;
    background: linear-gradient(180deg, #0070b8, #4aa3dd);
}

.main-content h3,
.article-section h3 {
    position: relative;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f3a5f;
    padding-left: 18px;
    margin: 28px 0 14px;
}
.main-content h3::before,
.article-section h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 9px;
    border-radius: 3px;
    background: linear-gradient(135deg, #0070b8, #4aa3dd);
}

.main-content h4,
.article-section h4 {
    font-size: 1.08rem;
    font-weight: 600;
    color: #0070b8;
    margin: 22px 0 12px;
}
.main-content h5,
.article-section h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #1d3a5c;
    margin: 18px 0 10px;
}


/* ---------- 正文与列表 ---------- */
.main-content p,
.article-section p {
    line-height: 1.95;
    color: #2b3240;
    margin: 0 0 14px;
}
.main-content li,
.article-section li {
    line-height: 1.9;
    margin-bottom: 8px;
    color: #333a47;
}


/* ---------- 主内容卡片 ---------- */
.main-content {
    background: #ffffff;
    border: 1px solid #e6eef6;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(15, 60, 100, 0.07);
    padding: 42px;
}


/* ---------- 面包屑 ---------- */
.breadcrumb {
    margin-bottom: 22px;
    font-size: 13.5px;
    color: #5b6b7b;
}
.breadcrumb a {
    color: #5b6b7b;
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumb a:hover {
    color: #0070b8;
    text-decoration: none;
}
.breadcrumb .separator {
    color: #b9c6d3;
    margin: 0 6px;
}
.breadcrumb .current {
    color: #0070b8;
    font-weight: 600;
}


/* ---------- 文章卡片 ---------- */
.collection-articles .test-card,
.test-grid .test-card {
    border-radius: 14px;
    border: 1px solid #e3edf5;
    box-shadow: 0 4px 14px rgba(15, 60, 100, 0.06);
    transition: all 0.24s ease;
}
.collection-articles .test-card:hover,
.test-grid .test-card:hover {
    border-color: #0070b8;
    box-shadow: 0 12px 28px rgba(0, 112, 184, 0.18);
    transform: translateY(-3px);
}
.collection-articles .test-card h3,
.test-grid .test-card h3 {
    color: #16375a;
}


/* ---------- 置顶产品卡 ---------- */
.collection-entry .entry-card {
    background: linear-gradient(135deg, #0d86d6 0%, #00497a 100%);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 85, 140, 0.30);
}
.collection-entry .entry-card:hover {
    box-shadow: 0 16px 36px rgba(0, 85, 140, 0.40);
}




/* ===================== 首页一体化主页 v2（性冷淡灰白调） ===================== */
.home-main {
    flex: 1;
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 6vh 24px 24px;
    box-sizing: border-box;
}
body.sidebar-visible .home-main {
    padding-left: 264px;
}
.home-hero {
    background: #eef2f6;
    padding: 48px 24px 12px;
    text-align: center;
    border-bottom: 1px solid #eceef1;
}
.home-hero .hero-lead {
    font-size: 2.1rem;
    font-weight: 700;
    color: #3a5a70;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 880px;
    letter-spacing: 0.01em;
}

/* 全宽大轮播 */
.home-carousel {
    background: #eef2f6;
    padding: 28px 24px 16px;
    text-align: center;
}
.carousel-track {
    position: relative;
    height: 240px;
    max-width: 1160px;
    margin: 0 auto;
}
.carousel-slide {
    position: absolute;
    inset: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    -webkit-mask-image: linear-gradient(90deg,
        transparent 0%,
        transparent 10%,
        #000 50%,
        transparent 90%,
        transparent 100%);
    mask-image: linear-gradient(90deg,
        transparent 0%,
        transparent 10%,
        #000 50%,
        transparent 90%,
        transparent 100%);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 20px;
    opacity: 0;
    animation: carouselFade 12s infinite;
}
.carousel-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(238, 242, 246, 0.20) 0%, rgba(238, 242, 246, 0.20) 100%),
        linear-gradient(180deg, rgba(26, 42, 58, 0.42) 0%, rgba(26, 42, 58, 0.60) 100%);
    z-index: 1;
}
.carousel-slide:nth-child(1) { background: url('https://aka.doubaocdn.com/s/QjmGJV3Iys') center / cover no-repeat; }
.carousel-slide:nth-child(2) { background: url('https://aka.doubaocdn.com/s/Q2trsC55Rh') center / cover no-repeat; }
.carousel-slide:nth-child(3) { background: url('https://aka.doubaocdn.com/s/IHqsdru4Wr') center / cover no-repeat; }
.carousel-slide:nth-child(1) { animation-delay: 0s; }
.carousel-slide:nth-child(2) { animation-delay: 4s; }
.carousel-slide:nth-child(3) { animation-delay: 8s; }
@keyframes carouselFade {
    0%   { opacity: 0; }
    4%   { opacity: 1; }
    29%  { opacity: 1; }
    33%  { opacity: 0; }
    100% { opacity: 0; }
}
.carousel-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    z-index: 2;
}
.carousel-desc {
    margin: 0;
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.92);
    position: relative;
    z-index: 2;
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.carousel-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b9c9d6;
    animation: dotActive 12s infinite;
}
.carousel-dots span:nth-child(1) { animation-delay: 0s; }
.carousel-dots span:nth-child(2) { animation-delay: 4s; }
.carousel-dots span:nth-child(3) { animation-delay: 8s; }
.carousel-badge {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 1px 4px rgba(20, 35, 50, 0.6);
    position: relative;
    z-index: 2;
    padding: 2px 4px;
}
@keyframes dotActive {
    0%, 28%  { background: #4a7a94; }
    33%, 100% { background: #b9c9d6; }
}

/* slogan */
.home-slogan {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    color: #4a6a80;
    line-height: 1.9;
    margin: 40px auto 26px;
    letter-spacing: 0.04em;
}

/* 工具查询 */
.tool-search {
    text-align: center;
    padding: 0 24px 56px;
}
.tool-search-form {
    display: flex;
    justify-content: center;
    max-width: 560px;
    margin: 0 auto;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d7e0e8;
    box-shadow: 0 4px 16px rgba(58, 90, 112, 0.08);
    overflow: hidden;
}
.tool-search-form input {
    flex: 1 1 auto;
    min-width: 0;
    height: 52px;
    padding: 0 24px;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: #3a5a70;
    outline: none;
}
.tool-search-form button {
    flex: 0 0 auto;
    height: 52px;
    padding: 0 30px;
    border: none;
    background: #4a7a94;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}
.tool-search-form button:hover {
    background: #3d647c;
}

/* 解决方案区 */
.solutions-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #3a5a70;
    margin: 0 0 8px;
}
.solutions-title::before {
    display: none;
}
.main-content {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 24px 64px;
}
.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1080px;
    margin: 24px auto 0;
}
.test-grid .test-card {
    background: #fff;
    border: 1px solid #d7e0e8;
    border-radius: 14px;
    padding: 26px 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}
.test-grid .test-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(58, 90, 112, 0.12);
    border-color: #4a7a94;
}
.test-grid .test-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}
.test-grid .test-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: #3a5a70;
    margin: 0 0 8px;
}
.test-grid .test-card p {
    font-size: 0.95rem;
    color: #6b8499;
    line-height: 1.65;
    margin: 0;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .home-hero { padding: 36px 16px 12px; }
    .home-hero .hero-lead { font-size: 1.4rem; }
    .home-carousel { padding: 22px 16px 12px; }
    .carousel-track { height: 200px; }
    .carousel-title { font-size: 1.2rem; }
    .carousel-desc { font-size: 0.92rem; }
    .home-slogan { font-size: 1rem; margin: 30px auto 20px; }
    .tool-search { padding: 0 16px 44px; }
    .tool-search-form input { height: 46px; padding: 0 16px; font-size: 0.95rem; }
    .tool-search-form button { height: 46px; padding: 0 20px; font-size: 0.95rem; }
    .solutions-title { font-size: 1.35rem; }
    .main-content { padding: 0 16px 48px; }
    .test-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ===== 顶部居中强制修正 ===== */
.home-hero,
.home-hero .hero-lead,
.home-carousel,
.carousel-title,
.carousel-desc,
.home-slogan,
.solutions-title,
.tool-search {
    text-align: center;
}
.home-hero .hero-lead {
    margin-left: auto;
    margin-right: auto;
}
.carousel-track {
    margin-left: auto;
    margin-right: auto;
}

/* ===== 去白板感：雾感卡片 + 背景层次 ===== */
.home-hero {
    background: #eef5fb;
}
.carousel-slide {
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(215, 224, 232, 0.9);
    box-shadow: 0 10px 30px rgba(58, 90, 112, 0.10);
}
.test-grid .test-card {
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(215, 224, 232, 0.9);
    box-shadow: 0 4px 14px rgba(58, 90, 112, 0.06);
}
.test-grid .test-card:hover {
    background: rgba(255, 255, 255, 0.92);
}

/* hero-lead 字距行距加宽 */
.home-hero .hero-lead {
    letter-spacing: 0.10em;
    line-height: 1.8;
}
@media (max-width: 768px) {
    .home-hero .hero-lead { letter-spacing: 0.06em; line-height: 1.7; }
}

/* hero-lead 双语义视觉区分 */
.home-hero .hero-lead {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
}
.home-hero .lead-tags {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.home-hero .lead-tag {
    background: #4a7a94;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 10px 30px;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(74, 122, 148, 0.25);
}
.home-hero .lead-main {
    font-size: 2.6rem;
    font-weight: 800;
    color: #2f4d63;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
@media (max-width: 768px) {
    .home-hero .lead-tag { font-size: 1.15rem; padding: 8px 20px; }
    .home-hero .lead-main { font-size: 1.9rem; letter-spacing: 0.06em; }
}

/* 学业/职业/创业：柔和渐变胶囊 */
.home-hero .lead-tags {
    font-family: "楷体", "KaiTi", "STKaiti", serif;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.home-hero .lead-tag {
    background: linear-gradient(135deg, #f2f7fb 0%, #dce8f1 100%);
    color: #3a5a70;
    border: none;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 8px 26px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(58, 90, 112, 0.08);
}
@media (max-width: 768px) {
    .home-hero .lead-tags { gap: 8px; }
    .home-hero .lead-tag { font-size: 1.05rem; padding: 6px 16px; letter-spacing: 0.08em; }
}

/* H1（SEO 主标题） */
.home-h1 {
    position: relative;
    margin: 0 0 80px;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #4a6a80;
    border-bottom: none;
    text-align: center;
    width: 100%;
}
.home-h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(74, 163, 221, 0) 0%, #0070b8 50%, rgba(74, 163, 221, 0) 100%);
}

/* 首页定位正文 */
.home-intro {
    max-width: 880px;
    margin: 0 auto 34px;
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(215, 224, 232, 0.9);
    border-radius: 18px;
    padding: 26px 30px;
}
.home-intro p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.9;
    color: #3a5a70;
    text-align: justify;
}
/* ========== 主页工具搜索组件（下拉选择式） ========== */
.tool-search-wrap { width: 100%; max-width: 620px; margin: 0 auto; padding: 0; }
.tool-search-box { position: relative; max-width: 620px; margin: 0 auto; display: flex; align-items: stretch; background: #fff; border: 1px solid #d7e3f0; border-radius: 10px; box-shadow: 0 4px 16px rgba(58, 90, 112, 0.08); transition: border-color 0.2s, box-shadow 0.2s; }
.tool-search-box:focus-within { border-color: var(--gold-main); box-shadow: 0 0 0 3px rgba(0, 112, 184, 0.12); }
.tool-search-field { position: relative; flex: 1; min-width: 0; }
.tool-input { width: 100%; height: 50px; padding: 0 44px 0 20px; border: none; background: transparent; font-size: 16px; color: var(--text-dark); outline: none; box-sizing: border-box; }
.tool-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: none; border-radius: 50%; background: #e8eef5; color: var(--text-muted); font-size: 14px; line-height: 30px; cursor: pointer; display: none; padding: 0; }
.tool-clear.is-visible { display: block; }
.tool-clear:hover { background: #d8e4f0; }
.tool-download { flex: none; height: 50px; padding: 0 30px; border: none; border-radius: 0 10px 10px 0; background: var(--gold-main); color: #fff; font-size: 16px; cursor: pointer; transition: background 0.2s; }
.tool-download:hover:not(:disabled) { background: var(--gold-deep); }
.tool-download:disabled { background: #b9c9d8; cursor: not-allowed; }
.tool-dropdown { position: absolute; left: 0; right: 0; top: 62px; background: #fff; border: 1px solid #e3edf7; border-radius: 14px; box-shadow: 0 12px 32px rgba(10, 37, 64, 0.10); max-height: min(340px, calc(100vh - 330px)); overflow-y: auto; z-index: 100; display: none; padding: 6px 0; box-sizing: border-box; text-align: left; }
.tool-dropdown.show { display: block; }
.td-item { display: flex; align-items: center; gap: 10px; padding: 10px 20px; font-size: 15px; color: var(--text-dark); cursor: pointer; }
.td-item-first { margin-top: 8px; }
.td-letter { flex: none; width: 24px; font-size: 14px; font-weight: 700; color: var(--gold-main); }
.td-hit { color: #e23a3a; font-weight: 700; }
.td-item:hover, .td-item.hover { background: #f0f6fb; }
.td-name { flex: none; }
.td-remark { flex: 1; min-width: 0; text-align: right; font-size: 13px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-empty { padding: 16px 20px; font-size: 14px; color: var(--text-muted); }
@media (max-width: 640px) {
    .tool-search-box { flex-direction: row; }
    .tool-download { padding: 0 18px; }
}

/* ===== 首页补充（原 home-page.css） ===== */
:root {
    --primary-color: var(--c-primary);
    --text-main: #1D2129;
    --text-secondary: #4E5969;
    --bg-page: #F7F9FC;
    --bg-content: #FFFFFF;
    --border-color: #E5E6EB;
    --shadow-light: 0 4px 20px 0 rgba(0, 0, 0, 0.03);
    --shadow-img: 0 6px 16px 0 rgba(0, 0, 0, 0.08);
    --container-pad: 2rem;
    --title-margin: 1.8rem 0 1rem;
    --content-line-height: 1.9;
    --content-margin-b: 2rem;
    --img-margin-t: 2.5rem;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Microsoft YaHei", "微软雅黑", sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.5;
}

/* 整体布局容器 */
.container {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* 主内容区 */
.main-content {
    flex: 1 1 auto;
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg-page);
    padding: var(--container-pad);
}

/* 内容滚动区 */
.content-scroll {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem var(--container-pad);
    background-color: var(--bg-content);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

/* 品牌板块标题 */
.h2-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: var(--title-margin);
    position: relative;
    padding-bottom: 0.8rem;
}

.h2-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 品牌内容段落 */
.p-content {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: var(--content-line-height);
    letter-spacing: 0.5px;
    margin: 0 0 var(--content-margin-b) 0;
    padding-left: 0.5rem;
    white-space: pre-line;
}

/* ========== 双入口卡片样式（整合） ========== */
.entry-cards {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.entry-card {
    flex: 1;
    min-width: 240px;
    background: var(--bg-content);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.entry-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 112, 184, 0.12);
    transform: translateY(-4px);
}

/* 可点击卡片的手型光标 */
.clickable-card {
    cursor: pointer;
}

.entry-card i {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.entry-card h3 {
    font-size: 1.6rem;
    margin: 0.5rem 0;
    color: var(--text-main);
}

.entry-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* 软件下载卡片内的输入框 */
.download-input {
    width: 100%;
    max-width: 250px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    margin: 1rem auto 0;
    outline: none;
    transition: border-color 0.3s;
    text-align: center;
    display: block;
    cursor: auto;
}

.download-input:focus {
    border-color: var(--primary-color);
}

/* 图片容器 */
.img-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    justify-content: center;
    align-items: center;
    margin-top: var(--img-margin-t);
    padding: 0 1rem;
}

/* 内容图片 */
.content-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-img);
    transition: transform 0.3s ease;
}

.content-img:hover {
    transform: translateY(-5px) scale(1.02);
}

/* 美化滚动条 */
.content-scroll::-webkit-scrollbar {
    width: 8px;
}

.content-scroll::-webkit-scrollbar-track {
    background-color: var(--bg-page);
    border-radius: 4px;
}

.content-scroll::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
    opacity: 0.7;
}

.content-scroll::-webkit-scrollbar-thumb:hover {
    opacity: 1;
}

/* 平板/小屏设备（≤992px） */
@media (max-width: 992px) {
    .main-content {
        padding: 1rem;
    }

    .content-scroll {
        padding: 2rem 1rem;
        max-width: 100%;
    }

    .h2-title {
        font-size: 1.8rem;
    }

    .p-content {
        font-size: 1rem;
        line-height: 1.8;
    }

    .entry-cards {
        gap: 1.5rem;
    }

    .entry-card i {
        font-size: 2.4rem;
    }

    .entry-card h3 {
        font-size: 1.4rem;
    }
}

/* 手机端（≤768px） */
@media (max-width: 768px) {
    .left-nav {
        display: none;
    }

    .main-content {
        padding: 0.5rem;
        width: 100vw;
    }

    .content-scroll {
        max-width: 100%;
        padding: 1.5rem 1rem;
        border-radius: 8px;
    }

    .h2-title {
        font-size: 1.6rem;
        --title-margin: 1.5rem 0 0.8rem;
    }

    .entry-cards {
        gap: 1rem;
        margin: 2rem 0;
    }

    .entry-card {
        padding: 1.5rem 1rem;
    }

    .entry-card i {
        font-size: 2rem;
    }

    .entry-card h3 {
        font-size: 1.3rem;
    }

    .img-container {
        gap: 1rem;
    }

    .content-img {
        max-width: 100%;
    }
}

/* 小屏手机（≤576px） */
@media (max-width: 576px) {
    :root {
        --container-pad: 1rem;
        --title-margin: 1.2rem 0 0.6rem;
        --content-margin-b: 1.5rem;
        --img-margin-t: 2rem;
    }

    .h2-title {
        font-size: 1.4rem;
    }

    .p-content {
        font-size: 0.95rem;
    }

.entry-cards {
    flex-direction: column;
    gap: 1rem;
}
    .entry-card {
        min-width: 100%;
        padding: 1.5rem 1rem;
    }

    .entry-card i {
        font-size: 1.8rem;
    }

    .entry-card h3 {
        font-size: 1.2rem;
    }
}

/* =====================================================================
   移动端字号统一（两站共用）：防止手机端标题/正文比 PC 还大
   —— 放在各页面型 CSS 末尾，保证覆盖文件内上面的桌面规则
   ===================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 768px) {
    .main-content h1,
    h1.article-title,
    .quiz-intro h1,
    .article-title { font-size: 22px !important; line-height: 1.45; }

    .main-content h2,
    .article-section h2,
    .main-content h2.article-section-title { font-size: 19px !important; line-height: 1.5; margin: 26px 0 12px; }

    .main-content h3,
    .article-section h3 { font-size: 17px !important; margin: 20px 0 10px; }

    .main-content h4,
    .article-section h4,
    .main-content h5,
    .article-section h5 { font-size: 16px !important; }

    .main-content p,
    .article-section p,
    .article-content p,
    .main-content li,
    .article-section li,
    .article-content li { font-size: 16px !important; line-height: 1.9; }

    .primary-btn,
    .article-cta .primary-btn { font-size: 16px !important; }

    .breadcrumb,
    .breadcrumb .current,
    .breadcrumb .separator { font-size: 12.5px !important; }

    .quiz-intro-desc { font-size: 14.5px !important; }
    .quiz-intro-note { font-size: 13.5px !important; }
}
