@font-face {
  font-family: "VT323";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/vt323-latin-400.woff2") format("woff2");
}

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

:root {
  /* Dark — port from variables.scss .dark */
  --bg: #000;
  --bg-elev: #060606;
  --bg-card: #0c0b08;
  --gold: #ffd000;
  --gold-hover: #ffe36a;
  --gold-muted: #a98717;
  --cream: #fff8e7;
  --cream-muted: #d8d0bd;
  --pixel: #928978;

  /* Light — port from variables.scss :root */
  --light-bg: #f8f4ec;
  --light-bg2: #efe6d6;
  --light-gold: #9f7600;
  --light-text: #17120a;
  --light-text-muted: #4d4231;
  --light-border: rgba(138, 98, 0, 0.18);

  --font-serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-pixel: "VT323", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Akira / Lain 质感 — SVG fractal-noise 全局浮层 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.06;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grain 0.6s steps(3) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-1px, 1px); }
  66% { transform: translate(1px, -1px); }
}

/* ───── Nav ───── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 64px;
  z-index: 100;
  color: var(--cream);
}
/* 顶部薄暮渐变 — 在月亮高光区域罩一层,保证 nav 字永远可读 */
.nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 55%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid rgba(255, 208, 0, 0.35);
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1.2;
}
.brand-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-serif);
}
.brand-name {
  color: var(--cream);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.05em;
}
.brand-sep {
  color: var(--gold-muted);
  opacity: 0.55;
  font-size: 14px;
}
.brand-tagline {
  color: var(--cream-muted);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.brand-credit {
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold-muted);
  text-transform: uppercase;
  opacity: 0.75;
}
.nav-links { display: flex; gap: 40px; font-size: 13px; letter-spacing: 0.18em; font-weight: 400; }
.nav-links a { color: inherit; text-decoration: none; transition: opacity 0.3s ease; }
.nav-links a:hover { opacity: 0.55; }

/* ───── Hero ───── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 96px;
  position: relative;
  overflow: hidden;
}


.hero-text { position: relative; z-index: 2; max-width: 820px; padding-left: 8px; }

.hero-eyebrow {
  font-family: var(--font-pixel);
  font-size: clamp(17px, 1.3vw, 21px);
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeIn 0.8s ease 0.3s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 14px;
}

.hero-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(40px, 4.8vw, 72px);
  line-height: 1.25;
  letter-spacing: 0.05em;
  margin-bottom: 48px;
  color: var(--cream);
}
.hero-title span { display: block; opacity: 0; animation: titleFade 0.9s ease forwards; }
.hero-title span:nth-child(1) { animation-delay: 0.5s; }
.hero-title span:nth-child(2) { animation-delay: 0.8s; }
.hero-title span:nth-child(3) { animation-delay: 1.1s; }
.hero-title em { font-style: normal; color: var(--gold); }
.hero-title { margin-bottom: 56px; }
.hero-title-logo {
  width: 0.95em;
  height: 0.95em;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 208, 0, 0.35);
  vertical-align: -0.12em;
  margin-right: 0.25em;
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.6;
  color: var(--cream-muted);
  margin-bottom: 56px;
  max-width: 520px;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0;
  animation: fadeIn 0.8s ease 1.1s forwards;
}

.hero-cta {
  display: flex;
  gap: 20px;
  opacity: 0;
  animation: fadeIn 0.8s ease 1.4s forwards;
}

/* ───── Section 01 — 爱马仕智能体(黑底,悟空式布局) ───── */
.section-agent {
  background: var(--bg);
  color: var(--cream);
  padding: 140px 64px 120px;
  position: relative;
  overflow: hidden;
}
.section-agent .section-num {
  color: var(--gold);
  justify-content: center;
  display: inline-flex;
  margin-bottom: 36px;
}
.agent-head {
  text-align: center;
  margin-bottom: 80px;
}
.agent-h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.agent-h2 em {
  font-style: normal;
  color: var(--gold);
}
.agent-body {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 80px;
  max-width: 1320px;
  margin: 0 auto;
  align-items: center;
}
.agent-tui {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}
.agent-tui-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 208, 0, 0.12),
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 60px 140px rgba(255, 208, 0, 0.06);
}
.agent-tui-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.agent-copy h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin-bottom: 24px;
}
.agent-copy p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--cream-muted);
}

