/* ==========================================================================
   YHDM 工作室 · 官网样式
   --------------------------------------------------------------------------
   设计取向：深色 + 衬线感标题 + 细边框卡片，突出「截图」本身而不是装饰。
   全站不依赖任何 CDN / 字体服务，纯本地资源，断网也能正常显示。

   约定：
     · 所有颜色走 CSS 变量，改品牌色只动 :root
     · 产品三色：--wms / --nail / --recycle，卡片和详情页靠 data-accent 切换
     · 移动端断点只有两个：960px（单列）、620px（更紧的留白）
   ========================================================================== */

:root {
  /* 底色 */
  --bg: #07090e;
  --bg-soft: #0b0f16;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* 文字 */
  --fg: #e9eff7;
  --fg-2: #a7b4c6;
  --fg-3: #6d7b8e;

  /* 强调色 */
  --brand: #6b8cff;
  --wms: #4f8cff;
  --nail: #ff7ba8;
  --recycle: #2fc08a;

  /* 字体：不引外链，中文走系统字体 */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas,
    "Liberation Mono", monospace;

  --wrap: 1180px;
  --radius: 16px;
  --radius-lg: 22px;
}

/* ------------------------------------------------------------------ 基础 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

::selection {
  background: rgba(107, 140, 255, 0.32);
}

/* 全站背景：顶部两团极淡的光，加一层细网格，避免大片死黑 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 18% -8%, rgba(79, 140, 255, 0.16), transparent 68%),
    radial-gradient(760px 460px at 88% 4%, rgba(255, 123, 168, 0.1), transparent 70%),
    radial-gradient(700px 500px at 50% 108%, rgba(47, 192, 138, 0.08), transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 62%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 62%);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* ------------------------------------------------------------------ 导航 */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav.is-solid {
  background: rgba(7, 9, 14, 0.78);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(140deg, var(--wms), var(--brand) 45%, var(--nail));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #06101f;
}

.brand__name {
  font-size: 15.5px;
}

.brand__name em {
  font-style: normal;
  color: var(--fg-3);
  font-weight: 500;
  margin-left: 6px;
  font-size: 13px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  color: var(--fg-2);
}

.nav__links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--fg);
}

.nav__cta {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--fg) !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav__cta:hover {
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.28);
}

/* ------------------------------------------------------------------ 通用块 */

.section {
  padding: 110px 0;
  position: relative;
}

.section--tight {
  padding: 78px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.h2 {
  font-size: clamp(27px, 3.3vw, 42px);
  line-height: 1.28;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.h2 small {
  display: block;
  font-size: 15.5px;
  font-weight: 400;
  color: var(--fg-2);
  letter-spacing: 0;
  line-height: 1.85;
  margin-top: 16px;
  max-width: 620px;
}

.sec-head {
  margin-bottom: 56px;
}

.sec-head--center {
  text-align: center;
}

.sec-head--center .h2 small {
  margin-left: auto;
  margin-right: auto;
}

.sec-head--center .eyebrow {
  justify-content: center;
}

/* ------------------------------------------------------------------ 首屏 */

.hero {
  padding: 150px 0 0;
  position: relative;
}

.hero__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 26px;
}

.hero h1 .grad {
  background: linear-gradient(96deg, #a9c2ff 0%, #d8e3ff 38%, #ffc2d8 78%, #b9f0dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(15.5px, 1.6vw, 18px);
  color: var(--fg-2);
  line-height: 1.9;
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(180deg, #f2f6ff, #dbe5fb);
  color: #0a1220;
  box-shadow: 0 10px 30px -12px rgba(160, 190, 255, 0.6);
}

.btn--primary:hover {
  box-shadow: 0 16px 38px -14px rgba(160, 190, 255, 0.75);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--fg);
}

.btn--ghost:hover {
  background: var(--surface-2);
}

/* 次要尺寸：用在产品页「访问系统」这类辅助动作上，
   不该和主 CTA 抢视觉重量 */
.btn--sm {
  padding: 10px 20px;
  font-size: 13.5px;
  gap: 7px;
}

.hero__meta {
  margin-top: 34px;
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__meta i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--recycle);
  box-shadow: 0 0 8px var(--recycle);
}

/* 首屏大图：浏览器框 + 边缘渐隐，避免截图生硬地贴在深色背景上 */
.hero__shot {
  margin-top: 64px;
  position: relative;
}

.hero__shot::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 42%;
  background: linear-gradient(to bottom, transparent, var(--bg) 88%);
  pointer-events: none;
}

