/* ==========================================================================
   solutions.css —— 由 tools_split_css.py 从 main.css 拆出（2026-10-19）
   注意：改样式请改对应页面文件，不要再往 main.css 里加
   ========================================================================== */


/* ============================================================
 *  解决方案专题页 /solutions
 * ============================================================ */

/* ---------- Banner 首屏（深蓝科技底） ---------- */
.sol-hero {
    position: relative; overflow: hidden;
    background: #071a33;
    padding: 60px 0 52px; color: #fff;   /* 2026-11-02 与全站 banner 统一 480 视高带 */
}

/* Banner 背景图（AI 生成，右侧主体 / 左侧留白给标题） */
.sol-hero__bg {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover; object-position: 74% center;
}

.sol-hero__mask {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(100deg,
        rgba(7, 26, 51, .95) 0%, rgba(7, 26, 51, .87) 34%,
        rgba(7, 26, 51, .52) 66%, rgba(7, 26, 51, .22) 100%);
}

.sol-hero::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(900px 460px at 76% 6%, rgba(45, 132, 240, .26), transparent 70%);
}

.sol-hero::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background-image:
        linear-gradient(rgba(120, 178, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 178, 255, .07) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, .45) 48%, transparent 82%);
    mask-image: linear-gradient(100deg, #000 0%, rgba(0, 0, 0, .45) 48%, transparent 82%);
}

.sol-hero__inner { position: relative; z-index: 2; max-width: 860px; }

.sol-hero__kicker {
    font-size: 12.5px; letter-spacing: 3px; font-weight: 700; color: var(--brand-on-dark);
    margin-bottom: 16px;
}

.sol-hero__title { font-size: 46px; line-height: 1.16; letter-spacing: -.8px; margin-bottom: 18px; }

.sol-hero__sub { font-size: 17px; color: #c2d2e6; max-width: 680px; line-height: 1.8; }

.sol-hero__stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
    margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(120, 170, 255, .22);
}

.sol-hero__stats li { display: flex; flex-direction: column; gap: 4px; }

.sol-hero__stats strong { font-size: 24px; color: #fff; letter-spacing: -.3px; }

.sol-hero__stats span { font-size: 13px; color: #93a7c1; }

/* ---------- 板块锚点条 ---------- */
.sol-anchorbar {
    position: sticky; top: 76px; z-index: 40;
    background: rgba(255, 255, 255, .96); backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.sol-anchorbar__inner { display: flex; gap: 4px; overflow-x: auto; }

.sol-anchorbar__link {
    flex: none; padding: 14px 16px; font-size: 14.5px; font-weight: 500;
    color: var(--ink-2); border-bottom: 2px solid transparent; transition: all .2s;
}

.sol-anchorbar__link:hover { color: var(--brand); }

/* ---------- 领域标签 ---------- */
.sol-fields { padding-bottom: 34px; }

.sol-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.sol-tab {
    padding: 10px 22px; font-size: 14.5px; font-family: inherit; cursor: pointer;
    color: var(--ink-2); background: #fff; border: 1px solid var(--line);
    border-radius: 99px; transition: all .2s;
}

.sol-tab:hover { border-color: var(--brand-line); color: var(--brand); }

/* ---------- 产品矩阵 ---------- */
.sol-matrix { padding-top: 58px; }

.sol-group + .sol-group { margin-top: 46px; }

.sol-group__title {
    display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
    font-size: 20px;
}

/* 2026-10-26：由「实拍缩略图」改为「线性图标」——
   四张 jpg 合计 638KB，却只渲染成 46×46 的小方块，风格还互不统一。
   图标零请求、任意缩放不糊、四个领域笔触一致。
   ★ 经历了「深底方块 → 白底细框 → 纯图标」三步，最后按明哥要求去掉容器：
     无底色、无边框、无圆角，容器就是图标本身大小，图标取品牌蓝。
     深色块在白色内容区里太抢，会把标题压过去；细框也只是重复卡片已有的描边。 */
.sol-group__thumb {
    width: 24px; height: 24px; flex: none;
    display: block;
    color: var(--brand);
}

.sol-group__thumb svg { width: 24px; height: 24px; display: block; }

.sol-group__badge { color: var(--ink); }

.sol-group__title em {
    font-style: normal; font-size: 12.5px; color: var(--brand);
    background: var(--brand-soft); border: 1px solid var(--brand-line);
    border-radius: 99px; padding: 2px 10px;
}

.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.sol-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    transition: all .24s ease;
}

.sol-card:hover {
    border-color: var(--brand-line);
    transform: translateY(-3px); box-shadow: var(--shadow);
}

/* 应用场景配图（AI 生成） */
.sol-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: #0a2440; }

.sol-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }

.sol-card:hover .sol-card__media img { transform: scale(1.05); }

.sol-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 16px; }

