:root {
    --tech-brand: #7B292B;
    --tech-brand-light: #A33A3C;
    --tech-ink: #1a1e2b;
    --tech-muted: rgba(26, 30, 43, 0.62);
    --tech-border: rgba(26, 30, 43, 0.1);
    --tech-surface: #f2f4f8;
    --tech-dark: #111620;
    --tech-font: 'Alibaba PuHuiTi', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: #fff;
    color: var(--tech-ink);
    font-family: var(--tech-font);
    -webkit-font-smoothing: antialiased;
}

.technology-page img {
    max-width: 100%;
}

.technology-page__container {
    width: min(100%, 1360px);
    margin: 0 auto;
    padding: 0 48px;
}

.technology-page__hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: min(760px, 78svh);
    overflow: hidden;
    background: var(--tech-dark);
    color: #fff;
}

.technology-page__hero-media,
.technology-page__hero-media::after {
    position: absolute;
    inset: 0;
}

.technology-page__hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
}

.technology-page__hero-media::after {
    content: '';
    background: linear-gradient(90deg, rgba(8, 12, 20, 0.9) 0%, rgba(8, 12, 20, 0.64) 48%, rgba(8, 12, 20, 0.28) 100%);
}

.technology-page__hero-content {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    padding-bottom: clamp(64px, 9vh, 104px);
}

.technology-page__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    font-weight: 700;
}

.technology-page__eyebrow::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--tech-brand-light);
}

.technology-page__hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 700;
    line-height: 1.08;
}

.technology-page__hero p {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 17px;
    line-height: 1.75;
}

.technology-page__index {
    padding: 46px 0;
    border-bottom: 1px solid var(--tech-border);
    background: #fff;
}

.technology-page__index-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--tech-border);
}

.technology-page__index-link {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 88px;
    padding: 18px 22px;
    border-right: 1px solid var(--tech-border);
    border-bottom: 1px solid var(--tech-border);
    color: inherit;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.technology-page__index-link:first-child {
    border-left: 1px solid var(--tech-border);
}

.technology-page__index-link:hover {
    background: rgba(123, 41, 43, 0.045);
    color: var(--tech-brand);
}

.technology-page__index-num {
    color: var(--tech-brand);
    font-size: 12px;
    font-weight: 700;
}

.technology-page__index-title {
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}

.technology-page__intro {
    padding: 104px 0 60px;
    background: #fff;
}

.technology-page__intro-inner {
    max-width: 820px;
}

.technology-page__section-label {
    margin-bottom: 14px;
    color: var(--tech-brand);
    font-size: 12px;
    font-weight: 700;
}

.technology-page__intro h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
}

.technology-page__intro p {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--tech-muted);
    font-size: 16px;
    line-height: 1.8;
}

.technology-article {
    padding: 76px 0;
    scroll-margin-top: 96px;
}

.technology-article:nth-child(odd) {
    background: var(--tech-surface);
}

.technology-article__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 72px;
    align-items: center;
}

.technology-article:nth-child(even) .technology-article__media {
    order: 2;
}

.technology-article__media {
    overflow: hidden;
    border: 1px solid var(--tech-border);
    border-radius: 8px;
    background: #fff;
}

.technology-article__media a {
    display: block;
}

.technology-article__media img {
    display: block;
    width: 100%;
    height: auto;
}

.technology-article__content {
    min-width: 0;
}

.technology-article__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--tech-brand);
    font-size: 12px;
    font-weight: 700;
}

.technology-article__meta span + span::before {
    content: '/';
    margin-right: 12px;
    color: rgba(26, 30, 43, 0.28);
}

.technology-article h2 {
    margin: 0;
    color: var(--tech-ink);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.18;
}

.technology-article__lead {
    margin: 20px 0 0;
    color: var(--tech-muted);
    font-size: 16px;
    line-height: 1.8;
}

.technology-article__points {
    display: grid;
    gap: 0;
    margin: 30px 0 0;
    padding: 0;
    border-top: 1px solid var(--tech-border);
    list-style: none;
}

