/**
 * 客户支持 / 服务保障（参考 HOME qcloud security，细节优化）
 */
.support-security-page {
    --support-primary: #0052d9;
    --support-primary-hover: #0034a5;
    --support-text: #1f2329;
    --support-text-secondary: #666;
    --support-text-muted: #86909c;
    --support-border: #e7e7e7;
    --support-bg-soft: #fafafa;
    --support-nav-h: 72px;

    background: #fff;
    color: #333;
    /* 顶栏留白放在 banner 内，避免头部与内容之间出现白条 */
    padding-top: 0;
    margin-top: 0;
}

.support-security-page section[id] {
    scroll-margin-top: calc(var(--plat-nav-h, 95px) + var(--support-nav-h, 72px) + 4px);
}

/* 支持页：头部始终不透明，去掉底边框避免与吸顶栏之间出现 1px 缝隙 */
body:has(.support-security-page) .header {
    background: rgba(27, 33, 46, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

/* Banner */
.support-security-page .security-banner {
    position: relative;
    box-sizing: border-box;
    min-height: calc(440px + var(--plat-nav-h, 95px));
    padding-top: var(--plat-nav-h, 95px);
    display: flex;
    align-items: center;
    background: #0a38df url('/static/home/images/support/banner.jpg') center center no-repeat;
    background-size: cover;
    overflow: hidden;
}

.support-security-page .security-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0, 40, 140, 0.72) 0%, rgba(0, 82, 217, 0.35) 55%, rgba(0, 82, 217, 0.15) 100%);
    pointer-events: none;
}

.support-security-page .security-banner .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.support-security-page .security-banner .header-info {
    max-width: 640px;
    padding: 48px 0 56px;
    color: #fff;
}

.support-security-page .security-banner .header-info h1 {
    font-size: 36px;
    font-weight: 600;
    margin: 0 0 20px;
    color: #fff;
    letter-spacing: 0.02em;
    line-height: 1.35;
}

.support-security-page .security-banner .header-info p {
    line-height: 1.8;
    margin: 0 0 36px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.support-security-page .security-banner .header-info a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 40px;
    padding: 0 28px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    color: #fff;
    font-size: 15px;
    border-radius: 3px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-security-page .security-banner .header-info a:hover {
    background: #fff;
    color: var(--support-primary);
    border-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* 吸顶导航：sticky 贴紧头部（top 由 JS 同步真实头部高度） */
.support-security-page .support-subnav-wrap {
    position: sticky;
    top: var(--plat-nav-h, 95px);
    z-index: 900;
    background: #fff;
    margin: 0;
    /* 向上叠 1px，消除 subpixel 渲染缝隙 */
    transform: translateY(-1px);
    padding-top: 1px;
}

.support-security-page .security-cloumn {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: none;
}

.support-security-page .security-cloumn .container-nav {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 16px;
}

.support-security-page .security-cloumn ul {
    display: flex;
    align-items: stretch;
    min-height: 72px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.support-security-page .security-cloumn ul::-webkit-scrollbar {
    display: none;
}

.support-security-page .security-cloumn ul li {
    flex: 1 0 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 15px;
    line-height: 1.45;
    padding: 14px 16px;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    color: var(--support-text-secondary);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    user-select: none;
}

.support-security-page .security-cloumn ul li:hover {
    color: var(--support-primary);
    background: rgba(0, 82, 217, 0.04);
}

.support-security-page .security-cloumn ul li.active {
    border-bottom-color: var(--support-primary);
    color: var(--support-primary);
    font-weight: 500;
}

/* 区块标题 */
.support-security-page .security-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 64px;
    color: var(--support-text);
    line-height: 1.3;
}

.support-security-page .security-title span {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--support-text-secondary);
    margin: 18px auto 0;
    max-width: 880px;
    line-height: 1.8;
}

.support-security-page .security-title a {
    color: var(--support-primary);
    text-decoration: none;
    margin: 0 4px;
    transition: color 0.2s ease;
}

.support-security-page .security-title a:hover {
    color: var(--support-primary-hover);
    text-decoration: underline;
}

.support-security-page .security-title em {
    color: var(--support-primary);
    font-style: normal;
    font-weight: 500;
}

/* 流程步骤 */
.support-security-page .security-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    max-width: 100%;
}

.support-security-page .security-list li {
    text-align: center;
    flex-shrink: 0;
}

.support-security-page .security-list li::before {
    content: '';
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto 14px;
    background: url('/static/home/images/support/icons.png') no-repeat;
}

.support-security-page .security-list h5 {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    color: #333;
    line-height: 1.5;
    padding: 0 8px;
}

.support-security-page .security-list p {
    margin: 14px 0 0;
    height: 16px;
    position: relative;
    background: url('/static/home/images/support/ico.png') center center no-repeat;
}

