/* 瞬维智能优质合作伙伴评定办法 —— 页面样式（深色科技风，沿用品牌渐变） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --grad: linear-gradient(90deg, #3EB9FB 0%, #B268FF 55%, #FF3CC5 100%);
    --blue: #3EB9FB;
    --purple: #B268FF;
    --pink: #FF3CC5;
    --bg-deep: #03031E;
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.12);
    --text: #e8ebf5;
    --muted: #9aa3c0;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(110% 50% at 50% -8%, rgba(58, 110, 200, 0.16) 0, transparent 68%),
        radial-gradient(circle at 92% 12%, rgba(255, 60, 197, 0.05) 0, transparent 38%),
        linear-gradient(180deg, #070b24 0%, #04051a 38%, var(--bg-deep) 100%);
    background-attachment: fixed;
    line-height: 1.7;
    min-height: 100vh;
}

/* ===== 顶部品牌栏 ===== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2.5rem;
    background: rgba(3, 3, 30, 0.78);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .brand {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.topbar .brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.topbar .brand-link:hover {
    opacity: 0.8;
}

.topbar .brand-logo {
    width: 10rem;
    height: 2rem;
    object-fit: contain;
    display: block;
}

.topbar .doc-tag {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ===== 容器 ===== */
.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 3.5rem 2rem 5rem;
}

/* ===== 头图 / 标题 ===== */
.hero {
    text-align: center;
    padding: 2rem 0 3rem;
}

.hero h1 {
    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1.25;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--muted);
}

.hero .meta {
    margin-top: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.hero .meta span {
    padding: 0.45rem 1.1rem;
    font-size: 0.9rem;
    border-radius: 2rem;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text);
}

/* ===== 章节 ===== */
.chapter {
    margin-top: 3.5rem;
}

.chapter-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.chapter-num {
    flex-shrink: 0;
    font-size: 1.4rem;
    font-weight: 800;
    font-style: italic;
    padding: 0.35rem 0.9rem;
    border-radius: 0.6rem;
    color: #fff;
    background: var(--grad);
}

.chapter-head h2 {
    font-size: 1.9rem;
    font-weight: 700;
}

.chapter-head .dot {
    color: var(--purple);
    margin: 0 0.5rem;
}

/* 章节正文小标题 */
.chapter h3 {
    margin: 1.8rem 0 0.8rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    padding-left: 0.8rem;
    border-left: 3px solid var(--purple);
}

.chapter p {
    color: var(--muted);
    margin: 0.6rem 0;
}

.chapter strong {
    color: #fff;
}

/* 通用卡片 */
.panel {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 1.8rem 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* 列表 */
.list {
    list-style: none;
    margin: 0.8rem 0;
}

.list li {
    position: relative;
    padding-left: 1.6rem;
    margin: 0.6rem 0;
    color: var(--muted);
}

.list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--grad);
}

.list li strong {
    color: #fff;
}

/* 高亮引言 */
.quote {
    margin: 1.5rem 0;
    padding: 1.4rem 1.8rem;
    border-radius: 0.9rem;
    border-left: 4px solid var(--pink);
    background: linear-gradient(90deg, rgba(178, 104, 255, 0.12), rgba(255, 60, 197, 0.04));
    font-size: 1.15rem;
    color: #fff;
}

/* 一票否决 / 警示标 */
.tag-danger {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #ff5b7f, #ff3cc5);
    padding: 0.15rem 0.6rem;
    border-radius: 0.4rem;
    margin-left: 0.4rem;
    vertical-align: middle;
}

/* ===== 表格 ===== */
.ppg-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2rem 0;
    border-radius: 0.6rem;
    overflow: hidden;
    color: var(--text);
    box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.3);
}

.ppg-table th {
    padding: 1.1rem 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(180deg, rgba(20, 45, 95, 0.9), rgba(10, 25, 65, 0.9));
}

.ppg-table td {
    padding: 1rem;
    font-size: 0.98rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(13, 30, 74, 0.6), rgba(9, 18, 53, 0.6));
    color: var(--muted);
}

.ppg-table td:first-child {
    color: #fff;
    font-weight: 600;
}

.ppg-table tr:hover td {
    background: linear-gradient(180deg, rgba(30, 55, 120, 0.7), rgba(20, 35, 85, 0.7));
}

/* ===== 流程图 ===== */
.flow {
    margin: 1.5rem 0;
}

.flow-step {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 0.9rem;
    padding: 1.2rem 1.5rem 1.2rem 4.2rem;
    margin-bottom: 0.6rem;
}

