/* ============================================================
   得数智办 office.vip — 清新简约版
   白底 · 墨色 · 金色点缀 · 系统字体（零外部依赖）
   ============================================================ */

:root {
    --ink: #1a1a1d;
    --ink-soft: #2a2a2e;
    --muted: rgba(26, 26, 29, .56);
    --faint: rgba(26, 26, 29, .38);
    --line: rgba(26, 26, 29, .09);
    --gold: #a9834e;
    --gold-soft: #c2a273;
    --tint: #f7f6f3;
    --card: #ffffff;
    --radius: 22px;
    --pad: clamp(20px, 5vw, 72px);
    --max: 1200px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --shadow-soft: 0 2px 8px rgba(26,26,29,.04), 0 16px 40px rgba(26,26,29,.06);
    --shadow-lift: 0 4px 12px rgba(26,26,29,.05), 0 24px 56px rgba(26,26,29,.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; border: 0; background: none; cursor: pointer; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
::selection { color: #fff; background: var(--gold); }

/* ---------- 品牌 ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 6px; }
.brand-name { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; line-height: 1; }
.brand-name b { font-size: 18px; font-weight: 700; letter-spacing: .05em; }
.brand-name em { font-size: 14px; font-style: normal; font-weight: 600; color: var(--muted); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 30px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: .01em; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { color: #fff; background: var(--ink); box-shadow: 0 8px 24px rgba(26,26,29,.18); }
.btn-primary:hover { background: #000; box-shadow: 0 12px 32px rgba(26,26,29,.24); }
.btn-ghost { color: var(--ink); background: transparent; border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: rgba(26,26,29,.28); background: var(--tint); }
.btn-light { color: var(--ink); background: #fff; }
.btn-light:hover { background: var(--gold-soft); color: #fff; }
.btn-outline { color: rgba(255,255,255,.85); border: 1.5px solid rgba(255,255,255,.28); background: transparent; }
.btn-outline:hover { border-color: #fff; color: #fff; }
.btn-small { min-height: 42px; padding: 0 22px; font-size: 14px; }

/* ---------- 导航 ---------- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); background: rgba(255,255,255,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow .35s, height .35s; }
.navbar.scrolled { height: 64px; box-shadow: 0 1px 0 var(--line), 0 8px 28px rgba(26,26,29,.05); }
.nav-links { display: flex; gap: 36px; }
.nav-links a { position: relative; font-size: 15px; color: var(--muted); transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; border-radius: 2px; background: var(--gold); transition: right .3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; width: 40px; height: 40px; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-toggle.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle.active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- ① 首屏 ---------- */
.hero { position: relative; padding: 168px var(--pad) 96px; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; left: 50%; top: -320px; width: 900px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(169,131,78,.09), transparent); pointer-events: none; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7); color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .06em; }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
/* 使命愿景：位于定位胶囊与主标题之间，不与胶囊争夺注意力 */
.hero-mission { margin: 14px auto 0; color: var(--muted); font-size: 15px; letter-spacing: .02em; }
.hero h1 { margin: 28px auto 0; font-size: clamp(40px, 7vw, 76px); font-weight: 700; line-height: 1.18; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--gold) 20%, #c9a76f 80%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { max-width: 640px; margin: 24px auto 0; color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.9; }
.hero-actions { margin-top: 38px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* 首屏演示卡片 */
.hero-demo { max-width: 880px; margin: 72px auto 0; display: grid; grid-template-columns: 1fr auto 1.25fr; gap: 0; align-items: stretch; text-align: left; }
.demo-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-soft); }
.demo-tag { display: inline-block; color: var(--faint); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.demo-side { align-self: center; }
.demo-file { margin-top: 14px; display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 13px; background: var(--tint); }
.demo-file i { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 38px; height: 40px; border-radius: 9px; color: #fff; background: var(--ink); font-size: 10px; font-style: normal; font-weight: 700; }
.demo-file b { display: block; font-size: 13px; font-weight: 600; line-height: 1.35; }
.demo-file small { color: var(--faint); font-size: 11px; }
.demo-goal { margin-top: 16px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.65; }
.demo-arrow { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 22px; }
.demo-arrow-line { position: relative; width: 58px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.demo-arrow-line::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%; background: var(--gold); animation: flow 2.2s var(--ease) infinite; }
.demo-arrow-label { color: var(--gold); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.demo-main { position: relative; }
.demo-head { display: flex; align-items: center; justify-content: space-between; }
.demo-percent { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.demo-progress { margin-top: 14px; height: 6px; border-radius: 6px; background: var(--tint); overflow: hidden; }
.demo-progress span { display: block; width: 76%; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); animation: growIn 1.4s var(--ease) both; transform-origin: left; }
.demo-steps { margin-top: 20px; display: grid; gap: 11px; }
.demo-steps li { position: relative; padding-left: 28px; color: var(--muted); font-size: 13.5px; }
.demo-steps li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid var(--line); }
.demo-steps li.done { color: var(--ink); }
.demo-steps li.done::before { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 3.5px #fff; }
.demo-steps li.doing::before { border-color: var(--gold); animation: pulse 1.6s ease-in-out infinite; }
.demo-notify { margin-top: 22px; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 14px; background: var(--tint); }
.demo-notify > span { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--gold); font-size: 15px; }
.demo-notify b { display: block; font-size: 13.5px; font-weight: 600; }
.demo-notify small { color: var(--faint); font-size: 11.5px; }

/* ---------- 通用板块 ---------- */
.section { padding: 104px var(--pad); }
.section-tinted { background: var(--tint); }
.section-head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.kicker { display: inline-block; margin-bottom: 16px; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .18em; }
.kicker-gold { color: var(--gold-soft); }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 16px; }

/* ---------- ② 四步 ---------- */
.steps { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps li { position: relative; padding: 30px 26px 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.steps li:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 13px; color: var(--gold); background: rgba(169,131,78,.1); font-size: 17px; font-weight: 700; }
.steps h3 { margin-top: 22px; font-size: 19px; font-weight: 700; }
.steps p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.75; }

/* ---------- ③ 能力 ---------- */
.ability-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ability { padding: 30px 28px 28px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-soft); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ability:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.ability-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; color: var(--gold); background: rgba(169,131,78,.1); }
.ability-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ability h3 { margin-top: 20px; font-size: 19px; font-weight: 700; }
.ability p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.ability small { display: inline-block; margin-top: 16px; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--faint); font-size: 12px; }
/* 标题内的状态角标：需覆盖 .ability small 的 margin-top，否则在 h3 里错位 */
.ability h3 .tag-now,
.ability h3 .tag-soon { margin-top: 0; vertical-align: middle; font-weight: 600; }
.ability h3 .tag-now { background: rgba(169,131,78,.14); color: var(--gold); }
.engine-note { max-width: 880px; margin: 26px auto 0; padding: 18px 22px; border-radius: var(--radius); background: var(--card); color: var(--muted); font-size: 14px; line-height: 1.8; text-align: center; }