.support-security-page .security-list p::before,
.support-security-page .security-list p::after {
    content: '';
    position: absolute;
    top: 7px;
    height: 1px;
    background: url('/static/home/images/support/line.png') repeat-x left center;
}

.support-security-page .security-list p::before {
    left: 0;
}

.support-security-page .security-list p::after {
    right: 0;
}

/* 按钮 */
.support-security-page .security-btns {
    text-align: center;
    padding: 48px 0 0;
    margin: 0;
}

.support-security-page .security-btns a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    min-width: 200px;
    height: 40px;
    padding: 0 32px;
    color: #fff;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.support-security-page .security-btns .btn2 {
    background: var(--support-primary);
    box-shadow: 0 2px 6px rgba(0, 82, 217, 0.25);
}

.support-security-page .security-btns .btn2:hover {
    background: var(--support-primary-hover);
    box-shadow: 0 4px 12px rgba(0, 82, 217, 0.35);
    transform: translateY(-1px);
    color: #fff;
}

/* FAQ */
.support-security-page .security-problems {
    max-width: 960px;
    margin: 56px auto 0;
}

.support-security-page .security-problems h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px;
    color: var(--support-text);
}

.support-security-page .security-problems h3::before {
    content: '';
    width: 18px;
    height: 25px;
    display: inline-block;
    vertical-align: -4px;
    margin-right: 10px;
    background: url('/static/home/images/support/icons.png') -275px 1px no-repeat;
}

.support-security-page .security-problems dl {
    margin: 0 0 12px;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
}

.support-security-page .security-problems dt {
    display: flex;
    align-items: center;
    border: 1px solid var(--support-border);
    padding: 12px 20px;
    background: var(--support-bg-soft);
    color: var(--support-text-secondary);
    min-height: 48px;
    line-height: 1.5;
    font-size: 14px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.support-security-page .security-problems dl:hover dt {
    background: #f3f6f8;
    border-color: #dcdcdc;
    color: var(--support-text);
}

.support-security-page .security-problems dt::before {
    content: '';
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-right: 12px;
    background: url('/static/home/images/support/icons.png') -297px 15px no-repeat;
}

.support-security-page .security-problems dd {
    display: none;
    border: 1px solid var(--support-border);
    border-top: none;
    padding: 20px 20px 16px;
    background: #fff;
}

.support-security-page .security-problems dd h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 14px;
    color: var(--support-text);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.support-security-page .security-problems dd h4::before {
    content: '';
    flex-shrink: 0;
    width: 14px;
    height: 20px;
    margin-top: 1px;
    background: url('/static/home/images/support/icons.png') -337px 0 no-repeat;
}

.support-security-page .security-problems dd p {
    line-height: 1.8;
    color: var(--support-text-secondary);
    padding-left: 24px;
    margin: 0 0 10px;
    font-size: 14px;
}

.support-security-page .security-problems dd p:last-child {
    margin-bottom: 0;
}

.support-security-page .security-problems dl.active dt {
    display: none;
}

.support-security-page .security-problems dl.active dd {
    display: block;
    border-left: 3px solid var(--support-primary);
    animation: supportFaqIn 0.28s ease;
}

@keyframes supportFaqIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 赔偿类型卡片 */
.support-security-page .security-stype {
    clear: both;
    max-width: 1100px;
    margin: 0 auto;
}

.support-security-page .security-stype h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 24px;
    color: var(--support-text);
}

.support-security-page .security-stype h3::before {
    content: '';
    width: 16px;
    height: 25px;
    display: inline-block;
    vertical-align: -4px;
    margin-right: 10px;
    background: url('/static/home/images/support/icons.png') -315px 1px no-repeat;
}

