/* ============================================================
   ZY 2026 · 智能产品 · SMART CHIP HERO / 2026-11-18
   仅本页：SOC 芯片蓝图 + 四端模块走线 + 蓝/品红点色
   ============================================================ */

html.zy-site .chip-hero {
    --ch-blue: #2563EB;
    --ch-cyan: #00E5FF;
    --ch-magenta: #FF3D9A;

    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(0, 229, 255, .12), transparent 66%),
        radial-gradient(580px 340px at 88% 14%, rgba(255, 61, 154, .12), transparent 68%),
        linear-gradient(180deg, #040A12 0%, #06101C 65%, #040A12 100%);
    border-top: 1px solid rgba(0, 229, 255, .26);
    border-bottom: 1px solid rgba(255, 61, 154, .16);
}
html.zy-site .chip-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 229, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, .06) 1px, transparent 1px);
    background-size: 36px 36px;
    -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 .chip-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #00E5FF 18%, #2563EB 48%, #FF3D9A 78%, transparent);
    filter: drop-shadow(0 0 6px rgba(0, 229, 255, .45));
}

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

html.zy-site .chip-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(--ch-cyan);
}
html.zy-site .chip-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, var(--ch-magenta), transparent);
}
html.zy-site .chip-kicker b {
    color: var(--ch-magenta);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 61, 154, .40);
}

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

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

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

html.zy-site .chip-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
html.zy-site .chip-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 .chip-btn svg { width: 16px; height: 16px; }
html.zy-site .chip-btn--p {
    background: linear-gradient(100deg, #00E5FF 0%, #2563EB 100%);
    color: #F4FBFF;
    box-shadow:
        0 0 26px rgba(0, 229, 255, .22),
        inset 0 -2px 0 rgba(255, 61, 154, .55);
}
html.zy-site .chip-btn--p:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 38px rgba(0, 229, 255, .36),
        inset 0 -2px 0 rgba(255, 61, 154, .85);
}
html.zy-site .chip-btn--g {
    border-color: rgba(0, 229, 255, .30);
    background: rgba(6, 16, 28, .42);
    color: #CFF4FF;
}
html.zy-site .chip-btn--g:hover {
    border-color: rgba(255, 61, 154, .60);
    background: rgba(255, 61, 154, .05);
    transform: translateY(-2px);
}

/* ---------- 右侧芯片蓝图 ---------- */
html.zy-site .chip-visual {
    position: relative;
    isolation: isolate;
    width: 440px;
    max-width: 100%;
    height: 380px;
    margin-left: auto;
}
html.zy-site .chip-visual::before {
    content: "SOC";
    position: absolute;
    right: -10px;
    top: -28px;
    font-family: var(--zy-mono);
    font-size: 150px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 229, 255, .06);
    pointer-events: none;
}
html.zy-site .chip-map {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}
html.zy-site .chip-map .mod {
    fill: rgba(6, 16, 28, .82);
    stroke: rgba(0, 229, 255, .30);
    stroke-width: 1;
}
html.zy-site .chip-map .mod-t {
    fill: #C4DCEA;
    font-family: var(--zy-mono);
    font-size: 9px;
    letter-spacing: .08em;
    text-anchor: middle;
}
html.zy-site .chip-map .chip-body {
    fill: rgba(6, 16, 28, .90);
    stroke: rgba(0, 229, 255, .48);
    stroke-width: 1;
}
html.zy-site .chip-map .chip-core {
    fill: rgba(37, 99, 235, .14);
    stroke: var(--ch-cyan);
    stroke-width: 1;
    filter: drop-shadow(0 0 14px rgba(0, 229, 255, .35));
}
html.zy-site .chip-map .core-t {
    fill: #EAF7FF;
    font-family: var(--zy-mono);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .12em;
    text-anchor: middle;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, .55));
}
html.zy-site .chip-map .core-ring {
    fill: none;
    stroke: rgba(0, 229, 255, .28);
    stroke-width: 1;
    stroke-dasharray: 2 7;
    transform-box: view-box;
    transform-origin: 230px 200px;
    animation: zy-chip-rotate 24s linear infinite;
}
html.zy-site .chip-map .trace {
    fill: none;
    stroke: rgba(0, 229, 255, .48);
    stroke-width: 1;
    stroke-dasharray: 3 6;
    animation: zy-chip-flow 12s linear infinite;
}
html.zy-site .chip-map .pin {
    fill: none;
    stroke: rgba(0, 229, 255, .36);
    stroke-width: 1;
}
html.zy-site .chip-map .node-dot {
    fill: var(--ch-magenta);
    filter: drop-shadow(0 0 6px rgba(255, 61, 154, .80));
}
html.zy-site .chip-map .scan {
    stroke: rgba(255, 61, 154, .75);
    stroke-width: 1;
    filter: drop-shadow(0 0 6px rgba(255, 61, 154, .55));
    animation: zy-chip-scan 4.5s linear infinite;
}
html.zy-site .chip-map .io-t {
    fill: rgba(0, 229, 255, .55);
    font-family: var(--zy-mono);
    font-size: 7px;
    letter-spacing: .16em;
}

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

@keyframes zy-chip-flow {
    to { stroke-dashoffset: -100; }
}
@keyframes zy-chip-rotate {
    to { transform: rotate(360deg); }
}
@keyframes zy-chip-scan {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(122px); opacity: 0; }
}
@keyframes zy-chip-pulse {
    0%, 100% { opacity: .45; }
    50% { opacity: 1; }
}

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

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

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

@media (prefers-reduced-motion: reduce) {
    html.zy-site .chip-map .core-ring,
    html.zy-site .chip-map .trace,
    html.zy-site .chip-map .scan,
    html.zy-site .chip-hud--tr i { animation: none !important; }
}


/* ---------- 科技增强：芯片能量光晕 ---------- */
html.zy-site .chip-visual::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    width: 280px;
    height: 280px;
    margin: -140px 0 0 -140px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(0, 229, 255, .14), transparent 62%);
    animation: zy-chip-halo 4.5s ease-in-out infinite;
}
@keyframes zy-chip-halo {
    0%, 100% { opacity: .50; transform: scale(.92); }
    50% { opacity: 1; transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
    html.zy-site .chip-visual::after { animation: none !important; }
}
