/* ============================================================
   ZY 2026 · 考证辅导 · DIGITAL CREDENTIAL HERO / 2026-11-18
   仅本页：全息认证卡 + 认证钢印 + 青/金点色
   ============================================================ */

html.zy-site .certx-hero {
    --cx-teal: #5FF3E4;
    --cx-cyan: #00E5FF;
    --cx-gold: #FFD166;

    position: relative;
    overflow: hidden;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px),
        radial-gradient(620px 360px at 14% 0%, rgba(95, 243, 228, .12), transparent 66%),
        radial-gradient(560px 340px at 88% 12%, rgba(255, 209, 102, .14), transparent 68%),
        linear-gradient(180deg, #050B14 0%, #07101A 65%, #040A12 100%);
    border-top: 1px solid rgba(255, 209, 102, .30);
    border-bottom: 1px solid rgba(255, 209, 102, .18);
}

html.zy-site .certx-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(95, 243, 228, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95, 243, 228, .06) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse at 72% 42%, #000 8%, rgba(0, 0, 0, .42) 52%, transparent 82%);
    mask-image: radial-gradient(ellipse at 72% 42%, #000 8%, rgba(0, 0, 0, .42) 52%, transparent 82%);
    opacity: .8;
}

html.zy-site .certx-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #00E5FF 16%, #5FF3E4 42%, #FFD166 76%, transparent);
    filter: drop-shadow(0 0 6px rgba(255, 209, 102, .40));
}

html.zy-site .certx-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 54px 40px 56px;
    box-sizing: border-box;
}

/* ---------- 左侧文案 ---------- */
html.zy-site .certx-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    font-family: var(--zy-mono);
    font-size: 9.5px;
    letter-spacing: .16em;
    color: var(--cx-teal);
}
html.zy-site .certx-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, var(--cx-gold), transparent);
}
html.zy-site .certx-kicker b {
    color: var(--cx-gold);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 209, 102, .40);
}

html.zy-site .certx-title {
    margin: 0 0 14px;
    font-size: clamp(48px, 5vw, 68px);
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1.02;
    color: #F4FBFF;
}
html.zy-site .certx-accent {
    background: linear-gradient(100deg, #5FF3E4 0%, #00E5FF 42%, #FFD166 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 209, 102, .20));
}

html.zy-site .certx-sub {
    margin: 0 0 24px;
    max-width: 580px;
    font-size: 15px;
    line-height: 1.85;
    color: #9FB3C8;
}

html.zy-site .certx-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 30px;
}
html.zy-site .certx-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 209, 102, .20);
    background: rgba(6, 16, 28, .55);
    color: #D8E6EF;
    font-family: var(--zy-mono);
    font-size: 11px;
    letter-spacing: .04em;
    line-height: 1.4;
}
html.zy-site .certx-tag .tagi {
    display: inline-flex;
    align-items: center;
    font-style: normal;
}
html.zy-site .certx-tag .tagi svg {
    width: 14px;
    height: 14px;
    flex: none;
    stroke: var(--cx-gold);
}
html.zy-site .certx-tag::before {
    content: "";
    width: 4px;
    height: 4px;
    flex: none;
    background: var(--cx-gold);
    box-shadow: 0 0 7px rgba(255, 209, 102, .7);
}

html.zy-site .certx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
html.zy-site .certx-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 46px;
    padding: 0 24px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
html.zy-site .certx-btn svg { width: 16px; height: 16px; }
html.zy-site .certx-btn--p {
    background: linear-gradient(100deg, #0E8F8F 0%, #00C2C7 58%, #1FB6A8 100%);
    color: #04121C;
    box-shadow:
        0 0 24px rgba(0, 229, 255, .20),
        inset 0 -2px 0 rgba(255, 209, 102, .60);
}
html.zy-site .certx-btn--p:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 36px rgba(0, 229, 255, .34),
        inset 0 -2px 0 rgba(255, 209, 102, .90);
}
html.zy-site .certx-btn--g {
    border-color: rgba(255, 209, 102, .30);
    background: rgba(6, 16, 28, .42);
    color: #F4E6C4;
}
html.zy-site .certx-btn--g:hover {
    border-color: rgba(255, 209, 102, .65);
    background: rgba(255, 209, 102, .05);
    transform: translateY(-2px);
}