.support-security-page .security-stype > ul {
    list-style: none;
    padding: 0;
    margin: 0 -12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.support-security-page .security-stype > ul > li {
    flex: 1 1 300px;
    max-width: calc(33.333% - 24px);
    margin: 0 12px 24px;
    border: 1px solid var(--support-border);
    background: #fff;
    text-align: center;
    padding: 32px 24px 28px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.support-security-page .security-stype > ul > li:hover {
    border-color: rgba(0, 82, 217, 0.35);
    box-shadow: 0 4px 16px rgba(0, 82, 217, 0.08);
    transform: translateY(-2px);
}

.support-security-page .security-stype > ul > li::before {
    content: '';
    display: block;
    width: 110px;
    height: 92px;
    margin: 0 auto 28px;
    background: url('/static/home/images/support/icons.png') no-repeat;
}

.support-security-page .security-stype > ul h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 14px;
    color: var(--support-text);
}

.support-security-page .security-stype > ul p {
    line-height: 1.75;
    color: var(--support-text-secondary);
    font-size: 14px;
    margin: 0;
    min-height: 48px;
}

/* 各区块 */
.support-security-page .security-beian {
    padding: 88px 0 72px;
}

.support-security-page .security-beian .security-list {
    max-width: 1120px;
}

.support-security-page .security-beian .security-list li {
    width: 25%;
    max-width: 280px;
}

.support-security-page .security-beian .security-list p::before {
    width: calc(50% - 36px);
}

.support-security-page .security-beian .security-list p::after {
    width: calc(50% - 36px);
}

.support-security-page .security-beian .security-list .item1::before { background-position: 0 0; }
.support-security-page .security-beian .security-list .item2::before { background-position: -65px 0; }
.support-security-page .security-beian .security-list .item3::before { background-position: -130px 0; }
.support-security-page .security-beian .security-list .item4::before { background-position: -195px 0; }
.support-security-page .security-beian .security-list .item4 p::after {
    display: none;
}

.support-security-page .security-compensation {
    padding: 88px 0 56px;
    background: var(--support-bg-soft);
}

.support-security-page .security-compensation .security-list {
    max-width: 1200px;
    margin-bottom: 48px;
}

.support-security-page .security-compensation .security-list li {
    width: 20%;
    max-width: 240px;
}

.support-security-page .security-compensation .security-list p::before,
.support-security-page .security-compensation .security-list p::after {
    width: calc(50% - 32px);
}

.support-security-page .security-compensation .security-list .item1::before { background-position: 0 -66px; }
.support-security-page .security-compensation .security-list .item2::before { background-position: -65px -66px; }
.support-security-page .security-compensation .security-list .item3::before { background-position: -130px -66px; }
.support-security-page .security-compensation .security-list .item4::before { background-position: -195px -66px; }
.support-security-page .security-compensation .security-list .item5::before { background-position: 0 -132px; }
.support-security-page .security-compensation .security-list .item5 p::after {
    display: none;
}

.support-security-page .security-compensation .security-stype .item1::before { background-position: 0 -199px; }
.support-security-page .security-compensation .security-stype .item2::before { background-position: -112px -200px; }
.support-security-page .security-compensation .security-stype .item3::before { background-position: -220px -199px; }

.support-security-page .security-refund {
    padding: 88px 0 72px;
}

.support-security-page .security-refund .security-list {
    max-width: 1120px;
}

.support-security-page .security-refund .security-list li {
    width: 25%;
    max-width: 280px;
}

.support-security-page .security-refund .security-list p::before {
    width: calc(50% - 36px);
}

.support-security-page .security-refund .security-list p::after {
    width: calc(50% - 36px);
}

.support-security-page .security-refund .security-list .item1::before { background-position: -65px -132px; }
.support-security-page .security-refund .security-list .item2::before { background-position: -195px 0; }
.support-security-page .security-refund .security-list .item3::before { background-position: -130px -132px; }
.support-security-page .security-refund .security-list .item4::before { background-position: -195px -132px; }
.support-security-page .security-refund .security-list .item4 p::after {
    display: none;
}

.support-security-page .security-support {
    padding: 88px 0 80px;
    background: var(--support-bg-soft);
}

.support-security-page .security-support .security-stype > ul > li {
    max-width: calc(33.333% - 24px);
}

.support-security-page .security-support .security-stype .item1::before { background-position: 16px -295px; }
.support-security-page .security-support .security-stype .item2::before { background-position: -92px -295px; }
.support-security-page .security-support .security-stype .item3::before { background-position: -218px -295px; }

.support-security-page .security-vip {
    padding: 88px 0 96px;
    background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.support-security-page .security-vip-body {
    max-width: 1220px;
    margin: 0 auto;
}

.support-security-page .security-vip-intro {
    border: 1px solid var(--support-border);
    padding: 36px 48px;
    display: flex;
    align-items: center;
    gap: 40px;
    border-radius: 4px;
    margin: 0;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.support-security-page .security-vip-intro dt {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: url('/static/home/images/support/icons.png') 0 -392px no-repeat;
}

.support-security-page .security-vip-intro dd {
    margin: 0;
    flex: 1;
    min-width: 0;
}

.support-security-page .security-vip-intro dd h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--support-text);
}

.support-security-page .security-vip-intro dd p {
    line-height: 1.85;
    color: var(--support-text-secondary);
    font-size: 14px;
    margin: 0;
}

.support-security-page .security-vip-actions {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.support-security-page .security-vip-actions > li {
    border: 1px solid var(--support-border);
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.support-security-page .security-vip-actions > li:hover {
    border-color: rgba(0, 82, 217, 0.4);
    box-shadow: 0 8px 24px rgba(0, 82, 217, 0.1);
    transform: translateY(-3px);
}

.support-security-page .security-vip-actions a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 188px;
    padding: 28px 20px 24px;
    font-size: 16px;
    text-align: center;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
    box-sizing: border-box;
}

.support-security-page .security-vip-actions a::before {
    content: '';
    display: block;
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    flex-shrink: 0;
    background: url('/static/home/images/support/icons.png') no-repeat;
}

.support-security-page .security-vip-actions a:hover {
    color: var(--support-primary);
}

.support-security-page .security-vip-actions .vip-action-label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: inherit;
    line-height: 1.4;
}

.support-security-page .security-vip-actions .vip-action-value {
    display: block;
    margin-top: 8px;
    color: var(--support-primary);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
    word-break: break-all;
}

.support-security-page .security-vip-actions .vip-action-desc {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--support-text-muted);
    line-height: 1.5;
}