/* ------------------------------------------------------------------ 设备框 */

.frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0e131b;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.frame--desktop img {
  width: 100%;
  height: auto;
}

.frame__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}

.frame__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.frame__bar em {
  margin-left: 10px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-3);
  letter-spacing: 0.03em;
}

/* 手机框：靠粗边框 + 大圆角模拟机身，不做刘海（截图本身没有） */
.frame--phone {
  border-radius: 30px;
  border: 7px solid #12171f;
  background: #12171f;
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.frame--phone img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
}

/* ------------------------------------------------------------------ 产品矩阵 */

.products {
  display: grid;
  gap: 26px;
}

.pcard {
  --accent: var(--brand);
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.pcard:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  transform: translateY(-3px);
  box-shadow: 0 34px 70px -46px color-mix(in srgb, var(--accent) 60%, transparent);
}

/* 左侧文字 */
.pcard__body {
  padding: 46px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 1;
}

.pcard__body--right {
  order: 2;
}

.pcard__tags {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--fg-2);
}

.tag--live {
  border-color: color-mix(in srgb, var(--recycle) 45%, transparent);
  color: #7fe3bd;
  background: rgba(47, 192, 138, 0.1);
}

.tag--dev {
  border-color: rgba(255, 190, 100, 0.42);
  color: #ffcf85;
  background: rgba(255, 190, 100, 0.09);
}

.tag--accent {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  color: color-mix(in srgb, var(--accent) 78%, white);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.pcard h3 {
  font-size: 27px;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin-bottom: 6px;
}

.pcard__en {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 20px;
}

.pcard__desc {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 26px;
}

.pcard__points {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  gap: 11px;
}

.pcard__points li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--fg-2);
}

.pcard__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.85;
}

.pcard__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: color-mix(in srgb, var(--accent) 82%, white);
  width: fit-content;
}

.pcard__link svg {
  transition: transform 0.2s ease;
}

.pcard__link:hover svg {
  transform: translateX(4px);
}