.flow-step .idx {
    position: absolute;
    left: 1.2rem;
    top: 1.1rem;
    width: 2.1rem;
    height: 2.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    color: #fff;
    background: var(--grad);
}

.flow-step h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.flow-step .time {
    font-size: 0.82rem;
    color: var(--blue);
    font-weight: 600;
    margin-left: 0.5rem;
}

.flow-step p {
    margin: 0.2rem 0 0;
    font-size: 0.92rem;
}

.flow-arrow {
    text-align: center;
    color: var(--purple);
    font-size: 1.2rem;
    line-height: 1;
    margin: 0.1rem 0 0.7rem;
}

/* ===== 权益卡片网格 ===== */
.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.benefit-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 1.6rem 1.4rem 1.4rem;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    overflow: hidden;
}

.benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--grad);
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: rgba(178, 104, 255, 0.5);
    box-shadow: 0 12px 30px rgba(104, 89, 226, 0.25);
}

.benefit-card .no {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benefit-card h4 {
    font-size: 1.15rem;
    color: #fff;
    margin: 0.4rem 0 0.8rem;
}

.benefit-card p {
    font-size: 0.9rem;
    margin: 0.35rem 0;
}

.benefit-card .sub-label {
    display: block;
    margin-top: 0.7rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--blue);
}

/* ===== 退出/降级双栏 ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin: 1.2rem 0;
}

.two-col .panel h3 {
    margin-top: 0;
    border-left-color: var(--pink);
}

/* ===== 页脚 ===== */
.footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.footer .footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2.5rem;
    margin-bottom: 1.2rem;
}

.footer .footer-grid b {
    color: #fff;
}

.footer .copyright {
    font-size: 0.82rem;
    opacity: 0.7;
}

/* ===== 响应式 ===== */

/* ===== 补充组件（承载完整内容，沿用既有视觉语言） ===== */

/* 有序列表（与 .list 风格一致，但带数字） */
.olist {
    list-style: none;
    counter-reset: ol;
    margin: 0.8rem 0;
}

.olist li {
    position: relative;
    counter-increment: ol;
    padding-left: 2.2rem;
    margin: 0.6rem 0;
    color: var(--muted);
}

.olist li::before {
    content: counter(ol);
    position: absolute;
    left: 0;
    top: 0.05em;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    border-radius: 50%;
    background: var(--grad);
}

.olist li strong {
    color: #fff;
}

/* 章节副标题 */
.chapter-sub {
    margin: -0.4rem 0 0.6rem 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
}

/* 提示框 callout（多色） */
.callout {
    margin: 1.4rem 0;
    padding: 1.3rem 1.6rem;
    border-radius: 0.9rem;
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--purple);
    background: var(--card-bg);
    color: var(--muted);
}