.btn {
  padding: 18px 36px;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  background: transparent;
}
.btn-primary {
  background: var(--gold);
  color: #000;
  border: none;
}
.apple-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transform: translateY(-1px);
}
.btn-primary:hover { background: var(--gold-hover); transform: translateY(-2px); }
.btn-secondary {
  color: var(--cream);
  border: 1px solid var(--cream);
}
.btn-secondary:hover { background: var(--cream); color: #000; }

/* Pixel hover decorations — 4×4 像素角 */
.btn::before, .btn::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.btn::before { top: -3px; left: -3px; }
.btn::after { bottom: -3px; right: -3px; }
.btn:hover::before, .btn:hover::after { opacity: 1; }

/* Hero image — full-screen background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  animation: heroIn 1.8s ease 0.2s forwards;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
/* 渐变蒙版 — 让左侧文字可读,右侧月亮+侧脸保留视觉重量 */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(0,0,0,0.92) 0%,
      rgba(0,0,0,0.7) 22%,
      rgba(0,0,0,0.35) 45%,
      rgba(0,0,0,0.1) 65%,
      transparent 82%
    ),
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.3) 0%,
      transparent 25%,
      transparent 75%,
      rgba(0,0,0,0.5) 100%
    );
  pointer-events: none;
}

/* Bottom slogan */
.hero-slogan {
  position: absolute;
  bottom: 56px;
  left: 64px;
  font-family: var(--font-pixel);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--gold-muted);
  opacity: 0;
  animation: fadeIn 0.8s ease 1.7s forwards;
}
.hero-slogan::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold-muted);
  vertical-align: middle;
  margin-right: 18px;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 56px;
  right: 64px;
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--cream-muted);
  writing-mode: vertical-rl;
  opacity: 0;
  animation: fadeIn 0.8s ease 1.6s forwards, scrollFloat 2.4s ease-in-out infinite 2.4s;
}

/* ───── Section common ───── */
.section { padding: 140px 64px; min-height: 100vh; position: relative; }
.section-num {
  font-family: var(--font-pixel);
  font-size: 15px;
  letter-spacing: 0.3em;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.section-num::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
  max-width: 1480px;
  margin: 0 auto;
}
.section-grid.reverse { grid-template-columns: 7fr 5fr; }

.section h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin-bottom: 32px;
}
.section p {
  font-size: 17px;
  line-height: 1.9;
  font-weight: 300;
  max-width: 480px;
}

/* ───── Section 2 — 深夜墨绿(Amano illustration vibe,夜雾感) ───── */
.section-2 {
  background: #050402;
  color: var(--cream);
  position: relative;
}
/* 顶部 — 从 hero 黑过渡:微妙暖色渐变带 */
.section-2::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 240px;
  background: linear-gradient(180deg, #000 0%, rgba(20, 14, 4, 0.6) 40%, transparent 100%);
  pointer-events: none;
}
/* 右下角暖金光晕 — Amano 月光感 */
.section-2::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -8%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 208, 0, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.section-2 .section-num { color: var(--gold); }
.section-2 p { color: var(--cream-muted); }
.section-2 h2 {
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.3;
  letter-spacing: 0;
  max-width: 540px;
}
.section-2 h2 em {
  font-style: normal;
  color: var(--gold);
}
.section-2 .visual {
  border-radius: 12px;
  overflow: hidden;
  background: #050402;
  box-shadow:
    0 0 0 1px rgba(255, 208, 0, 0.14),
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 60px 140px rgba(255, 208, 0, 0.05);
}
.section-2 .visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* 项目工作台 mockup ── 在 PC-98 风假窗口里显示 3 个项目 */
.vault-header {
  background: var(--gold);
  color: #000;
  padding: 12px 18px;
  font-family: var(--font-pixel);
  font-size: 14px;
  letter-spacing: 0.2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vault-header span:last-child {
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0.6;
}
.vault-list {
  list-style: none;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.vault-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 22px;
  border-bottom: 1px dashed rgba(255, 208, 0, 0.14);
  transition: background 0.3s ease;
}
.vault-row:hover {
  background: rgba(255, 208, 0, 0.05);
}
.vault-avatar {
  width: 60px;
  height: 60px;
  object-fit: cover;
  image-rendering: pixelated;
  flex-shrink: 0;
  clip-path: inset(5%);
}
.vault-info { flex: 1; min-width: 0; }
.vault-name {
  font-family: var(--font-pixel);
  font-size: 16px;
  color: var(--cream);
  letter-spacing: 0.12em;
}
.vault-meta {
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--gold-muted);
  letter-spacing: 0.16em;
  margin-top: 4px;
}
.vault-status {
  font-family: var(--font-pixel);
  font-size: 10px;
  letter-spacing: 0.25em;
  padding: 5px 10px;
  border: 1px solid;
  flex-shrink: 0;
}
.vault-status.active { color: var(--gold); border-color: var(--gold); }
.vault-status.paused { color: var(--gold-muted); border-color: var(--gold-muted); }
.vault-new {
  color: var(--gold-muted);
  font-family: var(--font-pixel);
  letter-spacing: 0.22em;
  font-size: 13px;
  justify-content: center;
  padding: 18px;
  border-bottom: none !important;
  cursor: pointer;
}
.vault-new:hover { color: var(--cream); background: rgba(255, 208, 0, 0.04); }
.vault-plus {
  font-size: 18px;
  color: var(--gold);
  margin-right: 8px;
}

