/* ============================================================
   ZY 2026 · AI学习 · NEURAL CORE HERO / 2026-11-18
   仅本页：AI 神经核视觉 + 青/紫点色 + 状态轨
   与列表频道四套皮肤完全独立。
   ============================================================ */

html.zy-site .aihero {
    --ai-cyan: #5FF3E4;
    --ai-blue: #00E5FF;
    --ai-violet: #7C5CFF;

    position: relative;
    overflow: hidden;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px),
        radial-gradient(700px 420px at 14% 0%, rgba(0, 229, 255, .15), transparent 66%),
        radial-gradient(620px 380px at 88% 10%, rgba(124, 92, 255, .16), transparent 68%),
        linear-gradient(180deg, #050B14 0%, #07101C 62%, #040A12 100%);
    border-top: 1px solid rgba(0, 229, 255, .28);
    border-bottom: 1px solid rgba(0, 229, 255, .18);
}

/* 工程网格 */
html.zy-site .aihero::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: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at 68% 42%, #000 10%, rgba(0, 0, 0, .45) 52%, transparent 82%);
    mask-image: radial-gradient(ellipse at 68% 42%, #000 10%, rgba(0, 0, 0, .45) 52%, transparent 82%);
    opacity: .8;
}

/* 顶部霓虹线 */
html.zy-site .aihero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #00E5FF 16%, #5FF3E4 42%, #7C5CFF 72%, transparent);
    filter: drop-shadow(0 0 6px rgba(0, 229, 255, .5));
}

html.zy-site .aihero-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 58px;
    box-sizing: border-box;
}

/* ---------- 左侧文案 ---------- */
html.zy-site .aihero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    font-family: var(--zy-mono);
    font-size: 9.5px;
    letter-spacing: .18em;
    color: var(--ai-cyan);
}
html.zy-site .aihero-kicker i {
    width: 5px;
    height: 5px;
    flex: none;
    border-radius: 50%;
    background: var(--ai-cyan);
    box-shadow: 0 0 10px rgba(95, 243, 228, .9);
    animation: zy-aihero-pulse 2.2s ease-in-out infinite;
}
html.zy-site .aihero-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, var(--ai-cyan), transparent);
}

html.zy-site .aihero-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 .aihero-accent {
    background: linear-gradient(100deg, #5FF3E4 0%, #00E5FF 45%, #7C5CFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 22px rgba(0, 229, 255, .28));
}

html.zy-site .aihero-sub {
    margin: 0 0 26px;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.9;
    color: #9FB3C8;
}

html.zy-site .aihero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 30px;
}
html.zy-site .aihero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid rgba(95, 243, 228, .20);
    background: rgba(6, 16, 28, .55);
    color: #B9D7E2;
    font-family: var(--zy-mono);
    font-size: 11px;
    letter-spacing: .04em;
    line-height: 1.4;
}
html.zy-site .aihero-tag svg {
    width: 14px;
    height: 14px;
    flex: none;
    fill: none;
    stroke: var(--ai-cyan);
}

html.zy-site .aihero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
html.zy-site .aihero-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;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
html.zy-site .aihero-btn svg { width: 16px; height: 16px; }
html.zy-site .aihero-btn--p {
    background: linear-gradient(100deg, #0E8F8F 0%, #00C2C7 52%, #2563EB 100%);
    color: #04121C;
    box-shadow: 0 0 26px rgba(0, 229, 255, .22);
}
html.zy-site .aihero-btn--p:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 38px rgba(0, 229, 255, .38);
}
html.zy-site .aihero-btn--g {
    border-color: rgba(95, 243, 228, .35);
    background: rgba(6, 16, 28, .42);
    color: #D7F4FF;
}
html.zy-site .aihero-btn--g:hover {
    border-color: rgba(95, 243, 228, .70);
    background: rgba(95, 243, 228, .06);
    transform: translateY(-2px);
}

