/* =====================================================
   航天页面（hangtian.html）样式
   风格参考 111.png：深海军蓝 + 荧光蓝高光 + 大标题排版
   ===================================================== */

/* ===== 全局平滑滚动（锚点跳转丝滑过渡 + 固定 header 偏移补偿） ===== */
html {
    scroll-behavior: smooth;
    /* 固定 header 总高度：topbar(50px) + 导航栏(≈70px) ≈ 120px，留 10px 呼吸边 */
    scroll-padding-top: 70px;
}
/* 老 Safari / 部分移动端不支持 html 的 scroll-padding-top，
   给所有带 id 的锚点目标本身补 scroll-margin-top，双保险 */
[id] {
    scroll-margin-top: 70px;
}

/* ===== 开屏 Hero ===== */
.ht-hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}

.ht-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url('../images/hangtian/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

/* 左侧深蓝渐变遮罩：保证文字可读，右侧保留天文台画面 */
.ht-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg,
        rgba(10, 27, 62, 0.82) 0%,
        rgba(10, 27, 62, 0.55) 45%,
        rgba(10, 27, 62, 0.08) 80%,
        rgba(10, 27, 62, 0) 100%);
}

.ht-hero-inner {
    width: 100%;
    padding-top: 90px;
}

.ht-hero-content {
    max-width: 740px;
}

.ht-hero-title {
    font-size: clamp(34px, 4.6vw, 62px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: 1px;
    margin: 0 0 24px;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.ht-hero-title .accent {
    display: block;
    color: #4C9AFF;
}

.ht-hero-desc {
    font-size: clamp(15px, 1.25vw, 19px);
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 32px;
    max-width: 540px;
}

.ht-hero-tags {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.ht-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.92);
}

.ht-hero-tag svg {
    width: 18px;
    height: 18px;
    color: #4C9AFF;
}

.ht-hero-btns {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.ht-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.35s ease;
}

.ht-btn-primary {
    background: linear-gradient(135deg, #0052CC 0%, #2E7CF6 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 82, 204, 0.35);
}

.ht-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 82, 204, 0.5);
}

.ht-btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.ht-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

/* ===== 区块通用标题 ===== */
.ht-section {
    position: relative;
    padding: clamp(80px, 12vh, 140px) 0;
    color: #fff;
    isolation: isolate;
    overflow: hidden;
}

.ht-section-head {
    margin-bottom: clamp(48px, 7vh, 80px);
}

.ht-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #4C9AFF;
    margin-bottom: 16px;
}

.ht-section-tag::before {
    content: '';
    width: 28px;
    height: 1px;
    background: #4C9AFF;
}