/* ───── Section 3 — PC-98 像素工业风 ───── */
.section-3 { background: var(--bg); }
.section-3 .section-num { color: var(--gold); }
.section-3 h2 {
  color: var(--cream);
  white-space: nowrap;
  font-size: clamp(26px, 3vw, 46px);
}
.section-3 h2 em { font-style: normal; color: var(--gold); }
.section-3 p { color: var(--cream-muted); }

.pixel-mockup {
  aspect-ratio: 4/3;
  background: #1a1408;
  border: 1px solid var(--gold);
  box-shadow:
    0 0 0 4px var(--bg),
    0 0 0 5px rgba(255, 208, 0, 0.3),
    0 40px 120px rgba(255, 208, 0, 0.18);
  position: relative;
  overflow: hidden;
  image-rendering: pixelated;
}
/* 模拟 PC-98 chrome — 顶栏 + 假窗口 */
.pixel-mockup::before {
  content: 'KIPPO.APP  ─  PROJECT: TK-US-001';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 28px;
  background: var(--gold);
  color: #000;
  font-family: var(--font-pixel);
  font-size: 14px;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  padding: 0 12px;
}
.pixel-mockup::after {
  content: '> generate listing main image for "复古机械键盘"\A\A[ pixel mockup placeholder — 待替换为 PC-98 风 app 重绘 ]';
  white-space: pre;
  position: absolute;
  top: 56px; left: 16px; right: 16px;
  font-family: var(--font-pixel);
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* ───── Section 4 — price (3-tier) ───── */
.section-4 {
  background: var(--bg);
  text-align: center;
  padding: 140px 64px;
  border-top: 1px solid rgba(255, 208, 0, 0.12);
}
.price-h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(36px, 4vw, 56px);
  color: var(--cream);
  margin-bottom: 24px;
}
.price-sub {
  font-size: 15px;
  color: var(--cream-muted);
  max-width: 520px;
  margin: 0 auto 80px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}
.price-card {
  padding: 48px 36px;
  border: 1px solid rgba(255, 208, 0, 0.25);
  background: linear-gradient(180deg, rgba(255, 208, 0, 0.02), transparent);
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(255, 208, 0, 0.06), transparent);
  transform: translateY(-12px);
}
/* 4 像素角 — 只给 featured tier */
.price-card.featured::before,
.price-card.featured::after,
.price-card.featured .corner-bl,
.price-card.featured .corner-br {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold);
}
.price-card.featured::before { top: -4px; left: -4px; }
.price-card.featured::after { top: -4px; right: -4px; }
.price-card.featured .corner-bl { bottom: -4px; left: -4px; }
.price-card.featured .corner-br { bottom: -4px; right: -4px; }

.price-tier {
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold-muted);
  text-transform: uppercase;
  margin-bottom: 24px;
  min-height: 16px;
}
.price-card.featured .price-tier { color: var(--gold); }

.price-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 18px;
}

.price-big {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 500;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 6px;
}
.price-big sup {
  font-size: 20px;
  vertical-align: top;
  margin-right: 2px;
  color: var(--gold);
}
.price-big small {
  font-size: 15px;
  color: var(--cream-muted);
  font-weight: 400;
  margin-left: 6px;
  letter-spacing: 0.02em;
}
.price-strike {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--gold-muted);
  margin-bottom: 36px;
  letter-spacing: 0.04em;
  min-height: 20px;
}
.price-strike s { color: var(--gold-muted); opacity: 0.7; }