.support-security-page .security-vip-actions a:hover .vip-action-desc {
    color: var(--support-primary);
    opacity: 0.85;
}

.support-security-page .security-vip-actions .item1 a::before { background-position: -269px -36px; }
.support-security-page .security-vip-actions .item2 a::before { background-position: -115px -399px; }
.support-security-page .security-vip-actions .item3 a::before { background-position: -232px -405px; }

/* 无 QQ 时两列居中 */
.support-security-page .security-vip-actions:has(> li:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.support-security-page .security-vip-actions:has(> li:nth-child(1):last-child) {
    grid-template-columns: 1fr;
    max-width: 388px;
    margin-left: auto;
    margin-right: auto;
}

/* 响应式 */
@media (max-width: 992px) {
    .support-security-page .security-vip-actions {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .support-security-page .security-vip-actions:has(> li:nth-child(2):last-child),
    .support-security-page .security-vip-actions:has(> li:nth-child(1):last-child) {
        max-width: 420px;
    }
}

@media (max-width: 1100px) {
    .support-security-page .security-stype > ul > li {
        max-width: calc(50% - 24px);
        flex: 1 1 260px;
    }

    .support-security-page .security-beian .security-list li,
    .support-security-page .security-refund .security-list li {
        width: 50%;
        max-width: none;
    }

    .support-security-page .security-compensation .security-list li {
        width: 33.333%;
    }
}

@media (max-width: 1024px) {
    .support-security-page .security-banner .header-info h1 {
        font-size: 30px;
    }

    .support-security-page .security-title {
        font-size: 26px;
        margin-bottom: 48px;
    }

    .support-security-page .security-cloumn ul li {
        font-size: 14px;
        padding: 12px 14px;
        min-width: 140px;
    }

    .support-security-page .security-vip-intro {
        flex-direction: column;
        padding: 28px 24px;
        gap: 20px;
        text-align: center;
    }

    .support-security-page .security-vip-intro dt {
        margin: 0 auto;
    }

    .support-security-page .security-vip-actions {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 100% !important;
    }

    .support-security-page .security-vip-actions a {
        min-height: 160px;
        padding: 24px 16px 20px;
    }
}

@media (max-width: 768px) {
    .support-security-page section[id] {
        scroll-margin-top: calc(var(--plat-nav-h, 55px) + var(--support-nav-h, 72px) + 4px);
    }

    .support-security-page .security-banner {
        min-height: 0;
        padding-top: var(--plat-nav-h, 55px);
    }

    .support-security-page .security-banner .header-info {
        padding: 24px 0 40px;
    }

    .support-security-page .security-banner .header-info h1 {
        font-size: 24px;
    }

    .support-security-page .security-banner .header-info p {
        font-size: 13px;
        margin-bottom: 28px;
    }

    .support-security-page .security-cloumn ul {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .support-security-page .security-cloumn ul li {
        flex: 0 0 auto;
        min-width: 128px;
        max-width: 72vw;
        font-size: 13px;
        white-space: normal;
    }

    .support-security-page .security-title {
        font-size: 22px;
        margin-bottom: 36px;
    }

    .support-security-page .security-title span {
        font-size: 13px;
    }

    .support-security-page .security-list {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    .support-security-page .security-list li {
        width: 100% !important;
        max-width: 280px !important;
    }

    .support-security-page .security-list p {
        display: none;
    }

    .support-security-page .security-stype > ul > li {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .support-security-page .security-btns {
        padding-top: 36px;
    }

    .support-security-page .security-btns a {
        width: 100%;
        max-width: 320px;
    }

    .support-security-page .security-problems {
        margin-top: 40px;
    }

    .support-security-page .security-beian,
    .support-security-page .security-compensation,
    .support-security-page .security-refund,
    .support-security-page .security-support,
    .support-security-page .security-vip {
        padding: 56px 0 48px;
    }

    .support-security-page .security-vip-actions > li {
        flex: 1 1 100%;
    }
}
