/* =====================================================================
 * [PBCS PATCH] about.html 专用现代样式 — about-modern.css
 * ---------------------------------------------------------------------
 * 背景：about.html 之前是「jumbotron banner + 单行标题 + 一坨文字」，
 *       视觉陈旧。改成与首页 index.html 一致的现代杂志/科技门户风。
 *
 * 关键设计：
 *   - 复用 home-modern.css 的通用组件（.pbcs-section / .pbcs-section-head /
 *     .pbcs-about-grid / .pbcs-stats / .pbcs-feature-grid / .pbcs-btn）
 *   - about 专用：顶部 banner / 面包屑 / 公司信息+联系方式
 *   - 命名空间隔离：所有 class 加 .pbcs-about 前缀，避免与其他页冲突
 *
 * 引用：about.html 自己在 head 之后 <link> 引入
 * ===================================================================== */

/* ---------- 主题变量（继承 home-modern.css 风格） ---------- */
.pbcs-about-page {
    --pbcs-primary: #667eea;
    --pbcs-primary-dark: #5568d3;
    --pbcs-accent: #ff6b35;
    --pbcs-text: #212529;
    --pbcs-muted: #6c757d;
    --pbcs-border: #e9ecef;
    --pbcs-radius: 12px;
    --pbcs-radius-lg: 16px;
    --pbcs-shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --pbcs-shadow-md: 0 8px 24px rgba(0, 0, 0, .08);
    --pbcs-shadow-lg: 0 16px 40px rgba(0, 0, 0, .12);
}

/* 通用容器（与 home 一致：max-width 1320px） */
.pbcs-about-page .pbcs-home-wrap {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* =====================================================================
 * 顶部 Banner — 全宽渐变 + 居中标题
 * 替代原 jumbotron，更现代
 * ===================================================================== */
.pbcs-about-banner {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 0 70px;
    overflow: hidden;
    text-align: center;
}
.pbcs-about-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, .08) 0%, transparent 50%);
    pointer-events: none;
}
.pbcs-about-banner .pbcs-home-wrap { position: relative; z-index: 1; }
.pbcs-about-banner .banner-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 14px;
    padding: 4px 14px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.pbcs-about-banner h1 {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.pbcs-about-banner .banner-sub {
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
.pbcs-about-banner .banner-deco {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 18px auto 0;
    gap: 12px;
}
.pbcs-about-banner .banner-deco::before,
.pbcs-about-banner .banner-deco::after {
    content: '';
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6));
}
.pbcs-about-banner .banner-deco::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, .6), transparent);
}
.pbcs-about-banner .banner-deco span {
    color: rgba(255, 255, 255, .85);
    font-size: 18px;
}
@media (max-width: 767.98px) {
    .pbcs-about-banner { padding: 56px 0 50px; }
    .pbcs-about-banner h1 { font-size: 28px; }
    .pbcs-about-banner .banner-sub { font-size: 14px; }
}

/* =====================================================================
 * 面包屑 — 浅色背景 + 小字
 * ===================================================================== */
.pbcs-about-breadcrumb {
    background: #f7f9fc;
    padding: 14px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 13px;
    color: var(--pbcs-muted);
}
.pbcs-about-breadcrumb a {
    color: var(--pbcs-muted);
    text-decoration: none;
    transition: color .2s ease;
}
.pbcs-about-breadcrumb a:hover { color: var(--pbcs-primary); }
.pbcs-about-breadcrumb .sep {
    margin: 0 8px;
    color: #adb5bd;
}
.pbcs-about-breadcrumb .current { color: var(--pbcs-text); font-weight: 500; }