/* ---------- 右侧神经核 ---------- */
html.zy-site .aihero-visual {
    position: relative;
    width: 420px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin-left: auto;
}
html.zy-site .aihero-net {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}
html.zy-site .aihero-net .ring {
    fill: none;
    stroke: rgba(95, 243, 228, .22);
    stroke-width: 1;
}
html.zy-site .aihero-net .ring--dash {
    stroke: rgba(95, 243, 228, .32);
    stroke-dasharray: 2 10;
}
html.zy-site .aihero-net .spoke { stroke: rgba(95, 243, 228, .16); stroke-width: 1; }
html.zy-site .aihero-net .mesh { fill: none; stroke: rgba(95, 243, 228, .10); stroke-width: 1; }
html.zy-site .aihero-net .node {
    fill: var(--ai-cyan);
    opacity: .65;
    animation: zy-aihero-node 3s ease-in-out infinite;
}
html.zy-site .aihero-net .node--inner {
    fill: #A78BFF;
    animation-delay: 1.1s;
}
html.zy-site .aihero-net .node:nth-child(3n) { animation-delay: .6s; }
html.zy-site .aihero-net .node:nth-child(3n + 1) { animation-delay: 1.4s; }
html.zy-site .aihero-ring-rot {
    transform-box: view-box;
    transform-origin: 230px 230px;
    animation: zy-aihero-rotate 42s linear infinite;
}
html.zy-site .aihero-sweep {
    transform-box: view-box;
    transform-origin: 230px 230px;
    animation: zy-aihero-rotate 9s linear infinite;
}
html.zy-site .aihero-core-fill {
    filter: drop-shadow(0 0 18px rgba(0, 229, 255, .50));
}
html.zy-site .aihero-core-text {
    fill: #04121C;
    font-family: var(--zy-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

html.zy-site .aihero-hud {
    position: absolute;
    font-family: var(--zy-mono);
    font-size: 8px;
    letter-spacing: .20em;
    color: rgba(95, 243, 228, .55);
    pointer-events: none;
    white-space: nowrap;
}
html.zy-site .aihero-hud::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 1px;
    margin-right: 7px;
    vertical-align: middle;
    background: var(--ai-cyan);
    opacity: .6;
}
html.zy-site .aihero-hud--tl { left: 0; top: 8px; }
html.zy-site .aihero-hud--tr { right: 0; top: 8px; }
html.zy-site .aihero-hud--bl { left: 0; bottom: 8px; }
html.zy-site .aihero-hud--br { right: 0; bottom: 8px; }

/* ---------- 底部状态轨 ---------- */
html.zy-site .aihero-rail {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 40px;
    overflow: hidden;
    border-top: 1px solid rgba(95, 243, 228, .16);
    background: rgba(0, 0, 0, .18);
    font-family: var(--zy-mono);
    font-size: 8px;
    letter-spacing: .16em;
    color: #6E8199;
    white-space: nowrap;
}
html.zy-site .aihero-rail-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ai-cyan);
}
html.zy-site .aihero-rail-live i {
    width: 4px;
    height: 4px;
    flex: none;
    border-radius: 50%;
    background: var(--ai-cyan);
    box-shadow: 0 0 8px rgba(95, 243, 228, .9);
    animation: zy-aihero-pulse 2.4s ease-in-out infinite;
}

@keyframes zy-aihero-pulse {
    0%, 100% { opacity: .45; }
    50% { opacity: 1; }
}
@keyframes zy-aihero-node {
    0%, 100% { opacity: .32; }
    50% { opacity: 1; }
}
@keyframes zy-aihero-rotate {
    to { transform: rotate(360deg); }
}

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

@media (max-width: 1080px) {
    html.zy-site .aihero-inner {
        grid-template-columns: 1fr;
        padding-right: 40px;
        padding-bottom: 48px;
    }
    html.zy-site .aihero-visual,
    html.zy-site .aihero-rail { display: none; }
}

@media (max-width: 900px) {
    html.zy-site .aihero-inner { padding: 30px 20px 40px; }
    html.zy-site .aihero-title { font-size: 40px; }
    html.zy-site .aihero-sub { font-size: 14px; }
    html.zy-site .aihero-tag { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    html.zy-site .aihero-kicker i,
    html.zy-site .aihero-net .node,
    html.zy-site .aihero-ring-rot,
    html.zy-site .aihero-sweep,
    html.zy-site .aihero-rail-live i { animation: none !important; }
}
