/* ============================================================
   三维资产平台页样式（3d-platform.jsp 专用）
   主题：与全站一致（site-common.css 变量体系：暖白纸面 + 墨色 + 深青强调）
   版式语言：延续宣传册的杂志风（大衬线标题 / 细线分隔 / 超大浅页码 / 标注点系统）
   前缀：d3- ，避免与其他页面样式冲突
   ============================================================ */

/* ---------- 页面基础 ---------- */
/* 全局 reset：与 asset-platform.css 等页面保持完全一致的无作用域写法。
   注意不能用 .d3-page * 作用域版：其优先级(0,1,1)高于 site-common.css 的
   单类选择器(0,1,0)，会清掉导航栏/顶栏内部 padding，导致与其他页错位 */
* { margin: 0; padding: 0; box-sizing: border-box; }
.d3-page {
    background: var(--bg);
    color: var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
    overflow-x: hidden;
}
/* 衬线大标题字体栈（与首页大字风格一致） */
.d3-page .d3-serif {
    font-family: "Noto Serif SC", "Source Han Serif SC", "STZhongsong", "Songti SC", "SimSun", serif;
    font-weight: 700;
}
.d3-wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* 入场动画（与全站 reveal 一致，由页尾 IntersectionObserver 激活） */
.d3-page .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.d3-page .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .d3-page .reveal { transition: none; opacity: 1; transform: none; }
}

/* ---------- 区块公共件：栏目签 + 超大浅页码 ---------- */
.d3-kick {
    display: inline-flex; align-items: baseline; gap: 10px;
    font-size: 12px; letter-spacing: .34em; color: var(--accent);
    text-transform: uppercase; font-weight: 600;
}
.d3-kick i { font-style: normal; color: var(--muted); letter-spacing: .3em; font-weight: 400; }
.d3-no {
    position: absolute; right: 10px; bottom: -46px; z-index: 0; pointer-events: none; user-select: none;
    font-family: "Noto Serif SC", "STZhongsong", "SimSun", serif; font-weight: 700;
    font-size: 200px; line-height: 1; color: rgba(22, 24, 29, .045); letter-spacing: -.02em;
}
.d3-h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.4; letter-spacing: .015em; margin: 18px 0 0; }
.d3-h2 .em { color: var(--accent); }
.d3-sec { position: relative; padding: 96px 0; }
.d3-sec + .d3-sec { border-top: 1px solid var(--line); }
.d3-takeaway {
    display: flex; align-items: center; gap: 14px;
    color: var(--ink); font-size: 17px; letter-spacing: .02em;
}
.d3-takeaway::before { content: ""; width: 3px; height: 20px; background: var(--accent); flex: none; }

/* ---------- 照片统一件：圆角 + 发丝边框 + 浅投影 ---------- */
.d3-ph {
    position: relative; overflow: hidden; border-radius: 14px; background: #EDF1F4;
    border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(22, 24, 29, .10);
}
.d3-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* 图上暗角：保证压图白字可读 */
.d3-scrim::after {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(196deg, rgba(8,20,36,.26), rgba(8,20,36,.06) 42%, rgba(8,20,36,0) 62%);
}
/* 压图标题条 */
.d3-cap {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; color: #fff;
    background: linear-gradient(180deg, rgba(8,20,36,0), rgba(8,20,36,.78)); padding: 34px 18px 12px;
}
.d3-cap b { display: block; font-size: 16px; letter-spacing: .04em; font-family: "Noto Serif SC", "STZhongsong", serif; }
.d3-cap span { display: block; font-size: 10.5px; color: rgba(255,255,255,.82); letter-spacing: .14em; margin-top: 3px; }