/* =====================================================================
 * [PBCS PATCH] 防 about 页内容溢出（核心修复 2026-07-29）
 * ---------------------------------------------------------------------
 * 现象：窗口缩小时，左图遮住右文（实际是 .about-text 容器被内容撑大）
 * 根因：CSS Grid 子元素默认 min-width: auto，长 inline style / 不可断内容
 *       会撑大 grid 单元格，导致整页水平溢出 + 横向滚动条
 * 修法：grid 子元素 min-width:0 + 文字容器断行 + 子元素 max-width:100%
 * ===================================================================== */
.pbcs-about-page .pbcs-about-grid > * {
    min-width: 0;       /* 关键 — grid 子元素必须 */
    min-height: 0;
}
.pbcs-about-page .pbcs-about-content {
    min-width: 0;       /* 兜底 */
    overflow-wrap: break-word;
    word-break: break-word;  /* 长 URL / 邮箱 / 中英混排能断行 */
}
/* 文字容器内所有可能撑大的元素 */
.pbcs-about-page .pbcs-about-content img,
.pbcs-about-page .pbcs-about-content video,
.pbcs-about-page .pbcs-about-content table,
.pbcs-about-page .pbcs-about-content iframe,
.pbcs-about-page .pbcs-about-content pre,
.pbcs-about-page .pbcs-about-content code {
    max-width: 100%;
}
.pbcs-about-page .pbcs-about-content pre,
.pbcs-about-page .pbcs-about-content code {
    white-space: pre-wrap;       /* pre 长行折行 */
    word-break: break-word;
}
.pbcs-about-page .pbcs-about-content table {
    display: block;              /* 表格溢出时横向滚动而非撑大 */
    overflow-x: auto;
}
.pbcs-about-page .pbcs-about-content iframe {
    aspect-ratio: 16 / 9;        /* 视频比例固定 */
    height: auto !important;
}
/* 左图自身兜底（防后台传的图本身过大） */
.pbcs-about-page .pbcs-about-img img {
    max-width: 100%;
    height: auto;
}

/* =====================================================================
 * Hero — 左图右文（公司介绍）
 * 复用 home-modern.css 的 .pbcs-about-grid 即可
 * 但 about 页面要更大字号 + 完整内容
 * ===================================================================== */
.pbcs-about-page .pbcs-about-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--pbcs-text);
    margin: 0 0 8px 0;
    line-height: 1.3;
}
.pbcs-about-page .pbcs-about-content .about-sub {
    color: var(--pbcs-muted);
    font-size: 16px;
    margin: 0 0 20px 0;
}
.pbcs-about-page .pbcs-about-content .about-text {
    color: #495057;
    font-size: 15px;
    line-height: 1.9;
    margin: 0 0 24px 0;
}
.pbcs-about-page .pbcs-about-content .about-text p { margin: 0 0 14px 0; }
.pbcs-about-page .pbcs-about-content .about-text img {
    max-width: 100%;
    height: auto;
    border-radius: var(--pbcs-radius);
    margin: 10px 0;
}
.pbcs-about-page .pbcs-about-content .about-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media (min-width: 576px) {
    .pbcs-about-page .pbcs-about-content .about-features { grid-template-columns: 1fr 1fr; }
}
.pbcs-about-page .pbcs-about-content .about-features li {
    font-size: 14px;
    color: var(--pbcs-text);
    padding-left: 26px;
    position: relative;
    line-height: 1.6;
}
.pbcs-about-page .pbcs-about-content .about-features li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--pbcs-primary);
    font-size: 13px;
}

/* =====================================================================
 * 数据栏（紫蓝渐变 — 复用 home-modern.css 的 .pbcs-stats）
 * 这里只微调 padding
 * ===================================================================== */

/* =====================================================================
 * 服务优势 — 4 个功能卡（复用 home-modern.css 的 .pbcs-feature-grid）
 * 这里只追加 about 特色的内容样式
 * ===================================================================== */
