/* ============================================================
   1. 设计令牌
   布局思路：深色科技感底 + logo 红色光晕；玻璃质感卡片，
   首屏用动态网络线条表达"连接"，中段插入一块浅色区调节节奏。
   配色取自 logo（红 / 黑 / 白），固定为深色单一主题。
   ============================================================ */
:root {
  color-scheme: dark;
  --bg: #08080a;                       /* 页面底色 */
  --surface: #121215;                  /* 卡片 */
  --surface-2: #1a1a1f;                /* 卡片内的次级块 */
  --line: rgba(255, 255, 255, .09);    /* 描边 */
  --text: #f5f3f3;
  --mute: #a19c9d;
  --red: #ff2323;                      /* logo 红 */
  --red-deep: #c20f14;
  --paper: #f4f2f1;                    /* 浅色区底色 */
  --ink: #0d0d0f;                      /* 浅色区文字 */

  --font-display: "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-logo: "Montserrat", "Plus Jakarta Sans", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 20px;
  --glow: 0 18px 50px -18px rgba(255, 35, 35, .55);
}

/* ============================================================
   2. 基础
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
[hidden] { display: none !important; }
svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; line-height: 1.12; letter-spacing: -.02em; }
html[data-lang="zh"] h1, html[data-lang="zh"] h2, html[data-lang="zh"] h3 { letter-spacing: 0; line-height: 1.28; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

/* 双语：只显示当前语言的那一份文案 */
html[data-lang="zh"] .en { display: none !important; }
html[data-lang="en"] .zh { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.grad { background: linear-gradient(100deg, #ff5a4d 0%, var(--red) 45%, #ff8a6b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 章节上方的小标签 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #dcd7d7;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px 2px rgba(255, 35, 35, .8); }
.light .eyebrow { border-color: rgba(13, 13, 15, .14); background: #fff; color: #3b3838; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 26px; border: 0; border-radius: 14px;
  background: linear-gradient(135deg, #ff3b30, var(--red-deep)); color: #fff;
  font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: var(--glow);
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 22px 60px -16px rgba(255, 35, 35, .75); }
.btn.ghost { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); box-shadow: none; backdrop-filter: blur(8px); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   3. 顶部导航
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 10, .72); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; color: #fff; }
.brand svg { width: 30px; height: auto; }
.brand-text { display: grid; gap: 3px; }
.brand-word { font-family: var(--font-logo); font-weight: 600; font-size: 21px; letter-spacing: .13em; line-height: 1; }
.brand-word b { color: var(--red); font-weight: 600; }
.brand-sub { font-family: var(--font-logo); font-size: 7.5px; font-weight: 500; letter-spacing: .5em; line-height: 1; color: #cfcaca; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 9px 16px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 500; color: #c9c4c4; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .04); padding: 3px; }
.lang-toggle span { padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--mute); }
html[data-lang="zh"] .lang-toggle .l-zh,
html[data-lang="en"] .lang-toggle .l-en { background: #fff; color: var(--ink); }
.nav .btn { min-height: 44px; padding: 9px 20px; font-size: 14px; border-radius: 12px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

@media (max-width: 920px) {
  .menu-btn { display: block; order: 3; }
  .nav .btn { display: none; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(8, 8, 10, .97); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; font-size: 17px; border-radius: 12px; }
}

/* ============================================================
   4. 首页：首屏轮播
   原生横向滚动 + scroll-snap，按钮 / 圆点 / 方向键控制
   ============================================================ */
.hero { position: relative; overflow: hidden; isolation: isolate; }
/* 背景：红色光晕 + 细网格 + 动态连线（canvas） */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(255, 35, 35, .28), transparent 62%),
    radial-gradient(40% 50% at 8% 95%, rgba(255, 90, 60, .14), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .5;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 35%, #000 20%, transparent 85%);
  mask-image: radial-gradient(75% 70% at 50% 35%, #000 20%, transparent 85%);
}
#net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .75; }

.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.slide-inner {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 72px);
  align-items: center; padding-block: clamp(52px, 7vw, 96px) clamp(96px, 10vw, 128px);
}
.slide-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.slide-copy h1, .slide-copy h2 { font-size: clamp(36px, 5.6vw, 70px); font-weight: 800; }
html[data-lang="zh"] .slide-copy h1, html[data-lang="zh"] .slide-copy h2 { font-weight: 900; font-size: clamp(34px, 5vw, 62px); }
.slide-copy p { max-width: 35em; font-size: clamp(16px, 1.45vw, 18.5px); color: #c9c4c5; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.slide-art { min-width: 0; position: relative; }

/* 玻璃卡片：轮播视觉与全站卡片共用 */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
  backdrop-filter: blur(14px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
}

/* (a) 第 1 屏视觉：以 B 标志为中心的能力环 */
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 500px; margin-inline: auto; }
.orbit .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .11); inset: 0; }
.orbit .ring:nth-child(2) { inset: 15%; border-style: dashed; border-color: rgba(255, 60, 50, .4); animation: spin 60s linear infinite; }
.orbit .ring:nth-child(3) { inset: 30%; background: radial-gradient(circle, rgba(255, 35, 35, .32), transparent 70%); border-color: rgba(255, 255, 255, .16); }
.orbit .core { position: absolute; inset: 34%; display: grid; place-items: center; border-radius: 28%; }
.orbit .core svg { width: 52%; color: #fff; }
.orbit .chip {
  position: absolute; transform: translate(-50%, -50%); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px;
  font-size: 13px; font-weight: 600; animation: float 6s ease-in-out infinite;
}
.orbit .chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px rgba(255, 35, 35, .9); }
.orbit .chip:nth-of-type(2n) { animation-delay: -3s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translate(-50%, calc(-50% - 8px)); } }

/* (b) 第 2 屏视觉：系统看板 */
.win { padding: 0; overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--mute); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a40; }
.win-bar i:first-child { background: var(--red); }
.win-bar span { margin-left: auto; }
.win-body { display: grid; grid-template-columns: 52px minmax(0, 1fr); }
.win-side { border-right: 1px solid var(--line); padding: 16px 0; display: grid; gap: 14px; justify-items: center; align-content: start; }
.win-side i { width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, .1); }
.win-side i:first-child { background: var(--red); }
.win-main { padding: 18px; display: grid; gap: 14px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 9px; min-width: 0; }
.kpi small { font-size: 11px; color: var(--mute); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.kpi b::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, var(--red), #ff8a6b); }
.chart { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px 6px; }
.chart svg { width: 100%; height: auto; }
.rows { display: grid; gap: 8px; }
.row { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.row em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; color: #7ef0b0; background: rgba(60, 220, 130, .12); }
.row i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }

/* (c) 第 3 屏视觉：品牌系统 */
.board { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.board > div { padding: 20px; min-width: 0; }
.board .logo-tile { grid-column: 1 / 3; display: flex; align-items: center; gap: 16px; }
.board .logo-tile svg { width: 46px; color: #fff; flex: none; }
.board .logo-tile b { font-family: var(--font-logo); font-weight: 600; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: .14em; }
.board .logo-tile small { margin-left: auto; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.board .type-tile { display: grid; gap: 6px; }
.board .type-tile span { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 8vw, 100px); line-height: .95; }
.board small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.board .pal-tile { display: grid; gap: 10px; align-content: start; }
.pal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pal i { aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); }
.pal i:nth-child(1) { background: var(--red); } .pal i:nth-child(2) { background: #fff; }
.pal i:nth-child(3) { background: #0d0d0f; } .pal i:nth-child(4) { background: #8a8587; }
.ui-lines { display: grid; gap: 7px; margin-top: 4px; }
.ui-lines i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.ui-lines i:nth-child(2) { width: 70%; } .ui-lines i:nth-child(3) { width: 42%; background: var(--red); }

/* 轮播控制条 */
.carousel-ui { position: absolute; left: 0; right: 0; bottom: 34px; pointer-events: none; }
.carousel-ui .wrap { display: flex; align-items: center; gap: 18px; }
.carousel-ui button { pointer-events: auto; }
.dots { display: flex; gap: 8px; }
.dots button { width: 38px; height: 24px; padding: 10px 0; border: 0; background: none; }
.dots button::before { content: ""; display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); transition: background .25s; }
.dots button[aria-current="true"]::before { background: var(--red); box-shadow: 0 0 14px rgba(255, 35, 35, .8); }
.counter { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--mute); font-variant-numeric: tabular-nums; }
.arrows { margin-left: auto; display: flex; gap: 10px; }
.arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); backdrop-filter: blur(8px); font-size: 18px; transition: background .2s, border-color .2s; }
.arrows button:hover { background: var(--red); border-color: var(--red); }