.ht-section-title {
    font-size: clamp(28px, 2.5vw, 46px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1px;
    margin: 0 0 16px;
    color: #fff;
}

.ht-section-desc {
    font-size: clamp(14px, 1.1vw, 17px);
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    max-width: 680px;
}

/* ===== 全球覆盖：左文右图紧凑横幅 ===== */
.ht-coverage {
    padding: clamp(32px, 5vh, 52px) 0;
    background: #0A1B3E;
}

.ht-coverage-inner {
    display: grid;
    grid-template-columns: minmax(260px, 4fr) 7fr;
    gap: clamp(32px, 4vw, 64px);
    align-items: center;
}

.ht-coverage .ht-section-head {
    margin-bottom: 0;
    text-align: left;
    /* 光学补偿：地图陆地重心偏上（欧亚主体在上半部、南半球只是尾部），
       盒子几何居中会让文字显得偏低，故略上移与地图视觉重心齐平 */
    position: relative;
    top: clamp(-52px, -3.4vw, -28px);
}

.ht-coverage .ht-section-desc {
    margin: 0;
}

.ht-title-bar {
    display: block;
    width: 42px;
    height: 2px;
    margin: 18px 0 16px;
    background: linear-gradient(90deg, #4C9AFF, rgba(76, 154, 255, 0));
}

.ht-map-wrap {
    position: relative;
    min-width: 0;
}

.ht-map-img {
    display: block;
    width: 100%;
    height: auto;
}

.ht-map-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* 链路：沿线渐变（两端亮、中段淡）由 HTML 内联 stroke=url(#htLineGrad) 控制；
   此处只负责宽度与横向柔化（光晕层高斯模糊） */
.ht-links path,
.ht-links use {
    fill: none;
    stroke-linecap: round;
}

.ht-link-glow {
    stroke-width: 9;
    filter: blur(9px);
}

.ht-link-core {
    stroke-width: 4;
}

/* 数据光点：白色亮核 + 柔和蓝色光晕 */
.ht-pulse {
    fill: #FFFFFF;
    filter: drop-shadow(0 0 7px rgba(150, 205, 255, 0.95)) drop-shadow(0 0 2.5px rgba(230, 245, 255, 0.9));
}

/* 主节点：亮斑 / 白核 / 呼吸光环 */
.ht-node-glow {
    fill: url(#htGlow);
}

.ht-node-glow.sm {
    opacity: 1;
}

.ht-node-dot {
    fill: #FFFFFF;
    filter: drop-shadow(0 0 10px rgba(215, 240, 255, 1)) drop-shadow(0 0 4px rgba(245, 251, 255, 1));
}

.ht-node-halo {
    fill: none;
    stroke: rgba(205, 235, 255, 0.95);
    stroke-width: 2.5;
}

/* ===== 五大功能（上排：图标+标题+描述） ===== */
.ht-capabilities {
    padding: clamp(40px, 6vh, 70px) 0 clamp(20px, 3vh, 30px);
    background: #0A1B3E;
}

.ht-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ht-cap-card {
    position: relative;
    padding: 36px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.35s ease, transform 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ht-cap-card:last-child {
    border-right: none;
}

.ht-cap-card:hover {
    background: rgba(0, 82, 204, 0.08);
    transform: translateY(-2px);
}

.ht-cap-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.ht-cap-card:hover .ht-cap-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 0 10px rgba(23, 155, 146, 0.4));
}

.ht-cap-title {
    font-size: clamp(17px, 1.2vw, 20px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: 0.5px;
    text-align: center;
}

.ht-cap-desc {
    font-size: 13.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    letter-spacing: 0.3px;
    text-align: center;
    max-width: 220px;
}

/* ===== 五大系统（下排：编号+列表+图片+按钮卡片） ===== */
.ht-systems-grid-section {
    padding: clamp(20px, 3vh, 30px) 0 clamp(60px, 9vh, 100px);
    background: #0A1B3E;
}

.ht-systems-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.ht-sys-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 22px 24px;
    border-radius: 12px;
    border: 1px solid rgba(76, 154, 255, 0.12);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    min-height: 340px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    background: #0A1B3E;
}

/* ===== 底图：本地原图铺满卡片，半透明保证文字可读 ===== */

.ht-sys-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* 极淡渐变：只在最左侧给一点深色，其余让图片正常显示 */
.ht-sys-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgba(10, 27, 62, 0.55) 0%,
        rgba(10, 27, 62, 0.25) 30%,
        rgba(10, 27, 62, 0) 55%);
    border-radius: 12px;
    transition: opacity 0.4s ease;
}

.ht-sys-card:hover .ht-sys-img {
    opacity: 1;
    transform: scale(1.05);
}

.ht-sys-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: radial-gradient(circle at 100% 0%, rgba(76, 154, 255, 0.18), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    pointer-events: none;
}

.ht-sys-card:hover {
    transform: translateY(-4px);
    border-color: rgba(76, 154, 255, 0.35);
    box-shadow: 0 16px 44px rgba(0, 50, 140, 0.45);
}

.ht-sys-card:hover::before {
    opacity: 1;
}

.ht-sys-num {
    font-size: clamp(32px, 2.8vw, 42px);
    font-weight: 700;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 14px;
    transition: color 0.4s ease;
    position: relative;
    z-index: 2;
}

.ht-sys-card:hover .ht-sys-num {
    color: rgba(76, 154, 255, 0.5);
}

.ht-sys-title {
    font-size: clamp(16px, 1.3vw, 18px);
    font-weight: 600;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.ht-sys-list {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 2;
}

.ht-sys-list li {
    position: relative;
    padding-left: 14px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.68);
    letter-spacing: 0.2px;
}

.ht-sys-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(76, 154, 255, 0.7);
}

/* 联系我们卡片专用文字 */
.ht-sys-cta-text {
    position: relative;
    z-index: 2;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 auto;
    letter-spacing: 0.3px;
}

.ht-sys-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    cursor: pointer;
    width: fit-content;
}

.ht-sys-btn::after {
    content: '→';
    font-size: 14px;
    transition: transform 0.3s ease;
}