/* ---------- 右侧认证卡 ---------- */
html.zy-site .certx-visual {
    position: relative;
    width: 420px;
    max-width: 100%;
    height: 340px;
    margin-left: auto;
}
html.zy-site .certx-stack {
    position: absolute;
    inset: 0;
    transform: rotate(-4deg);
}
html.zy-site .certx-stack::before,
html.zy-site .certx-stack::after {
    content: "";
    position: absolute;
    left: 34px;
    top: 42px;
    width: 320px;
    height: 210px;
    border: 1px solid rgba(255, 209, 102, .16);
    background: rgba(8, 20, 34, .35);
}
html.zy-site .certx-stack::before { transform: translate(18px, 18px) rotate(4deg); }
html.zy-site .certx-stack::after { transform: translate(9px, 9px) rotate(2deg); border-color: rgba(95, 243, 228, .14); }

html.zy-site .certx-card {
    position: absolute;
    left: 34px;
    top: 42px;
    width: 320px;
    height: 210px;
    padding: 16px 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 209, 102, .45);
    background:
        linear-gradient(145deg, rgba(12, 32, 52, .96) 0%, rgba(5, 12, 22, .98) 100%);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, .50),
        0 0 40px rgba(255, 209, 102, .10),
        inset 0 1px 0 rgba(255, 255, 255, .06);
    font-family: var(--zy-mono);
}
html.zy-site .certx-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .50;
    background-image:
        linear-gradient(rgba(95, 243, 228, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95, 243, 228, .05) 1px, transparent 1px);
    background-size: 20px 20px;
}
html.zy-site .certx-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 8px;
    letter-spacing: .16em;
    color: #7E93AD;
}
html.zy-site .certx-card-top b {
    color: var(--cx-gold);
    font-weight: 500;
    text-shadow: 0 0 8px rgba(255, 209, 102, .55);
}
html.zy-site .certx-card-mid {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}
html.zy-site .certx-chip {
    width: 42px;
    height: 30px;
    flex: none;
    border: 1px solid rgba(255, 209, 102, .55);
    background-image:
        linear-gradient(rgba(255, 209, 102, .35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 209, 102, .35) 1px, transparent 1px);
    background-size: 7px 7px;
    box-shadow: 0 0 12px rgba(255, 209, 102, .12);
}
html.zy-site .certx-card-title {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .02em;
    color: #F4FBFF;
}
html.zy-site .certx-card-meta {
    margin-top: 4px;
    font-size: 8px;
    letter-spacing: .18em;
    color: var(--cx-gold);
}
html.zy-site .certx-qr {
    position: absolute;
    right: 18px;
    bottom: 40px;
    width: 52px;
    height: 52px;
    opacity: .85;
    background-image:
        linear-gradient(90deg, rgba(95, 243, 228, .70) 2px, transparent 2px 6px),
        linear-gradient(rgba(95, 243, 228, .70) 2px, transparent 2px 6px);
    background-size: 6px 6px;
    -webkit-mask-image: linear-gradient(135deg, #000 55%, rgba(0, 0, 0, .25));
    mask-image: linear-gradient(135deg, #000 55%, rgba(0, 0, 0, .25));
}
html.zy-site .certx-card-foot {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 7.5px;
    letter-spacing: .14em;
    color: #6E8199;
}
html.zy-site .certx-card-foot span:last-child { color: rgba(255, 209, 102, .65); }
html.zy-site .certx-scan {
    position: absolute;
    left: 0;
    right: 0;
    top: -20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 209, 102, .75), transparent);
    box-shadow: 0 0 8px rgba(255, 209, 102, .45);
    animation: zy-certx-scan 6s linear infinite;
}