.price-feats {
  list-style: none;
  margin: 0 0 36px;
  font-size: 14px;
  line-height: 2;
  color: var(--cream-muted);
  flex-grow: 1;
}
.price-feats li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.price-feats li::before {
  content: '◆';
  color: var(--gold);
  font-size: 8px;
  flex-shrink: 0;
}
.price-feats li.hl {
  color: var(--cream);
  font-weight: 500;
}
.price-feats li.hl::before {
  content: '◆';
  color: var(--gold);
}

.price-card .btn {
  width: 100%;
  justify-content: center;
}

/* ───── Section 03 — Onboarding (dark, flat 9-step grid) ───── */
.section-onboarding {
  background: var(--bg);
  color: var(--cream);
  position: relative;
  text-align: center;
  padding: 140px 64px 160px;
  overflow: hidden;
}
.section-onboarding .section-num {
  color: var(--gold);
  justify-content: center;
  display: inline-flex;
  margin-bottom: 32px;
}
.section-onboarding h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 56px);
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 80px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0;
}
.section-onboarding h2 em {
  font-style: normal;
  color: var(--gold);
}
.onboarding-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 208, 0, 0.18);
  border-left: 1px solid rgba(255, 208, 0, 0.18);
}
.onboarding-grid li {
  border-right: 1px solid rgba(255, 208, 0, 0.18);
  border-bottom: 1px solid rgba(255, 208, 0, 0.18);
  padding: 36px 20px;
  text-align: center;
  transition: background 0.4s ease;
}
.onboarding-grid li:hover { background: rgba(255, 208, 0, 0.05); }
.onboarding-grid li .num {
  display: block;
  font-family: var(--font-pixel);
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 12px;
}
.onboarding-grid li .name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.02em;
}

/* ───── 9 步 × 12 员工 结合网格 ───── */
.step-team-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
}
.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 36px 20px 28px;
  border: 1px solid rgba(255, 208, 0, 0.12);
  position: relative;
  transition: all 0.3s ease;
  background: rgba(255, 208, 0, 0.015);
}
.step-card:hover {
  border-color: rgba(255, 208, 0, 0.4);
  transform: translateY(-4px);
  background: rgba(255, 208, 0, 0.04);
}
.step-card:hover .step-avatar {
  filter: brightness(1.15) drop-shadow(0 0 14px rgba(255, 208, 0, 0.4));
}
.step-pixel-num {
  position: absolute;
  top: 14px;
  left: 18px;
  font-family: var(--font-pixel);
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.step-avatar {
  width: 100%;
  max-width: 150px;
  aspect-ratio: 1;
  object-fit: cover;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  transition: filter 0.3s ease;
  margin-top: 4px;
  background: transparent;
  clip-path: inset(5%);
}
.step-action {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--cream);
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.step-role {
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold-muted);
  text-transform: uppercase;
}

/* ───── Section — AI 工作组(像素军团) ───── */
.section-team {
  background: #050402;
  color: var(--cream);
  position: relative;
  text-align: center;
  padding: 140px 64px;
  overflow: hidden;
}
.section-team::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 208, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 208, 0, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  pointer-events: none;
}
.section-team .section-num {
  color: var(--gold);
  justify-content: center;
  display: inline-flex;
  margin-bottom: 32px;
}
.section-team h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  color: var(--cream);
  margin-bottom: 20px;
}
.section-team h2 em {
  font-style: normal;
  color: var(--gold);
}
.section-team .team-sub {
  font-size: 15px;
  color: var(--cream-muted);
  max-width: 520px;
  margin: 0 auto 80px;
  line-height: 1.8;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px 20px;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.3s ease;
  position: relative;
}
.team-card:hover { transform: translateY(-6px); }
.team-card:hover .team-avatar {
  filter: brightness(1.15) drop-shadow(0 0 12px rgba(255, 208, 0, 0.4));
}
.team-avatar {
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1;
  object-fit: cover;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  transition: filter 0.3s ease;
  clip-path: inset(5%);
}
.team-role {
  font-family: var(--font-pixel);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold-muted);
  text-transform: uppercase;
}
.team-name {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--cream);
  font-weight: 500;
}
.team-footer-note {
  margin-top: 80px;
  font-family: var(--font-pixel);
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
}
.team-footer-note::before, .team-footer-note::after {
  content: '◆';
  color: var(--gold-muted);
  margin: 0 14px;
  font-size: 8px;
  vertical-align: middle;
}