.callout .callout-title {
    display: block;
    font-weight: 700;
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.callout p {
    margin: 0.4rem 0;
    color: var(--muted);
}

.callout strong {
    color: #fff;
}

.callout .olist {
    margin-bottom: 0;
}

.callout.teal {
    border-left-color: #2fd6a8;
}

.callout.blue {
    border-left-color: #3EB9FB;
}

.callout.amber {
    border-left-color: #ffb44d;
}

.callout.red {
    border-left-color: #ff5b7f;
}

/* 指标卡（评定流程） */
.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.metric-card {
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 1.6rem 1rem;
}

.metric-val {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-val span {
    font-size: 1rem;
    margin-left: 0.2rem;
}

.metric-label {
    margin-top: 0.7rem;
    font-size: 0.92rem;
    color: var(--muted);
}

/* 表格内的要求标签 / 富文本单元格 */
.ppg-table.text-table td {
    vertical-align: top;
}

.req-tag {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.18rem 0.6rem;
    border-radius: 0.4rem;
    white-space: nowrap;
}

.req-tag.required {
    color: #fff;
    background: linear-gradient(90deg, #ff5b7f, #ff3cc5);
}

.req-tag.preferred {
    color: #fff;
    background: linear-gradient(90deg, #3EB9FB, #B268FF);
}

.req-item {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.req-desc {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* 可折叠的要求说明：默认 3 行省略 + 尾部三角，点击独立展开/收起 */
.req-collapsible {
    position: relative;
    padding-right: 1.35rem;
}

.req-desc-body {
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.req-collapsible.collapsed .req-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.req-collapsible:not(.collapsed) .req-desc {
    display: block;
}

.req-toggle {
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: calc(0.92rem * 1.7);
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.req-toggle:hover {
    color: var(--purple);
}

.req-toggle:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
    border-radius: 2px;
}

.req-toggle[hidden] {
    display: none;
}

.req-toggle .tri {
    width: 0.75rem;
    height: 0.75rem;
    transition: transform 0.3s ease;
}

.req-collapsible:not(.collapsed) .req-toggle .tri {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {

    .req-desc-body,
    .req-toggle .tri {
        transition: none;
    }
}

/* 分级结果卡 */
.grade-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin: 1.5rem 0;
}

.grade-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 1.5rem 1.6rem;
}

.grade-card .grade-name {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
}

.grade-card .grade-score {
    display: block;
    margin: 0.6rem 0;
    font-size: 2rem;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grade-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
}

/* 权益完整区块（全宽，承载完整说明） */
.benefit-block {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
    padding: 1.8rem 2rem;
    margin-bottom: 1.4rem;
    overflow: hidden;
}

.benefit-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--grad);
}

.benefit-block-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.4rem;
}

.benefit-no {
    flex-shrink: 0;
    width: 2.6rem;
    height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    font-size: 1.05rem;
    font-weight: 800;
    font-style: italic;
    color: #fff;
    background: var(--grad);
}

.benefit-block-head h3 {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 1.35rem;
    color: #fff;
}

.benefit-block h4 {
    margin: 1.2rem 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
}

.benefit-block p {
    margin: 0.4rem 0;
}

.benefit-block .emph {
    color: #fff;
    font-weight: 600;
}

/* 卡片内「了解详情」按钮 */
.benefit-card .detail-btn {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(178, 104, 255, 0.5);
    border-radius: 2rem;
    transition: background 0.2s, border-color 0.2s;
}

.benefit-card .detail-btn::after {
    content: "→";
    font-size: 0.95rem;
}

.benefit-card .detail-btn:hover {
    background: rgba(178, 104, 255, 0.16);
    border-color: var(--purple);
}

/* 权益详情弹窗 */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(3, 3, 18, 0.72);
    backdrop-filter: blur(6px);
}

.modal-overlay.open {
    display: flex;
}

.modal {
    position: relative;
    width: 100%;
    max-width: 680px;
    max-height: 86vh;
    overflow-y: auto;
    padding: 2.2rem 2.2rem 2rem;
    border: 1px solid var(--card-border);
    border-radius: 1.1rem;
    background: linear-gradient(180deg, #0b1030, #070b22);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: modal-in 0.22s ease;
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--grad);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.modal-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.4rem;
    padding-right: 2.4rem;
}

.modal-head h3 {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 1.35rem;
    color: #fff;
}

.modal-body h4 {
    margin: 1.2rem 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
}

.modal-body p {
    margin: 0.4rem 0;
    color: var(--muted);
}

.modal-body .emph {
    color: #fff;
    font-weight: 600;
}


/* ===== 结语 / 诚邀同行 ===== */
.closing {
    position: relative;
    margin-top: 4rem;
    padding: 3.4rem 2.8rem;
    text-align: center;
    border-radius: 1.4rem;
    border: 1.5px solid transparent;
    background:
        linear-gradient(180deg, #0b1130, #080b22) padding-box,
        linear-gradient(120deg, #3EB9FB 0%, #B268FF 55%, #FF3CC5 100%) border-box;
    overflow: hidden;
}

.closing::before {
    content: "";
    position: absolute;
    top: -50%;
    left: 50%;
    width: 65%;
    height: 130%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(178, 104, 255, 0.22) 0, transparent 62%);
    pointer-events: none;
}

.closing > * {
    position: relative;
    z-index: 1;
}

.closing-eyebrow {
    display: inline-block;
    margin-bottom: 0.9rem;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    padding-left: 0.4em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.closing h3 {
    margin: 0 0 1.1rem;
    padding: 0;
    border: none;
    font-size: 2.1rem;
    font-weight: 800;
    color: #fff;
}

.closing p {
    max-width: 80ch;
    margin: 0 auto;
    color: var(--text);
    font-size: 1.06rem;
    line-height: 1.95;
}

.closing p strong {
    color: #fff;
}

.closing-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.9rem;
    padding: 0.85rem 2.1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    border-radius: 2.5rem;
    background: var(--grad);
    box-shadow: 0 10px 30px rgba(104, 89, 226, 0.35);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.closing-cta span {
    transition: transform 0.2s;
}

.closing-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 14px 38px rgba(104, 89, 226, 0.5);
}

.closing-cta:hover span {
    transform: translateX(4px);
}