.ht-sys-card:hover .ht-sys-btn {
    background: rgba(76, 154, 255, 0.2);
    border-color: #4C9AFF;
    color: #fff;
}

.ht-sys-card:hover .ht-sys-btn::after {
    transform: translateX(4px);
}

/* “了解更多”按钮：暂时隐藏（不影响“联系我们”蓝色按钮） */
.ht-sys-btn:not(.ht-sys-btn--blue) {
    display: none;
}

/* 联系我们卡片的主按钮（蓝色实心） */
.ht-sys-btn--blue {
    border-color: transparent;
    background: linear-gradient(135deg, #0052CC 0%, #2E7CF6 100%);
    color: #fff;
    font-weight: 600;
}

.ht-sys-btn--blue::after {
    content: '';
}

.ht-sys-card:hover .ht-sys-btn--blue {
    background: linear-gradient(135deg, #1A6BFF 0%, #4C9AFF 100%);
    box-shadow: 0 6px 20px rgba(0, 82, 204, 0.5);
    transform: translateX(0);
}

/* ===== 三个特殊：宽幅图片横幅 ===== */
.ht-specials {
    background: #0A1B3E;
}

.ht-specials-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ht-special-banner {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: clamp(220px, 32vh, 320px);
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

.ht-special-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.6s ease;
}

.ht-special-banner:hover img {
    transform: scale(1.04);
}

/* 压暗遮罩：让叠加的中文说明可读 */
.ht-special-veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg,
        rgba(10, 27, 62, 0.05) 30%,
        rgba(10, 27, 62, 0.68) 78%,
        rgba(10, 27, 62, 0.88) 100%);
}

.ht-special-body {
    padding: 28px 34px;
    width: 100%;
}

.ht-special-text {
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 1px;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.ht-special-text::before {
    content: '';
    display: block;
    width: 34px;
    height: 3px;
    border-radius: 2px;
    background: #4C9AFF;
    margin-bottom: 14px;
}

/* ===== 售后与保障 ===== */
.ht-service {
    background:
        radial-gradient(circle at 10% 90%, rgba(0, 82, 204, 0.1), transparent 45%),
        #0A1B3E;
}

.ht-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ht-service-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.4s ease;
}

.ht-service-item:hover {
    border-color: rgba(76, 154, 255, 0.45);
    background: rgba(0, 82, 204, 0.1);
    transform: translateY(-3px);
}

.ht-service-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 82, 204, 0.18);
    color: #4C9AFF;
}

.ht-service-icon svg {
    width: 22px;
    height: 22px;
}