/* ───── Section — 加微信 final CTA ───── */
.section-cta-final {
  background: var(--bg);
  text-align: center;
  padding: 140px 64px;
  position: relative;
  border-top: 1px solid rgba(255, 208, 0, 0.08);
}
.section-cta-final::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--gold));
}
.section-cta-final .cta-eyebrow {
  font-family: var(--font-pixel);
  font-size: 14px;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 28px;
}
.section-cta-final h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 32px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-cta-final h2 em { font-style: normal; color: var(--gold); }
.section-cta-final p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--cream-muted);
  max-width: 540px;
  margin: 0 auto 56px;
}
.cta-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ───── Footer ───── */
.footer {
  padding: 56px 64px 40px;
  border-top: 1px solid rgba(255, 208, 0, 0.1);
  font-size: 13px;
  color: var(--gold-muted);
  letter-spacing: 0.08em;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-row + .footer-row {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 208, 0, 0.06);
  font-size: 12px;
  opacity: 0.75;
}
.footer-brand { font-family: var(--font-serif); font-size: 16px; color: var(--cream); }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--cream); }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; }

/* ───── Animations ───── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes titleFade {
  from { opacity: 0; transform: translateY(20px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes heroIn {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes breath {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.015); filter: brightness(1.05); }
}
@keyframes scrollFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ───── Responsive ───── */
@media (max-width: 1024px) {
  .nav { padding: 20px 24px; }
  .nav-links { gap: 24px; }
  .hero { padding: 100px 24px 100px; min-height: 100vh; }
  .hero-text { max-width: 100%; }
  .hero-bg img { object-position: 70% center; opacity: 0.55; }
  .hero-bg::after {
    background:
      linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.3) 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 100%);
  }
  .hero-slogan { left: 24px; bottom: 24px; }
  .scroll-cue { display: none; }
  .section { padding: 100px 24px; }
  .section-grid, .section-grid.reverse { grid-template-columns: 1fr; gap: 48px; }
  .section-onboarding { padding: 100px 24px; }
  .onboarding-grid { grid-template-columns: repeat(2, 1fr); }
  .section-onboarding h2 { margin-bottom: 56px; }
  .section-4 { padding: 100px 24px; }
  .price-grid { grid-template-columns: 1fr; gap: 36px; }
  .price-card.featured { transform: none; }
  .price-big { font-size: 48px; }
  .section-team { padding: 100px 24px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
  .step-team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .section-agent { padding: 100px 24px; }
  .agent-head { margin-bottom: 48px; }
  .agent-body { grid-template-columns: 1fr; gap: 56px; }
  .automation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .automation-card { min-height: 300px; }
}
/* ───── Subpage shared (automation.html, team.html, ...) ───── */
.nav-links a.active {
  color: var(--gold);
}
.nav-links a.active::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--gold);
  margin-top: 4px;
}

.page-hero {
  padding: 200px 64px 120px;
  text-align: center;
  background: var(--bg);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow {
  font-family: var(--font-pixel);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 36px;
}
.page-hero .eyebrow::before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 16px;
  margin-bottom: 4px;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(46px, 6.4vw, 96px);
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--cream);
  margin: 0 auto 36px;
  max-width: 980px;
}
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero .lead {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 300;
  line-height: 1.85;
  color: var(--cream-muted);
  max-width: 640px;
  margin: 0 auto;
}

.sub-section {
  padding: 80px 64px 140px;
  background: var(--bg);
}
.sub-section-head {
  text-align: center;
  margin-bottom: 72px;
}
.sub-section-head .section-num {
  color: var(--gold);
  display: inline-flex;
  justify-content: center;
}
.sub-section-head h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  color: var(--cream);
  line-height: 1.25;
  margin-top: 16px;
  letter-spacing: 0;
}
.sub-section-head h2 em { font-style: normal; color: var(--gold); }

/* automation page — 主动动作 grid */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255, 208, 0, 0.18);
  border: 1px solid rgba(255, 208, 0, 0.18);
}
.auto-card {
  background: var(--bg);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auto-card .num {
  font-family: var(--font-pixel);
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--gold);
}
.auto-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--cream);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.auto-card p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--cream-muted);
}