html.zy-site .certx-seal {
    position: absolute;
    right: 18px;
    bottom: 4px;
    width: 94px;
    height: 94px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid rgba(255, 209, 102, .70);
    border-radius: 50%;
    background: rgba(10, 22, 38, .92);
    box-shadow:
        0 0 0 5px rgba(255, 209, 102, .06),
        0 0 28px rgba(255, 209, 102, .20);
    color: var(--cx-gold);
    font-family: var(--zy-mono);
    font-size: 7px;
    letter-spacing: .14em;
}
html.zy-site .certx-seal svg {
    width: 26px;
    height: 26px;
    stroke: var(--cx-gold);
}
html.zy-site .certx-seal::before {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px dashed rgba(255, 209, 102, .30);
    border-radius: 50%;
    animation: zy-certx-rotate 24s linear infinite;
}

html.zy-site .certx-hud {
    position: absolute;
    font-family: var(--zy-mono);
    font-size: 8px;
    letter-spacing: .18em;
    color: rgba(95, 243, 228, .55);
    pointer-events: none;
    white-space: nowrap;
}
html.zy-site .certx-hud::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 1px;
    margin-right: 7px;
    vertical-align: middle;
    background: var(--cx-teal);
    opacity: .6;
}
html.zy-site .certx-hud--tl { left: 0; top: 0; }
html.zy-site .certx-hud--tr {
    right: 0;
    top: 0;
    color: rgba(255, 225, 160, .80);
}
html.zy-site .certx-hud--tr::before { display: none; }
html.zy-site .certx-hud--tr i {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--cx-gold);
    box-shadow: 0 0 8px rgba(255, 209, 102, .85);
    animation: zy-certx-pulse 2.2s ease-in-out infinite;
}
html.zy-site .certx-hud--bl { left: 0; bottom: 0; }
html.zy-site .certx-hud--br { right: 0; bottom: 0; }

@keyframes zy-certx-scan {
    0% { transform: translateY(0); opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { transform: translateY(240px); opacity: 0; }
}
@keyframes zy-certx-rotate {
    to { transform: rotate(360deg); }
}
@keyframes zy-certx-pulse {
    0%, 100% { opacity: .45; }
    50% { opacity: 1; }
}

@media (max-width: 1400px) {
    html.zy-site .certx-inner {
        grid-template-columns: minmax(0, 1fr) 400px;
        padding-right: 80px;
    }
    html.zy-site .certx-visual { width: 400px; }
}

@media (max-width: 1080px) {
    html.zy-site .certx-inner {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-right: 40px;
    }
    html.zy-site .certx-visual {
        width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    html.zy-site .certx-inner { padding: 30px 20px 38px; }
    html.zy-site .certx-title { font-size: 40px; }
    html.zy-site .certx-sub { font-size: 14px; }
    html.zy-site .certx-visual { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html.zy-site .certx-scan,
    html.zy-site .certx-seal::before,
    html.zy-site .certx-hud--tr i { animation: none !important; }
}


/* ---------- 科技增强：扫光 + 呼吸辉光 ---------- */
html.zy-site .certx-card {
    animation: zy-certx-glow 4.5s ease-in-out infinite;
}
html.zy-site .certx-card::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -40%;
    width: 34%;
    height: 220%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 209, 102, .12), transparent);
    transform: rotate(16deg);
    animation: zy-certx-sheen 7s ease-in-out infinite;
}
@keyframes zy-certx-glow {
    0%, 100% { box-shadow: 0 30px 60px rgba(0, 0, 0, .50), 0 0 30px rgba(255, 209, 102, .08), inset 0 1px 0 rgba(255, 255, 255, .06); }
    50% { box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 55px rgba(255, 209, 102, .20), inset 0 1px 0 rgba(255, 255, 255, .08); }
}
@keyframes zy-certx-sheen {
    0%, 55% { transform: translateX(-60px) rotate(16deg); opacity: 0; }
    65% { opacity: 1; }
    100% { transform: translateX(380px) rotate(16deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    html.zy-site .certx-card,
    html.zy-site .certx-card::after { animation: none !important; }
}