.ht-service-text {
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.5px;
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
    .ht-capabilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ht-cap-card:nth-child(3n) {
        border-right: none;
    }

    .ht-systems-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .ht-hero-inner {
        padding-top: 110px;
    }

    .ht-coverage-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ht-coverage .ht-section-head {
        text-align: center;
        top: 0;
    }

    .ht-title-bar {
        margin: 16px auto 14px;
        background: linear-gradient(90deg, rgba(76, 154, 255, 0), #4C9AFF, rgba(76, 154, 255, 0));
    }
}

@media (max-width: 768px) {
    .ht-capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .ht-cap-card {
        padding: 28px 18px;
    }

    .ht-cap-card:nth-child(2n) {
        border-right: none;
    }

    .ht-systems-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .ht-sys-card {
        min-height: 300px;
    }

    .ht-service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .ht-hero-btns .ht-btn {
        padding: 12px 26px;
        font-size: 14px;
    }

    .ht-special-body {
        padding: 20px 22px;
    }
}

@media (max-width: 480px) {
    .ht-capabilities-grid {
        grid-template-columns: 1fr;
    }

    .ht-cap-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .ht-systems-cards {
        grid-template-columns: 1fr;
    }

    .ht-sys-card {
        min-height: auto;
    }

    .ht-service-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   系统详情弹出框（“了解更多”弹窗，中英文版共用）
   ===================================================== */
.ht-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    pointer-events: none;
}

.ht-modal.is-open {
    visibility: visible;
    pointer-events: auto;
}

/* 遮罩：淡入淡出 */
.ht-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(3, 10, 26, 0.68);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.ht-modal.is-open .ht-modal-mask {
    opacity: 1;
}

/* 弹窗：上浮 + 缩放的平滑入场 */
.ht-modal-dialog {
    position: relative;
    width: min(680px, 100%);
    max-height: min(80vh, 660px);
    overflow-y: auto;
    background: linear-gradient(165deg, #0D2450 0%, #081A3C 100%);
    border: 1px solid rgba(76, 154, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    /* Firefox：细滚动条 + 主题色滑块 */
    scrollbar-width: thin;
    scrollbar-color: rgba(76, 154, 255, 0.5) transparent;
}

/* Chrome / Edge / Safari：自定义细滚动条 */
.ht-modal-dialog::-webkit-scrollbar {
    width: 6px;
}

.ht-modal-dialog::-webkit-scrollbar-track {
    background: transparent;
    margin: 12px 0;
}

.ht-modal-dialog::-webkit-scrollbar-thumb {
    background: rgba(76, 154, 255, 0.35);
    border-radius: 6px;
    transition: background 0.3s ease;
}

.ht-modal-dialog::-webkit-scrollbar-thumb:hover {
    background: rgba(76, 154, 255, 0.7);
}

.ht-modal.is-open .ht-modal-dialog {
    opacity: 1;
    transform: none;
}

/* 关闭按钮：sticky 固定在弹窗右上角，内容滚动时仍可见 */
.ht-modal-close {
    position: sticky;
    top: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 14px 14px -50px auto;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ht-modal-close:hover {
    background: rgba(76, 154, 255, 0.2);
    border-color: #4C9AFF;
    color: #fff;
}

.ht-modal-close svg {
    width: 16px;
    height: 16px;
}

.ht-modal-body {
    padding: 10px 38px 36px;
}

/* 内容面板：切换时轻微上浮入场 */
.ht-modal-panel {
    display: none;
}

.ht-modal-panel.is-active {
    display: block;
    animation: htModalPanelIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes htModalPanelIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.ht-modal-num {
    display: block;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 3px;
    color: #4C9AFF;
    margin-bottom: 10px;
}

.ht-modal-title {
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    margin: 0 0 14px;
}

.ht-modal .ht-title-bar {
    margin: 0 0 18px;
}

.ht-modal-desc {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 22px;
}

.ht-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ht-modal-list li {
    position: relative;
    padding: 13px 16px 13px 44px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(76, 154, 255, 0.14);
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.ht-modal-list li::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 21px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4C9AFF;
    box-shadow: 0 0 8px rgba(76, 154, 255, 0.8);
}

.ht-modal-list li strong {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 2px;
}

@media (max-width: 640px) {
    .ht-modal {
        padding: 14px;
    }

    .ht-modal-body {
        padding: 8px 22px 26px;
    }
}

/* =====================================================
   配色覆盖（与整站浅色风格统一，主题色 #179B92）
   Hero/CTA 保留深色，其余板块改为浅色背景
   ===================================================== */

/* ===== Hero（背景图色调改为teal系，天文台实物不变） ===== */
/* 滤镜：色相旋转把蓝色移到teal，降低饱和度，略提亮度 */
.ht-hero-bg {
    filter: hue-rotate(-15deg) saturate(0.4) brightness(1.18);
}
/* 叠一层teal半透明色，统一色调氛围，不盖实物 */
.ht-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(23, 155, 146, 0.06) 0%,
        rgba(61, 188, 176, 0.03) 50%,
        rgba(10, 42, 38, 0.01) 100%);
    mix-blend-mode: color;
    pointer-events: none;
}
.ht-hero-overlay {
    background: linear-gradient(90deg,
        rgba(10, 42, 38, 0.7) 0%,
        rgba(10, 42, 38, 0.42) 45%,
        rgba(10, 42, 38, 0.05) 80%,
        rgba(10, 42, 38, 0) 100%);
}
.ht-hero-title .accent { color: #3DBCB0; }
.ht-hero-tag svg { color: #3DBCB0; }
.ht-btn-primary {
    background: linear-gradient(135deg, #179B92 0%, #2BAEA3 100%);
    box-shadow: 0 8px 24px rgba(23, 155, 146, 0.35);
}
.ht-btn-primary:hover {
    box-shadow: 0 12px 32px rgba(23, 155, 146, 0.5);
        color:#ffffff
}

/* ===== 区块标题 ===== */
.ht-section-tag { color: #179B92; }
.ht-section-tag::before { background: #179B92; }
.ht-title-bar {
    background: linear-gradient(90deg, #179B92, rgba(23, 155, 146, 0));
}
.ht-section-title { color: #2C3E50; }
.ht-section-desc { color: #6E6E6E; }

/* ===== 全球覆盖（浅灰背景） ===== */
.ht-coverage { background: #F5F7FA; }

/* ===== 五大功能（白色背景） ===== */
.ht-capabilities { background: #FFFFFF; }
.ht-cap-card { background: #FFFFFF; }
.ht-cap-card:hover { background: rgba(23, 155, 146, 0.06); }
.ht-cap-title { color: #2C3E50; }
.ht-cap-desc { color: #6E6E6E; }

/* ===== 五大系统（灰色背景 + 黑色遮罩卡片 + 白色文字） ===== */
.ht-systems-grid-section { background: #F5F7FA; }
.ht-sys-card {
    border: 1px solid #E4E7ED;
    background: #FFFFFF;
}
.ht-sys-card::after {
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.65) 55%,
        rgba(0, 0, 0, 0.88) 100%);
}
.ht-sys-card::before {
    background: radial-gradient(circle at 100% 0%, rgba(23, 155, 146, 0.1), transparent 50%);
}
.ht-sys-card:hover {
    border-color: rgba(23, 155, 146, 0.35);
    box-shadow: 0 16px 44px rgba(23, 155, 146, 0.12);
}
.ht-sys-card:hover .ht-sys-num { color: rgba(255, 255, 255, 0.55); }
.ht-sys-num { color: rgba(255, 255, 255, 0.4); }
.ht-sys-title { color: #fff; }
.ht-sys-list li { color: rgba(255, 255, 255, 0.85); }
.ht-sys-list li::before { background: #3DBCB0; }
.ht-sys-btn {
    color: #179B92;
    background: rgba(23, 155, 146, 0.06);
    border-color: rgba(23, 155, 146, 0.2);
}
.ht-sys-card:hover .ht-sys-btn {
    background: rgba(23, 155, 146, 0.12);
    border-color: #179B92;
}
.ht-sys-btn--blue {
    background: linear-gradient(135deg, #179B92 0%, #2BAEA3 100%);
    color: #fff;
}
.ht-sys-card:hover .ht-sys-btn--blue {
    background: linear-gradient(135deg, #2BAEA3 0%, #3DBCB0 100%);
    box-shadow: 0 6px 20px rgba(23, 155, 146, 0.4);
}
.ht-sys-cta-text { color: rgba(255, 255, 255, 0.85); }

/* ===== 特殊横幅（预留） ===== */
.ht-specials { background: #F5F7FA; }
.ht-special-veil {
    background: linear-gradient(180deg,
        rgba(245, 247, 250, 0.3) 30%,
        rgba(245, 247, 250, 0.7) 78%,
        rgba(245, 247, 250, 0.9) 100%);
}
.ht-special-text::before { background: #179B92; }
.ht-special-text { color: #2C3E50; }

/* ===== SVG 世界地图光点/节点（浅灰背景上用 teal） ===== */
.ht-pulse {
    fill: #179B92;
    filter: drop-shadow(0 0 6px rgba(23, 155, 146, 0.85)) drop-shadow(0 0 2px rgba(61, 188, 176, 0.95));
}
.ht-node-dot {
    fill: #179B92;
    filter: drop-shadow(0 0 9px rgba(23, 155, 146, 0.95)) drop-shadow(0 0 3px rgba(61, 188, 176, 1));
}
.ht-node-glow { fill: rgba(23, 155, 146, 0.3); }
.ht-node-halo { stroke: rgba(23, 155, 146, 0.6); }
.ht-link-core { stroke: rgba(23, 155, 146, 0.55); }
.ht-link-glow { stroke: rgba(61, 188, 176, 0.3); }

/* ===== CTA（teal 渐变背景，文字白色） ===== */
.cta-footer-group {
    background: linear-gradient(135deg, #179B92 0%, #137e77 100%);
}
.cta {
    padding: 80px 0;
    text-align: center;
}
.cta-content h2 {
    color: #fff;
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 700;
    margin: 0 0 16px;
}
.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    margin: 0 0 32px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}
.cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s ease;
}
.cta .btn-primary {
    background: #fff;
    color: #179B92;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.cta .btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
.cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.9);
}

/* ===== Back to top ===== */
.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #179B92, #2BAEA3);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(23, 155, 146, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s ease;
    z-index: 9000;
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(23, 155, 146, 0.55);
}

/* =====================================================
   Header 悬浮定位 + 滚动变色
   - 顶部时：透明背景，白色文字/LOGO
   - 滚动后：白色背景，深色文字/LOGO
   ===================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
    box-shadow: none;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

/* 顶部透明状态：导航文字白色 */
header .nav-item .nav-z {
    color: #ffffff;
}
header .nav-item .nav-z:hover {
    color: #3DBCB0;
}
header .nav-item .nav-z::after {
    background: #3DBCB0;
}

/* 顶部透明状态：LOGO 变白 */
header .header-logo img {
    filter: brightness(0) invert(1);
    transition: filter 0.35s ease;
}

/* 顶部透明状态：topbar 透明 */
header .header-topbar {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}
header .header-container {
    background: transparent;
}

/* 滚动后：白色背景 + 深色文字 */
header.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
header.scrolled .nav-item .nav-z {
    color: #4A4A4A;
}
header.scrolled .nav-item .nav-z:hover {
    color: #179B92;
}
header.scrolled .nav-item .nav-z::after {
    background: #179B92;
}
header.scrolled .header-logo img {
    filter: none;
}
header.scrolled .header-topbar {
    background: #ffffff;
    border-bottom-color: #EEF0F0;
}
header.scrolled .header-container {
    background: #ffffff;
}
.translated-to-en .nav-item {
    position: relative;
    padding: 0 20px;
}

/* =====================================================
   LOGO 中英文切换：切换到英文时显示 logo-en.png
   - a::after 伪元素叠加英文 logo，默认 opacity:0
   - html.translated-to-en 时显示伪元素、隐藏中文 img
   - 透明 header（未滚动）时英文 logo 也需变白，与中文 logo 行为一致
   ===================================================== */
.header-logo a,
.m_logo a {
    position: relative;
    display: inline-block;
}
.header-logo a::after,
.m_logo a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url(/template/pc/skin/images/logo-en.png) no-repeat center;
    background-size: contain;
    opacity: 0;
    transition: filter 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
}
html.translated-to-en .header-logo a::after,
html.translated-to-en .m_logo a::after { opacity: 1; }
html.translated-to-en .header-logo img,
html.translated-to-en .m_logo img { opacity: 0; }

/* 透明 header 状态下，英文 logo 变白（与中文 img 的 brightness(0) invert(1) 一致） */
header:not(.scrolled) .header-logo a::after {
    filter: brightness(0) invert(1);
}

html.translated-to-en .ht-hero-content {
    max-width: 720px;
}

 html.translated-to-en .ht-hero-title {
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.3;
    letter-spacing: 0.2px;
    margin: 0 0 20px;
}

 html.translated-to-en .ht-hero-title .accent {
    letter-spacing: 0.2px;
}
  html.translated-to-en .ht-hero-desc {
    font-size: clamp(14px, 1.1vw, 17px);
    line-height: 1.75;
    letter-spacing: 0.2px;
    max-width: 580px;
    margin: 0 0 28px;
}

/* 标签与按钮：字距微调，避免英文空格显得松散 */
 html.translated-to-en .ht-hero-tag {
    font-size: 13.5px;
    letter-spacing: 0.3px;
}

 html.translated-to-en .ht-btn {
    letter-spacing: 0.4px;
}

/* ===== 区块标题 ===== */

/* 英文区块标题更长：字距收紧，保持与中文版气质一致 */
 html.translated-to-en .ht-section-title {
    letter-spacing: 0.2px;
        font-size: clamp(18px, 1.6vw, 46px);
}

 html.translated-to-en .ht-section-tag {
    letter-spacing: 2.5px;
}

 html.translated-to-en .ht-section-desc {
    letter-spacing: 0.2px;
}

/* ===== 卡片文字 ===== */

/* 五大功能 / 五大系统：英文小字收紧字距 */
 html.translated-to-en .ht-cap-desc,
 html.translated-to-en .ht-sys-list li,
 html.translated-to-en .ht-sys-cta-text {
    letter-spacing: 0.2px;
}

/* 五大系统列表：英文比中文视觉偏小，字号调大 */
 html.translated-to-en .ht-sys-list li {
    font-size: 14.5px;
    line-height: 1.65;
}