/* ---------- ④ 入口 ---------- */
.entry-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.entry { display: flex; flex-direction: column; padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.entry h3 { margin-top: 20px; font-size: 18px; font-weight: 700; }
.entry p { margin-top: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.entry-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 15px; color: var(--ink); background: var(--tint); }
.entry-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.entry-badge { margin-top: auto; padding-top: 22px; color: var(--faint); font-size: 12.5px; font-weight: 600; }
/* 下载按钮组：卡片底部对齐，两颗按钮（Mac 的两种芯片）能并排也能换行 */
.entry-btns { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.dl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border-radius: 999px; color: #fff; background: var(--ink); font-size: 13.5px; font-weight: 600; transition: transform .3s var(--ease), background .3s; }
.dl-btn:hover { transform: translateY(-2px); background: #000; }
.dl-btn-ghost { color: var(--ink); background: var(--tint); border: 1px solid var(--line); }
.dl-btn-ghost:hover { background: #fff; border-color: rgba(26,26,29,.28); }
/* Mac 的芯片选择：与按钮同高，放在按钮左边（先选芯片再点下载） */
.dl-select { min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--tint); color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.dl-select:hover { border-color: rgba(26,26,29,.28); }
/* 版本号：拿到发布记录才显示，所以它没有「占位高度」的问题 */
.entry-ver { display: block; margin-top: 12px; color: var(--faint); font-size: 12px; }
.entry-badge::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--gold-soft); vertical-align: 1px; }

/* ---------- ⑤ 企业方案 ---------- */
#enterprise { padding-top: 0; }
.enterprise { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 5vw, 72px); align-items: center; padding: clamp(40px, 5vw, 72px); border-radius: 28px; color: #fff; background: linear-gradient(135deg, #1c1c1f, #121214); overflow: hidden; }
.enterprise::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(194,162,115,.14), transparent); pointer-events: none; }
.enterprise h2 { margin-top: 4px; font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.enterprise-copy > p { margin-top: 18px; max-width: 520px; color: rgba(255,255,255,.62); font-size: 15px; line-height: 1.85; }
.enterprise-points { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.enterprise-points li { position: relative; padding-left: 24px; color: rgba(255,255,255,.78); font-size: 13.5px; }
.enterprise-points li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-soft); font-weight: 700; }
.enterprise-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.enterprise-visual { position: relative; aspect-ratio: 1; max-width: 380px; margin: 0 auto; width: 100%; }
.ev-ring { position: absolute; inset: 6%; border: 1px dashed rgba(255,255,255,.16); border-radius: 50%; animation: spin 40s linear infinite; }
.ev-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; width: 56%; aspect-ratio: 1; justify-content: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.045); backdrop-filter: blur(4px); }
.ev-core .brand-mark { width: 30px; height: 30px; border-color: rgba(255,255,255,.7); }
.ev-core .brand-mark i { background: #fff; }
.ev-core .brand-mark::after { background: var(--gold-soft); }
.ev-core b { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); }
.ev-chip { position: absolute; padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: #1f1f23; color: rgba(255,255,255,.8); font-size: 12.5px; white-space: nowrap; box-shadow: 0 10px 28px rgba(0,0,0,.3); animation: float 5s ease-in-out infinite; }
.ev-chip.c1 { left: 2%; top: 12%; }
.ev-chip.c2 { right: 0; top: 40%; animation-delay: -1.6s; }
.ev-chip.c3 { left: 10%; bottom: 10%; animation-delay: -3.2s; }

/* ---------- 页脚 ---------- */
.footer { padding: 64px var(--pad) 40px; border-top: 1px solid var(--line); }
.footer-top { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-slogan { margin-top: 14px; color: var(--muted); font-size: 13.5px; }
.footer-contact p { display: flex; gap: 14px; margin-bottom: 10px; color: var(--muted); font-size: 13.5px; }
.footer-contact span { flex: 0 0 auto; color: var(--faint); font-size: 12px; letter-spacing: .06em; padding-top: 1px; }
.footer-contact a:hover { color: var(--ink); }
.footer-bottom { max-width: var(--max); margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; line-height: 2; }
.footer-records { display: flex; gap: 6px 28px; flex-wrap: wrap; }
.footer-records a:hover { color: var(--ink); }

/* ---------- 弹窗 ---------- */
body.modal-open { overflow: hidden; }
.manager-dialog { width: min(760px, calc(100% - 40px)); margin: auto; padding: 0; border: 0; border-radius: 24px; background: #fff; box-shadow: 0 40px 120px rgba(0,0,0,.28); overflow: hidden; }
.manager-dialog[open] { display: grid; grid-template-columns: 1.1fr .9fr; animation: dialogIn .4s var(--ease); }
.manager-dialog::backdrop { background: rgba(15,15,17,.55); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; right: 16px; top: 16px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.9); font-size: 22px; line-height: 1; }
.dialog-copy { padding: 52px 44px; }
.dialog-copy h2 { margin-top: 6px; font-size: clamp(26px, 3vw, 34px); font-weight: 700; line-height: 1.3; }
.dialog-copy p { margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.dialog-qr { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 32px; background: var(--tint); }
.dialog-qr img { width: min(220px, 100%); border-radius: 14px; box-shadow: var(--shadow-soft); }
.dialog-qr figcaption { margin-top: 18px; text-align: center; font-size: 15px; font-weight: 600; line-height: 1.6; }
.dialog-qr small { color: var(--faint); font-size: 12px; font-weight: 400; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.in-view { opacity: 1; transform: none; }

@keyframes flow { 0% { left: -40%; } 100% { left: 110%; } }
@keyframes growIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(169,131,78,.35); } 50% { box-shadow: 0 0 0 6px rgba(169,131,78,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .ability-grid { grid-template-columns: repeat(2, 1fr); }
    .entry-grid { grid-template-columns: repeat(2, 1fr); }
    .enterprise { grid-template-columns: 1fr; }
    .enterprise-visual { max-width: 320px; }
    .hero-demo { grid-template-columns: 1fr; max-width: 520px; }
    .demo-side { align-self: auto; }
    .demo-arrow { flex-direction: row; padding: 18px 0; }
    .demo-arrow-line { width: 2px; height: 34px; }
    .demo-arrow-line::after { top: -40%; left: 0; width: 100%; height: 40%; animation: flowV 2.2s var(--ease) infinite; }
}
@keyframes flowV { 0% { top: -40%; } 100% { top: 110%; } }

@media (max-width: 720px) {
    .nav-links { position: fixed; top: 64px; left: 0; right: 0; display: flex; flex-direction: column; gap: 0; padding: 8px var(--pad) 20px; background: rgba(255,255,255,.98); box-shadow: 0 20px 40px rgba(26,26,29,.08); transform: translateY(-130%); transition: transform .4s var(--ease); }
    .nav-links.open { transform: none; }
    .nav-links a { padding: 15px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
    .nav-links a::after { display: none; }
    .menu-toggle { display: block; }
    .navbar { height: 64px; }
    /* 窄屏藏掉品牌标语：它是 nowrap 的长中文，会把菜单按钮挤出视口 */
    .brand-tagline { display: none; }

    .hero { padding-top: 128px; padding-bottom: 72px; }
    .hero h1 { font-size: clamp(34px, 10vw, 48px); }
    .hero-lead br { display: none; }
    .demo-arrow { justify-content: center; }
    .hero-actions .btn { width: 100%; max-width: 340px; }
    .hero-demo { margin-top: 52px; }

    .section { padding: 76px var(--pad); }
    .section-head { margin-bottom: 40px; }
    .steps, .ability-grid, .entry-grid { grid-template-columns: 1fr; }
    .enterprise-points { grid-template-columns: 1fr; }
    .enterprise-actions .btn { flex: 1 1 100%; }

    .manager-dialog[open] { grid-template-columns: 1fr; }
    .dialog-copy { padding: 44px 26px 8px; }
    .dialog-qr { padding: 26px 26px 36px; background: #fff; }

    .footer-top { flex-direction: column; gap: 28px; }
    .footer-contact p { flex-wrap: wrap; gap: 6px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* 品牌 logo 位图（替换原几何 brand-mark） */
/* 品牌名 + 标语两行合计约 34px，logo 取 36px 与之等高，视觉才齐 */
.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    object-fit: cover;
    display: inline-block;
}

/* ========== 悬浮操作组（企业咨询 + 客户经理）与咨询弹窗 ========== */
/* 两个入口并排一组：同尺寸同圆角，金色主行动 + 深色次行动，不再互相遮挡 */
.float-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
}
.float-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border: 0;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.float-btn svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}
.float-btn:hover { transform: translateY(-3px); }
.float-btn-primary {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 8px 24px rgba(169,131,78,.35);
}
.float-btn-primary:hover { box-shadow: 0 12px 32px rgba(169,131,78,.45); }
.float-btn-dark {
    background: #1a1a1d;
    color: #fff;
    box-shadow: 0 8px 24px rgba(26,26,29,.25);
}
.float-btn-dark:hover { box-shadow: 0 12px 32px rgba(26,26,29,.35); }

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.contact-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}
.contact-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,26,29,.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.contact-modal-content {
    position: relative;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 36px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 24px 64px rgba(26,26,29,.25);
    transform: scale(.95);
    transition: transform .3s var(--ease);
}
.contact-modal[aria-hidden="false"] .contact-modal-content {
    transform: scale(1);
}
.contact-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--tint);
    color: var(--muted);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background .25s, color .25s;
}
.contact-modal-close:hover {
    background: var(--line);
    color: var(--ink);
}
.contact-modal h3 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.01em;
}
.contact-modal-desc {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}
.contact-form .required {
    color: #d32f2f;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: var(--card);
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    transition: border-color .25s, background .25s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 0;
    border-color: var(--gold);
    background: #fff;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--faint);
}
.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}
.contact-submit {
    width: 100%;
    margin-top: 8px;
}
.contact-notice {
    margin: 16px 0 0;
    color: var(--faint);
    font-size: 12px;
    text-align: center;
    line-height: 1.5;
}

.contact-success {
    text-align: center;
    padding: 20px 0;
}
.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: #fff;
    font-size: 36px;
    font-weight: 700;
}
.contact-success h4 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
}
.contact-success p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 640px) {
    /* 窄屏两个按钮并排会占满宽度：收成纯图标圆钮 */
    .float-actions {
        right: 16px;
        bottom: 16px;
        gap: 8px;
    }
    .float-btn {
        padding: 12px;
        border-radius: 50%;
    }
    .float-btn span {
        display: none;
    }
    .contact-modal-content {
        padding: 32px 24px;
    }
    .contact-modal h3 {
        font-size: 22px;
    }
}

