/* ============================================================
   QApex 数据生态平台 — 2026 版正文样式
   画板：数据生态平台 V2.0（1920 宽）
   Figma：2031:4699（价值/架构/功能三卡 1:1 复原）
   仅本页引用（qapex.html）
   1px = 0.0520833vw（以 1920 画板等比缩放）
   ============================================================ */

.qp-page { --qp-purple: #7F4DFC; --qp-line: rgba(102, 51, 238, .2); }

/* ============================================================
   banner：与「语料工程平台」子页面完全一致，仅文字不同
   ============================================================ */
.qp-page .banner {
    position: relative;
    /* 与「语料工程平台」solarsense.css 基础 .banner 完全一致：
       margin: 8.75vw 1.45833vw 0（@1920 = 168px 28px 0），
       横幅内缩、留出固定导航高度，背景图与文字位置随之对齐 */
    margin: 8.75vw 1.45833vw 0;
    height: 38.33333vw;                 /* 736px @1920 */
    overflow: hidden;
}
.qp-page .banner::before { background: none !important; opacity: 0 !important; }
.qp-page .banner::after { display: none; }
.qp-page .banner > img.bg {
    opacity: 1 !important;
    position: absolute;
    left: -1.45833vw;
    top: 0;
    width: calc(100% + 2.91667vw);
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center bottom;
    z-index: 0;
}
.qp-page .banner .text {
    position: absolute !important;
    left: 0;
    right: 0;
    top: 4.375vw;                       /* 84px */
    width: 100%;
    z-index: 2;
    text-align: center;
}
/* 字标：Montserrat，与语料工程平台一致 */
.qp-page .banner .text .p1 {
    font-family: Montserrat, "Noto Sans SC", sans-serif;
    font-weight: 400;
    font-size: 10.41667vw;
    line-height: 1.5;
    letter-spacing: -.015em;
    color: #3E2882;
    opacity: .95;
}
.qp-page .banner .text .p2 { margin: 1.35417vw 0 .625vw; color: #111 !important; }
.qp-page .banner .text .p3 {
    width: 65.625vw;                    /* 1260px：正文正好 3 行 */
    margin: 0 auto 2.60417vw;
    color: rgba(0,0,0,.6) !important;   /* 与原官网一致：半透明黑，非纯黑 */
    font-weight: 400;
    line-height: 1.4;
}
.qp-page .banner .text .p3 p,
.qp-page .banner .text .p3 * { color: rgba(0,0,0,.6) !important; }

/* 两颗胶囊按钮：黑描边 / 黑底 */
.qp-page .banner .text .btns { display: flex; justify-content: center; gap: 3.33333vw; }
.qp-page .banner .text .btns .btn {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto;
    min-width: 10.15625vw;
    padding: 0 1.4vw;
    height: 2.91667vw;
    background: transparent !important;
    border: 1px solid #111 !important;
    border-radius: 100px !important;
    box-shadow: none !important;
    transition: all .35s !important;
}
.qp-page .banner .text .btns .btn p { white-space: nowrap; color: #111 !important; }
.qp-page .banner .text .btns .btn img { filter: brightness(0) !important; }
.qp-page .banner .text .btns .btn.on,
.qp-page .banner .text .btns .btn:hover { background: #111 !important; border-color: #111 !important; }
.qp-page .banner .text .btns .btn.on p { color: #fff !important; }
.qp-page .banner .text .btns .btn.on img { filter: brightness(0) invert(1) !important; }
.qp-page .banner .text .btns .btn + .btn:hover { background: transparent !important; border-color: #111 !important; }

/* ============================================================
   正文容器
   ============================================================ */
.qp-main {
    padding: 5.20833vw 7.8125vw;
    background:
        radial-gradient(46vw 26vw at 0% 2%, rgba(210, 207, 253, .34) 0%, rgba(210, 207, 253, 0) 72%),
        radial-gradient(38vw 22vw at 96% 20%, rgba(223, 230, 254, .38) 0%, rgba(223, 230, 254, 0) 72%),
        radial-gradient(44vw 24vw at 6% 58%, rgba(210, 207, 253, .3) 0%, rgba(210, 207, 253, 0) 72%),
        radial-gradient(40vw 22vw at 88% 86%, rgba(217, 221, 254, .24) 0%, rgba(217, 221, 254, 0) 72%),
        #fff;
}

/* 大卡片：Figma Rectangle 346242218 —— 1620 宽 / r36；
   填充 linear-gradient(0deg, rgba(255,255,255,.6), rgba(242,238,254,.6)) + matrix(1,0,0,-1,0,0) 垂直翻转
   → 翻转后视觉等价「顶部 白60% → 底部 #F2EEFE 60%」（下方 180deg）。
   两层均 60% 透明，卡片透出 .qp-main 的紫色光斑才是 Figma 的柔和紫雾感。 */
.qp-card {
    position: relative;
    border: 2px solid transparent;
    border-radius: 1.875vw;             /* 36 */
    background: linear-gradient(180deg, rgba(255, 255, 255, .6) 0%, rgba(242, 238, 254, .6) 100%) padding-box;
    margin-bottom: 5.20833vw;
    padding: 8.07292vw 0 4.6875vw;      /* 标题区 155 / 底部 90 */
}
.qp-card:last-child { margin-bottom: 0; }
/* 描边（#6633EE→#C4ADFF）改用伪元素独立成环带（mask 镂空）：
   若沿用 border-box 双背景，必须在 padding-box 垫不透明白底，会把背后的紫色光斑挡死。
   这样填充保持半透明，描边位置与原来 2px border 完全重合。 */
.qp-card::before {
    content: "";
    position: absolute;
    inset: -.10417vw;                                   /* 外扩 2px 到 border box 外缘 */
    border-radius: calc(1.875vw + .10417vw);
    border: .10417vw solid transparent;                 /* 2px */
    background: linear-gradient(180deg, rgba(102, 51, 238, 0) 0%, rgba(196, 173, 255, .6) 70%, rgba(196, 173, 255, .6) 100%) border-box;  /* 与语料工程平台 .ss-card::before 完全一致 */
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

/* 卡片标题 36px / 500：QApex 为 #8942FE，栏目名 #111 */
.qp-title {
    position: absolute;
    left: 0;
    top: 2.70833vw;                     /* 52px */
    width: 100%;
    text-align: center;
    font-size: 1.875vw;                 /* 36 */
    line-height: 2.774vw;               /* 53 */
    font-weight: 500;
    color: #8942FE;
}
.qp-title .qp-title-sub { color: #111; }

/* 三卡横排：466×n + 50 间距，居中（3×466 + 2×50 = 1498） */
.qp-row {
    display: flex;
    justify-content: center;
    gap: 2.60417vw;                     /* 50 */
}

/* ============================================================
   卡1：平台价值（Figma Group 1437254670 / 1620×646）
   三卡 466×424，10% 紫渐变填充 + #C4ADFF 2px 描边
   ============================================================ */
.qp-vi {
    position: relative;
    width: 24.27083vw;                  /* 466 */
    min-height: 22.08333vw;             /* 424 */
    border: 2px solid #C4ADFF;
    border-radius: .83333vw;            /* 16 */
    background: linear-gradient(180deg, rgba(196, 173, 255, .10) 0%, rgba(102, 51, 238, .10) 100%);
    padding: 2.60417vw 1.35417vw;       /* 上 50 / 左右 26 */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    isolation: isolate;
    box-shadow: 0 .20833vw 1.45833vw rgba(102, 51, 238, 0);   /* 0 4 28 默认透明 */
    transition: box-shadow .35s ease, transform .35s ease, background-image .35s ease;
}
/* 高亮环：粉紫渐变描边（默认隐藏）
   注：「平台功能」卡已改为与「平台价值」卡同一套悬浮态（0deg 渐变填充 + drop-shadow），
   此色环不再启用，保留仅为兼容旧结构 */
.qp-fi::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #8455E7 0%, #E298A6 100%) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
    z-index: 2;
}
/* 选中态：完全按 Figma「Homepage-Cycle-Animation-Card」
   background: linear-gradient(0deg, rgba(196,173,255,0) 0%, rgba(102,51,238,.1) 100%)
   filter: drop-shadow(0 4px 28px rgba(102,51,238,.3))  →  box-shadow 0 4px 28px
   border-radius: 16px
   该节点无描边，故不再叠加渐变色环；默认三卡一致，仅悬浮/选中时高亮 */
.qp-vi:hover {
    background: linear-gradient(0deg, rgba(196, 173, 255, 0) 0%, rgba(102, 51, 238, .10) 100%);
    box-shadow: 0 .20833vw 1.45833vw rgba(102, 51, 238, .30);
    transform: translateY(-2px);
}

.qp-vi .ill {
    width: 9.375vw;                     /* 180 */
    height: 9.375vw;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qp-vi .ill img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* 插画素材已改为透明底 PNG（alpha 抠图），不再需要 darken 混合去压白底；
   保留 normal 让玻璃柱的高光与色彩按原样呈现。 */
.qp-vi .ill--mul img { mix-blend-mode: normal; }

.qp-vi .t {
    margin-top: .9375vw;                /* 18 */
    font-size: 1.25vw;                  /* 24 */
    line-height: 1.5;
    font-weight: 400;
    color: #000;
}
.qp-vi .d {
    margin-top: 1.5625vw;               /* 30 */
    align-self: stretch;
    text-align: left;
    font-size: .83333vw;                /* 16 */
    line-height: 1.5;
    color: #666;
}

/* ============================================================
   卡2：平台架构（Figma Group 1437254669 / 1620×1544）
   整块为内联 SVG，1:1 复刻；标题在 SVG 内绘制
   ============================================================ */
.qp-archc {
    padding: 0;
    /* 与「平台价值」卡一致：不裁剪，让 .qp-card::before 的渐变描边环完整显示
       （overflow:hidden 会把 inset:-2px 的外扩描边裁掉，导致本卡看起来没边框） */
    overflow: visible;
}
.qp-arch {
    display: block;
    width: 100%;
    height: auto;
}

/* ============================================================
   卡3：平台功能（Figma Group 1437254643 / 1498×526）
   三卡 466×526：文字+标签在上，等距插画铺满下半部
   ============================================================ */
.qp-fi {
    position: relative;
    width: 24.27083vw;                  /* 466 */
    height: 27.39583vw;                 /* 526 */
    border: 2px solid #C4ADFF;
    border-radius: .83333vw;            /* 16 */
    background: linear-gradient(180deg, rgba(196, 173, 255, .10) 0%, rgba(102, 51, 238, .10) 100%);
    padding: 1.5625vw 1.35417vw;        /* 上 30 / 左右 26 */
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 .20833vw 1.45833vw rgba(102, 51, 238, 0);
    transition: box-shadow .35s ease, transform .35s ease, background-image .35s ease;
}
/* 悬浮 / 选中（首卡 .ill-s）：完全对齐「平台价值」卡
   0deg 高亮渐变 + 紫色投影 + 上浮 2px；不再叠加渐变色环 */
.qp-fi.ill-s,
.qp-fi:hover {
    background: linear-gradient(0deg, rgba(196, 173, 255, 0) 0%, rgba(102, 51, 238, .10) 100%);
    box-shadow: 0 .20833vw 1.45833vw rgba(102, 51, 238, .30);
    transform: translateY(-2px);
}

/* 插画：直接取自 Figma 卡片渲染（2x），自底部对齐、宽占满卡面，顶部微羽化融入卡面 */
.qp-fi .ill {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    display: block;
    z-index: 0;
    pointer-events: none;
}
.qp-fi .t {
    position: relative;
    z-index: 1;
    font-size: 1.25vw;                  /* 24 */
    line-height: 1.5;
    font-weight: 400;
    color: #000;
}
.qp-fi .d {
    position: relative;
    z-index: 1;
    margin-top: 1.04167vw;              /* 20 */
    font-size: .83333vw;                /* 16 */
    line-height: 1.5;
    color: #666;
}
.qp-fi .tags {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: nowrap;
    gap: .41667vw;                      /* 8 */
    margin-top: 1.04167vw;              /* 20 */
}
.qp-fi .tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.875vw;                    /* 36 */
    padding: 0 .5vw;
    border-radius: .52083vw;            /* 10 */
    background: #fff;
    border: 2px solid #D2CFFD;
    color: #666;
    font-size: .83333vw;                /* 16 */
    line-height: 1;
    white-space: nowrap;
}

/* ============================================================
   移动端
   ============================================================ */
@media screen and (max-width: 768px) {
    .qp-page .banner { height: 400px; margin: 72px 16px 0; }
    .qp-page .banner .text { top: 10px; }
    .qp-page .banner .text .p1 { font-size: 56px; }
    .qp-page .banner .text .p3 { width: 86%; font-size: 13px; margin-bottom: 16px; }
    .qp-page .banner .text .btns { gap: 10px; }
    .qp-page .banner .text .btns .btn { min-width: 0; height: 38px; padding: 0 16px; }

    .qp-main { padding: 30px 16px 40px; }
    .qp-card {
        border-radius: 16px;
        margin-bottom: 24px;
        padding: 24px 16px 26px;
    }
    /* 移动端描边环同步跟随 16px 圆角与 2px 环宽 */
    .qp-card::before {
        inset: -2px;
        border-radius: 18px;
        border-width: 2px;
    }
    .qp-title {
        position: static;
        font-size: 20px;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .qp-row { flex-direction: column; gap: 16px; }
    .qp-vi,
    .qp-fi { width: 100%; height: auto; min-height: 0; }
    .qp-vi { padding: 24px 18px; }
    .qp-vi .ill { width: 120px; height: 120px; }
    .qp-vi .t { font-size: 18px; margin-top: 14px; }
    .qp-vi .d { font-size: 13px; margin-top: 12px; }

    .qp-fi { padding: 20px 18px 0; }
    .qp-fi .ill { position: static; width: 100%; margin-top: 14px; }
    .qp-fi .t { font-size: 18px; }
    .qp-fi .d { font-size: 13px; margin-top: 10px; }
    .qp-fi .tags { flex-wrap: wrap; gap: 8px; margin-top: 12px; }
    .qp-fi .tags span { height: 30px; font-size: 12px; padding: 0 10px; }

    /* 架构图：横向可滚动，保持可读 */
    .qp-archc { padding: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .qp-arch { min-width: 860px; }
}


/* ==========================================================================
   2026-11-05（复核后修订）· banner 底边保持清晰 + 下方正文背景纯白
   用户复核明确：不要用渐隐层把 banner 底边糊掉，那样显得「糊、脏」。
   正面参照「成品数据集」dataset.html —— 其 theme2026.css 里
   .page-dataset .banner::after{display:none}，底边清晰且带圆角，
   banner 下方就是纯白，整体干干净净、清清爽爽。
   本次改动（只动样式，不动 DOM、不改共享 CSS、不改 footer）：
     · 撤掉上一轮追加的 .qp-page .banner::after 渐隐层（16.3% + mask），
       恢复底图 hero-bg.webp 自带的清晰圆角边界；
     · .qp-page .qp-main 的 4 层 radial-gradient 紫色光斑 -> 纯白；
     · .qp-page .qp-card 的白->淡紫半透明填充 -> 纯白（::before 描边环保留）。
   banner 自身、卡片内容、文字、footer 紫渐变一律不动。
   带 .qp-page 前缀，仅本页生效；共享 theme2026.css / 英文站 / 其它页面不受影响。
   ========================================================================== */
.qp-page .banner::after { display: none !important; }
.qp-page .qp-main { background: #fff !important; }
.qp-page .qp-card { background: #fff !important; }


/* ==========================================================================
   r148（2026-11-24）· banner 改成「语料工程平台」同款左文右图
   参数与 css/solarsense2026.css 的 ss-page 段一致，仅作用域换成 qp-page；
   本 CSS 只被 qapex.html / en/qapex.html 引用，不污染其它页面。
   ========================================================================== */
@media screen and (min-width: 769px) {
  .qp-page .banner .text .p1 { display: none !important; }
  .qp-page .banner .text {
    left: 6.2vw !important;
    right: auto !important;
    top: 0 !important;
    width: 44vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left !important;
    transform: translateY(-0.833vw);
  }
  .qp-page .banner .text .p2,
  .qp-page .banner .text .p2 * {
    font-size: 3.05vw !important;
    line-height: 1.2 !important;
    color: #111 !important;
    font-weight: 700 !important;
    margin: 0 0 1.25vw !important;
    white-space: nowrap;
  }
  .qp-page .banner .text .p3 {
    width: 38.5vw !important; /* r153：正文宽度 44vw -> 38.5vw，按用户红框要求收窄 */
    margin: 0 0 2.4vw !important;
    text-align: justify !important;
  }
  .qp-page .banner .text .p3 p,
  .qp-page .banner .text .p3 * {
    font-size: 0.96vw !important;
    line-height: 1.7 !important;
    color: rgba(0,0,0,.6) !important;
    white-space: normal !important;
  }
  .qp-page .banner .text .btns {
    justify-content: flex-start !important;
    gap: 3.33333vw !important;
  }
  .qp-page .banner img.hero3d {
    position: absolute;
    z-index: 1;
    right: 4vw;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    width: 45vw; /* r153：换新图（1920x1280，透明留白 82%），38.5vw -> 45vw 保持可见主体 ≈384px 不变 */
    max-width: none;
    pointer-events: none;
  }
}

@media screen and (max-width: 768px) {
  .qp-page .banner .text .p1 { display: none !important; }
  .qp-page .banner .text {
    left: 5.5vw !important;
    right: auto !important;
    width: 89vw !important;
    height: 100% !important;
    top: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left !important;
    transform: translateY(-10px);
  }
  .qp-page .banner .text .p2,
  .qp-page .banner .text .p2 * { font-size: 20px !important; margin: 0 0 6px !important; }
  .qp-page .banner .text .p3 { width: auto !important; margin: 0 0 14px !important; }
  .qp-page .banner .text .p3 p,
  .qp-page .banner .text .p3 * {
    font-size: 12px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
  }
  .qp-page .banner .text .btns { justify-content: flex-start !important; gap: 10px !important; }
  .qp-page .banner .text .btns .btn {
    height: auto !important; min-height: 32px; min-width: 0 !important; padding: 6px 15px !important;
  }
  .qp-page .banner .text .btns .btn p { font-size: 13px !important; }
  .qp-page .banner img.hero3d {
    position: absolute;
    z-index: 1;
    width: auto;
    height: 76px;
    top: auto;
    bottom: 4px;
    right: -8px;
    transform: none;
    opacity: .35;
    pointer-events: none;
  }
}