/* 审批边界 strip */
.gate-strip {
  max-width: 980px;
  margin: 0 auto;
  padding: 64px 56px;
  border: 1px solid rgba(255, 208, 0, 0.22);
  background: linear-gradient(135deg, rgba(255, 208, 0, 0.035), transparent 60%);
  position: relative;
}
.gate-strip .section-num { color: var(--gold); display: inline-flex; margin-bottom: 24px; }
.gate-strip h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--cream);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.gate-strip h3 em { font-style: normal; color: var(--gold); }
.gate-strip > p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--cream-muted);
  max-width: 760px;
}
.gate-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 208, 0, 0.15);
}
.gate-mode-name {
  font-family: var(--font-pixel);
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 12px;
}
.gate-mode-desc {
  font-size: 14px;
  color: var(--cream-muted);
  line-height: 1.75;
}

/* team page — 员工 grid */
.emp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.emp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 32px 20px 28px;
  border: 1px solid rgba(255, 208, 0, 0.13);
  background: rgba(255, 208, 0, 0.015);
  transition: all 0.3s ease;
  position: relative;
}
.emp-card:hover {
  border-color: rgba(255, 208, 0, 0.4);
  background: rgba(255, 208, 0, 0.04);
  transform: translateY(-3px);
}
.emp-card .emp-num {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold-muted);
}
.emp-card .emp-beta {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--gold);
  border: 1px solid rgba(255, 208, 0, 0.45);
  padding: 2px 6px;
}
.emp-avatar {
  width: 96px;
  height: 96px;
  object-fit: cover;
  image-rendering: pixelated;
  clip-path: inset(5%);
}
.emp-name {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.emp-role {
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.emp-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--cream-muted);
  max-width: 200px;
}

/* CEO role strip */
.role-strip {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 56px;
  text-align: center;
  border-top: 1px solid rgba(255, 208, 0, 0.18);
  border-bottom: 1px solid rgba(255, 208, 0, 0.18);
}
.role-strip .role-eyebrow {
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 24px;
}
.role-strip h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  color: var(--cream);
  margin-bottom: 24px;
  letter-spacing: 0;
}
.role-strip h3 em { font-style: normal; color: var(--gold); }
.role-strip p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--cream-muted);
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-hero { padding: 140px 24px 80px; }
  .sub-section { padding: 60px 24px 100px; }
  .auto-grid { grid-template-columns: 1fr; }
  .auto-card { padding: 0; }
  .gate-strip { padding: 36px 24px; }
  .gate-modes { grid-template-columns: 1fr; gap: 24px; }
  .emp-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  .emp-avatar { width: 76px; height: 76px; }
  .role-strip { padding: 60px 24px; }
}

/* ───── Subpage shared — automation.html / team.html ───── */
.page-hero {
  padding: 200px 64px 120px;
  text-align: center;
  background: var(--bg);
  position: relative;
}
.page-hero .eyebrow {
  font-family: var(--font-pixel);
  font-size: 14px;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 28px;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(48px, 6.2vw, 92px);
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--cream);
  margin-bottom: 32px;
}
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero .lead {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.8;
  color: var(--cream-muted);
  max-width: 680px;
  margin: 0 auto;
}
.nav-links a.active { color: var(--gold); }
a.btn { text-decoration: none; }
.nav-brand a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.subpage-section { padding: 100px 64px 140px; background: var(--bg); }
.subpage-head { text-align: center; margin-bottom: 80px; }
.subpage-head .section-num {
  color: var(--gold);
  justify-content: center;
  display: inline-flex;
  margin-bottom: 18px;
}
.subpage-head h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 56px);
  color: var(--cream);
  line-height: 1.25;
}
.subpage-head h2 em { font-style: normal; color: var(--gold); }

/* automation: Apple-style icon grid */
.automation-head {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.automation-head p {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--cream-muted);
  font-size: 16px;
  line-height: 1.85;
}
.automation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}
.automation-card {
  min-height: 330px;
  padding: 34px 32px 32px;
  border: 1px solid rgba(255, 208, 0, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    radial-gradient(circle at top right, rgba(255, 208, 0, 0.09), transparent 56%),
    #080807;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.automation-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%);
  pointer-events: none;
}
.automation-icon {
  width: 58px;
  height: 58px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 42px;
  filter: drop-shadow(0 14px 26px rgba(255, 208, 0, 0.18));
}
.automation-card .num {
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--gold-muted);
  margin-bottom: 16px;
}
.automation-card .num::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 10px;
}
.automation-card h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin-bottom: 14px;
}
.automation-card p {
  color: var(--cream-muted);
  font-size: 14px;
  line-height: 1.85;
  margin-top: auto;
}

