/* ====== FCC测试服务页面独立样式 (fcc-前缀) ======
   文件用途：仅影响FCC页面的组件样式
   作用域：所有class以'fcc-'开头的元素
   修改此文件不会影响其他5个模板
   特性：完全独立自包含，不依赖任何其他CSS文件
   
   组件清单：
   - .fcc-domain-grid / .fcc-domain-grid-3col: 3列网格
   - .fcc-domain-card: 领域卡片（带左侧4px渐变边条装饰）
   - .fcc-card-grid: 3列网格（周期/费用/优势三卡片）
   - .fcc-service-card: 服务卡片
   - .fcc-icon-box: 图标盒子（圆形设计）
   - .fcc-test-matrix: 测试矩阵容器（2栏并列）
   - .fcc-matrix-panel: 矩阵面板
   - .fcc-check-list: 检查列表
   - .fcc-capability-list: 能力列表
   - .fcc-capability-item: 能力项
   - .fcc-process: 流程容器（6步FCC认证流程）
   - .fcc-process-step: 流程步骤
   - .fcc-medical-tags: 标签组
   - .fcc-path-compare: 三路径对比容器
   - .fcc-path-card: 路径卡片（含featured高亮）
   - .fcc-myth-grid: 误区网格
   - .fcc-myth-card: 误区卡片
*/

/* ============================================
   CSS变量回退定义（确保完全独立自包含）
   若根变量未定义，则使用以下回退值
============================================ */

:root {
    /* 品牌色系 */
    --blue: #1267f1;
    --blue-light: #3b82f6;
    --blue-dark: #1d4ed8;
    --cyan: #27c5ff;
    --cyan-light: #67e8f9;
    --cyan-dark: #0891b2;
    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --purple-dark: #7c3aed;

    /* 中性色 */
    --ink: #171a20;
    --steel: #5c5e62;
    --ash: #8e8e8e;
    --white: #ffffff;
    --snow: #f4f4f4;
    --line: #eeeeee;

    /* 效果变量 */
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 28px rgba(8, 38, 80, 0.12);
    --shadow-blue: 0 16px 32px rgba(18, 103, 241, 0.15);
    --shadow-cyan: 0 16px 32px rgba(39, 197, 255, 0.15);
    --shadow-purple: 0 16px 32px rgba(139, 92, 246, 0.15);

    /* 过渡 */
    --transition-fast: 0.25s ease;
    --transition-standard: 0.3s ease;
    --transition-slow: 0.4s ease;
}

/* ============================================
   基础布局与重置（确保完全独立）
============================================ */

.fcc-domain-grid,
.fcc-domain-grid-3col,
.fcc-domain-grid-4col,
.fcc-card-grid,
.fcc-myth-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.fcc-domain-grid{grid-template-columns: repeat(5, 1fr);}
.fcc-domain-grid-4col{grid-template-columns: repeat(4, 1fr);}
.fcc-test-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.fcc-path-compare {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-items: stretch;
}

.fcc-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

.fcc-capability-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fcc-check-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fcc-medical-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ============================================
   领域卡片 .fcc-domain-card
   左侧4px渐变边条装饰
============================================ */

.fcc-domain-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white, #ffffff);
    border-radius: var(--radius-lg, 12px);
    padding: 28px 24px 24px 28px;
    box-shadow: var(--shadow, 0 4px 12px rgba(0, 0, 0, 0.08));
    transition: transform var(--transition-standard, 0.3s ease),
                box-shadow var(--transition-standard, 0.3s ease);
    overflow: hidden;
    box-sizing: border-box;
}

.fcc-domain-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--blue, #1267f1), var(--cyan, #27c5ff));
    border-top-left-radius: var(--radius-lg, 12px);
    border-bottom-left-radius: var(--radius-lg, 12px);
}

.fcc-domain-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg, 0 12px 28px rgba(8, 38, 80, 0.12));
}

.fcc-domain-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink, #171a20);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.fcc-domain-card__desc {
    font-size: 14px;
    color: var(--steel, #5c5e62);
    line-height: 1.7;
    margin: 0;
}