.pbcs-about-page .pbcs-feature-card { text-align: left; }
.pbcs-about-page .pbcs-feature-card .fc-icon-left {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.pbcs-about-page .pbcs-feature-card .fc-icon-left .fc-icon-mini {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--card-grad-from, #667eea) 0%, var(--card-grad-to, #764ba2) 100%);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .08);
    flex-shrink: 0;
}
.pbcs-about-page .pbcs-feature-card .fc-icon-left .fc-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--pbcs-text);
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* =====================================================================
 * 公司信息 + 联系方式 — 2 栏
 * ===================================================================== */
.pbcs-company-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .pbcs-company-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px; }
}
.pbcs-company-card {
    background: #fff;
    border-radius: var(--pbcs-radius-lg);
    padding: 32px 30px;
    box-shadow: var(--pbcs-shadow-sm);
    border: 1px solid #eef1f5;
    transition: box-shadow .25s ease, transform .25s ease;
    position: relative;
    overflow: hidden;
}
.pbcs-company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pbcs-primary), var(--pbcs-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.pbcs-company-card:hover {
    box-shadow: var(--pbcs-shadow-md);
    transform: translateY(-2px);
}
.pbcs-company-card:hover::before { transform: scaleX(1); }

.pbcs-company-card .cc-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--card-grad-from, #667eea) 0%, var(--card-grad-to, #764ba2) 100%);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .1);
    margin-bottom: 18px;
}
.pbcs-company-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--pbcs-text);
    margin: 0 0 16px 0;
    line-height: 1.3;
}
.pbcs-company-card .cc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pbcs-company-card .cc-list li {
    font-size: 14px;
    color: #495057;
    line-height: 1.7;
    padding: 8px 0;
    border-bottom: 1px dashed #eef1f5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.pbcs-company-card .cc-list li:last-child { border-bottom: none; padding-bottom: 0; }
.pbcs-company-card .cc-list .cc-label {
    color: var(--pbcs-muted);
    min-width: 78px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pbcs-company-card .cc-list .cc-label i { color: var(--pbcs-primary); font-size: 13px; }
.pbcs-company-card .cc-list .cc-value { color: var(--pbcs-text); flex: 1; word-break: break-all; }
.pbcs-company-card .cc-list .cc-value a { color: var(--pbcs-primary); text-decoration: none; }
.pbcs-company-card .cc-list .cc-value a:hover { text-decoration: underline; }

/* 配色：左卡紫蓝（公司信息），右卡橙（联系方式） */
.pbcs-company-card.cc-info { --card-grad-from: #667eea; --card-grad-to: #764ba2; }
.pbcs-company-card.cc-contact { --card-grad-from: #f093fb; --card-grad-to: #f5576c; }

/* =====================================================================
 * CTA 区 — 大背景渐变 + 居中按钮
 * ===================================================================== */
.pbcs-about-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 56px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pbcs-about-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, .06) 0%, transparent 50%);
    pointer-events: none;
}
.pbcs-about-cta .pbcs-home-wrap { position: relative; z-index: 1; }
.pbcs-about-cta h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 12px 0;
}
.pbcs-about-cta p {
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    margin: 0 0 28px 0;
}
.pbcs-about-cta .cta-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}
.pbcs-about-cta .pbcs-btn--white {
    background: #fff;
    color: var(--pbcs-primary);
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}
.pbcs-about-cta .pbcs-btn--white:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    color: var(--pbcs-primary-dark);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
    text-decoration: none;
}
.pbcs-about-cta .pbcs-btn--outline-white {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .65);
    font-weight: 500;
}
.pbcs-about-cta .pbcs-btn--outline-white:hover {
    background: rgba(255, 255, 255, .15);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}
@media (max-width: 575.98px) {
    .pbcs-about-cta h2 { font-size: 22px; }
    .pbcs-about-cta p { font-size: 13px; }
}

/* 响应式微调 */
@media (max-width: 575.98px) {
    .pbcs-company-card { padding: 24px 20px; }
    .pbcs-about-page .pbcs-about-content h2 { font-size: 24px; }
}