/* marketing: image cards */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1240px;
  margin: 0 auto;
  background: rgba(255, 208, 0, 0.18);
  border: 1px solid rgba(255, 208, 0, 0.18);
}
.auto-card {
  background:
    radial-gradient(ellipse at top right, rgba(255, 208, 0, 0.06), transparent 60%),
    var(--bg);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}
.auto-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255, 208, 0, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.auto-card:hover::before { opacity: 1; }
.auto-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #050402;
  border-bottom: 1px solid rgba(255, 208, 0, 0.14);
}
.auto-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.5) 100%),
    radial-gradient(ellipse at top right, rgba(255, 208, 0, 0.1), transparent 58%);
  pointer-events: none;
}
.auto-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 0.5s ease, filter 0.5s ease;
}
.auto-card:hover .auto-photo img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.08);
}
.auto-card .card-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 48px;
  height: 48px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.68);
  border: 1px solid rgba(255, 208, 0, 0.34);
  color: var(--gold);
  opacity: 0.88;
  transition: transform 0.4s ease, opacity 0.4s ease, color 0.4s ease;
}
.auto-card:hover .card-icon {
  color: var(--gold-hover);
  opacity: 1;
  transform: translateY(-2px) scale(1.04);
}
.auto-card .num {
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin: 18px 30px 0;
}
.auto-card .num::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.6;
}
.auto-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--cream);
  letter-spacing: 0.02em;
  margin: 0 30px;
}
.auto-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--cream-muted);
  margin: 0 30px 34px;
}

/* automation: gate strip */
.gate-strip {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 56px 64px;
  border: 1px solid rgba(255, 208, 0, 0.22);
  background: linear-gradient(135deg, rgba(255, 208, 0, 0.03), transparent);
}
.gate-strip h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--cream);
  margin-bottom: 20px;
  line-height: 1.3;
}
.gate-strip h3 em { font-style: normal; color: var(--gold); }
.gate-strip p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--cream-muted);
  max-width: 820px;
}
.gate-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 208, 0, 0.15);
}
.gate-mode-name {
  font-family: var(--font-pixel);
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 12px;
}
.gate-mode-desc {
  font-size: 14px;
  color: var(--cream-muted);
  line-height: 1.75;
}

/* team page: 员工网格 */
.team-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
}
.emp-card {
  background: rgba(255, 208, 0, 0.02);
  border: 1px solid rgba(255, 208, 0, 0.12);
  padding: 32px 24px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}
.emp-card:hover {
  border-color: rgba(255, 208, 0, 0.4);
  background: rgba(255, 208, 0, 0.04);
  transform: translateY(-4px);
}
.emp-avatar {
  width: 84px;
  height: 84px;
  object-fit: cover;
  image-rendering: pixelated;
  clip-path: inset(5%);
  margin-bottom: 4px;
}
.emp-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.04em;
}
.emp-role {
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.emp-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--cream-muted);
  margin-top: 6px;
}
.emp-card.beta::after {
  content: 'BETA';
  position: absolute;
}
.emp-beta {
  font-family: var(--font-pixel);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--gold-muted);
  margin-top: 4px;
}

/* team: role strip (你的位置) */
.role-strip {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 48px;
  border-top: 1px solid rgba(255, 208, 0, 0.15);
  border-bottom: 1px solid rgba(255, 208, 0, 0.15);
}
.role-strip .eyebrow {
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 20px;
}
.role-strip h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 48px);
  color: var(--cream);
  margin-bottom: 24px;
  line-height: 1.3;
}
.role-strip h3 em { font-style: normal; color: var(--gold); }
.role-strip p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--cream-muted);
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .page-hero { padding: 140px 24px 80px; }
  .subpage-section { padding: 80px 24px 100px; }
  .automation-head { margin-bottom: 54px; }
  .automation-grid { grid-template-columns: 1fr; gap: 12px; }
  .automation-card { min-height: 260px; padding: 30px 26px 28px; }
  .automation-icon { margin-bottom: 34px; }
  .auto-grid { grid-template-columns: 1fr; }
  .auto-card { padding: 0; }
  .auto-card .num { margin: 18px 24px 0; }
  .auto-card h3 { margin: 0 24px; }
  .auto-card p { margin: 0 24px 30px; }
  .gate-strip { padding: 36px 24px; }
  .gate-modes { grid-template-columns: 1fr; gap: 24px; }
  .team-page-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .emp-card { padding: 24px 16px; }
  .emp-avatar { width: 68px; height: 68px; }
  .role-strip { padding: 60px 24px; }
}

