/* ============================================================================
   w3.css —— www 门户「主站同源大气版」升级层（20261128g）
   原则：不改写 w.css/w2.css 本体，最后加载、同名类提权覆盖 + wh-* 新区块命名空间。
   尺度基准：容器 1400px / 头部 96px 玻璃拟态 + 滚动收缩 76px / hero 双栏 / 大数字信任栏。
   回滚：base.html 删除本文件引用即可，旧版式零受损。
   ============================================================================ */
:root {
    --wrap: 1400px;
    --wrap-pad: 56px;
    --header-h: 96px;
    --header-h-shrunk: 76px;
    --ink-2: #424245;
    --brand-grad: linear-gradient(135deg, #0a84ff, #5e5ce6);
    --brand-grad-soft: linear-gradient(135deg, rgba(10, 132, 255, .1), rgba(94, 92, 230, .1));
    --shadow-lg: 0 18px 50px -12px rgba(18, 32, 63, .18);
    --shadow-md: 0 8px 28px -8px rgba(18, 32, 63, .12);
    --radius-lg: 24px;
}

/* ── 全局容器抬尺度（覆盖 w.css / w2.css 各 1100/1080/960 容器）── */
.w-top-in, .w-hero-in, .w-sec-in, .w-band-in, .w-foot-in, .w-phead-in, .w-detail {
    max-width: var(--wrap);
    padding-left: var(--wrap-pad);
    padding-right: var(--wrap-pad);
}
.w-phead-in, .w-detail { max-width: calc(var(--wrap) - 160px); }
.w-sec { padding: 96px 0; }
.w-sec h2 { font-size: 34px; letter-spacing: .01em; }
.w-sec-sub { font-size: 16.5px; margin: 10px 0 46px; }

/* ── 顶栏大气化：96px + 滚动收缩 76px ── */
.w-top { transition: box-shadow .25s, background .25s; }
.w-top-in { padding: 22px var(--wrap-pad); gap: 34px; transition: padding .25s; }
.w-top.is-scrolled { box-shadow: 0 2px 24px rgba(18, 32, 63, .08); }
.w-top.is-scrolled .w-top-in { padding-top: 12px; padding-bottom: 12px; }
.w-logo-mark { width: 50px; height: 50px; border-radius: 15px; font-size: 17px; box-shadow: 0 6px 18px -6px rgba(10, 132, 255, .55); transition: all .25s; }
.w-top.is-scrolled .w-logo-mark { width: 42px; height: 42px; font-size: 14px; }
.w-logo-txt { font-size: 20px; letter-spacing: .01em; }
.w-logo-txt small { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.w-nav { gap: 6px; font-size: 15.5px; }
.w-nav a { padding: 9px 16px; border-radius: 999px; transition: all .18s; letter-spacing: .01em; }
.w-nav a:hover { color: var(--ink); background: rgba(10, 132, 255, .07); }
.w-nav a.is-active { color: var(--brand); background: rgba(10, 132, 255, .1); font-weight: 600; }
.w-acc { gap: 10px; }
.w-acc .w-btn { padding: 10px 22px; font-size: 15px; }
/* w.js 用 el.hidden 切换 登录/注册/会员中心 三态；w.css 的 .w-btn{display:inline-block}
   属作者规则，优先级高于 UA 的 [hidden]{display:none}，必须显式压回，否则未登录也会显示「会员中心」。 */
.w-acc .w-btn[hidden] { display: none !important; }
.w-acc .w-btn-primary { background: var(--brand-grad); box-shadow: 0 8px 22px -8px rgba(10, 132, 255, .65); transition: all .2s; }
.w-acc .w-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(10, 132, 255, .7); }

/* ── 内容页 Hero（phead）抬尺度 ── */
.w-phead-in { padding: 88px var(--wrap-pad) 72px; }
.w-phead h1 { font-size: clamp(30px, 4.6vw, 52px); }
.w-phead .w-plead { font-size: 18px; margin-top: 18px; max-width: 780px; }
.w-crumb { font-size: 14px; margin-bottom: 18px; }
.w-detail { padding: 56px var(--wrap-pad) 96px; gap: 44px; }
.w-detail-side { top: 96px; padding: 28px; border-radius: var(--radius-lg); }

/* ── 按钮体系加量 ── */
.w-btn-lg { padding: 15px 34px; font-size: 17px; border-radius: 999px; }
.w-btn-primary { box-shadow: 0 6px 18px -6px rgba(0, 113, 227, .5); }
.w-btn-primary:hover { box-shadow: 0 10px 22px -6px rgba(0, 113, 227, .55); }

/* ── 卡片体系抬尺度 ── */
.w-card, .w-case-card, .w-plan, .w-info-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); transition: transform .22s, box-shadow .22s; }
.w-card:hover, .w-case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.w-card { padding: 28px; }
.w-card h3 { font-size: 19px; }
.w-card p { font-size: 14.5px; line-height: 1.7; }
.w-grid { gap: 24px; }
.w-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* 内容页列表卡：悬停浮起品牌描边，与首页卡片设计语言同源（纯 CSS，不动模板）*/
.w-grid .w-card { position: relative; overflow: hidden; }
.w-grid .w-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--brand-grad); opacity: 0; transition: opacity .22s; }
.w-grid .w-card:hover::before { opacity: 1; }