.technology-article__points li {
    position: relative;
    padding: 16px 0 16px 24px;
    border-bottom: 1px solid var(--tech-border);
    color: var(--tech-ink);
    font-size: 14px;
    line-height: 1.65;
}

.technology-article__points li::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 2px;
    width: 7px;
    height: 7px;
    background: var(--tech-brand);
}

.technology-article__metric {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 28px;
}

.technology-article__metric strong {
    color: var(--tech-brand);
    font-size: 26px;
    line-height: 1;
}

.technology-article__metric span {
    color: var(--tech-muted);
    font-size: 13px;
}

.technology-page__contact {
    padding: 92px 0;
    border-top: 1px solid var(--tech-border);
    background: #fff;
}

.technology-page__contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.technology-page__contact h2 {
    max-width: 680px;
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
}

.technology-page__contact p {
    max-width: 650px;
    margin: 16px 0 0;
    color: var(--tech-muted);
    font-size: 15px;
    line-height: 1.75;
}

.technology-page__contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 150px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 8px;
    background: var(--tech-brand);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.technology-page__contact-link:hover {
    transform: translateY(-2px);
    background: var(--tech-brand-light);
}

@media (max-width: 1024px) {
    .technology-page__container {
        padding: 0 32px;
    }

    .technology-page__index-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .technology-page__index-link:nth-child(3) {
        border-left: 1px solid var(--tech-border);
    }

    .technology-article__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .technology-article:nth-child(even) .technology-article__media {
        order: 0;
    }
}

@media (max-width: 767px) {
    .technology-page__container {
        padding: 0 20px;
    }

    .technology-page__hero {
        min-height: 72svh;
    }

    .technology-page__hero-media img {
        object-position: 43% center;
    }

    .technology-page__hero-media::after {
        background: linear-gradient(180deg, rgba(8, 12, 20, 0.4) 0%, rgba(8, 12, 20, 0.9) 100%);
    }

    .technology-page__hero-content {
        padding-bottom: 54px;
    }

    .technology-page__hero h1 {
        font-size: 38px;
    }

    .technology-page__hero p {
        font-size: 15px;
    }

    .technology-page__index {
        padding: 28px 0;
    }

    .technology-page__index-list {
        grid-template-columns: 1fr;
    }

    .technology-page__index-link,
    .technology-page__index-link:nth-child(3) {
        min-height: 70px;
        border-left: 1px solid var(--tech-border);
    }

    .technology-page__intro {
        padding: 76px 0 38px;
    }

    .technology-article {
        padding: 58px 0;
    }

    .technology-article__layout {
        gap: 30px;
    }

    .technology-article h2 {
        font-size: 30px;
    }

    .technology-article__lead {
        font-size: 15px;
    }

    .technology-page__contact {
        padding: 70px 0;
    }

    .technology-page__contact-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .technology-page__contact-link {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .technology-page__index-link,
    .technology-page__contact-link {
        transition: none;
    }
}

/* 可扩展技术资料库 */
.technology-library {
    padding: 104px 0 112px;
    scroll-margin-top: 90px;
    background: #fff;
}

.technology-library__header {
    display: grid;
    grid-template-columns: minmax(0, 760px) auto;
    justify-content: space-between;
    align-items: end;
    gap: 48px;
}

.technology-library__header h2 {
    margin: 0;
    color: var(--tech-ink);
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.14;
}

.technology-library__header p {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--tech-muted);
    font-size: 16px;
    line-height: 1.8;
}

.technology-library__header-actions {
    display: grid;
    justify-items: end;
    gap: 10px;
    padding-bottom: 8px;
}