@media (max-width: 860px) {
  .slide-inner { grid-template-columns: minmax(0, 1fr); }
  .orbit { max-width: 340px; }
  .slide-art { max-width: 520px; width: 100%; }
}

/* 能力滚动条 */
.marquee { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .02); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 18px 0; }
.marquee li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: #8b8687; white-space: nowrap; }
.marquee li::after { content: "✦"; color: var(--red); font-size: 12px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================================================
   5. 通用区块
   ============================================================ */
.section { padding-block: clamp(68px, 9vw, 120px); position: relative; }
.light { background: var(--paper); color: var(--ink); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 60px); }
.section-head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.section-head h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 800; }
html[data-lang="zh"] .section-head h2 { font-weight: 900; font-size: clamp(28px, 3.6vw, 44px); }
.section-head p { color: var(--mute); max-width: 36em; font-size: 17px; }
.light .section-head p { color: #56504f; }
@media (max-width: 780px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* 服务卡片 */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  position: relative; overflow: hidden; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .3s, border-color .3s, background .3s;
}
/* 悬停时左上角亮起红色光晕 */
.card::before { content: ""; position: absolute; width: 260px; height: 260px; left: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 35, 35, .35), transparent 68%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.card:hover { transform: translateY(-6px); border-color: rgba(255, 60, 50, .5); background: #151518; }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card .icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255, 59, 48, .22), rgba(255, 59, 48, .05)); border: 1px solid rgba(255, 60, 50, .35); color: #ff5a4d; }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 21px; font-weight: 700; }
.card p { color: var(--mute); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 6px; }
.tags span { font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: #d6d1d1; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* 优势：不规则拼贴 */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.bento article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; min-width: 0; }
.bento article:nth-child(1) { grid-column: span 4; background: linear-gradient(135deg, #2a0a0c 0%, #14090a 55%, var(--surface) 100%); border-color: rgba(255, 60, 50, .32); min-height: 260px; justify-content: flex-end; }
.bento article:nth-child(2) { grid-column: span 2; }
.bento article:nth-child(n+3) { grid-column: span 2; }
.bento h3 { font-size: 21px; font-weight: 700; }
.bento article:nth-child(1) h3 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; max-width: 16em; }
.bento p { color: var(--mute); font-size: 15px; max-width: 34em; }
.bento .big-mark { position: absolute; right: -30px; top: -40px; width: 250px; opacity: .14; color: #fff; pointer-events: none; }
.bento .k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ff5a4d; }
@media (max-width: 900px) { .bento article:nth-child(n) { grid-column: span 6; min-height: 0; } }

/* 合作流程（真实的先后顺序，所以用编号） */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps li { background: #fff; border: 1px solid rgba(13, 13, 15, .09); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; box-shadow: 0 20px 44px -30px rgba(13, 13, 15, .35); }
.steps .num { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: .08em; color: #fff; background: var(--ink); width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.steps li:first-child .num { background: var(--red); }
.steps h3 { font-size: 20px; font-weight: 700; margin-top: 6px; }
.steps p { color: #56504f; font-size: 14.5px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* 行业标签 */
.industries { display: flex; flex-wrap: wrap; gap: 10px; }
.industries span { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 15px; }

/* 预约横幅 */
.cta-wrap { padding-block: 0 clamp(68px, 9vw, 120px); }
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px;
  background: linear-gradient(120deg, #d3151a 0%, #ff3b30 55%, #ff6a4d 100%);
  padding: clamp(36px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  box-shadow: 0 40px 90px -40px rgba(255, 35, 35, .7);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 800; max-width: 17em; }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, .88); max-width: 36em; }
.cta-band .btn { background: #0d0d0f; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7); }
.cta-band .btn:hover { background: #fff; color: #0d0d0f; }

/* 内页页头 */
.page-head { position: relative; overflow: hidden; padding-block: clamp(60px, 8vw, 108px) clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 90% at 85% 0%, rgba(255, 35, 35, .26), transparent 65%); pointer-events: none; }
.page-head .wrap { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.page-head h1 { font-size: clamp(34px, 5vw, 62px); font-weight: 800; max-width: 16em; }
html[data-lang="zh"] .page-head h1 { font-weight: 900; font-size: clamp(32px, 4.4vw, 54px); }
.page-head p { color: #c9c4c5; max-width: 40em; font-size: 18px; }

/* ============================================================
   6. 解决方案页
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filters button { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; color: #d6d1d1; transition: background .2s, color .2s; }
.filters button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.work { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: transform .3s, border-color .3s; }
.work:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .25); }
/* 方案封面：用 CSS 画的界面示意，颜色由 --a / --b / --f 控制 */
.shot { aspect-ratio: 16 / 10.5; position: relative; overflow: hidden; padding: 24px 24px 0; display: flex; align-items: flex-end; justify-content: center; gap: 14px; background: radial-gradient(120% 120% at 20% 0%, var(--a), #0c0c0f 85%); }
.browser { width: 100%; height: 100%; background: var(--b); color: var(--f); border-radius: 12px 12px 0 0; box-shadow: 0 -10px 50px rgba(0, 0, 0, .45); display: flex; flex-direction: column; overflow: hidden; }
.browser .top { display: flex; gap: 5px; align-items: center; padding: 9px 12px; background: rgba(128, 128, 128, .16); }
.browser .top i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .35; }
.browser .pg { flex: 1; padding: 16px; display: grid; gap: 9px; align-content: start; }
.pg b { font-family: var(--font-logo); font-weight: 600; letter-spacing: .14em; font-size: 15px; }
.pg .l { height: 7px; border-radius: 4px; background: currentColor; opacity: .18; }
.pg .l.s { width: 55%; }
.pg .pill { width: 64px; height: 18px; border-radius: 999px; background: var(--a); }
.pg .trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.pg .trio i { height: 56px; border-radius: 8px; background: currentColor; opacity: .1; }
.pg .trio i:first-child { background: var(--a); opacity: .9; }
.pg.dash { grid-template-columns: 34px 1fr; padding: 0; gap: 0; align-content: stretch; }
.pg.dash .side { background: rgba(128, 128, 128, .14); display: grid; gap: 8px; padding: 12px 0; justify-items: center; align-content: start; }
.pg.dash .side i { width: 14px; height: 14px; border-radius: 4px; background: currentColor; opacity: .3; }
.pg.dash .side i:first-child { background: var(--a); opacity: 1; }
.pg.dash .main { padding: 14px; display: grid; gap: 9px; align-content: start; }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; margin-top: 4px; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: currentColor; opacity: .16; }
.bars i:nth-child(4), .bars i:nth-child(6) { background: var(--a); opacity: 1; }
.phone { width: 31%; height: 100%; background: var(--b); color: var(--f); border-radius: 18px 18px 0 0; box-shadow: 0 -10px 50px rgba(0, 0, 0, .45); padding: 16px 12px; display: grid; gap: 8px; align-content: start; }
.phone:nth-child(3) { height: 84%; }
.phone .blk { height: 48px; border-radius: 10px; background: var(--a); }
.phone .l { height: 6px; border-radius: 4px; background: currentColor; opacity: .2; }
.idsheet { width: 100%; height: 100%; display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; padding-bottom: 24px; }
.idsheet > div { border-radius: 12px; background: var(--b); color: var(--f); display: grid; place-items: center; }
.idsheet b { font-family: var(--font-logo); font-weight: 600; letter-spacing: .16em; font-size: clamp(18px, 2.2vw, 26px); }
.idsheet .sw { display: grid; grid-template-rows: 2fr 1fr 1fr; gap: 10px; background: none; }
.idsheet .sw i { width: 100%; height: 100%; border-radius: 12px; }
.idsheet .sw i:nth-child(1) { background: var(--a); } .idsheet .sw i:nth-child(2) { background: var(--f); } .idsheet .sw i:nth-child(3) { background: rgba(255,255,255,.14); }
.work-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-body .k { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ff5a4d; }
.work-body h3 { font-size: 20px; font-weight: 700; }
.work-body p { color: var(--mute); font-size: 14.5px; }
@media (max-width: 1000px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .work-grid { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================
   7. 关于页
   ============================================================ */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.prose { display: grid; gap: 20px; max-width: 38em; }
.prose h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
.prose p { color: #cdc8c9; font-size: 17px; }
.facts { margin: 0; padding: 8px 28px; }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ff5a4d; }
.facts dd { margin: 0; font-size: 16px; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.duo article, .values article { background: #fff; border: 1px solid rgba(13, 13, 15, .09); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.duo .k, .values .k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-deep); }
.duo h3 { font-size: clamp(21px, 2.4vw, 27px); font-weight: 800; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.values h3 { font-size: 20px; font-weight: 700; }
.duo p, .values p { color: #56504f; font-size: 15px; }
@media (max-width: 860px) { .about-grid, .duo, .values { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================
   8. 联系页：预约表单
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-info { display: grid; gap: 26px; }
.contact-info h2 { font-size: 26px; font-weight: 800; }
.contact-info ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; counter-reset: s; }
.contact-info ol li { counter-increment: s; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; color: #cdc8c9; font-size: 15.5px; align-items: start; }
.contact-info ol li::before { content: counter(s); width: 34px; height: 34px; border-radius: 11px; background: rgba(255, 59, 48, .14); border: 1px solid rgba(255, 60, 50, .4); color: #ff6a5d; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.channels { display: grid; gap: 0; padding: 4px 22px; }
.channels div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.channels div:last-child { border-bottom: 0; }
.channels span:first-child { color: var(--mute); }

.form-card { padding: clamp(22px, 3.4vw, 40px); }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 13.5px; font-weight: 600; padding: 0; color: #e4dfdf; }
.field .req { color: #ff6a5d; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 12px 14px; min-height: 50px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field select option { background: #17171b; color: var(--text); }
.field textarea { min-height: 118px; resize: vertical; }
.field ::placeholder { color: #7d7879; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px rgba(255, 35, 35, .16); }
.field [aria-invalid="true"] { border-color: #ff6a5d; background: rgba(255, 60, 50, .08); }
.error { min-height: 1.2em; font-size: 13px; color: #ff8a7e; font-weight: 500; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 7px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); font-weight: 600; cursor: pointer; }
.radio-row label:has(input:checked) { border-color: var(--red); background: rgba(255, 35, 35, .16); color: #fff; }
.radio-row input { width: auto; min-height: 0; accent-color: var(--red); }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; color: #cdc8c9; font-weight: 400; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--red); padding: 0; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-foot small { color: var(--mute); font-size: 13px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { form { grid-template-columns: minmax(0, 1fr); } }

/* 提交成功面板 */
.success { display: grid; gap: 18px; justify-items: start; }
.success h2 { font-size: 26px; font-weight: 800; }
.success pre { margin: 0; width: 100%; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 12px; padding: 16px; font: 14px/1.7 var(--font-body); white-space: pre-wrap; overflow-wrap: anywhere; }
.success .cta-row { margin: 0; }
.btn.mail { background: #fff; color: #0d0d0f; box-shadow: none; }
.btn.wa { background: #1f9d55; box-shadow: none; }
.hint { font-size: 13.5px; color: var(--mute); }

/* ============================================================
   9. 页脚
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); background: #060608; color: #bdb8b9; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 40px; padding-block: 60px 40px; }
.foot-grid h2 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #7d7879; margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.foot-grid a { text-decoration: none; }
.foot-grid ul a:hover { color: #fff; }
.foot-grid p { font-size: 14.5px; max-width: 30em; }
.legal { border-top: 1px solid var(--line); padding-block: 20px 28px; font-size: 13px; color: #7d7879; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* 切换页面时的轻微上浮（从可见状态开始，不依赖滚动触发） */
@keyframes rise { from { transform: translateY(16px); } to { transform: none; } }
.view > * { animation: rise .55s cubic-bezier(.2, .7, .2, 1) both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
