/* ============================================================
   宇图瑞视 官网首页 —— 页面级样式（100% 自包含）
   只使用 .zth- 前缀选择器与 --zth-* 设计令牌，不污染全局元素
   设计令牌：主色 #2F7FE0 / #1F63BC · Hero 浅蓝渐变 · 白卡 14px 圆角
   阴影 0 2px 14px rgba(31,63,120,.06) · 文字 #1B2330/#4A5568/#86909C
   ============================================================ */

:root {
    --zth-primary: #2F7FE0;
    --zth-primary-dark: #1F63BC;
    --zth-primary-soft: #EAF3FE;
    --zth-primary-tint: #F4F9FF;
    --zth-text: #1B2330;
    --zth-sub: #4A5568;
    --zth-muted: #86909C;
    --zth-line: #E7EBF0;
    --zth-green-text: #2E9E5B;
    --zth-radius: 14px;
    --zth-shadow: 0 2px 14px rgba(31, 63, 120, .06);
}

/* 顶栏为 fixed 62px（body 已由 inc_header 全局让位），hero 渐变直接从导航栏下开始 */
.zth-main { padding-top: 0; }

/* ---------------- 按钮（自包含，不依赖 st-btn） ---------------- */
.zth-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 38px; padding: 0 18px; border: 1px solid var(--zth-primary); border-radius: 8px;
    background: var(--zth-primary); color: #fff; font-size: 14px; cursor: pointer;
    transition: .15s; white-space: nowrap; text-decoration: none; font-family: inherit;
}
.zth-btn--primary { background: var(--zth-primary); color: #fff; border-color: var(--zth-primary); }
.zth-btn--primary:hover { background: var(--zth-primary-dark); border-color: var(--zth-primary-dark); color: #fff; }
.zth-btn:hover { background: var(--zth-primary-dark); border-color: var(--zth-primary-dark); color: #fff; }
.zth-btn--plain { background: #fff; color: var(--zth-primary); border-color: var(--zth-primary); }
.zth-btn--plain:hover { background: var(--zth-primary-soft); color: var(--zth-primary); }
.zth-btn--ghost { background: #fff; color: var(--zth-sub); border-color: var(--zth-line); }
.zth-btn--ghost:hover { background: #F5F7FA; color: var(--zth-sub); }
.zth-btn--lg { height: 46px; padding: 0 28px; font-size: 15px; border-radius: 10px; }

/* ---------------- Hero：浅蓝渐变首屏 ---------------- */
.zth-hero { background: linear-gradient(160deg, #F4F9FF 0%, #EAF3FE 55%, #F8FBFF 100%); overflow: hidden; }
.zth-hero__in {
    max-width: 1120px; margin: 0 auto; padding: 68px 20px 76px;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center;
}
.zth-hero__badge {
    display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 20px;
    background: #fff; border: 1px solid #D9E9FC; color: var(--zth-primary); font-size: 12px; margin-bottom: 20px;
}
.zth-hero__badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--zth-primary); flex: 0 0 auto; }
.zth-hero h1 { font-size: 40px; line-height: 1.28; letter-spacing: -.5px; font-weight: 600; margin: 0; color: var(--zth-text); }
.zth-hero h1 em { font-style: normal; color: var(--zth-primary); }
.zth-hero__desc { color: var(--zth-sub); font-size: 16px; margin: 18px 0 28px; max-width: 470px; }
.zth-hero__desc .zth-nowrap { white-space: nowrap; }
.zth-hero__acts { display: flex; gap: 12px; flex-wrap: wrap; }
.zth-hero__meta { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; color: var(--zth-muted); font-size: 12px; }
.zth-hero__meta b { color: var(--zth-text); font-size: 15px; margin-right: 4px; }

/* Hero 右侧产品图卡 */
.zth-hero__visual { position: relative; max-width: 520px; margin: 0 auto; }
.zth-hero__shot {
    background: #fff; border: 1px solid var(--zth-line); border-radius: 16px;
    padding: 10px; box-shadow: 0 18px 44px rgba(31, 63, 120, .14);
    transform: rotate(1.5deg); transition: transform .25s;
}
.zth-hero__shot:hover { transform: rotate(0deg); }
.zth-hero__shot img { width: 100%; border-radius: 10px; display: block; }
.zth-hero__float {
    position: absolute; left: 18px; bottom: -16px; z-index: 2;
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--zth-line); border-radius: 999px;
    padding: 8px 16px; font-size: 12.5px; color: var(--zth-sub);
    box-shadow: var(--zth-shadow); white-space: nowrap;
}
.zth-hero__float i { width: 7px; height: 7px; border-radius: 50%; background: var(--zth-primary); flex: 0 0 auto; }

/* ---------------- 通用区块 ---------------- */
.zth-sec { max-width: 1120px; margin: 0 auto; padding: 68px 20px; }
.zth-sec__head { text-align: center; margin-bottom: 40px; }
.zth-sec__kicker { color: var(--zth-primary); font-size: 13px; font-weight: 600; letter-spacing: 1.4px; }
.zth-sec__title { font-size: 28px; font-weight: 600; margin: 8px 0 10px; color: var(--zth-text); }
.zth-sec__desc { color: var(--zth-muted); font-size: 14px; }

/* ---------------- 产品卡片区：两张卡 ---------------- */
.zth-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.zth-price-card {
    background: #fff; border: 1px solid var(--zth-line); border-radius: var(--zth-radius);
    padding: 26px 22px; position: relative; box-shadow: var(--zth-shadow);
    display: flex; flex-direction: column;
}
.zth-price-card--hot { border-color: var(--zth-primary); box-shadow: 0 8px 28px rgba(47, 127, 224, .14); }
.zth-price-card__flag {
    position: absolute; top: -11px; right: 18px; background: var(--zth-primary); color: #fff;
    font-size: 11px; padding: 3px 12px; border-radius: 12px;
}
.zth-price-card__flag--green { background: var(--zth-green-text); }
.zth-price-card h3 { font-size: 17px; font-weight: 600; margin: 0; color: var(--zth-text); }
.zth-price-card__price { font-size: 32px; font-weight: 700; color: var(--zth-primary); margin: 12px 0 2px; }
.zth-price-card__price small { font-size: 13px; color: var(--zth-muted); font-weight: 400; }
.zth-price-card__desc { color: var(--zth-muted); font-size: 12px; min-height: 34px; margin: 0; }
.zth-price-card ul { list-style: none; padding: 0; margin: 16px 0 18px; }
.zth-price-card li { padding: 5px 0; font-size: 13px; color: var(--zth-sub); }
.zth-price-card li:before { content: "✓"; color: var(--zth-primary); margin-right: 8px; font-weight: 700; }
.zth-price__acts { display: flex; gap: 10px; flex-wrap: wrap; }
/* 按钮行贴底对齐 */
.zth-price-card .zth-price__acts { margin-top: auto; }

/* ---------------- 核心能力：feat-card 网格 ---------------- */
.zth-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.zth-feat-card {
    background: #fff; border: 1px solid var(--zth-line); border-radius: var(--zth-radius);
    padding: 24px 22px; box-shadow: var(--zth-shadow); transition: .18s;
}
.zth-feat-card:hover { transform: translateY(-3px); border-color: #C9DFF9; }
.zth-feat-card__ico {
    width: 42px; height: 42px; border-radius: 11px; background: var(--zth-primary-soft);
    color: var(--zth-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.zth-feat-card__ico svg { width: 22px; height: 22px; }
.zth-feat-card h3 { font-size: 16px; font-weight: 600; margin: 0 0 8px; color: var(--zth-text); }
.zth-feat-card p { color: var(--zth-muted); font-size: 13px; margin: 0; }

/* ---------------- 图文 split：右侧配图卡 ---------------- */
.zth-split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.zth-split h2 { font-size: 26px; font-weight: 600; margin: 0 0 14px; color: var(--zth-text); }
.zth-split p { color: var(--zth-sub); margin: 0 0 12px; }
.zth-check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.zth-check-list li { display: flex; gap: 9px; align-items: flex-start; padding: 6px 0; color: var(--zth-sub); }
.zth-check-list li:before { content: "✓"; color: var(--zth-primary); font-weight: 700; }
.zth-split__media {
    background: #fff; border: 1px solid var(--zth-line); border-radius: 16px;
    padding: 12px; box-shadow: var(--zth-shadow);
}
.zth-split__media img { width: 100%; border-radius: 10px; display: block; }

/* ---------------- 数据/参数区：panel 规格表 ---------------- */
.zth-panel {
    background: #fff; border: 1px solid var(--zth-line); border-radius: var(--zth-radius);
    padding: 26px; box-shadow: var(--zth-shadow);
}
.zth-panel__row {
    display: flex; justify-content: space-between; align-items: center; padding: 12px 0;
    border-bottom: 1px dashed var(--zth-line); font-size: 13px;
}
.zth-panel__row:last-child { border-bottom: 0; }
.zth-spec { max-width: 860px; margin: 0 auto; }
.zth-spec .zth-panel__row { padding: 15px 0; gap: 18px; }
.zth-spec .zth-panel__row > span { color: var(--zth-text); flex: 0 0 232px; }
.zth-spec__plat { display: block; font-size: 14px; font-weight: 600; }
.zth-spec__chips { display: block; font-style: normal; font-size: 12px; color: var(--zth-muted); margin-top: 3px; }
.zth-spec .zth-panel__row > b { text-align: right; font-size: 13px; color: var(--zth-sub); font-weight: 500; }
.zth-spec .zth-panel__row > b em { font-style: normal; color: var(--zth-primary); font-weight: 700; }
.zth-spec__note {
    max-width: 860px; margin: 14px auto 0; text-align: center;
    font-size: 12.5px; color: var(--zth-muted);
}
.zth-spec__note a { color: var(--zth-primary); font-weight: 600; text-decoration: none; }

/* ---------------- FAQ 折叠（原生 details，无 JS） ---------------- */
.zth-faq { max-width: 760px; margin: 0 auto; }
.zth-faq details {
    background: #fff; border: 1px solid var(--zth-line); border-radius: 12px;
    box-shadow: var(--zth-shadow); padding: 0 18px; margin-bottom: 12px;
}
.zth-faq details:last-child { margin-bottom: 0; }
.zth-faq summary {
    cursor: pointer; list-style: none; padding: 15px 0;
    font-weight: 600; font-size: 14.5px; color: var(--zth-text);
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.zth-faq summary::-webkit-details-marker { display: none; }
.zth-faq summary::after { content: "+"; color: var(--zth-primary); font-size: 18px; font-weight: 600; flex: 0 0 auto; }
.zth-faq details[open] summary::after { content: "–"; }
.zth-faq details p { color: var(--zth-sub); font-size: 13.5px; line-height: 1.8; padding: 0 0 15px; margin: 0; }
.zth-faq details p a { color: var(--zth-primary); text-decoration: none; }

/* ---------------- CTA ---------------- */
.zth-cta {
    max-width: 1120px; margin: 0 auto 68px; border-radius: 18px; padding: 46px;
    background: linear-gradient(120deg, var(--zth-primary), #4E93EB); color: #fff;
    display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.zth-cta h2 { font-size: 25px; font-weight: 600; margin: 0; }
.zth-cta p { opacity: .88; margin: 8px 0 0; }
.zth-cta .zth-btn { background: #fff; color: var(--zth-primary); border-color: #fff; }
.zth-cta .zth-btn:hover { background: var(--zth-primary-tint); color: var(--zth-primary); }

/* ---------------- 响应式（仅 .zth- 选择器） ---------------- */
/* 中屏：Hero 竖排居中，产品双卡/特性网格/图文分栏改单列 */
@media (max-width: 900px) {
    .zth-hero__in { grid-template-columns: 1fr; padding: 44px 20px 54px; text-align: center; gap: 34px; }
    .zth-hero h1 { font-size: 30px; }
    .zth-hero__desc { margin-left: auto; margin-right: auto; }
    .zth-hero__acts, .zth-hero__meta { justify-content: center; }
    .zth-price-grid, .zth-feat-grid { grid-template-columns: minmax(0, 1fr); }
    .zth-split { grid-template-columns: 1fr; }
    .zth-split__media { order: 2; }
    .zth-cta { padding: 30px 22px; }
}
/* 小屏：规格表两列改竖排，浮动标签收窄，长芯片名允许换行 */
@media (max-width: 640px) {
    .zth-spec .zth-panel__row { flex-direction: column; align-items: flex-start; gap: 6px; padding: 13px 0; }
    .zth-spec .zth-panel__row > span { flex: none; }
    .zth-spec .zth-panel__row > b { text-align: left; }
    .zth-hero__float { left: 10px; padding: 6px 12px; font-size: 11.5px; }
    .zth-hero__visual { max-width: 100%; }
    .zth-hero__desc .zth-nowrap { white-space: normal; }
}