.sol-card__name { font-size: 16.5px; margin-bottom: 8px; color: var(--ink); }

.sol-card:hover .sol-card__name { color: var(--brand); }

.sol-card__desc { font-size: 13.5px; color: var(--ink-3); line-height: 1.7; flex: 1; }

.sol-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

.sol-card__tag {
    font-size: 12px; color: var(--brand-dark); background: #fff;
    border: 1px solid var(--brand-line); border-radius: 4px; padding: 3px 8px;
}

.sol-card__more {
    display: inline-flex; align-items: center; gap: 4px; margin-top: 14px;
    font-size: 13.5px; font-weight: 600; color: var(--brand);
}

.sol-card:hover .sol-card__more svg { transform: translateX(3px); }

.sol-card__more svg { transition: transform .2s; }

.sol-empty {
    padding: 40px 0; text-align: center; color: var(--ink-3); font-size: 15px;
}

/* ---------- 核心技术指标 ---------- */
.sol-spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.sol-spec {
    padding: 26px 22px; text-align: center; border-radius: var(--radius-sm);
    background: var(--bg-tint); border: 1px solid var(--line);
}

.sol-spec__label { display: block; font-size: 13.5px; color: var(--ink-3); margin-bottom: 8px; }

.sol-spec__value { font-size: 22px; color: var(--brand-dark); letter-spacing: -.2px; }

.sol-spectrum { margin-top: 38px; }

.sol-spectrum__bar {
    height: 16px; border-radius: 99px;
    background: linear-gradient(90deg,
        #6a5acd 0%, #4a6fe0 14%, #2fa8e8 30%, #45c98a 44%,
        #d7d24a 56%, #e8892c 68%, #d5453a 80%, #8f2f5e 92%, #4a1f52 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 4px 14px rgba(12, 32, 60, .12);
}

.sol-spectrum__scale {
    display: flex; justify-content: space-between; margin-top: 10px;
    font-size: 12.5px; color: var(--ink-4);
}

.sol-spectrum__mid { color: var(--ink-3); font-weight: 600; }

/* ---------- 定制流程 ---------- */
.sol-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }

.sol-flow__step {
    position: relative; padding: 26px 22px; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
}

.sol-flow__step::after {
    content: ''; position: absolute; right: -12px; top: 50%; transform: translateY(-50%);
    width: 16px; height: 2px; background: var(--brand-line);
}

.sol-flow__step:last-child::after { display: none; }

.sol-flow__no {
    display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px;
    border-radius: 50%; background: var(--brand-soft); color: var(--brand);
    font-size: 14px; font-weight: 700; border: 1px solid var(--brand-line);
}

.sol-flow__title { font-size: 17px; margin-bottom: 8px; }

.sol-flow__desc { font-size: 13.5px; color: var(--ink-3); line-height: 1.7; }

/* ---------- 底部 CTA ---------- */
.sol-cta {
    padding: 76px 0; text-align: center; color: #fff; position: relative; overflow: hidden;
    background: linear-gradient(135deg, #08213f 0%, #0e3457 100%);
}

.sol-cta::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(700px 300px at 50% 0%, rgba(45, 132, 240, .24), transparent 70%);
}

.sol-cta__inner { position: relative; z-index: 1; }

.sol-cta__title { font-size: 32px; letter-spacing: -.5px; margin-bottom: 26px; }

.sol-cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.sol-cta__note { margin-top: 18px; font-size: 13.5px; color: #93a7c1; }

@media (max-width: 720px) {

    .sol-hero { padding: 62px 0 52px; }

    /* 窄屏：镜片组推到右侧边缘露出，标题区完全让给文字 */
    .sol-hero__bg { object-position: 84% center; }

    .sol-hero__mask {
        background: linear-gradient(180deg,
            rgba(7, 26, 51, .93) 0%, rgba(7, 26, 51, .84) 48%, rgba(7, 26, 51, .74) 100%);
    }

    .sol-hero__title { font-size: 32px; }

    .sol-hero__sub { font-size: 15px; }

    .sol-hero__stats { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }

    .sol-hero__stats strong { font-size: 20px; }

    .sol-grid { grid-template-columns: 1fr; }

    .sol-spec-grid { grid-template-columns: 1fr; }

    .sol-flow { grid-template-columns: 1fr; }

    .sol-cta__title { font-size: 24px; }

    .sol-anchorbar { top: 62px; }

    .sol-anchorbar__link { padding: 11px 12px; font-size: 13.5px; }

}
