@charset "UTF-8";

/* 自定义文本渐变样式 */
.text-gradient {
    background: linear-gradient(180deg, #00d2ff 0%, #00508a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback */
}

/* 导航栏底部线条动效 */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #00508a;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.scrollbar-hidden {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hidden::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

:root {
    --content-max: 1224px;
    --viewport-gutter: 16px;
    --module-gutter: 0px;
    --section-py: clamp(56px, 6.5vw, 96px);
    --section-py-lg: clamp(72px, 7.5vw, 120px);
    --hero-min-h: clamp(420px, 48vw, 660px);
    --hero-pt: clamp(120px, 12vw, 190px);
    --hero-pb: clamp(110px, 10vw, 160px);
    --hero-title: clamp(38px, 5.2vw, 62px);
    --hero-lead: clamp(13px, 1.25vw, 16px);
    --hero-overlap: clamp(70px, 8vw, 110px);
    --hero-after: clamp(48px, 6vw, 96px);
    --page-hero-min-h: clamp(200px, 22vw, 340px);
    --page-hero-pt: clamp(56px, 7vw, 110px);
    --page-hero-pb: clamp(34px, 5vw, 72px);
    --page-hero-title: clamp(28px, 3.4vw, 44px);
    --page-overlap: clamp(48px, 5.5vw, 92px);
}

.company-stat-value, 
.company-stat-label {
    font-family: 'Impact', 'PingFang-SC-Medium', sans-serif !important;
}

.company-stat {
    position: relative;
}

.company-stat > * {
    position: relative;
    z-index: 1;
    transition: transform 0.35s ease;
}

.company-stat-head {
    transition: transform 0.35s ease, filter 0.35s ease;
}

.company-stat-value {
    transition: transform 0.35s ease, color 0.35s ease, filter 0.35s ease;
}

.company-stat:hover > * {
    transform: translateY(-10px);
}

.company-stat:hover .company-stat-head {
    filter: drop-shadow(0 10px 0 rgba(9, 81, 138, 0.12)) drop-shadow(0 12px 12px rgba(9, 81, 138, 0.10));
}

.company-stat:hover .company-stat-value {
    background: linear-gradient(135deg, #09518A 0%, #1FEFD9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 8px 18px rgba(9, 81, 138, 0.18));
}

/* 图片优化 */
.img-sharp {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
}

/* 头部按设计稿保留左右空位，避免菜单被两端拉散 */
.topbar-shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - (var(--viewport-gutter) * 2));
    max-width: 1224px;
    margin-left: auto;
    margin-right: auto;
}

.topbar-copy {
    min-width: 0;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-shell {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 48px;
    width: calc(100% - (var(--viewport-gutter) * 2));
    max-width: 1224px;
    margin-left: auto;
    margin-right: auto;
}

.header-brand {
    justify-self: auto;
}

.header-nav {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .header-shell {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 24px;
    }

    .header-brand {
        justify-self: start;
    }

    .header-nav {
        margin-left: 0;
        margin-right: 0;
        justify-self: center;
    }
}

.content-shell {
    width: 100%;
}

.content-main {
    min-width: 0;
    width: 100%;
    max-width: min(calc(100% - (var(--viewport-gutter) * 2)), var(--content-max));
    margin-left: auto;
    margin-right: auto;
}

.module-pad {
    padding-left: 0;
    padding-right: 0;
}

.section-pad {
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
}

.section-pad-lg {
    padding-top: var(--section-py-lg);
    padding-bottom: var(--section-py-lg);
}

.hero-section {
    min-height: var(--hero-min-h);
}

.hero-copy {
    padding-top: var(--hero-pt);
    padding-bottom: var(--hero-pb);
}

.hero-title {
    font-size: var(--hero-title);
    line-height: 1.12;
    letter-spacing: 0.08em;
    margin-bottom: clamp(18px, 2.5vw, 32px);
}

.hero-lead {
    font-size: var(--hero-lead);
    line-height: 2;
    max-width: 720px;
}

.hero-news-wrap {
    margin-top: calc(-1 * var(--hero-overlap) + 30px);
    margin-bottom: var(--hero-after);
}

.page-hero {
    min-height: var(--page-hero-min-h);
}

.page-hero-copy {
    padding-top: var(--page-hero-pt);
    padding-bottom: var(--page-hero-pb);
}

.page-hero-title {
    font-size: var(--page-hero-title);
    line-height: 1.15;
    letter-spacing: 0.06em;
}

.page-overlap {
    margin-top: calc(-1 * var(--page-overlap));
}

.news-flash-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
    min-height: clamp(120px, 12vw, 168px);
}

.news-flash-left {
    width: 100%;
    display: flex;
    align-items: center;
}