/* ---------- 细线标注系统（方点 + 竖线 + 深底胶囊字） ---------- */
.d3-an { position: absolute; z-index: 5; width: 0; height: 0; pointer-events: none; }
.d3-an .d {
    position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; background: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 116, 144, .22), 0 0 8px rgba(14, 116, 144, .7);
}
.d3-an .l { position: absolute; left: 0; bottom: 0; width: 1px; background: var(--accent); opacity: .95; }
.d3-an .t {
    position: absolute; left: 8px; bottom: 52px; white-space: nowrap; line-height: 1.35;
    color: #fff; background: rgba(22, 24, 29, .82); padding: 5px 9px 6px; border-radius: 6px;
}
.d3-an .t b { display: block; font-size: 11.5px; letter-spacing: .26em; font-weight: 600; }
.d3-an .t i { font-style: normal; font-size: 9.5px; letter-spacing: .22em; color: rgba(255,255,255,.72); }

/* ============ HERO：墨色深底 + 三维楼背景图压字 ============ */
.d3-hero {
    position: relative; color: #F5F7F9; overflow: hidden;
    background: linear-gradient(168deg, #1B2430 0%, #16181D 55%, #0E1013 100%);
}
.d3-hero-bg {
    position: absolute; left: 0; right: 0; bottom: 0; top: 0; z-index: 0;
}
.d3-hero-bg img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
    opacity: .42; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%);
    mask-image: linear-gradient(180deg, transparent 0, #000 30%);
}
.d3-hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(22,24,29,.15), rgba(22,24,29,.72) 78%);
}
.d3-hero-inner { position: relative; z-index: 2; padding: 110px 0 88px; }
.d3-hero .d3-kick { color: #7FC4D8; }
.d3-hero .d3-kick i { color: rgba(245,247,249,.55); }
.d3-hero h1 {
    font-size: clamp(34px, 4.6vw, 56px); line-height: 1.5; letter-spacing: .02em;
    margin: 22px 0 0; text-shadow: 0 2px 30px rgba(4,12,26,.6);
}
.d3-hero h1 .thin { color: #9DB8C4; }
.d3-hero-sub {
    margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.22);
    display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.d3-hero-sub .p1 { font-size: 19px; font-weight: 700; letter-spacing: .06em; }
.d3-hero-sub .p2 { font-size: 12.5px; color: rgba(245,247,249,.62); margin-top: 6px; letter-spacing: .1em; }
.d3-hero-sub .pts { font-size: 12.5px; color: rgba(245,247,249,.72); line-height: 2; text-align: right; }
.d3-hero-acts { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.d3-btn {
    display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
    padding: 14px 30px; font-size: 15px; letter-spacing: .06em; border-radius: 4px;
    border: 1px solid transparent; transition: .2s;
}
.d3-btn-pri { background: var(--accent); color: #fff; }
.d3-btn-pri:hover { background: var(--accent-ink); }
.d3-btn-ghost { background: transparent; color: #E8EEF2; border-color: rgba(255,255,255,.4); }
.d3-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ============ 痛点：左文 + 右三联竖排图 ============ */
.d3-pains-grid { display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: stretch; position: relative; z-index: 2; }
.d3-lead { margin-top: 16px; font-size: 15px; line-height: 2; color: var(--ink-soft); max-width: 560px; }
.d3-pain-list { margin-top: 34px; }
.d3-pain {
    display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 18px 0;
    border-top: 1px solid var(--line);
}
.d3-pain:first-child { border-top: 1px solid var(--ink); }
.d3-pain .no {
    font-family: "Noto Serif SC", "STZhongsong", serif; font-weight: 700;
    font-size: 58px; line-height: .85; color: #C9D4DC;
}
.d3-pain b { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: .04em; padding-top: 4px; }
.d3-pain p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.9; color: var(--ink-soft); }
.d3-pain-figs { display: flex; flex-direction: column; gap: 12px; }
.d3-pain-figs .d3-ph { flex: 1; min-height: 0; }
.d3-pains-take { margin-top: 40px; }

/* ============ 产品介绍：左金句 + 右正文，下通栏界面图 ============ */
.d3-intro-top { display: grid; grid-template-columns: 380px 1fr; gap: 52px; position: relative; z-index: 2; }
.d3-intro-big { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.7; letter-spacing: .02em; }
.d3-intro-tags { margin-top: 22px; border-top: 1px solid var(--ink); padding-top: 14px; }
.d3-intro-tags .lab { display: block; font-size: 10.5px; letter-spacing: .3em; color: var(--muted); margin-bottom: 9px; }
.d3-intro-tags span.dot {
    display: inline-block; font-size: 13px; color: var(--ink); margin-right: 14px; line-height: 2.1;
}
.d3-intro-tags span.dot::before {
    content: ""; display: inline-block; width: 4px; height: 4px; background: var(--accent);
    margin-right: 7px; vertical-align: 2px;
}
.d3-intro-body { font-size: 14.5px; line-height: 2.1; color: var(--ink-soft); }
.d3-intro-body p + p { margin-top: 13px; }
.d3-intro-body b { color: var(--ink); }
.d3-intro-fig {
    position: relative; margin-top: 34px; display: grid; grid-template-columns: 1.5fr 1fr;
    gap: 12px; z-index: 2;
}
.d3-intro-fig .d3-ph { min-height: 380px; }
.d3-intro-fig .d3-sides { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }

/* ============ 工作流程：四步网格（台阶式错位） ============ */
.d3-steps-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; position: relative; z-index: 2; }
.d3-steps-head .side { font-size: 13px; line-height: 1.9; color: var(--muted); max-width: 300px; padding-bottom: 6px; }
.d3-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 56px; margin-top: 44px; position: relative; z-index: 2; }
.d3-step { border-top: 1px solid var(--line); padding: 20px 0 26px; }
.d3-steps .col-r .d3-step:first-child { margin-top: 64px; }
.d3-srow { display: flex; align-items: baseline; gap: 14px; }
.d3-step .no {
    font-family: "Noto Serif SC", "STZhongsong", serif; font-weight: 700;
    font-size: 44px; line-height: .9; color: var(--ink); letter-spacing: -.02em;
}
.d3-step:nth-child(even) .no { color: var(--accent); }
.d3-step h3 { font-size: 17px; font-weight: 700; letter-spacing: .03em; }
.d3-step h3 small { font-size: 10px; letter-spacing: .26em; color: var(--muted); margin-left: 10px; font-weight: 400; }
.d3-step p { font-size: 13.5px; line-height: 1.9; margin-top: 8px; color: var(--ink-soft); }
.d3-step .d3-ph { height: 170px; margin-top: 14px; }

/* ============ 核心功能：左列表 + 右通高主图 + 状态色条 ============ */
.d3-feats-grid { display: grid; grid-template-columns: 1fr 380px; gap: 56px; position: relative; z-index: 2; }
.d3-flist { margin-top: 26px; }
.d3-fitem { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); }
.d3-fitem:first-child { border-top: 1px solid var(--ink); }
.d3-fitem .no { font-family: "Noto Serif SC", "STZhongsong", serif; font-size: 22px; color: var(--accent); line-height: 1.5; }
.d3-fitem h3 { font-size: 15.5px; font-weight: 700; letter-spacing: .03em; }
.d3-fitem p { font-size: 13.2px; line-height: 1.85; margin-top: 5px; color: var(--ink-soft); }
.d3-thumbs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 22px; }
.d3-thumbs .d3-ph { height: 96px; }
.d3-thumbs .d3-cap { padding: 20px 8px 7px; }
.d3-thumbs .d3-cap b { font-size: 10.5px; }
.d3-thumbs .d3-cap span { font-size: 8.5px; margin-top: 1px; }
/* 空间状态比例色条（示例） */
.d3-ratio { margin-top: 34px; }
.d3-ratio .lab { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.d3-ratio .lab b { font-size: 10.5px; letter-spacing: .3em; color: var(--muted); font-weight: 400; }
.d3-ratio .lab span { font-size: 11px; color: var(--muted); }
.d3-ratio .bar { display: flex; height: 16px; border-radius: 3px; overflow: hidden; }
.d3-ratio .bar i { height: 100%; position: relative; }
.d3-ratio .bar i em {
    position: absolute; left: 6px; top: 2px; font-style: normal; font-size: 10px;
    letter-spacing: .14em; color: rgba(255,255,255,.96); white-space: nowrap;
}
.d3-feat-take { margin-top: 34px; }

/* ============ 应用场景：三联图 + 大标语 + 2x2 场景 ============ */
.d3-scenes-fig { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; z-index: 2; }
.d3-scenes-fig .d3-ph { height: 250px; }
.d3-scenes-cap { padding: 24px 2px 0; }
.d3-scenes-cap b { font-size: clamp(24px, 3vw, 34px); letter-spacing: .04em; line-height: 1.4; }
.d3-scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 52px; margin-top: 34px; position: relative; z-index: 2; }
.d3-scene { border-top: 1px solid var(--line); padding-top: 15px; }
.d3-scene:nth-child(even) { margin-left: 14%; }
.d3-scene .no { font-family: "Noto Serif SC", "STZhongsong", serif; font-size: 22px; color: #C2CFD8; line-height: 1; }
.d3-scene h3 { font-size: 16px; font-weight: 700; letter-spacing: .03em; margin-top: 8px; }
.d3-scene p { font-size: 13.5px; line-height: 1.9; margin-top: 6px; color: var(--ink-soft); }
.d3-scenes-take { margin-top: 40px; }

/* ============ 产品特点：宣言 + 横幅 + 四格 ============ */
.d3-manifesto {
    font-size: clamp(30px, 4vw, 46px); line-height: 1.6; letter-spacing: .03em;
    margin-top: 28px; position: relative; z-index: 2;
}
.d3-why-fig { position: relative; height: 200px; margin-top: 36px; z-index: 2; }
.d3-why-grid { margin-top: 34px; position: relative; z-index: 2; }
.d3-why-cell {
    display: grid; grid-template-columns: 38px 170px 1fr; gap: 14px; align-items: baseline;
    padding: 15px 0; border-top: 1px solid var(--line);
}
.d3-why-cell:first-child { border-top: 1px solid var(--ink); }
.d3-why-cell .no { font-family: "Noto Serif SC", "STZhongsong", serif; font-size: 15px; color: var(--accent); }
.d3-why-cell h3 { font-size: 14px; font-weight: 700; letter-spacing: .05em; }
.d3-why-cell p { font-size: 13px; line-height: 1.8; color: var(--ink-soft); }
.d3-why-take { margin-top: 36px; display: flex; justify-content: flex-end; }

/* ============ CTA：预约演示（墨色深底） ============ */
.d3-cta {
    position: relative; overflow: hidden; text-align: center; color: #F5F7F9;
    background: linear-gradient(168deg, #1B2430 0%, #16181D 60%, #0E1013 100%);
    padding: 100px 32px;
}
.d3-cta h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: .05em; margin: 0; }
.d3-cta .u { box-shadow: inset 0 -10px 0 rgba(14, 116, 144, .35); }
.d3-cta p { font-size: 14px; color: rgba(245,247,249,.66); margin: 18px 0 0; letter-spacing: .06em; line-height: 2; }
.d3-cta-box {
    display: inline-block; margin-top: 40px; border: 1px solid rgba(127, 196, 216, .45);
    padding: 26px 52px; border-radius: 4px;
}
.d3-cta-box .cta { font-size: 19px; font-weight: 700; letter-spacing: .14em; font-family: "Noto Serif SC", "STZhongsong", serif; }
.d3-cta-box p { font-size: 12px; margin-top: 10px; }

/* ============ 咨询弹窗（与全站表单接口一致：POST /consult/submit） ============ */
.d3-modal {
    position: fixed; inset: 0; z-index: 1000; display: none;
    background: rgba(10, 14, 18, .62); backdrop-filter: blur(3px);
}
.d3-modal.active { display: flex; align-items: center; justify-content: center; padding: 20px; }
.d3-modal-box {
    background: #fff; border-radius: 10px; width: 640px; max-width: 100%;
    max-height: 90vh; overflow-y: auto; padding: 34px 38px; position: relative;
}
.d3-modal-close {
    position: absolute; right: 16px; top: 12px; border: 0; background: none;
    font-size: 30px; line-height: 1; color: var(--muted); cursor: pointer;
}
.d3-modal-close:hover { color: var(--ink); }
.d3-modal-box h2 { font-size: 22px; margin: 0; }
.d3-modal-box > p { font-size: 13px; color: var(--muted); margin: 8px 0 20px; }
.d3-fgroup { margin-bottom: 15px; }
.d3-fgroup label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.d3-fgroup input, .d3-fgroup select, .d3-fgroup textarea {
    width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px;
    font-size: 14px; background: #FCFCFB; color: var(--ink); outline: none; transition: border-color .2s;
}
.d3-fgroup input:focus, .d3-fgroup select:focus, .d3-fgroup textarea:focus { border-color: var(--accent); }
.d3-fgroup textarea { min-height: 84px; resize: vertical; }
.d3-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.d3-checks label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 400; margin: 0; cursor: pointer; }
.d3-submit {
    width: 100%; padding: 14px; border: 0; border-radius: 6px; cursor: pointer;
    background: var(--accent); color: #fff; font-size: 15px; letter-spacing: .04em; transition: background .2s;
}
.d3-submit:hover { background: var(--accent-ink); }
.d3-feedback {
    display: none; margin-top: 14px; padding: 13px 15px; border-radius: 6px;
    background: #EAF6F1; color: #1D7A55; font-size: 13.5px; align-items: center; gap: 9px;
}
.d3-feedback.show { display: flex; }