/* 右侧截图区 */
.pcard__media {
  position: relative;
  order: 2;
  min-height: 420px;
  background:
    radial-gradient(600px 320px at 78% 18%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
  border-left: 1px solid var(--line);
  overflow: hidden;
}

.pcard__media--left {
  order: 1;
  border-left: 0;
  border-right: 1px solid var(--line);
}

/* 桌面截图在卡片里：斜切一点点，避免和正文抢视线 */
.pcard__media .shot-desktop {
  position: absolute;
  top: 50%;
  left: 30px;
  right: -130px;
  transform: translateY(-50%);
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

/* ---- 手机截图：两张错位叠放 ----
   ⚠️ 这里按「高度」对齐而不是宽度。
      三个产品的截图长宽比完全不同（美甲 2:3、回收 1:2.16），
      如果定宽，回收那两张会高出一截，叠出来的错位量也跟着变；
      定高 + width:auto 才能保证任何比例下视觉体量一致。
      定位也别用 left: 百分比——宽度会变，百分比算出来的叠压量跟着漂。 */
.pcard__media--stack {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcard__media--stack .shot-phone {
  flex: 0 0 auto;
  height: 336px;
  border-radius: 22px;
  border: 6px solid #12171f;
  background: #12171f;
  box-shadow: 0 26px 56px -22px rgba(0, 0, 0, 0.92), 0 0 0 1px rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.pcard__media--stack .shot-phone img {
  height: 100%;
  width: auto;
  border-radius: 16px;
  display: block;
}

.pcard__media--stack .shot-phone--a {
  transform: rotate(-4deg) translateX(16px);
  z-index: 2;
}

.pcard__media--stack .shot-phone--b {
  transform: rotate(3.5deg) translateX(-16px);
  margin-top: 66px;
  z-index: 1;
  opacity: 0.95;
}

/* ------------------------------------------------------------------ 数据带 */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.stat {
  background: var(--bg-soft);
  padding: 34px 26px;
  text-align: center;
}

.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff, #9db0c9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.stat__num em {
  font-style: normal;
  font-size: 0.52em;
  margin-left: 3px;
  color: var(--fg-3);
  -webkit-text-fill-color: var(--fg-3);
}

.stat__label {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--fg-3);
}

/* ------------------------------------------------------------------ 原则 */

.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.principle {
  padding: 34px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.principle:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.principle__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  margin-bottom: 16px;
}

.principle h4 {
  font-size: 18.5px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.principle p {
  font-size: 14.5px;
  color: var(--fg-2);
  line-height: 1.85;
}

/* ------------------------------------------------------------------ 关于 */

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about__text p {
  color: var(--fg-2);
  font-size: 15.5px;
  line-height: 1.95;
  margin-bottom: 18px;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__text strong {
  color: var(--fg);
  font-weight: 600;
}

.stack {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stack__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 18px 24px;
  background: var(--bg-soft);
  align-items: baseline;
}

.stack__key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  text-transform: uppercase;
}

.stack__val {
  font-size: 14.5px;
  color: var(--fg-2);
  line-height: 1.7;
}

/* ------------------------------------------------------------------ 联系 */

.contact {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 62px 56px;
  overflow: hidden;
  background:
    radial-gradient(620px 300px at 12% 0%, rgba(107, 140, 255, 0.16), transparent 70%),
    radial-gradient(520px 280px at 92% 100%, rgba(47, 192, 138, 0.12), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.contact h2 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 14px;
}

.contact p {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.85;
  max-width: 480px;
}

.contact__ways {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 250px;
}

.way {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.way:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
}

.way__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  flex: 0 0 auto;
  color: var(--fg-2);
}

.way__label {
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}

.way__val {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* 邮箱比手机号长一倍（19 个字符），15.5px 在 250px 宽的卡片里会顶到边。
   缩到 14px、去掉字间距，并允许在任意位置断行兜底 —— 宁可换行也别撑破卡片。 */
.way__val--mail {
  font-size: 14px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

/* ------------------------------------------------------------------ 页脚 */

.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  margin-top: 40px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--fg-3);
}

.footer__links {
  display: flex;
  gap: 22px;
}

.footer__links a:hover {
  color: var(--fg-2);
}

/* 系统入口：指向三个产品的真实线上域名。
   放在页脚而不是产品卡上 —— 访客想「验证这东西真的在跑」时才需要它，
   摆到卡片里会把一张宣传页变成导航页。
   等宽字体让三个域名对齐，后缀 ↗ 表示会跳走。 */
.footer__sys {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  /* 单独一行：上一行是「站内导航」，这一行是「线上系统」，
     混在一行会让人分不清哪个是介绍、哪个是入口 */
  margin-top: 16px;
}

.footer__sys-k {
  color: var(--fg-3);
  opacity: 0.65;
}

.footer__sys a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.01em;
}

.footer__sys a::after {
  content: "↗";
  margin-left: 3px;
  font-size: 10px;
  opacity: 0.5;
}

.footer__sys a:hover {
  color: var(--fg);
}

/* ==========================================================================
   产品详情页
   ========================================================================== */

.prod-hero {
  --accent: var(--brand);
  padding: 140px 0 0;
  position: relative;
}

.prod-hero::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  /* ⚠️ 别写死 1000px：手机上 1000px 的光晕会把页面撑出横向滚动条
     （scrollWidth 695 > 390）。用 min() 夹到视口宽。 */
  width: min(1000px, 100vw);
  height: 420px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 20%, transparent), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--fg-3);
  margin-bottom: 26px;
  transition: color 0.2s ease;
}

.crumb:hover {
  color: var(--fg-2);
}

.prod-hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: -0.028em;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 700;
}

.prod-hero__lead {
  font-size: clamp(15.5px, 1.6vw, 18px);
  color: var(--fg-2);
  line-height: 1.9;
  max-width: 640px;
  margin-bottom: 34px;
}

.prod-hero__meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 52px;
}

/* 「访问系统」这行：放在导语和元信息条之间。
   访客读完导语正好奇「能点进去看吗」，这里给一个入口，
   后面再摆规格表——先让他验证，再让他读参数。 */
.prod-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.prod-hero__hint {
  font-size: 12.5px;
  color: var(--fg-3);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-item__k {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.meta-item__v {
  font-size: 14.5px;
  color: var(--fg);
}

.prod-hero__shot {
  position: relative;
  margin-bottom: 0;
}

/* 纯移动端产品：头图用一台居中的手机，比横铺一张桌面截图更贴切 */
.prod-hero__shot--phone {
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
}

.prod-hero__shot--phone .frame--phone {
  width: 358px;
  max-width: 76vw;
}

/* 功能行：图文左右交替 */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 62px;
  align-items: center;
  padding: 62px 0;
  border-top: 1px solid var(--line);
}

.feature:first-of-type {
  border-top: 0;
}

.feature--rev {
  grid-template-columns: 1.15fr 1fr;
}

.feature--rev .feature__text {
  order: 2;
}

.feature__no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--accent, var(--brand)) 70%, white);
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 23px;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  font-weight: 700;
}