.news-flash-left-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: baseline;
    column-gap: 14px;
    row-gap: 6px;
    padding: 22px 22px;
}

.news-flash-year {
    font-size: clamp(16px, 1.7vw, 22px);
    line-height: 1;
}

.news-flash-date {
    font-size: clamp(12px, 1.2vw, 14px);
    line-height: 1;
}

.news-flash-title-cn {
    font-size: clamp(16px, 1.7vw, 22px);
    line-height: 1.1;
}

.news-flash-title-en {
    font-size: 11px;
    line-height: 1;
}

.news-flash-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 20px;
}

.news-flash-headline {
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.55;
}

.news-flash-summary {
    font-size: clamp(12px, 1.25vw, 14px);
    line-height: 1.9;
}

.news-flash-action {
    padding: 18px 20px;
}

.feature-grid-match {
    display: grid;
    grid-template-columns: 1.58fr 0.82fr 0.8fr;
}

.feature-panel-left {
    padding: 52px 0 58px 301px;
    justify-content: flex-start;
    align-items: flex-start;
}

.feature-panel-left-inner {
    width: 100%;
    max-width: 289px;
}

.feature-panel-left .product-list-wrap {
    width: 100%;
    margin-top: 0;
}

.feature-panel-center {
    padding: 44px 34px 58px 28px;
    justify-content: flex-start;
    align-items: flex-start;
}

.feature-panel-right {
    padding: 44px 28px 58px 28px;
    justify-content: flex-start;
    align-items: flex-start;
}

.feature-panel-head {
    margin-bottom: 20px;
}

.feature-panel-center .feature-copy,
.feature-panel-right .feature-copy {
    max-width: 300px;
}

.feature-panel-center .feature-copy,
.feature-panel-right .feature-copy,
.feature-panel-left .product-list-wrap {
    margin-top: 0;
}

.feature-panel-right .feature-title-xl {
    font-size: clamp(46px, 4.4vw, 72px);
    line-height: 0.98;
}

.product-item {
    height: 61px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}
.product-item:hover, .product-item.active {
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
}
.product-item:hover .arrow, .product-item.active .arrow {
    opacity: 1;
}

/* 确保行数截断生效 */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 767px) {
    :root {
        --viewport-gutter: 16px;
        --hero-pt: 92px;
        --hero-pb: 86px;
        --hero-overlap: 64px;
        --hero-after: 56px;
        --page-hero-pt: 56px;
        --page-hero-pb: 34px;
    }

    .company-stats-grid {
        gap: 28px 18px;
    }

    .company-stat-head {
        align-items: flex-end;
        gap: 8px;
        flex-wrap: wrap;
    }

    .company-stat-value {
        font-size: 44px !important;
    }

    .company-stat-label {
        font-size: 20px !important;
        line-height: 1.1 !important;
        margin-bottom: 4px !important;
        white-space: nowrap;
    }

    .company-stat-desc {
        margin-top: 10px !important;
        font-size: 12px !important;
        line-height: 1.8 !important;
    }
}

@media (max-width: 1023px) {
    .feature-grid-match {
        grid-template-columns: 1fr;
    }

    .feature-panel-left,
    .feature-panel-center,
    .feature-panel-right {
        padding: 40px 24px;
    }

    .feature-panel-left .product-list-wrap,
    .feature-panel-center .feature-copy,
    .feature-panel-right .feature-copy {
        max-width: none;
        width: 100%;
    }

    .feature-panel-left-inner {
        max-width: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    :root {
        --viewport-gutter: 24px;
    }
}

@media (min-width: 1024px) {
    :root {
        --viewport-gutter: 24px;
    }
}

.bg-series {
    /* 背景图改为在 PHP 中通过 img 标签实现以获得更好的清晰度和适配性 */
}

@media (min-width: 768px) {
    .news-flash-card {
        flex-direction: row;
        align-items: stretch;
        min-height: 110px;
    }

    .news-flash-left {
        width: clamp(200px, 18vw, 240px);
    }

    .news-flash-left-grid {
        padding: 15px 20px;
        row-gap: 2px;
    }

    .news-flash-body {
        grid-template-columns: minmax(200px, 300px) 1fr;
        align-items: center;
        gap: clamp(15px, 2vw, 30px);
        padding: 10px clamp(20px, 2.5vw, 40px);
    }

    .news-flash-action {
        width: clamp(80px, 8vw, 110px);
        padding: 10px;
    }
}

@media (min-width: 1024px) {
    .feature-panel-left {
        justify-content: flex-start;
        align-items: flex-start;
    }

    .feature-panel-center,
    .feature-panel-right {
        justify-content: flex-start;
        align-items: flex-start;
    }
}
