/* =====================================================
   航世智联官网 · 共享样式（用于产品/能力等详情页）
   ===================================================== */
:root {
  --bg: #f6f8fc; --bg2: #eef2f9; --surface: #ffffff; --surface2: #f9fbfe;
  --ink: #0a1124; --ink-soft: #4a576e; --ink-dim: #8a96ac;
  --accent: #2563eb; --accent2: #0891b2; --accent3: #7c3aed;
  --grad: linear-gradient(115deg, #06b6d4 0%, #3b82f6 48%, #7c3aed 100%);
  --grad-soft: linear-gradient(115deg, rgba(6,182,212,.12), rgba(124,58,237,.12));
  --line: rgba(10,17,36,.10); --line-strong: rgba(10,17,36,.20);
  --glow: rgba(59,130,246,.16);
  --shadow: 0 1px 2px rgba(20,30,60,.05), 0 12px 32px rgba(20,30,60,.08);
  --shadow-lg: 0 24px 64px rgba(20,30,60,.14);
  --radius: 10px; --radius-lg: 18px;
  --mono: "SF Mono", "JetBrains Mono", "Cascadia Code", ui-monospace, Menlo, monospace;
}
html[data-theme="dark"] {
  --bg: #060912; --bg2: #0a0f1e; --surface: #0e1426; --surface2: #11182c;
  --ink: #e9eef9; --ink-soft: #a3b2cc; --ink-dim: #61708c;
  --accent: #38bdf8; --accent2: #22d3ee; --accent3: #a78bfa;
  --grad: linear-gradient(115deg, #22d3ee 0%, #3b82f6 48%, #a78bfa 100%);
  --grad-soft: linear-gradient(115deg, rgba(34,211,238,.14), rgba(167,139,250,.14));
  --line: rgba(255,255,255,.10); --line-strong: rgba(255,255,255,.20);
  --glow: rgba(56,189,248,.22);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 36px rgba(0,0,0,.5);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.6);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: -apple-system, "Segoe UI", "Microsoft YaHei", Inter, Roboto, sans-serif;
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .3s, color .3s;
}
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.14; }
a { color: inherit; text-decoration: none; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mono { font-family: var(--mono); }

.logo { display: inline-grid; place-items: center; filter: drop-shadow(0 0 8px var(--glow)); }
.cmp { display: block; }

/* 背景 */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px; mask-image: radial-gradient(ellipse 70% 45% at 50% -8%, #000 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse 70% 45% at 50% -8%, #000 0%, transparent 60%); opacity: .35; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .32; }
.orb1 { width: 520px; height: 520px; top: -200px; left: -120px; background: radial-gradient(circle, rgba(56,189,248,.5), transparent 70%); }
.orb2 { width: 460px; height: 460px; top: -160px; right: -100px; background: radial-gradient(circle, rgba(124,58,237,.45), transparent 70%); }

/* 顶栏 */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .22em; color: var(--ink-dim); margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14.5px; color: var(--ink-soft); transition: color .15s; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 38px; height: 38px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius);
  cursor: pointer; font-size: 16px; color: var(--ink-soft); transition: .15s; }
.icon-btn:hover { border-color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; display: block; margin: auto; }
.staff-link { font-size: 14px; color: var(--ink-soft); }
.staff-link:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 700; padding: 12px 24px; transition: .18s; white-space: nowrap; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px var(--glow); }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 17px; font-size: 14px; }

/* 详情页 hero */
.subhero { padding: 64px 0 28px; }
.breadcrumb { font-size: 13px; color: var(--ink-dim); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--accent); }
.subhero .tag { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.subhero h1 { font-size: clamp(32px, 4.6vw, 54px); margin: 12px 0 16px; }
.subhero .lead { font-size: 17px; color: var(--ink-soft); max-width: 680px; }

/* 锚点导航条 */
.anchor-bar { position: sticky; top: 68px; z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.anchor-bar .wrap { display: flex; gap: 22px; height: 52px; align-items: center; overflow-x: auto; }
.anchor-bar a { font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.anchor-bar a:hover { color: var(--accent); }

/* 详情区块 */
section { padding: 64px 0; position: relative; }
.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.dsplit { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.dsplit.rev .dvis { order: -1; }
.dhead .pen { font-family: var(--mono); font-size: 12.5px; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; }
.dhead h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 8px 0 6px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dhead .one { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 22px; }
.feat { list-style: none; display: grid; gap: 14px; }
.feat li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.feat .fi { width: 22px; height: 22px; border-radius: 7px; background: var(--grad-soft); border: 1px solid var(--line-strong);
  display: grid; place-items: center; margin-top: 3px; }
.feat .fi svg { width: 13px; height: 13px; }
.feat b { font-size: 15px; }
.feat span { color: var(--ink-soft); font-size: 14px; }

/* 视觉占位卡（产品 mock） */
.dvis { position: relative; }
.mock { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface2); }
.mock-bar .d { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock-bar .u { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-dim); }
.mock-body { padding: 22px; display: grid; gap: 12px; }
.mock-line { height: 12px; border-radius: 6px; background: var(--grad-soft); }
.mock-line.s { width: 60%; } .mock-line.m { width: 82%; } .mock-line.l { width: 100%; }
.mock-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 6px; }
.mock-cell { height: 56px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface2); display: grid; place-items: center; }
.mock-cell svg { width: 22px; height: 22px; opacity: .85; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.chips li { list-style: none; font-size: 12px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; background: var(--surface2); }

/* 能力页栅格 */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cap { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: .2s; }
.cap:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.cap .num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.cap h3 { font-size: 20px; margin: 10px 0 10px; }
.cap ul { list-style: none; display: grid; gap: 9px; }
.cap li { font-size: 14px; color: var(--ink-soft); padding-left: 18px; position: relative; }
.cap li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

/* CTA */
.cta-band { position: relative; border-radius: var(--radius-lg); padding: 56px; text-align: center; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--grad-soft); opacity: .8; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: 30px; margin-bottom: 12px; }
.cta-band p { color: var(--ink-soft); margin-bottom: 26px; }

/* 页脚 */
footer { border-top: 1px solid var(--line); padding: 44px 0 0; background: var(--bg2); }
.foot-in { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; }
.foot-brand .muted { color: var(--ink-dim); font-size: 13px; margin-top: 8px; max-width: 320px; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h5 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 12px; }
.foot-col a { display: block; color: var(--ink-soft); font-size: 13.5px; margin-bottom: 9px; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { text-align: center; border-top: 1px solid var(--line); margin-top: 40px; padding: 22px 0; }
.foot-bottom .copy { font-size: 12.5px; color: var(--ink-dim); }
.foot-bottom .beian { font-size: 12.5px; color: var(--ink-dim); margin-top: 6px; }
.foot-bottom .beian a:hover { color: var(--accent); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .dsplit { grid-template-columns: 1fr; gap: 28px; } .dsplit.rev .dvis { order: 0; }
  .cap-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 48px 0; } .cta-band { padding: 40px 22px; }
}
