/* ============================================================
   皮蛋科技官网 · 样式
   浅色为主，[data-theme="dark"] 覆盖为深色版本
   ============================================================ */

:root {
  --grad: linear-gradient(100deg, #FFC56E 0%, #FE2C55 52%, #FF17A2 100%);
  --grad-text: linear-gradient(100deg, #E07212 0%, #E11B44 48%, #B5127C 100%);
  --accent: #FE2C55;
  --accent-strong: #D31B44;

  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #fbfbfd;
  --border: rgba(18, 22, 34, 0.09);
  --border-strong: rgba(18, 22, 34, 0.16);
  --text: #14161d;
  --muted: #5b6172;
  --muted-2: #878da0;
  --shadow: 0 18px 48px -28px rgba(20, 24, 40, 0.28);
  --shadow-accent: 0 16px 40px -20px rgba(254, 44, 85, 0.42);
  --header-bg: rgba(255, 255, 255, 0.72);
  --code-bg: #f1f2f6;
  --orb-bg: radial-gradient(circle at 32% 22%, #ffffff 0%, #f4f5f9 68%, #eceef4 100%);
  --focus: 0 0 0 3px rgba(254, 44, 85, 0.28);

  --radius: 18px;
  --container: 1160px;
  --header-h: 72px;
}

[data-theme="dark"] {
  --grad-text: linear-gradient(100deg, #FFC46B 0%, #FF5C7A 48%, #FF61C2 100%);
  --accent: #FF3D63;
  --accent-strong: #FF7A92;

  --bg: #0b0d12;
  --bg-soft: #0e1117;
  --surface: #12151d;
  --surface-2: #151923;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text: #e9ebf3;
  --muted: #a3aab9;
  --muted-2: #7f8697;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
  --shadow-accent: 0 18px 46px -22px rgba(255, 61, 99, 0.35);
  --header-bg: rgba(11, 13, 18, 0.72);
  --code-bg: #1a1e28;
  --orb-bg: radial-gradient(circle at 32% 22%, #1b202b 0%, #141823 62%, #10131b 100%);
  --focus: 0 0 0 3px rgba(255, 61, 99, 0.35);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.24; }
p { margin: 0; }

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

::selection { background: rgba(254, 44, 85, 0.16); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}
.btn:focus-visible, .icon-btn:focus-visible, .platform:focus-visible,
.shot-btn:focus-visible, .locate-link:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.btn-primary {
  background: var(--grad);
  background-size: 160% 160%;
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { transform: translateY(-1px); filter: saturate(1.08) brightness(1.03); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); }

.btn-nav {
  height: 40px;
  padding: 0 14px;
  background: var(--surface);
  border-color: var(--border);
  gap: 6px;
}
.btn-nav:hover { border-color: var(--border-strong); }
.btn-nav[aria-expanded="true"] { border-color: var(--accent); color: var(--accent-strong); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.icon-btn:hover { border-color: var(--border-strong); color: var(--accent-strong); }

/* ---------------- 顶栏 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 12px 32px -26px rgba(10, 14, 24, 0.5);
}
.nav-wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  flex: 0 0 auto;
}
.brand-logo { width: 34px; display: block; }
.brand-logo img { width: 100%; height: auto; }
[data-theme="dark"] .brand-logo img { filter: invert(1); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 16px; letter-spacing: 0.02em; }
.brand-text small {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-top: 3px;
}

.desktop-nav { margin-left: auto; }
.locate { position: relative; }
.locate-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 168px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 40;
}
.locate-menu[hidden] { display: none; }
.locate-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.locate-menu a:hover { background: var(--bg-soft); color: var(--accent-strong); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.desktop-nav + .nav-actions { margin-left: 0; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: none; }

.btn-contact { padding: 0 20px; }

.menu-btn { display: none; }
.burger { display: flex; flex-direction: column; gap: 4px; width: 16px; }
.burger i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 12px 0 18px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  padding: 12px 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  color: var(--text);
}
.mobile-menu a:hover { background: var(--bg-soft); }
.mobile-contact { margin-top: 10px; width: 100%; }

/* ---------------- 通用板块 ---------------- */
.section { padding: 96px 0 88px; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-soft::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--border);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.eyebrow-num {
  font: inherit;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent-strong);
  background: var(--surface);
}

h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.025em;
  max-width: 780px;
}
.lead {
  margin-top: 16px;
  max-width: 640px;
  color: var(--muted);
  font-size: 16.5px;
}
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.section-head { margin-bottom: 44px; }
.br-mobile { display: none; }

/* ---------------- 首屏 / 公司介绍 ---------------- */
.hero {
  padding-top: 78px;
  overflow: hidden;
  background:
    radial-gradient(680px 420px at 88% 6%, rgba(255, 197, 110, 0.16), transparent 70%),
    radial-gradient(680px 480px at 72% 52%, rgba(254, 44, 85, 0.09), transparent 72%),
    radial-gradient(560px 420px at 14% 88%, rgba(255, 23, 162, 0.06), transparent 70%);
}
[data-theme="dark"] .hero {
  background:
    radial-gradient(680px 420px at 88% 6%, rgba(255, 197, 110, 0.1), transparent 70%),
    radial-gradient(680px 480px at 72% 52%, rgba(254, 44, 85, 0.12), transparent 72%),
    radial-gradient(560px 420px at 14% 88%, rgba(255, 23, 162, 0.09), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.hero h1 .grad-text { display: inline; }
.hero .lead { margin-top: 20px; font-size: 17px; max-width: 540px; }
.hero .lead strong { color: var(--text); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-facts li { display: flex; flex-direction: column; line-height: 1.35; }
.hero-facts strong { font-size: 19px; letter-spacing: -0.01em; }
.hero-facts span { font-size: 12px; color: var(--muted-2); margin-top: 4px; letter-spacing: 0.04em; }

.hero-visual { display: flex; align-items: center; justify-content: center; }
.orb-wrap {
  position: relative;
  width: min(430px, 82%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: float 9s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(-6px); }
  50% { transform: translateY(8px); }
}

.orb-glow {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 55%, rgba(254, 44, 85, 0.17), rgba(255, 23, 162, 0.06) 46%, transparent 70%);
  filter: blur(18px);
}
.orb-arc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 208deg, transparent 0 52%, #FFC56E 68%, #FE2C55 82%, #FF17A2 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.ring-a { inset: 34px; }
.ring-b { inset: 72px; border-style: dashed; border-color: var(--border-strong); opacity: 0.7; }

.orb {
  position: absolute;
  inset: 104px;
  border-radius: 50%;
  background: var(--orb-bg);
  box-shadow: inset 0 0 0 1px var(--border), 0 30px 70px -34px rgba(254, 44, 85, 0.55);
  display: grid;
  place-items: center;
}
.orb img { width: 46%; }
[data-theme="dark"] .orb img { filter: invert(1); }

.orb-chip {
  position: absolute;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 10px 26px -20px rgba(10, 14, 24, 0.6);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}
.chip-quark { top: 12%; left: -2%; }
.chip-quality { top: 44%; right: -7%; }
.chip-quin { bottom: 9%; left: 4%; }

.meaning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 74px;
}
.meaning {
  position: relative;
  padding: 28px 24px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.meaning::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.meaning:hover::after { opacity: 1; }
.meaning-letter {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.meaning h3 { margin-top: 14px; font-size: 16px; letter-spacing: 0; }
.meaning p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------------- 团队 ---------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.avatar {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px dashed var(--border-strong);
  background: linear-gradient(135deg, rgba(255, 197, 110, 0.24), rgba(254, 44, 85, 0.13) 52%, rgba(255, 23, 162, 0.16));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.avatar img { width: 42px; opacity: 0.42; }
[data-theme="dark"] .avatar img { filter: invert(1); opacity: 0.24; }
.avatar-label {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted-2);
}
.team-body { padding-top: 18px; }
.role-chip {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--accent-strong);
  background: var(--surface-2);
}
.team-name { margin-top: 10px; font-size: 20px; }
.team-bio { margin-top: 6px; font-size: 13.5px; color: var(--muted); min-height: 3.6em; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.team-tags span {
  font-size: 11.5px;
  color: var(--muted);
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.placeholder-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted-2);
}

/* ---------------- 产品 ---------------- */
.product-shell {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-head {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 26px 30px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(100deg, rgba(255, 197, 110, 0.13), rgba(254, 44, 85, 0.07) 46%, rgba(255, 23, 162, 0.1));
}
.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.version-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.14);
}
.product-head p { font-size: 14px; color: var(--muted); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.feature { padding: 28px 30px; border-top: 1px solid var(--border); }
.feature:nth-child(odd) { border-right: 1px solid var(--border); }
.feature:nth-child(1), .feature:nth-child(2) { border-top: none; }
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  color: var(--accent-strong);
  background: linear-gradient(135deg, rgba(255, 197, 110, 0.2), rgba(254, 44, 85, 0.1) 55%, rgba(255, 23, 162, 0.14));
  border: 1px solid var(--border);
}
.feature h3 { margin-top: 14px; font-size: 17px; letter-spacing: 0; }
.feature p { margin-top: 6px; font-size: 13.5px; color: var(--muted); }

/* ---------------- 业务范围 ---------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.service-num {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}
.service h3 { font-size: 19px; letter-spacing: 0; }
.service p { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* 下载区 */
.download-card {
  margin-top: 26px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.download-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.download-head h3 { font-size: 22px; letter-spacing: -0.01em; }
.download-head p { margin-top: 8px; font-size: 14px; color: var(--muted); max-width: 620px; }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.platform {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.platform:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.platform[aria-checked="true"] {
  border-color: rgba(254, 44, 85, 0.5);
  background: linear-gradient(135deg, rgba(255, 197, 110, 0.16), rgba(254, 44, 85, 0.08) 55%, rgba(255, 23, 162, 0.1));
  box-shadow: 0 10px 26px -22px rgba(254, 44, 85, 0.8);
}
.platform-label { font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em; }
.platform-desc { font-size: 11.5px; color: var(--muted-2); line-height: 1.5; }
.badge-recommend {
  position: absolute;
  top: -8px;
  right: 10px;
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 1px 7px;
  border-radius: 999px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 6px 14px -8px rgba(254, 44, 85, 0.7);
}

.download-action {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.btn-download { height: 46px; padding: 0 24px; }
.download-meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.download-meta code {
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--muted);
  background: var(--code-bg);
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  word-break: break-all;
}
.detect-status { font-size: 12.5px; color: var(--muted-2); display: flex; align-items: center; gap: 6px; }
.detect-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-2);
  flex: 0 0 auto;
}
.detect-status.matched::before { background: #21a366; }
.download-foot { margin-top: 16px; font-size: 12px; color: var(--muted-2); }

/* 压测对比 */
.bench {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.bench-head { max-width: 720px; }
.bench-head h3 { font-size: 22px; letter-spacing: -0.01em; }
.bench-head p { margin-top: 8px; font-size: 14px; color: var(--muted); }

.bench-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.bench-card {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.bench-card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bench-name { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.bench-tag {
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--accent-strong);
  border: 1px solid rgba(254, 44, 85, 0.3);
  background: rgba(254, 44, 85, 0.06);
}
.bench-tag.muted { color: var(--muted-2); border-color: var(--border); background: transparent; }
.bench-rps {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
.bench-rps span {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-right: 4px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bench-card dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 18px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.bench-card dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.bench-card dt { font-size: 12px; color: var(--muted-2); }
.bench-card dd { margin: 0; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--text); }

.bench-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted-2);
  max-width: 860px;
}

.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.shot { margin: 0; }
.shot-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #06070a;
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.shot-btn:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.shot-btn img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top center;
  opacity: 0.95;
}
.shot-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(10, 12, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.02em;
}
.shot figcaption { margin-top: 8px; font-size: 12px; color: var(--muted-2); }

/* ---------------- 页脚 ---------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr;
  gap: 36px;
}
.footer-brand p { margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.9; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.06em; color: var(--muted-2); font-weight: 600; }
.footer-col > p { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.footer-col a { text-decoration: none; color: var(--muted); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--accent-strong); }
.footer-links { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted-2);
}
.footer-legal a { color: var(--muted-2); text-decoration: none; }
.footer-legal a:hover { color: var(--accent-strong); }
.sep { margin: 0 6px; }

/* ---------------- 联系弹窗 ---------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[aria-hidden="true"] { display: none; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 11, 17, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 30px 30px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.55);
  animation: pop 0.2s ease-out;
}
@keyframes pop {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.modal-card .eyebrow { margin-bottom: 10px; }
.modal-card h3 { font-size: 26px; letter-spacing: -0.02em; }
.modal-lead { margin-top: 10px; font-size: 14px; color: var(--muted); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; }

.contact-list { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
}
.contact-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 10px;
  color: var(--accent-strong);
  background: linear-gradient(135deg, rgba(255, 197, 110, 0.2), rgba(254, 44, 85, 0.1) 55%, rgba(255, 23, 162, 0.14));
  border: 1px solid var(--border);
}
.contact-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-body small { font-size: 11px; letter-spacing: 0.08em; color: var(--muted-2); }
.contact-body span, .contact-body a {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text);
  text-decoration: none;
  word-break: break-word;
}
.contact-body a { color: var(--accent-strong); }
.contact-body a:hover { text-decoration: underline; }

/* ---------------- 截图放大 ---------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(6, 8, 12, 0.96);
  display: flex;
  flex-direction: column;
}
.lightbox[aria-hidden="true"] { display: none; }
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  color: #e6e8ee;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex: 0 0 auto;
}
.lightbox-close {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.lightbox-close:hover { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.lightbox-body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 20px;
  -webkit-overflow-scrolling: touch;
}
.lightbox-body img {
  display: block;
  width: min(880px, 94vw);
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .hero-grid { gap: 28px; }
  .orb-wrap { width: min(380px, 88%); }
  .chip-quality { right: -3%; }
  .meaning-grid { gap: 14px; }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .nav-actions { margin-left: auto; }
  .section { padding: 76px 0 68px; }
  .hero {
    padding-top: 48px;
    background:
      radial-gradient(520px 360px at 92% 4%, rgba(255, 197, 110, 0.12), transparent 70%),
      radial-gradient(520px 420px at 84% 46%, rgba(254, 44, 85, 0.06), transparent 72%);
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin: 10px 0 4px; }
  .orb-wrap { width: min(380px, 78%); }
  .hero-facts { gap: 22px; }
  .meaning-grid, .team-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .meaning-grid .meaning:last-child { grid-column: 1 / -1; }
  .product-head { padding: 20px 22px; }
  .feature { padding: 22px; }
  .bench-grid, .shots { grid-template-columns: 1fr; }
  .shot-btn img { height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .brand-text small { display: none; }
  .btn-contact { padding: 0 14px; }
  .nav-actions { gap: 8px; }
  .icon-btn { width: 36px; height: 36px; }

  .hero h1 { font-size: clamp(34px, 9vw, 44px); }
  .hero .lead { font-size: 15.5px; }
  .hero-visual { margin: 24px 0 4px; }
  .orb-wrap { width: min(280px, 78%); }
  .orb { inset: 68px; }
  .orb-ring.ring-a { inset: 24px; }
  .orb-ring.ring-b { inset: 48px; }
  .orb-chip { font-size: 10.5px; padding: 4px 9px; }
  .chip-quark { left: 0; }
  .chip-quality { right: -2%; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
  .hero-facts li { min-width: 0; }
  .hero-facts strong { font-size: 15px; }

  .section-head { margin-bottom: 32px; }
  .br-mobile { display: inline; }
  h2 { font-size: clamp(26px, 7.6vw, 32px); }
  .lead { font-size: 15px; }
  .meaning-grid, .team-grid, .service-grid, .platform-grid, .feature-grid { grid-template-columns: 1fr; }
  .meaning-grid { margin-top: 44px; }
  .feature:nth-child(odd) { border-right: none; }
  .feature:nth-child(2) { border-top: 1px solid var(--border); }

  .download-card { padding: 22px 18px; }
  .download-head h3 { font-size: 19px; }
  .download-action { align-items: stretch; flex-direction: column; }
  .btn-download { justify-content: center; width: 100%; }
  .download-meta { gap: 4px; }
  .bench { margin-top: 34px; }
  .shots { gap: 12px; }
  .shot-btn img { height: 190px; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .modal-card { padding: 26px 20px 22px; }
  .contact-list li { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb-wrap { animation: none; }
  .modal-card { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
