/* 科创成果页：仅使用 innovation_home.css 的深色 token */
.tech-page {
    padding-top: 36px;
}

.tech-section {
    padding-top: 48px;
}

.direction-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.direction-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: linear-gradient(150deg, rgba(15, 42, 39, .9), rgba(9, 27, 28, .92));
    transition: transform .2s, border-color .2s;
}

.direction-card:hover {
    transform: translateY(-3px);
    border-color: rgba(114, 224, 188, .42);
}

.direction-card__num {
    color: rgba(114, 224, 188, .7);
    font-family: monospace;
    font-size: 12px;
}

.direction-card h3 {
    margin: 12px 0 7px;
    font-size: 18px;
}

.direction-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 13px;
}

.tag-row span {
    padding: 3px 9px;
    color: var(--muted);
    font-size: 11px;
    border: 1px solid rgba(156, 226, 207, .2);
    border-radius: 999px;
}

.tech-work {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.tech-shot {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    border-bottom: 1px dashed rgba(156, 226, 207, .25);
    background:
        linear-gradient(135deg, rgba(114, 224, 188, .09), rgba(131, 211, 226, .05)),
        repeating-linear-gradient(45deg, transparent 0 10px, rgba(255, 255, 255, .025) 10px 11px);
}

.tech-shot span {
    padding: 9px 14px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .08em;
    border: 1px dashed rgba(156, 226, 207, .32);
    border-radius: 10px;
}

.tech-work__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 17px 18px 18px;
}

.tech-work__body h3 {
    margin: 13px 0 7px;
    font-size: 19px;
}

.tech-work__body > p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.tech-work__body .project-card__foot {
    margin-top: auto;
    padding-top: 12px;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.data-card {
    padding: 19px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(11, 32, 32, .76);
}

.data-card strong {
    display: block;
    color: var(--mint);
    font-size: 26px;
    line-height: 1.2;
}

.data-card span {
    display: block;
    margin-top: 7px;
    font-size: 13px;
}

.data-card em {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
}

.tech-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tech-timeline:before {
    position: absolute;
    top: 16px;
    left: 3%;
    right: 3%;
    height: 1px;
    background: linear-gradient(90deg, var(--mint), rgba(156, 226, 207, .12));
    content: "";
}

.tech-timeline li {
    position: relative;
    padding: 0 6px 6px 0;
}

.tech-node {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    color: #08231b;
    font-size: 13px;
    font-weight: 800;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mint), var(--cyan));
}

.tech-timeline time {
    display: block;
    margin-top: 12px;
    color: var(--mint);
    font-family: monospace;
    font-size: 12px;
}

.tech-timeline h3 {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.45;
}

.tech-timeline p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.tech-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.tech-note {
    margin: 42px 0 0;
    padding-top: 16px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
    border-top: 1px dashed rgba(156, 226, 207, .2);
}

@media (max-width: 1100px) {
    .direction-grid,
    .data-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tech-timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 22px;
    }

    .tech-timeline:before {
        display: none;
    }
}

@media (max-width: 700px) {
    .direction-grid,
    .tech-links {
        grid-template-columns: 1fr;
    }

    .tech-timeline {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tech-timeline:before {
        display: block;
        top: 6px;
        bottom: 6px;
        left: 16px;
        right: auto;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, var(--mint), rgba(156, 226, 207, .12));
    }

    .tech-timeline li {
        padding: 0 0 0 46px;
    }

    .tech-node {
        position: absolute;
        top: 0;
        left: 0;
    }
}

@media (max-width: 430px) {
    .data-grid {
        grid-template-columns: 1fr;
    }
}