/* ───── Auth pages ───── */
.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 74% 26%, rgba(255, 208, 0, 0.12), transparent 34%),
    linear-gradient(135deg, #000 0%, #050402 48%, #111006 100%);
}
.auth-page .nav-brand {
  color: inherit;
  text-decoration: none;
}
.auth-nav {
  position: absolute;
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 144px 32px 72px;
  position: relative;
}
.auth-shell::before {
  content: '';
  position: absolute;
  inset: auto 8% 8% auto;
  width: min(520px, 70vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 208, 0, 0.12);
  opacity: 0.5;
  transform: rotate(8deg);
  pointer-events: none;
}
.auth-panel {
  width: min(100%, 520px);
  border: 1px solid rgba(255, 208, 0, 0.24);
  background: rgba(0, 0, 0, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 248, 231, 0.04),
    0 34px 100px rgba(0, 0, 0, 0.48);
  padding: 48px;
  position: relative;
  z-index: 1;
}
.auth-panel::before,
.auth-panel::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold);
}
.auth-panel::before { top: -4px; left: -4px; }
.auth-panel::after { right: -4px; bottom: -4px; }
.login-panel {
  text-align: center;
}
.auth-mark {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 208, 0, 0.35);
  margin: 0 auto 28px;
}
.auth-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--cream);
  margin-bottom: 18px;
}
.auth-copy {
  color: var(--cream-muted);
  font-size: 15px;
  line-height: 1.85;
  max-width: 360px;
  margin: 0 auto 34px;
}
.auth-main-action {
  width: 100%;
  justify-content: center;
}
.wechat-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}
.auth-note {
  min-height: 22px;
  margin-top: 18px;
  color: var(--gold-muted);
  font-size: 13px;
  line-height: 1.7;
}
.account-shell {
  place-items: center;
}
.account-panel {
  width: min(100%, 680px);
}
.account-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 208, 0, 0.16);
}
.account-avatar-wrap {
  width: 84px;
  height: 84px;
  border: 1px solid rgba(255, 208, 0, 0.32);
  background: rgba(255, 208, 0, 0.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.account-avatar,
.account-avatar-fallback {
  width: 100%;
  height: 100%;
}
.account-avatar {
  object-fit: cover;
}
.account-avatar-fallback {
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--gold);
}
.account-identity {
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 208, 0, 0.12);
}
.account-label {
  font-family: var(--font-pixel);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--gold-muted);
  text-transform: uppercase;
}
.account-value {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--cream);
}
.account-user-id {
  margin-top: 8px;
  font-family: var(--font-pixel);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--cream-muted);
  overflow-wrap: anywhere;
}
.account-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 208, 0, 0.12);
}
.status-pill {
  min-width: 92px;
  text-align: center;
  border: 1px solid rgba(255, 208, 0, 0.36);
  color: var(--gold);
  padding: 9px 14px;
  font-size: 14px;
  letter-spacing: 0.08em;
}
.status-pill[data-status="expired"],
.status-pill[data-status="inactive"] {
  color: var(--cream-muted);
  border-color: rgba(216, 208, 189, 0.28);
}
.account-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 34px;
}
.account-actions .btn {
  min-height: 56px;
  text-decoration: none;
}
.account-actions .btn-primary {
  justify-content: center;
}
.account-actions .btn:disabled {
  cursor: wait;
  opacity: 0.58;
}

@media (max-width: 768px) {
  .auth-nav {
    padding: 22px 24px;
  }
  .auth-nav .brand-credit,
  .auth-nav .nav-links {
    display: none;
  }
  .auth-shell {
    padding: 112px 20px 40px;
    place-items: start center;
  }
  .auth-panel {
    padding: 34px 24px;
  }
  .auth-copy {
    margin-bottom: 28px;
  }
  .account-head {
    align-items: center;
  }
  .account-avatar-wrap {
    width: 68px;
    height: 68px;
  }
  .account-actions {
    flex-direction: column;
  }
  .account-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