.technology-library__count {
    color: var(--tech-brand);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.technology-library__all-link {
    display: inline-flex;
    align-items: center;
    color: var(--tech-brand);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

.technology-library__all-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.technology-library__all-link[hidden] {
    display: none;
}

.technology-library__filters {
    display: flex;
    gap: 4px;
    margin-top: 46px;
    padding-bottom: 14px;
    overflow-x: auto;
    border-bottom: 1px solid var(--tech-border);
    scrollbar-width: none;
}

.technology-library__filters::-webkit-scrollbar {
    display: none;
}

.technology-library__filter {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 15px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--tech-muted);
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.technology-library__filter:hover {
    color: var(--tech-brand);
}

.technology-library__filter.is-active {
    background: var(--tech-brand);
    color: #fff;
}

.technology-library__shell {
    display: grid;
    grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
    gap: clamp(38px, 5vw, 72px);
    align-items: start;
    margin-top: 38px;
}

.technology-library.is-detail-view .technology-library__filters,
.technology-library.is-detail-view .technology-library__browser {
    display: none;
}

.technology-library.is-detail-view .technology-library__shell {
    grid-template-columns: minmax(0, 1fr);
}

.technology-library__browser {
    position: sticky;
    top: 96px;
    overflow: hidden;
    border: 1px solid var(--tech-border);
    border-radius: 8px;
    background: var(--tech-surface);
}

.technology-library__browser-head,
.technology-library__pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.technology-library__browser-head {
    min-height: 56px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--tech-border);
}

.technology-library__browser-head strong {
    font-size: 14px;
}

.technology-library__browser-head span {
    color: var(--tech-muted);
    font-size: 11px;
}

.technology-library__list {
    display: grid;
    min-height: 470px;
    background: #fff;
}

.technology-library__item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    min-height: 94px;
    padding: 16px 16px 15px 13px;
    border: 0;
    border-left: 3px solid transparent;
    border-bottom: 1px solid var(--tech-border);
    background: #fff;
    color: var(--tech-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.technology-library__item:hover {
    background: rgba(123, 41, 43, 0.035);
}

.technology-library__item.is-active {
    border-left-color: var(--tech-brand);
    background: #f8f5f5;
}

.technology-library__item-number {
    padding-top: 1px;
    color: rgba(26, 30, 43, 0.36);
    font-size: 11px;
    font-weight: 700;
}

.technology-library__item.is-active .technology-library__item-number {
    color: var(--tech-brand);
}

.technology-library__item-body {
    display: block;
    min-width: 0;
}

.technology-library__item-meta {
    display: flex;
    gap: 10px;
    overflow: hidden;
    color: var(--tech-brand);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.technology-library__item-meta span + span::before {
    content: '/';
    margin-right: 10px;
    color: rgba(26, 30, 43, 0.24);
}

.technology-library__item-title {
    display: -webkit-box;
    margin-top: 7px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.technology-library__item-metric {
    display: block;
    margin-top: 6px;
    overflow: hidden;
    color: var(--tech-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.technology-library__item-metric b {
    color: var(--tech-brand);
    font-size: 12px;
}

.technology-library__pagination {
    min-height: 54px;
    padding: 8px;
}

.technology-library__pagination button,
.technology-library__state button {
    min-height: 36px;
    padding: 8px 10px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--tech-ink);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.technology-library__pagination button:hover:not(:disabled) {
    background: #fff;
    color: var(--tech-brand);
}

.technology-library__pagination button:disabled {
    opacity: 0.32;
    cursor: default;
}

.technology-library__skeleton {
    display: grid;
    align-content: center;
    gap: 9px;
    min-height: 94px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--tech-border);
}

.technology-library__skeleton span {
    display: block;
    width: 32%;
    height: 7px;
    border-radius: 2px;
    background: linear-gradient(90deg, #eceef2 25%, #f7f8fa 50%, #eceef2 75%);
    background-size: 220% 100%;
    animation: technology-skeleton 1.4s ease-in-out infinite;
}

.technology-library__skeleton span:nth-child(2) {
    width: 88%;
    height: 11px;
}

.technology-library__skeleton span:nth-child(3) {
    width: 54%;
}

@keyframes technology-skeleton {
    from {
        background-position: 100% 0;
    }

    to {
        background-position: -120% 0;
    }
}

.technology-library .technology-reader {
    min-width: 0;
    min-height: 650px;
    padding: 0;
    scroll-margin-top: 96px;
    background: #fff;
}

.technology-library .technology-article__layout {
    grid-template-columns: minmax(0, 1.16fr) minmax(310px, 0.84fr);
    gap: clamp(32px, 3.5vw, 50px);
    align-items: start;
}

.technology-library .technology-article__media {
    order: 0;
    margin: 0;
    background: var(--tech-surface);
}

.technology-library__shell > .technology-reader .technology-article__media {
    order: 0;
}

.technology-article__image-link {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: zoom-in;
}

.technology-article__image-link.is-empty {
    cursor: default;
}

.technology-article__image-link:focus-visible {
    outline: 3px solid rgba(123, 41, 43, 0.42);
    outline-offset: 3px;
}

.technology-library .technology-article__media img {
    width: 100%;
    height: clamp(380px, 30vw, 460px);
    object-fit: contain;
    background: #f8f9fb;
}

.technology-article__image-action {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 10px;
    border-radius: 4px;
    background: rgba(17, 22, 32, 0.78);
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.technology-library .technology-article__content {
    padding-top: 6px;
}

.technology-library .technology-article__meta {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 11px;
}

.technology-article__meta .technology-article__source {
    margin-left: auto;
    color: var(--tech-muted);
    font-weight: 500;
}

.technology-library .technology-article h2 {
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.2;
}

.technology-library .technology-article__lead {
    margin-top: 18px;
    font-size: 15px;
}

.technology-article__points-group {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--tech-border);
}

.technology-article__points-group h3 {
    margin: 0;
    color: var(--tech-muted);
    font-size: 11px;
    font-weight: 700;
}

.technology-library .technology-article__points {
    gap: 12px;
    margin-top: 14px;
    border-top: 0;
}

.technology-library .technology-article__points li {
    padding: 0 0 0 20px;
    border-bottom: 0;
    font-size: 13px;
}

.technology-library .technology-article__points li::before {
    top: 8px;
    left: 1px;
    width: 6px;
    height: 6px;
}

.technology-library .technology-article__metric {
    gap: 11px;
    margin-top: 28px;
}

.technology-library .technology-article__metric span {
    font-size: 12px;
}

.technology-library__state {
    min-height: 360px;
    padding: 90px 24px;
    border-top: 1px solid var(--tech-border);
    text-align: center;
}

.technology-library__state strong {
    display: block;
    font-size: 24px;
}

.technology-library__state p {
    max-width: 520px;
    margin: 14px auto 22px;
    color: var(--tech-muted);
    line-height: 1.7;
}

.technology-library__state button {
    padding: 10px 18px;
    background: var(--tech-brand);
    color: #fff;
}

.technology-library__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.technology-library [hidden] {
    display: none !important;
}

.technology-library button:focus-visible,
.technology-article__image-link:focus-visible,
.technology-page__contact-link:focus-visible {
    outline: 3px solid rgba(123, 41, 43, 0.28);
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .technology-library__shell {
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 34px;
    }

    .technology-library .technology-article__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 767px) {
    .technology-library {
        padding: 74px 0 80px;
    }

    .technology-library__header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .technology-library__header p {
        font-size: 15px;
    }

    .technology-library__count {
        padding: 0;
    }

    .technology-library__header-actions {
        justify-items: start;
        padding-bottom: 0;
    }

    .technology-library__filters {
        margin-top: 30px;
    }

    .technology-library__shell {
        grid-template-columns: 1fr;
        gap: 48px;
        margin-top: 28px;
    }

    .technology-library .technology-reader {
        min-height: 0;
        order: 1;
    }

    .technology-library__browser {
        position: static;
        order: 2;
    }

    .technology-library .technology-article h2 {
        font-size: 29px;
    }

    .technology-library .technology-article__media img {
        height: auto;
        aspect-ratio: 16 / 11;
    }
}

@media (prefers-reduced-motion: reduce) {
    .technology-library__filter,
    .technology-library__item {
        transition: none;
    }

    .technology-library__skeleton span {
        animation: none;
    }
}