/* ============ 移动端适配（<960px 与 <560px 两档） ============ */
@media (max-width: 960px) {
    .d3-sec { padding: 64px 0; }
    .d3-no { font-size: 130px; bottom: -30px; }
    .d3-pains-grid, .d3-intro-top, .d3-feats-grid { grid-template-columns: 1fr; gap: 34px; }
    .d3-pain-figs { flex-direction: row; }
    .d3-pain-figs .d3-ph { min-height: 150px; }
    .d3-intro-fig { grid-template-columns: 1fr; }
    .d3-intro-fig .d3-ph { min-height: 240px; }
    .d3-intro-fig .d3-sides { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
    .d3-intro-fig .d3-sides .d3-ph { min-height: 150px; }
    .d3-steps { grid-template-columns: 1fr; gap: 0; }
    .d3-steps .col-r .d3-step:first-child { margin-top: 0; }
    .d3-step .d3-ph { height: 150px; }
    .d3-scenes-fig { grid-template-columns: 1fr; }
    .d3-scenes-fig .d3-ph { height: 200px; }
    .d3-scenes { grid-template-columns: 1fr; gap: 14px; }
    .d3-scene:nth-child(even) { margin-left: 0; }
    .d3-why-cell { grid-template-columns: 38px 1fr; }
    .d3-why-cell p { grid-column: 2; }
    .d3-hero-sub .pts { text-align: left; }
}
@media (max-width: 560px) {
    .d3-wrap { padding: 0 18px; }
    .d3-hero-inner { padding: 76px 0 60px; }
    .d3-pain { grid-template-columns: 46px 1fr; gap: 10px; }
    .d3-pain .no { font-size: 42px; }
    .d3-pain-figs { flex-direction: column; }
    .d3-pain-figs .d3-ph { min-height: 130px; }
    .d3-intro-fig .d3-sides { grid-template-columns: 1fr; }
    .d3-thumbs { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
    .d3-checks { grid-template-columns: 1fr; }
    .d3-modal-box { padding: 26px 20px; }
    .d3-cta-box { padding: 20px 26px; }
    .d3-takeaway { font-size: 15px; }
}

/* 说明：顶部导航不做深色适配，保持全站统一的暖白底菜单栏（与其他页面一致）。 */