/* ============================================================================
   首页区块（wh-* 命名空间）
   ============================================================================ */
/* ── 1. 双栏 Hero ── */
.wh-hero { background: radial-gradient(1200px 620px at 82% -80px, rgba(94, 92, 230, .38), transparent 62%), radial-gradient(900px 500px at 8% 112%, rgba(10, 132, 255, .22), transparent 60%), linear-gradient(165deg, #060f1d 0%, var(--hero-b) 58%, #101f38 100%); color: #fff; overflow: clip; }
.wh-hero-in { max-width: var(--wrap); margin: 0 auto; padding: 104px var(--wrap-pad) 112px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.wh-eyebrow { display: inline-flex; align-items: center; gap: 10px; letter-spacing: .22em; font-size: 13px; color: #9ecbff; border: 1px solid rgba(158, 203, 255, .28); border-radius: 999px; padding: 7px 18px; margin-bottom: 26px; background: rgba(158, 203, 255, .06); }
.wh-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #64d2ff; box-shadow: 0 0 12px #64d2ff; }
.wh-hero h1 { font-size: clamp(38px, 4.8vw, 62px); font-weight: 700; line-height: 1.18; letter-spacing: .01em; text-wrap: balance; }
.wh-hero h1 .w-grad { background: linear-gradient(92deg, #64d2ff 6%, #5e97ff 46%, #bf5af2 90%); -webkit-background-clip: text; background-clip: text; }
.wh-sub { margin: 26px 0 36px; max-width: 620px; color: #c9d6e4; font-size: 19px; line-height: 1.8; }
.wh-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.wh-hero-points { list-style: none; display: flex; gap: 14px 30px; flex-wrap: wrap; margin-top: 40px; color: #9aa7b5; font-size: 15px; }
.wh-hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.wh-hero-points b { color: #64d2ff; font-weight: 700; }
/* Hero 右侧：玻璃浮卡组（纯 CSS 视觉锚点，不依赖图片资产） */
.wh-shot { position: relative; min-height: 430px; }
.wh-shot-card { position: absolute; border-radius: 20px; padding: 20px 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .5); }
.wh-shot-card h4 { font-size: 15.5px; margin-bottom: 6px; color: #fff; }
.wh-shot-card p { font-size: 13px; color: #b7c4d4; line-height: 1.6; }
.wh-shot-kicker { font-size: 11px; letter-spacing: .16em; color: #64d2ff; margin-bottom: 8px; text-transform: uppercase; }
.wh-shot-1 { width: 78%; left: 4%; top: 0; z-index: 3; }
.wh-shot-2 { width: 62%; right: 0; top: 128px; z-index: 2; }
.wh-shot-3 { width: 70%; left: 10%; bottom: 0; z-index: 1; }
.wh-shot-bar { display: flex; gap: 6px; margin-top: 14px; }
.wh-shot-bar i { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .16); flex: 1; }
.wh-shot-bar i.on { background: linear-gradient(90deg, #0a84ff, #64d2ff); }

/* ── 2. 信任数字栏 ── */
.wh-stats { position: relative; z-index: 5; margin-top: -56px; }
.wh-stats-in { max-width: calc(var(--wrap) - 120px); margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(4, 1fr); }
.wh-stat { text-align: center; padding: 34px 18px; border-right: 1px solid var(--line); }
.wh-stat:last-child { border-right: 0; }
.wh-stat b { display: block; font-size: 38px; font-weight: 800; line-height: 1.1; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wh-stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--sub); }

/* ── 3. 区块标题系统 ── */
.wh-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.wh-head .wh-cap { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--brand); background: rgba(10, 132, 255, .08); border-radius: 999px; padding: 6px 18px; margin-bottom: 16px; text-transform: uppercase; }
.wh-head h2 { font-size: 38px; font-weight: 700; line-height: 1.25; }
.wh-head p { margin-top: 14px; font-size: 17px; color: var(--sub); line-height: 1.8; }

/* ── 4. 主营业务：首卡特写 + 大卡网格 ── */
.wh-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wh-svc-hero { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; padding: 38px; border: 0; color: #fff; background: radial-gradient(700px 340px at 88% -120px, rgba(100, 210, 255, .5), transparent 55%), var(--brand-grad); }
.wh-svc-hero h3 { font-size: 27px; margin-bottom: 12px; }
.wh-svc-hero p { color: rgba(255, 255, 255, .88); font-size: 16px; max-width: 560px; }
.wh-svc-hero .w-card-meta { color: rgba(255, 255, 255, .75); font-size: 14px; }
.wh-svc-hero .w-card-meta b { color: #ffd60a; font-size: 17px; }
.wh-svc-hero::after { content: attr(data-ic); position: absolute; right: 26px; bottom: -12px; font-size: 128px; line-height: 1; opacity: .22; pointer-events: none; }
.wh-svc { display: flex; gap: 16px; align-items: flex-start; }
.wh-svc i { font-style: normal; font-size: 30px; width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center; border-radius: 16px; background: var(--brand-grad-soft); }
.wh-svc h3 { margin-bottom: 6px; }
.wh-more { text-align: center; margin-top: 40px; }

/* ── 5. 主推产品特写（横卧大卡）+ 产品网格 ── */
.wh-feat { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 28px; }
.wh-feat-img { background: radial-gradient(520px 300px at 72% 18%, rgba(100, 210, 255, .3), transparent 62%), linear-gradient(150deg, #0b1726, #232a5c); display: grid; place-items: center; padding: 36px; min-height: 330px; }
.wh-feat-img img { border-radius: 16px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55); max-height: 340px; object-fit: cover; width: 100%; }
.wh-feat-img .wh-feat-noimg { font-size: 104px; filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .45)); }
.wh-feat-txt { padding: 46px 48px; display: flex; flex-direction: column; justify-content: center; }
.wh-feat-txt .wh-cap { align-self: flex-start; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; color: #5e5ce6; background: rgba(94, 92, 230, .1); border-radius: 999px; padding: 5px 14px; margin-bottom: 14px; }
.wh-feat-txt h3 { font-size: 30px; margin-bottom: 12px; }
.wh-feat-txt p { color: var(--sub); font-size: 16px; line-height: 1.85; margin-bottom: 24px; }
.wh-feat-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── 6. 案例区 ── */
.wh-cases-wrap { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.wh-case-h { position: relative; }
.wh-case-h .w-case-thumb { aspect-ratio: 16/9.5; }
/* 无封面时的渐变占位（模板有封面时以内联 background-image 覆盖，内联优先级更高）*/
.w-case-thumb { background-color: #eef2f7; background-image: linear-gradient(135deg, rgba(10, 132, 255, .14), rgba(94, 92, 230, .14)); }

/* 运营 banner 叠在渐变底色上，原 .w-plan-tag 浅蓝底会糊成一片 */
.w-band .w-plan-tag { background: rgba(255, 255, 255, .22); color: #fff; }

/* ── 7. 平台优势 ── */
.wh-adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.wh-adv { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 28px; box-shadow: var(--shadow-md); text-align: center; transition: transform .22s, box-shadow .22s; }
.wh-adv:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.wh-adv i { font-style: normal; font-size: 38px; width: 78px; height: 78px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 24px; background: var(--brand-grad-soft); }
.wh-adv h3 { font-size: 18px; margin-bottom: 8px; }
.wh-adv p { font-size: 14px; color: var(--sub); line-height: 1.7; }

/* ── 8. 套餐条 ── */
.wh-plan-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.wh-plan { background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18); border-radius: 20px; padding: 26px 24px; text-align: left; backdrop-filter: blur(10px); }
.wh-plan h4 { font-size: 17px; color: #fff; }
.wh-plan b { display: block; font-size: 30px; margin: 10px 0 6px; color: #ffd60a; }
.wh-plan b small { font-size: 13px; color: rgba(255, 255, 255, .7); font-weight: 400; }
.wh-plan p { font-size: 13.5px; color: rgba(255, 255, 255, .78); line-height: 1.7; }
.w-band { position: relative; }
.w-band-in { padding: 92px var(--wrap-pad); }
.w-band h2 { font-size: 34px; }
.w-band p { font-size: 17px; }

/* ── 9. 终板 CTA ── */
.wh-final-in { max-width: 860px; margin: 0 auto; padding: 110px var(--wrap-pad); text-align: center; }
.wh-final h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.3; }
.wh-final p { margin: 18px auto 36px; color: var(--sub); font-size: 17px; max-width: 640px; }

/* ── 页脚大气化（深色四栏）── */
.w-foot { background: linear-gradient(170deg, #060f1d, #101f38); color: #93a1b3; border-top: 0; }
.w-foot-in { padding: 72px var(--wrap-pad) 56px; grid-template-columns: 2.2fr 1fr 1fr 1.3fr; gap: 48px; font-size: 14px; }
.w-foot strong { color: #fff; font-size: 19px; display: block; margin-bottom: 14px; }
.w-foot-brand p:last-child { line-height: 1.9; max-width: 340px; }
.w-foot-links h5, .w-foot-legal h5 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.w-foot-links { display: grid; gap: 11px; align-content: start; }
.w-foot-links a { color: #93a1b3; }
.w-foot-links a:hover { color: #64d2ff; }
.w-foot-legal p { margin-bottom: 10px; }
.w-foot-legal a { color: #93a1b3; }
.w-foot-legal a:hover { color: #64d2ff; }
.w-foot-copy { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 26px; margin-top: 8px; font-size: 13px; color: #66788c; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

/* ── 响应式回落 ── */
@media (max-width: 1180px) {
    :root { --wrap-pad: 36px; }
    .wh-adv-grid { grid-template-columns: 1fr 1fr; }
    .wh-stats-in { grid-template-columns: 1fr 1fr; }
    .wh-stat:nth-child(2) { border-right: 0; }
    .wh-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 960px) {
    .wh-hero-in { grid-template-columns: 1fr; gap: 20px; padding: 72px var(--wrap-pad) 96px; }
    .wh-shot { min-height: 340px; margin-top: 12px; }
    .wh-feat { grid-template-columns: 1fr; }
    .wh-feat-img { min-height: 240px; }
    .wh-svc-grid { grid-template-columns: 1fr 1fr; }
    .wh-svc-hero { grid-column: 1 / -1; grid-row: auto; }
    .wh-svc-hero::after { font-size: 64px; }
    .wh-plan-strip { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    /* 窄屏头部回落紧凑，保住既有汉堡交互与遮罩基线高度 */
    .w-top-in { padding: 10px 20px; gap: 12px; }
    .w-top.is-scrolled .w-top-in { padding: 8px 20px; }
    .w-logo-mark, .w-top.is-scrolled .w-logo-mark { width: 40px; height: 40px; font-size: 14px; }
    .w-logo-txt { font-size: 16px; }
    /* 上方 .w-acc .w-btn 的放量只适用于桌面；窄屏必须收回，
       否则三个按钮撑不下→折行成三排（同时会盖掉 w2.css 的 460px 回落）。 */
    .w-acc { gap: 8px; }
    .w-acc .w-btn { padding: 8px 15px; font-size: 13.5px; }
    :root { --w-top-h: 62px; }
    .w-sec { padding: 64px 0; }
    .w-sec h2 { font-size: 28px; }
    .wh-head h2 { font-size: 30px; }
    .wh-head { margin-bottom: 36px; }
    .wh-stats { margin-top: -40px; }
    .wh-stats-in { margin: 0 20px; }
    .w-foot-in { grid-template-columns: 1fr 1fr; gap: 30px; padding: 56px 20px 40px; }
    .w-foot-copy { flex-direction: column; gap: 8px; }
}
@media (max-width: 560px) {
    .wh-svc-grid, .wh-adv-grid { grid-template-columns: 1fr; }
    /* 信任数字保持 2×2，避免四行拉满一整屏 */
    .wh-stats-in { grid-template-columns: 1fr 1fr; }
    .wh-stat { padding: 22px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .wh-stat:nth-child(2n) { border-right: 0; }
    .wh-stat:nth-child(n+3) { border-bottom: 0; }
    .wh-stat b { font-size: 30px; }
    .wh-stat span { font-size: 12.5px; }
    .wh-hero h1 { font-size: 32px; }
    .wh-sub { font-size: 16.5px; }
    .wh-shot { display: none; }   /* 极窄屏隐藏装饰卡组，内容优先 */
    .w-foot-in { grid-template-columns: 1fr; }
    .wh-cta .w-btn { flex: 1; text-align: center; }
}
@media (max-width: 460px) {
    .w-acc-consult { display: none; }
    .w-acc .w-btn { padding: 7px 13px; font-size: 13px; }
    .wh-hero-in { padding-top: 60px; }
    .wh-hero h1 { font-size: 28px; }
}