.fcc-domain-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius, 8px);
    background: linear-gradient(135deg, var(--blue, #1267f1), var(--cyan, #27c5ff));
    color: var(--white, #ffffff);
    font-size: 20px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

/* ============================================
   服务卡片 .fcc-service-card
============================================ */

.fcc-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white, #ffffff);
    border-radius: var(--radius-lg, 12px);
    padding: 32px 28px;
    box-shadow: var(--shadow, 0 4px 12px rgba(0, 0, 0, 0.08));
    transition: transform var(--transition-standard, 0.3s ease),
                box-shadow var(--transition-standard, 0.3s ease);
    box-sizing: border-box;
    overflow: hidden;
}

.fcc-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg, 0 12px 28px rgba(8, 38, 80, 0.12));
}

.fcc-service-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.fcc-service-card__body {
    flex: 1 1 auto;
}

.fcc-service-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink, #171a20);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.fcc-service-card__subtitle {
    font-size: 14px;
    color: var(--ash, #8e8e8e);
    margin: 0;
    line-height: 1.5;
}

.fcc-service-card__footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line, #eeeeee);
}

/* ============================================
   图标盒子 .fcc-icon-box（圆形设计）
============================================ */

.fcc-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full, 9999px);
    background: linear-gradient(135deg, var(--blue, #1267f1), var(--cyan, #27c5ff));
    color: var(--white, #ffffff);
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: var(--shadow-blue, 0 16px 32px rgba(18, 103, 241, 0.15));
    transition: transform var(--transition-fast, 0.25s ease),
                box-shadow var(--transition-fast, 0.25s ease);
}

.fcc-icon-box:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 40px rgba(18, 103, 241, 0.22);
}

.fcc-icon-box--cyan {
    background: linear-gradient(135deg, var(--cyan, #27c5ff), var(--cyan-dark, #0891b2));
    box-shadow: var(--shadow-cyan, 0 16px 32px rgba(39, 197, 255, 0.15));
}

.fcc-icon-box--cyan:hover {
    box-shadow: 0 20px 40px rgba(39, 197, 255, 0.22);
}

.fcc-icon-box--purple {
    background: linear-gradient(135deg, var(--purple, #8b5cf6), var(--purple-dark, #7c3aed));
    box-shadow: var(--shadow-purple, 0 16px 32px rgba(139, 92, 246, 0.15));
}

.fcc-icon-box--purple:hover {
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.22);
}

/* ============================================
   矩阵容器 .fcc-test-matrix
   矩阵面板 .fcc-matrix-panel
============================================ */

.fcc-matrix-panel {
    display: flex;
    flex-direction: column;
    background: var(--white, #ffffff);
    border-radius: var(--radius-lg, 12px);
    padding: 28px;
    box-shadow: var(--shadow, 0 4px 12px rgba(0, 0, 0, 0.08));
    border: 1px solid var(--line, #eeeeee);
    transition: box-shadow var(--transition-standard, 0.3s ease),
                border-color var(--transition-standard, 0.3s ease);
    box-sizing: border-box;
}

.fcc-matrix-panel:hover {
    box-shadow: var(--shadow-lg, 0 12px 28px rgba(8, 38, 80, 0.12));
    border-color: var(--blue-light, #3b82f6);
}

.fcc-matrix-panel__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line, #eeeeee);
}

.fcc-matrix-panel__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink, #171a20);
    margin: 0;
}

.fcc-matrix-panel__body {
    flex: 1 1 auto;
}

.fcc-matrix-panel__body p {
    font-size: 14px;
    color: var(--steel, #5c5e62);
    line-height: 1.7;
    margin: 0 0 12px 0;
}

.fcc-matrix-panel__body p:last-child {
    margin-bottom: 0;
}

/* ============================================
   检查列表 .fcc-check-list
============================================ */

.fcc-check-list__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--steel, #5c5e62);
    line-height: 1.6;
    padding: 6px 0;
}

.fcc-check-list__item::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full, 9999px);
    background: linear-gradient(135deg, var(--blue, #1267f1), var(--cyan, #27c5ff));
    color: var(--white, #ffffff);
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.fcc-check-list__item--strong {
    color: var(--ink, #171a20);
    font-weight: 600;
}

/* ============================================
   能力列表 .fcc-capability-list
   能力项 .fcc-capability-item
============================================ */

.fcc-capability-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: var(--snow, #f4f4f4);
    border-radius: var(--radius, 8px);
    border-left: 3px solid var(--blue, #1267f1);
    transition: background var(--transition-fast, 0.25s ease),
                transform var(--transition-fast, 0.25s ease);
    box-sizing: border-box;
}

.fcc-capability-item:hover {
    background: var(--white, #ffffff);
    transform: translateX(4px);
    box-shadow: var(--shadow, 0 4px 12px rgba(0, 0, 0, 0.08));
}

.fcc-capability-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius, 8px);
    background: linear-gradient(135deg, var(--blue, #1267f1), var(--cyan, #27c5ff));
    color: var(--white, #ffffff);
    font-size: 16px;
    flex-shrink: 0;
}

.fcc-capability-item__content {
    flex: 1 1 auto;
}

.fcc-capability-item__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink, #171a20);
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.fcc-capability-item__desc {
    font-size: 13px;
    color: var(--steel, #5c5e62);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   流程容器 .fcc-process（6步FCC认证流程）
   流程步骤 .fcc-process-step
============================================ */

.fcc-process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 28px 24px;
    background: var(--white, #ffffff);
    border-radius: var(--radius-lg, 12px);
    box-shadow: var(--shadow, 0 4px 12px rgba(0, 0, 0, 0.08));
    transition: transform var(--transition-standard, 0.3s ease),
                box-shadow var(--transition-standard, 0.3s ease);
    box-sizing: border-box;
    border: 1px solid rgba(18, 103, 241, 0.08);
}

.fcc-process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg, 0 12px 28px rgba(8, 38, 80, 0.12));
    border-color: rgba(18, 103, 241, 0.18);
}

.fcc-process-step .step-num {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--blue, #1267f1), var(--cyan, #27c5ff));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.fcc-process-step .step-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink, #171a20);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.fcc-process-step .step-desc {
    font-size: 14px;
    color: var(--steel, #5c5e62);
    line-height: 1.7;
    margin: 0;
}

.fcc-process-step__connector {
    display: none;
}

/* 响应式：平板 2列 */
@media (max-width: 1024px) {
    .fcc-process {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* 响应式：手机 1列 */
@media (max-width: 640px) {
    .fcc-process {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .fcc-process-step {
        padding: 22px 18px;
    }
    .fcc-process-step .step-num {
        font-size: 30px;
    }
    .fcc-process-step .step-title {
        font-size: 16px;
    }
}

/* ============================================
   标签组 .fcc-medical-tags
============================================ */

.fcc-medical-tags__item {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--blue-dark, #1d4ed8);
    background: rgba(18, 103, 241, 0.08);
    border: 1px solid rgba(18, 103, 241, 0.15);
    border-radius: var(--radius-full, 9999px);
    transition: background var(--transition-fast, 0.25s ease),
                color var(--transition-fast, 0.25s ease),
                transform var(--transition-fast, 0.25s ease);
    cursor: default;
    box-sizing: border-box;
}

.fcc-medical-tags__item:hover {
    background: var(--blue, #1267f1);
    color: var(--white, #ffffff);
    transform: translateY(-2px);
}

.fcc-medical-tags__item--cyan {
    color: var(--cyan-dark, #0891b2);
    background: rgba(39, 197, 255, 0.08);
    border-color: rgba(39, 197, 255, 0.15);
}

.fcc-medical-tags__item--cyan:hover {
    background: var(--cyan, #27c5ff);
    color: var(--white, #ffffff);
}

.fcc-medical-tags__item--purple {
    color: var(--purple-dark, #7c3aed);
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.15);
}

.fcc-medical-tags__item--purple:hover {
    background: var(--purple, #8b5cf6);
    color: var(--white, #ffffff);
}

/* ============================================
   三路径对比 .fcc-path-compare
   路径卡片 .fcc-path-card（含featured高亮）
   SDoC/Certification/TCB 使用蓝/青/紫三色渐变
============================================ */

.fcc-path-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white, #ffffff);
    border-radius: var(--radius-xl, 16px);
    padding: 32px 28px 28px 28px;
    box-shadow: var(--shadow, 0 4px 12px rgba(0, 0, 0, 0.08));
    border: 1px solid var(--line, #eeeeee);
    transition: transform var(--transition-standard, 0.3s ease),
                box-shadow var(--transition-standard, 0.3s ease);
    box-sizing: border-box;
    overflow: hidden;
}

.fcc-path-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg, 0 12px 28px rgba(8, 38, 80, 0.12));
}

.fcc-path-card--blue {
    border-top: 4px solid var(--blue, #1267f1);
}

.fcc-path-card--blue .fcc-path-card__badge {
    background: linear-gradient(135deg, var(--blue, #1267f1), var(--blue-light, #3b82f6));
}

.fcc-path-card--cyan {
    border-top: 4px solid var(--cyan, #27c5ff);
}

.fcc-path-card--cyan .fcc-path-card__badge {
    background: linear-gradient(135deg, var(--cyan, #27c5ff), var(--cyan-light, #67e8f9));
}

.fcc-path-card--purple {
    border-top: 4px solid var(--purple, #8b5cf6);
}

.fcc-path-card--purple .fcc-path-card__badge {
    background: linear-gradient(135deg, var(--purple, #8b5cf6), var(--purple-light, #a78bfa));
}

.fcc-path-card--featured {
    border: 2px solid var(--blue, #1267f1);
    box-shadow: var(--shadow-blue, 0 16px 32px rgba(18, 103, 241, 0.15));
    transform: scale(1.02);
}

.fcc-path-card--featured:hover {
    transform: scale(1.02) translateY(-6px);
    box-shadow: 0 20px 40px rgba(18, 103, 241, 0.2);
}

.fcc-path-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--white, #ffffff);
    border-radius: var(--radius-full, 9999px);
    margin-bottom: 16px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fcc-path-card__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ink, #171a20);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.fcc-path-card__subtitle {
    font-size: 14px;
    color: var(--ash, #8e8e8e);
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.fcc-path-card__list {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fcc-path-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--steel, #5c5e62);
    line-height: 1.6;
}

.fcc-path-card__list li::before {
    content: "•";
    color: var(--blue, #1267f1);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    flex-shrink: 0;
}

.fcc-path-card--cyan .fcc-path-card__list li::before {
    color: var(--cyan, #27c5ff);
}

.fcc-path-card--purple .fcc-path-card__list li::before {
    color: var(--purple, #8b5cf6);
}

.fcc-path-card__footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line, #eeeeee);
}

.fcc-path-card__price {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink, #171a20);
    margin: 0;
}

.fcc-path-card__price-note {
    font-size: 12px;
    color: var(--ash, #8e8e8e);
    margin: 4px 0 0 0;
}

/* ============================================
   误区网格 .fcc-myth-grid
   误区卡片 .fcc-myth-card
============================================ */

.fcc-myth-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.fcc-myth-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white, #ffffff);
    border-radius: var(--radius-lg, 12px);
    padding: 24px;
    box-shadow: var(--shadow, 0 4px 12px rgba(0, 0, 0, 0.08));
    border-left: 4px solid var(--purple, #8b5cf6);
    transition: transform var(--transition-standard, 0.3s ease),
                box-shadow var(--transition-standard, 0.3s ease);
    box-sizing: border-box;
}

.fcc-myth-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg, 0 12px 28px rgba(8, 38, 80, 0.12));
}

.fcc-myth-card__label {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--purple, #8b5cf6);
    background: rgba(139, 92, 246, 0.08);
    border-radius: var(--radius-full, 9999px);
    margin-bottom: 10px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fcc-myth-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink, #171a20);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.fcc-myth-card__desc {
    font-size: 14px;
    color: var(--steel, #5c5e62);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   深色 section 变体
   在父容器添加 .fcc-section--dark 类
============================================ */

.fcc-section--dark .fcc-domain-card,
.fcc-section--dark .fcc-service-card,
.fcc-section--dark .fcc-matrix-panel,
.fcc-section--dark .fcc-path-card,
.fcc-section--dark .fcc-myth-card,
.fcc-section--dark .fcc-process-step {
    background: #1e2330;
    border-color: #2d3548;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.fcc-section--dark .fcc-domain-card__title,
.fcc-section--dark .fcc-service-card__title,
.fcc-section--dark .fcc-matrix-panel__title,
.fcc-section--dark .fcc-path-card__title,
.fcc-section--dark .fcc-myth-card__title,
.fcc-section--dark .fcc-process-step__title,
.fcc-section--dark .fcc-capability-item__title {
    color: #f0f2f7;
}

.fcc-section--dark .fcc-domain-card__desc,
.fcc-section--dark .fcc-service-card__subtitle,
.fcc-section--dark .fcc-matrix-panel__body p,
.fcc-section--dark .fcc-path-card__subtitle,
.fcc-section--dark .fcc-path-card__list li,
.fcc-section--dark .fcc-myth-card__desc,
.fcc-section--dark .fcc-process-step__desc,
.fcc-section--dark .fcc-check-list__item,
.fcc-section--dark .fcc-capability-item__desc {
    color: #a0a8b8;
}

.fcc-section--dark .fcc-service-card__footer,
.fcc-section--dark .fcc-matrix-panel__header,
.fcc-section--dark .fcc-path-card__footer {
    border-color: #2d3548;
}

.fcc-section--dark .fcc-capability-item {
    background: #252b3a;
    border-left-color: var(--blue, #1267f1);
}

.fcc-section--dark .fcc-capability-item:hover {
    background: #2d3548;
}

.fcc-section--dark .fcc-check-list__item::before {
    background: linear-gradient(135deg, var(--blue, #1267f1), var(--cyan, #27c5ff));
}

.fcc-section--dark .fcc-path-card--featured {
    border-color: var(--blue, #1267f1);
    box-shadow: 0 16px 32px rgba(18, 103, 241, 0.25);
}

.fcc-section--dark .fcc-path-card__price {
    color: #f0f2f7;
}

/* ============================================
   修复：.section.dark 内的 fcc 组件文字颜色
   原因：front-page.css 中 .section.dark { color: var(--white) }
   导致所有子元素继承白色，白色卡片内的文字也变成白色
============================================ */

.section.dark .fcc-service-card,
.section.dark .fcc-matrix-panel {
    background: var(--white, #ffffff);
    border-color: var(--line, #eeeeee);
}

.section.dark .fcc-service-card h3,
.section.dark .fcc-matrix-panel h3 {
    color: var(--ink, #171a20);
}

.section.dark .fcc-service-card p,
.section.dark .fcc-matrix-panel p,
.section.dark .fcc-matrix-panel li {
    color: var(--steel, #5c5e62);
}

.section.dark .fcc-icon-box {
    background: linear-gradient(135deg, var(--blue, #1267f1), var(--cyan, #27c5ff));
    color: var(--white, #ffffff);
}

.section.dark .fcc-check-list li::before {
    background: linear-gradient(135deg, var(--blue, #1267f1), var(--cyan, #27c5ff));
    color: var(--white, #ffffff);
}

/* ============================================
   卡片网格 .fcc-card-grid
   （周期/费用/优势三卡片）
============================================ */

.fcc-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.fcc-card-grid__item {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white, #ffffff);
    border-radius: var(--radius-lg, 12px);
    padding: 28px 24px;
    box-shadow: var(--shadow, 0 4px 12px rgba(0, 0, 0, 0.08));
    transition: transform var(--transition-standard, 0.3s ease),
                box-shadow var(--transition-standard, 0.3s ease);
    box-sizing: border-box;
    overflow: hidden;
}

.fcc-card-grid__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg, 0 12px 28px rgba(8, 38, 80, 0.12));
}

.fcc-card-grid__item--highlight {
    background: linear-gradient(135deg, var(--blue, #1267f1), var(--blue-dark, #1d4ed8));
    color: var(--white, #ffffff);
}

.fcc-card-grid__item--highlight .fcc-card-grid__title,
.fcc-card-grid__item--highlight .fcc-card-grid__desc,
.fcc-card-grid__item--highlight .fcc-card-grid__value {
    color: var(--white, #ffffff);
}

.fcc-card-grid__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius, 8px);
    background: rgba(18, 103, 241, 0.08);
    color: var(--blue, #1267f1);
    font-size: 20px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.fcc-card-grid__item--highlight .fcc-card-grid__icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white, #ffffff);
}

.fcc-card-grid__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink, #171a20);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.fcc-card-grid__desc {
    font-size: 14px;
    color: var(--steel, #5c5e62);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.fcc-card-grid__value {
    font-size: 28px;
    font-weight: 700;
    color: var(--blue, #1267f1);
    margin: 0;
    line-height: 1.2;
}

.fcc-card-grid__unit {
    font-size: 14px;
    font-weight: 400;
    color: var(--ash, #8e8e8e);
    margin-left: 4px;
}

.fcc-card-grid__item--highlight .fcc-card-grid__unit {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   通用辅助类
============================================ */

.fcc-text-center {
    text-align: center;
}

.fcc-text-left {
    text-align: left;
}

.fcc-text-right {
    text-align: right;
}

.fcc-mb-0 { margin-bottom: 0; }
.fcc-mb-1 { margin-bottom: 8px; }
.fcc-mb-2 { margin-bottom: 16px; }
.fcc-mb-3 { margin-bottom: 24px; }
.fcc-mb-4 { margin-bottom: 32px; }

.fcc-mt-0 { margin-top: 0; }
.fcc-mt-1 { margin-top: 8px; }
.fcc-mt-2 { margin-top: 16px; }
.fcc-mt-3 { margin-top: 24px; }
.fcc-mt-4 { margin-top: 32px; }

/* ============================================
   响应式断点
   - 992px：平板端
   - 640px：手机端
============================================ */

@media (max-width: 992px) {
    .fcc-domain-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .fcc-domain-grid-4col {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .fcc-domain-grid-3col,
    .fcc-card-grid,
    .fcc-myth-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .fcc-test-matrix {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fcc-path-compare {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fcc-process {
        flex-wrap: wrap;
        gap: 12px;
    }

    .fcc-process-step {
        min-width: calc(50% - 6px);
        flex: 1 1 calc(50% - 6px);
    }

    .fcc-process-step__connector {
        display: none;
    }

    .fcc-path-card--featured {
        transform: none;
    }

    .fcc-path-card--featured:hover {
        transform: translateY(-6px);
    }

    .fcc-service-card {
        padding: 24px 20px;
    }

    .fcc-domain-card {
        padding: 24px 20px 20px 24px;
    }

    .fcc-matrix-panel {
        padding: 24px;
    }

    .fcc-myth-card {
        padding: 20px;
    }
}

@media (max-width: 640px) {
    .fcc-domain-grid,
    .fcc-domain-grid-4col,
    .fcc-domain-grid-3col,
    .fcc-card-grid,
    .fcc-myth-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 14px;
    }

    .fcc-test-matrix {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fcc-path-compare {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fcc-process {
        flex-direction: column;
        gap: 12px;
    }

    .fcc-process-step {
        min-width: 100%;
        flex: 1 1 100%;
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        padding: 16px;
        gap: 14px;
    }

    .fcc-process-step__number {
        width: 36px;
        height: 36px;
        font-size: 14px;
        margin-bottom: 0;
    }

    .fcc-process-step__content {
        flex: 1 1 auto;
    }

    .fcc-service-card {
        padding: 20px 16px;
    }

    .fcc-service-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .fcc-domain-card {
        padding: 20px 16px 16px 20px;
    }

    .fcc-matrix-panel {
        padding: 20px;
    }

    .fcc-path-card {
        padding: 24px 20px 20px 20px;
    }

    .fcc-path-card__title {
        font-size: 20px;
    }

    .fcc-myth-card {
        padding: 18px;
    }

    .fcc-capability-item {
        padding: 12px;
    }

    .fcc-icon-box {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .fcc-card-grid__value {
        font-size: 24px;
    }
}

/* ============================================
   动画与增强效果
============================================ */

@keyframes fcc-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fcc-animate-in {
    animation: fcc-fade-in-up 0.5s ease both;
}

.fcc-animate-in:nth-child(1) { animation-delay: 0.05s; }
.fcc-animate-in:nth-child(2) { animation-delay: 0.1s; }
.fcc-animate-in:nth-child(3) { animation-delay: 0.15s; }
.fcc-animate-in:nth-child(4) { animation-delay: 0.2s; }
.fcc-animate-in:nth-child(5) { animation-delay: 0.25s; }
.fcc-animate-in:nth-child(6) { animation-delay: 0.3s; }
.fcc-animate-in:nth-child(7) { animation-delay: 0.35s; }
.fcc-animate-in:nth-child(8) { animation-delay: 0.4s; }

/* ============================================
   打印样式优化
============================================ */

@media print {
    .fcc-domain-card,
    .fcc-service-card,
    .fcc-matrix-panel,
    .fcc-path-card,
    .fcc-myth-card,
    .fcc-process-step {
        box-shadow: none;
        border: 1px solid #cccccc;
        break-inside: avoid;
    }

    .fcc-path-compare,
    .fcc-domain-grid,
    .fcc-card-grid,
    .fcc-myth-grid,
    .fcc-test-matrix {
        display: block;
    }

    .fcc-domain-card,
    .fcc-service-card,
    .fcc-matrix-panel,
    .fcc-path-card,
    .fcc-myth-card,
    .fcc-process-step {
        margin-bottom: 16px;
        page-break-inside: avoid;
    }
}