.feature p {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.9;
}

.feature__list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}

.feature__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--fg-2);
}

.feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent, var(--brand));
}

.feature__media {
  position: relative;
}

.feature__media .frame {
  box-shadow: 0 34px 70px -40px rgba(0, 0, 0, 0.95);
}

/* 手机截图在功能行里：居中放，带一圈光晕
   光晕不是为了好看，是因为功能行只有一台手机时，右侧会空一大片，
   补一层同色系柔光能把视线收回到手机上。 */
.feature__media--phones {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  padding: 30px 0;
}

.feature__media--phones::before {
  content: "";
  position: absolute;
  inset: 6% 4%;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    color-mix(in srgb, var(--accent, var(--brand)) 16%, transparent),
    transparent 78%
  );
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.feature__media--phones .frame--phone {
  position: relative;
  z-index: 1;
  width: 47%;
  max-width: 288px;
}

.feature__media--phones .frame--phone:last-child {
  margin-top: 46px;
}

/* 规格表 */
.specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec {
  background: var(--bg-soft);
  padding: 24px 26px;
}

.spec__k {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 8px;
}

.spec__v {
  font-size: 14.5px;
  color: var(--fg-2);
  line-height: 1.75;
}

/* 详情页底部：回首页 / 联系 */
.prod-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 44px 0 0;
  border-top: 1px solid var(--line);
}

.prod-foot p {
  color: var(--fg-3);
  font-size: 14px;
}

/* 研发中提示条 */
.notice {
  display: flex;
  gap: 14px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 190, 100, 0.28);
  background: rgba(255, 190, 100, 0.06);
  border-radius: 13px;
  margin-bottom: 40px;
}

.notice__icon {
  color: #ffcf85;
  flex: 0 0 auto;
  margin-top: 2px;
}

.notice p {
  font-size: 14.5px;
  color: #e8d5b4;
  line-height: 1.8;
}

.notice strong {
  color: #ffcf85;
}

/* ------------------------------------------------------------------ 进场动画 */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* 尊重系统「减少动态效果」设置 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pcard,
  .btn,
  .principle {
    transition: none;
  }
}

/* ------------------------------------------------------------------ 响应式 */

@media (max-width: 1080px) {
  .pcard {
    grid-template-columns: 1fr;
  }

  .pcard__body,
  .pcard__body--right {
    order: 2;
    padding: 38px 32px;
  }

  .pcard__media,
  .pcard__media--left {
    order: 1;
    min-height: 300px;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pcard__media .shot-desktop {
    left: 24px;
    right: -60px;
    top: 50%;
  }

  .pcard__media--stack .shot-phone {
    height: 280px;
  }

  .pcard__media--stack .shot-phone--b {
    margin-top: 44px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature,
  .feature--rev {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .feature--rev .feature__text {
    order: 0;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .section {
    padding: 78px 0;
  }

  .hero {
    padding-top: 120px;
  }

  .nav__links {
    display: none;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .specs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .wrap {
    padding: 0 18px;
  }

  .hero {
    padding-top: 104px;
  }

  .hero__shot {
    margin-top: 40px;
  }

  .pcard__body,
  .pcard__body--right {
    padding: 30px 24px;
  }

  .pcard h3 {
    font-size: 22px;
  }

  .contact {
    padding: 38px 26px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 26px 20px;
  }

  .principle {
    padding: 26px 22px;
  }

  .frame__bar em {
    display: none;
  }

  .feature__media--phones {
    gap: 10px;
  }

  /* 四项元信息在手机上竖排会占掉半屏，改成 2×2 */
  .prod-hero__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 14px;
  }

  .prod-hero__meta .meta-item__v {
    font-size: 13.5px;
  }

  /* 三个域名一行放不下（46 个字符 ≈ 360px，超出 354px 的可用宽），
     让它自然换成两行；标签单独占一行，两行域名都从左边起，
     否则「recycle」会孤零零吊在第二行、还和上面错开一截。 */
  .footer__sys {
    gap: 8px 14px;
  }

  .footer__sys-k {
    flex-basis: 100%;
  }
}
