/* ============================================================
   庙街小巷 — 震魂科技项目子页面
   Extends the main site system (black + gold, Inter / Noto Sans SC)
   with warm ember accents for the 烟火气 human-story sections.
   ============================================================ */

:root {
  /* Surface */
  --bg: #000000;
  --bg-1: #0a0a0a;
  --bg-card: #111111;
  --bg-card-2: #171717;
  --warm-bg: #160d08;     /* deep coffee — human-warmth zones */
  --warm-card: #1e130c;

  /* Ink */
  --fg: #ededed;
  --fg-2: #c4c4c4;
  --fg-muted: #8a8a8a;
  --fg-dim: #555555;
  --rule: rgba(255, 255, 255, 0.08);
  --rule-2: rgba(255, 255, 255, 0.14);

  /* Gold — from main site */
  --gold-deep:   #8a6418;
  --gold-rich:   #c89a3a;
  --gold-bright: #f1cd6a;
  --gold-pale:   #fff1c2;

  /* Ember — warmth / 烟火气 */
  --ember:        #d4734e;
  --ember-bright: #e8895f;
  --ember-deep:   #b8351f;

  /* Type */
  --font-sans: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: #07100f;
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
body { overflow-x: hidden; background: transparent; }

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

/* ============================================================
   SEASIDE POSTER BACKDROP — Hainan 海甸溪 dusk over the sea.
   Fixed full-page art layer; dark + warm so gold/white text
   stays legible. Sections sit translucent on top so the
   scene breathes through.
   ============================================================ */
.seaside-bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background:
    /* edge vignette + gentle global darken so content stays legible */
    radial-gradient(135% 115% at 50% 38%, rgba(0,0,0,0) 42%, rgba(0,0,0,0.30) 78%, rgba(0,0,0,0.52) 100%),
    linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.20)),
    /* the dusk sun, upper-right */
    radial-gradient(circle at 80% 20%, rgba(255,243,206,0.55) 0%, rgba(243,205,106,0.30) 4%, rgba(232,137,95,0.15) 11%, rgba(0,0,0,0) 26%),
    /* warm sky bloom spilling across the upper third */
    radial-gradient(80% 52% at 72% 8%, rgba(232,137,95,0.30) 0%, rgba(212,115,78,0.13) 40%, rgba(0,0,0,0) 72%),
    /* sky -> sea: warm dusk up high, teal sea mid, coffee tide low */
    linear-gradient(180deg, #2a2418 0%, #2e2516 14%, #1c2a2c 34%, #123036 46%, #34241a 58%, #20120b 80%, #0a0705 100%);
}
/* sun reflection on the water + gentle sea shimmer, sitting at the horizon */
.seaside-bg::before {
  content: ""; position: absolute; left: -5%; right: -5%; top: 44%; height: 40%;
  background:
    radial-gradient(20% 80% at 80% 0%, rgba(255,231,166,0.30) 0%, rgba(241,205,106,0.09) 32%, rgba(0,0,0,0) 70%),
    linear-gradient(180deg, rgba(245,224,166,0.14) 0%, rgba(0,0,0,0) 22%),
    repeating-linear-gradient(180deg, rgba(245,224,166,0.06) 0 1px, rgba(0,0,0,0) 1px 11px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 26%, rgba(0,0,0,0.5) 100%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 26%, rgba(0,0,0,0.5) 100%);
  opacity: 0.8;
}
/* faint coconut-palm silhouette — Hainan seaside flavor */
.seaside-bg::after {
  content: ""; position: absolute; right: -28px; bottom: -10px;
  width: 360px; height: 460px; opacity: 0.13;
  background: no-repeat right bottom / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 280'%3E%3Cg fill='%23000'%3E%3Cpath d='M108 278 C103 214 101 168 110 120 L120 121 C111 168 113 214 116 278 Z'/%3E%3Cpath d='M114 118 C160 116 196 134 214 158 C188 130 154 124 113 124 Z'/%3E%3Cpath d='M114 118 C166 102 202 98 218 98 C190 92 156 100 112 114 Z'/%3E%3Cpath d='M114 118 C150 80 176 52 188 32 C160 68 136 94 112 116 Z'/%3E%3Cpath d='M112 118 C100 78 84 50 74 32 C94 70 104 96 110 116 Z'/%3E%3Cpath d='M112 118 C66 102 30 100 12 102 C44 92 76 100 112 114 Z'/%3E%3Cpath d='M112 118 C66 116 32 132 16 156 C42 130 74 124 113 124 Z'/%3E%3Ccircle cx='118' cy='126' r='5'/%3E%3Ccircle cx='106' cy='128' r='5'/%3E%3Ccircle cx='113' cy='133' r='5'/%3E%3C/g%3E%3C/svg%3E");
}
@media (max-width: 760px) { .seaside-bg::after { width: 220px; height: 290px; opacity: 0.1; } }

/* ============================================================
   NAV — replicated from main site for brand consistency
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid var(--rule);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 28px; }
.nav-left { gap: 44px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-search {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin-left: -4px;
  border: none; background: transparent; color: var(--fg-muted);
  cursor: pointer; border-radius: 6px;
  transition: color 160ms ease, background 160ms ease;
}
.nav-search:hover { color: var(--fg); background: rgba(255,255,255,0.04); }
.nav-search svg { width: 18px; height: 18px; display: block; }
.nav-burger{display:none;flex-direction:column;gap:5px;width:40px;height:40px;align-items:center;justify-content:center;background:transparent;border:none;cursor:pointer;padding:0}
.nav-burger span{display:block;width:22px;height:2px;background:var(--fg);border-radius:2px;transition:transform .24s ease,opacity .2s ease}
.nav[data-mobile="true"] .nav-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav[data-mobile="true"] .nav-burger span:nth-child(2){opacity:0}
.nav[data-mobile="true"] .nav-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(max-width:900px){
.nav-burger{display:flex;order:3}
.nav-search-wrap{display:none}
.nav-left .nav-links{display:flex;position:fixed;top:63px;left:0;right:0;flex-direction:column;align-items:stretch;gap:2px;background:rgba(8,8,10,.97);backdrop-filter:blur(20px) saturate(140%);-webkit-backdrop-filter:blur(20px) saturate(140%);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:14px 22px 22px;max-height:calc(100vh - 63px);overflow-y:auto;transform:translateY(-12px);opacity:0;pointer-events:none;transition:opacity .22s ease,transform .22s ease;z-index:90}
.nav[data-mobile="true"] .nav-left .nav-links{transform:none;opacity:1;pointer-events:auto}
.nav-item{display:block;width:100%;border-top:1px solid var(--rule)}
.nav-item:first-child{border-top:none}
.nav-link,.nav-link-trigger{width:100%;justify-content:space-between;padding:14px 2px;font-size:16px}
.nav-link-caret{display:none}
.nav-item .mega{position:static;opacity:1;transform:none;pointer-events:auto;min-width:0;width:100%;background:transparent;border:none;box-shadow:none;padding:0 0 10px 4px;backdrop-filter:none;-webkit-backdrop-filter:none}
.nav-item::after{display:none}
.mega-eyebrow{display:none}
.mega-item{padding:9px 10px}
.mega-item-name{font-size:17px}
.mega-item-arrow{opacity:1;transform:none}
}
.nav-search-wrap { display: inline-flex; align-items: center; }
.nav-search-input { width: 0; opacity: 0; padding: 6px 0; border: none; border-bottom: 1px solid transparent; background: transparent; color: var(--fg); font-family: "Noto Sans SC", var(--font-sans); font-size: 13.5px; outline: none; transition: width 240ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease, margin-left 240ms ease, border-color 240ms ease; }
.nav-search-input::placeholder { color: var(--fg-dim); }
.nav-search-wrap[data-search-open="true"] .nav-search-input { width: 200px; opacity: 1; margin-left: 4px; border-bottom-color: rgba(255,255,255,0.18); }
.nav-search-wrap[data-search-open="true"] .nav-search { color: var(--fg); }
.wordmark {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: var(--fg);
}
.wordmark-en { color: var(--fg); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }

.nav a.nav-link {
  color: var(--fg-muted); font-size: 13.5px; font-weight: 450;
  letter-spacing: -0.005em; transition: color 160ms ease;
}
.nav a.nav-link:hover, .nav a.nav-link.is-active { color: var(--fg); }

/* 项目 mega-menu */
.nav-item { position: relative; display: inline-flex; }
.nav-link-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent; border: none; padding: 0; margin: 0; cursor: pointer;
  font-family: "Noto Sans SC", var(--font-sans);
  font-size: 13.5px; font-weight: 450; letter-spacing: -0.005em;
  color: var(--fg); transition: color 160ms ease;
}
.nav-link-caret { width: 11px; height: 11px; color: var(--gold-rich); transition: transform 200ms ease, color 160ms ease; }
.nav-item[data-open="true"] .nav-link-caret { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 20px); left: -24px; min-width: 460px;
  background: rgba(10, 10, 10, 0.30);
  backdrop-filter: blur(28px) saturate(150%); -webkit-backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.5);
  padding: 22px; opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity 200ms ease, transform 200ms cubic-bezier(.2,.7,.2,1); z-index: 60;
}
.nav-item[data-open="true"] .mega,
.nav-item:hover .mega { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-item::after { content: ""; position: absolute; top: 100%; left: -24px; width: 460px; height: 22px; opacity: 0; pointer-events: none; }
.nav-item:hover::after { pointer-events: auto; }
.mega-eyebrow {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg-muted);
  padding: 4px 14px 14px; border-bottom: 1px solid var(--rule); margin-bottom: 6px;
}
.mega-list { display: flex; flex-direction: column; }
.mega-item { display: flex; align-items: baseline; gap: 14px; padding: 12px 14px; border-radius: 8px; transition: background 160ms ease; }
.mega-item:hover { background: rgba(255,255,255,0.045); }
.mega-item-name {
  font-family: "Noto Sans SC", var(--font-sans); font-size: 22px; font-weight: 500;
  letter-spacing: 0.01em; color: var(--fg); line-height: 1.1; transition: color 160ms ease;
}
.mega-item:hover .mega-item-name { color: var(--gold-bright); }
.mega-item-en { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--fg-dim); transition: color 160ms ease; }
.mega-item:hover .mega-item-en { color: var(--fg-muted); }
.mega-item-arrow {
  margin-left: auto; align-self: center; color: var(--fg-dim); font-size: 15px;
  opacity: 0; transform: translateX(-4px);
  transition: opacity 160ms ease, transform 160ms ease, color 160ms ease;
}
.mega-item:hover .mega-item-arrow { opacity: 1; transform: translateX(0); color: var(--gold-bright); }
/* current page marker — subtle, does NOT mimic hover */
.mega-item.is-active .mega-item-name { color: var(--fg-2); }
.mega-item.is-active .mega-item-name::after { content: "· 当前"; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--gold-rich); margin-left: 9px; vertical-align: 2px; }

/* right cluster */
.nav-right { gap: 4px; }
.lang-switcher { position: relative; margin-right: 8px; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px;
  background: transparent; border: none; color: var(--fg-muted);
  font-family: "Noto Sans SC", var(--font-sans); font-size: 12.5px; font-weight: 450;
  border-radius: 6px; cursor: pointer; transition: color 160ms ease, background 160ms ease;
}
.lang-trigger:hover, .lang-switcher[data-open="true"] .lang-trigger { color: var(--fg); background: rgba(255,255,255,0.04); }
.lang-trigger .globe { width: 13px; height: 13px; }
.lang-trigger .caret { width: 9px; height: 9px; color: var(--fg-dim); transition: transform 180ms ease; }
.lang-switcher[data-open="true"] .lang-trigger .caret { transform: rotate(180deg); color: var(--fg-muted); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 184px; margin: 0; padding: 6px;
  list-style: none; background: #0c0c0c; border: 1px solid var(--rule); border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.4);
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease; z-index: 50;
}
.lang-switcher[data-open="true"] .lang-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lang-menu li { margin: 0; }
.lang-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 9px 12px; background: transparent; border: none; border-radius: 5px;
  color: var(--fg-2); font-family: inherit; font-size: 13.5px; font-weight: 450;
  text-align: left; cursor: pointer; transition: background 140ms ease, color 140ms ease;
}
.lang-item:hover { background: rgba(255,255,255,0.05); color: var(--fg); }
.lang-item-native { color: var(--fg); }
.lang-item-name { font-family: var(--font-sans); color: var(--fg-muted); font-size: 12px; letter-spacing: 0.01em; }
.lang-item[aria-current="true"] .lang-item-native { color: var(--gold-bright); }
.lang-item[aria-current="true"]::after { content: "✓"; margin-left: 4px; color: var(--gold-bright); font-size: 12px; }
.lang-item[data-rtl="true"] .lang-item-native { direction: rtl; }
.auth-link {
  padding: 5px 4px; background: transparent; border: none; color: var(--fg-muted);
  font-family: "Noto Sans SC", var(--font-sans); font-size: 12.5px; font-weight: 450; transition: color 160ms ease;
}
.auth-link:hover { color: var(--fg); }
.btn-signup {
  display: inline-flex; align-items: center; padding: 5px 8px; margin-left: 6px;
  background: transparent; color: var(--fg);
  font-family: "Noto Sans SC", var(--font-sans); font-size: 12.5px; font-weight: 500; white-space: nowrap;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,0.35); transition: text-decoration-color 160ms ease;
}
.btn-signup:hover { text-decoration-color: var(--fg); }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { position: relative; padding: 104px 0; }
.section--warm { background: rgba(20, 12, 7, 0.52); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.section--tight { padding: 84px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-rich); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--ember { color: var(--ember); }

.section-title {
  font-family: "Noto Sans SC", var(--font-sans);
  font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; line-height: 1.18;
  letter-spacing: -0.01em; margin: 0 0 18px; color: var(--fg); text-wrap: balance;
}
.section-intro {
  font-family: "Noto Sans SC", var(--font-sans);
  font-size: clamp(15px, 1.2vw, 18px); line-height: 1.7; color: var(--fg-muted);
  max-width: 640px; margin: 0; text-wrap: pretty;
}
.section-head { margin-bottom: 56px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 80ms; }
.reveal[data-d="2"] { transition-delay: 160ms; }
.reveal[data-d="3"] { transition-delay: 240ms; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: calc(100vh - 0px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 0 90px; overflow: hidden;
}
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo image-slot { width: 100%; height: 100%; display: block; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.30) 32%, rgba(0,0,0,0.62) 72%, rgba(0,0,0,0.92) 100%),
    radial-gradient(120% 90% at 18% 30%, rgba(212,115,78,0.16) 0%, rgba(0,0,0,0) 55%),
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.10) 55%, rgba(0,0,0,0) 100%);
}
.hero-inner { position: relative; z-index: 2; }
.breadcrumb {
  display: flex; align-items: center; gap: 10px; font-size: 13px;
  font-family: "Noto Sans SC", var(--font-sans); color: var(--fg-muted); margin-bottom: 36px;
}
.breadcrumb a { transition: color 160ms ease; }
.breadcrumb a:hover { color: var(--fg); }
.breadcrumb .sep { color: var(--fg-dim); }
.breadcrumb .here { color: var(--gold-bright); }

.hero-title {
  font-family: "Noto Sans SC", var(--font-sans);
  font-size: clamp(52px, 9vw, 116px); font-weight: 600; line-height: 1.0;
  letter-spacing: 0.01em; margin: 0 0 22px;
  background-image: linear-gradient(100deg, #c89a3a 0%, #f1cd6a 30%, #fbf4e2 50%, #f1cd6a 70%, #d4734e 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 4px 30px rgba(200,154,58,0.18));
}
.hero-sub {
  font-family: "Noto Sans SC", var(--font-sans);
  font-size: clamp(20px, 2.4vw, 32px); font-weight: 400; color: var(--fg);
  margin: 0 0 40px; letter-spacing: 0.01em;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--rule-2);
  background: rgba(0,0,0,0.4); backdrop-filter: blur(8px);
  font-family: "Noto Sans SC", var(--font-sans); font-size: 13.5px; color: var(--fg-2);
}
.chip svg { width: 15px; height: 15px; flex: none; }
.chip--loc svg { color: var(--ember-bright); }
.chip--role { border-color: rgba(241,205,106,0.35); background: rgba(241,205,106,0.06); color: var(--gold-pale); }
.chip--role svg { color: var(--gold-bright); }
.chip strong { color: var(--fg); font-weight: 600; }

.hero-scroll {
  position: absolute; left: 32px; bottom: 30px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-dim);
}
.hero-scroll .dot { width: 5px; height: 5px; border-radius: 999px; background: var(--gold-bright); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { opacity: .4; transform: translateY(0);} 50% { opacity: 1; transform: translateY(3px);} }

/* ============================================================
   OVERVIEW 2x2 CARDS
   ============================================================ */
.ov-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ov-card {
  position: relative; padding: 32px; border-radius: 16px;
  background: var(--bg-card); border: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 14px; min-height: 168px;
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}
.ov-card:hover { border-color: var(--rule-2); transform: translateY(-2px); }
.ov-icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(241,205,106,0.08); border: 1px solid rgba(241,205,106,0.18); color: var(--gold-bright);
}
.ov-icon svg { width: 20px; height: 20px; }
.ov-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); }
.ov-value { font-family: "Noto Sans SC", var(--font-sans); font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--fg); }
.ov-value span { color: var(--fg-muted); font-weight: 400; font-size: 15px; }
.ov-card--accent { background: linear-gradient(180deg, rgba(212,115,78,0.10), rgba(184,53,31,0.05)); border-color: rgba(212,115,78,0.30); }
.ov-card--accent .ov-icon { background: rgba(212,115,78,0.12); border-color: rgba(212,115,78,0.30); color: var(--ember-bright); }
.ov-card--accent .ov-value strong { color: var(--ember-bright); }

/* ============================================================
   THREE WINDOWS
   ============================================================ */
.win-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.win-card {
  position: relative; padding: 34px 30px; border-radius: 16px; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color 200ms ease, transform 200ms ease;
}
.win-card:hover { border-color: var(--rule-2); transform: translateY(-3px); }
.win-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-rich), transparent);
}
.win-no { font-family: var(--font-mono); font-size: 12px; color: var(--gold-rich); letter-spacing: 0.1em; }
.win-icon { width: 44px; height: 44px; color: var(--gold-bright); }
.win-icon svg { width: 100%; height: 100%; }
.win-title { font-family: "Noto Sans SC", var(--font-sans); font-size: 22px; font-weight: 600; color: var(--fg); margin: 0; }
.win-desc { font-family: "Noto Sans SC", var(--font-sans); font-size: 15px; line-height: 1.65; color: var(--fg-muted); margin: 0; flex: 1; }
.win-stat { padding-top: 18px; border-top: 1px solid var(--rule); }
.win-stat-num { font-family: var(--font-mono); font-size: 22px; font-weight: 600; color: var(--gold-bright); letter-spacing: -0.01em; }
.win-stat-label { font-family: "Noto Sans SC", var(--font-sans); font-size: 12.5px; color: var(--fg-muted); margin-top: 4px; }

/* ============================================================
   ROLE — IGNITER (persuasion core)
   ============================================================ */
.role-stack { display: flex; flex-direction: column; align-items: center; gap: 0; margin-bottom: 64px; }
.role-tier {
  position: relative; width: 100%; max-width: 720px; border-radius: 14px;
  padding: 22px 28px; display: flex; align-items: center; gap: 20px;
  background: var(--bg-card); border: 1px solid var(--rule);
}
.role-tier .r-ic { width: 34px; height: 34px; flex: none; color: var(--fg-muted); }
.role-tier .r-ic svg { width: 100%; height: 100%; }
.role-tier .r-role { font-family: "Noto Sans SC", var(--font-sans); font-size: 19px; font-weight: 600; color: var(--fg); }
.role-tier .r-desc { font-family: "Noto Sans SC", var(--font-sans); font-size: 14px; color: var(--fg-muted); margin-top: 3px; }
.role-conn { width: 2px; height: 22px; background: linear-gradient(180deg, var(--rule-2), var(--gold-rich)); }
.role-tier--fire {
  background: linear-gradient(120deg, rgba(241,205,106,0.12), rgba(212,115,78,0.10));
  border: 1px solid rgba(241,205,106,0.45);
  box-shadow: 0 0 0 1px rgba(241,205,106,0.10), 0 12px 48px rgba(200,154,58,0.16);
  transform: scale(1.04);
}
.role-tier--fire .r-ic { color: var(--ember-bright); }
.role-tier--fire .r-role { color: var(--gold-pale); }
.role-tier--fire .r-tag {
  margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #1a1206; background: var(--gold-bright);
  padding: 4px 10px; border-radius: 999px; font-weight: 600;
}

.cap-head { font-family: "Noto Sans SC", var(--font-sans); font-size: 14px; letter-spacing: 0.04em; color: var(--fg-muted); text-align: center; margin: 0 0 22px; }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cap-card {
  padding: 22px 20px; border-radius: 13px; background: var(--bg-card-2); border: 1px solid var(--rule);
  transition: border-color 180ms ease, transform 180ms ease;
}
.cap-card:hover { border-color: rgba(241,205,106,0.30); transform: translateY(-2px); }
.cap-no { font-family: var(--font-mono); font-size: 11px; color: var(--gold-rich); letter-spacing: 0.08em; }
.cap-title { font-family: "Noto Sans SC", var(--font-sans); font-size: 16px; font-weight: 600; color: var(--fg); margin: 10px 0 12px; }
.cap-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cap-list li { font-family: "Noto Sans SC", var(--font-sans); font-size: 13px; color: var(--fg-muted); padding-left: 14px; position: relative; }
.cap-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; border-radius: 999px; background: var(--gold-rich); }

.role-quote {
  margin: 64px auto 0; max-width: 880px; text-align: center;
  font-family: "Noto Sans SC", var(--font-sans);
  font-size: clamp(24px, 3.2vw, 40px); font-weight: 600; line-height: 1.35; letter-spacing: -0.005em;
  color: var(--fg); text-wrap: balance;
}
.role-quote em { font-style: normal; color: var(--gold-bright); }
.role-quote .mark { color: var(--ember); font-weight: 700; }

/* ============================================================
   AGENT ARCHITECTURE
   ============================================================ */
.arch { max-width: 860px; margin: 0 auto; }
.arch-geo {
  text-align: center; padding: 20px 28px; border-radius: 14px; margin-bottom: 6px;
  background: linear-gradient(180deg, rgba(241,205,106,0.14), rgba(241,205,106,0.04));
  border: 1px solid rgba(241,205,106,0.40);
}
.arch-geo .g-name { font-family: "Noto Sans SC", var(--font-sans); font-size: 18px; font-weight: 600; color: var(--gold-pale); }
.arch-geo .g-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-rich); margin-top: 4px; }
.arch-up { display: grid; place-items: center; height: 30px; color: var(--gold-rich); }
.arch-up svg { width: 18px; height: 18px; }
.layer {
  display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: 22px;
  padding: 24px 28px; border-radius: 14px; background: var(--bg-card); border: 1px solid var(--rule);
  margin-bottom: 10px; transition: border-color 200ms ease, transform 200ms ease;
}
.layer:hover { border-color: var(--rule-2); transform: translateX(4px); }
.layer-tag {
  font-family: var(--font-mono); font-weight: 700; font-size: 20px; color: var(--gold-bright);
  display: flex; flex-direction: column; gap: 3px;
}
.layer-tag .lt-sub { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; color: var(--fg-dim); }
.layer-name { }
.layer-name .ln-cn { font-family: "Noto Sans SC", var(--font-sans); font-size: 18px; font-weight: 600; color: var(--fg); }
.layer-name .ln-en { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--fg-muted); margin-top: 3px; }
.layer-feat { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; max-width: 320px; }
.layer-feat span {
  font-family: "Noto Sans SC", var(--font-sans); font-size: 12.5px; color: var(--fg-2);
  padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid var(--rule);
}
.arch-loop {
  margin-top: 22px; text-align: center; font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.08em; color: var(--fg-muted);
}
.arch-loop b { color: var(--gold-bright); font-weight: 600; }

/* ============================================================
   STAT STRIP (dashboard numbers)
   ============================================================ */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-num {
  font-family: var(--font-mono); font-weight: 700; line-height: 1; letter-spacing: -0.02em;
  font-size: clamp(40px, 5vw, 64px); color: var(--ember-bright);
  font-feature-settings: "tnum"; font-variant-numeric: tabular-nums;
}
.stat-num.gold { color: var(--gold-bright); }
.stat-label { font-family: "Noto Sans SC", var(--font-sans); font-size: 14px; color: var(--fg-muted); }
.stat-strip--3 { grid-template-columns: repeat(3, 1fr); }

/* ============================================================
   CASE: BEFORE / AFTER
   ============================================================ */
.case-photo { border-radius: 16px; overflow: hidden; border: 1px solid var(--rule); }
.case-photo image-slot { width: 100%; height: 100%; display: block; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 48px; }
.ba-col { border-radius: 16px; padding: 30px; border: 1px solid var(--rule); }
.ba-col--before { background: var(--bg-card); }
.ba-col--after { background: linear-gradient(180deg, rgba(212,115,78,0.10), rgba(184,53,31,0.04)); border-color: rgba(212,115,78,0.30); }
.ba-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px; }
.ba-col--before .ba-tag { color: var(--fg-muted); }
.ba-col--after .ba-tag { color: var(--ember-bright); }
.ba-row { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--rule); }
.ba-row:first-of-type { border-top: none; }
.ba-row .k { font-family: "Noto Sans SC", var(--font-sans); font-size: 13px; color: var(--fg-dim); width: 88px; flex: none; }
.ba-row .v { font-family: "Noto Sans SC", var(--font-sans); font-size: 15px; color: var(--fg-2); line-height: 1.55; }
.ba-col--after .ba-row .v strong { color: var(--ember-bright); font-weight: 600; }

/* ============================================================
   CASE: GEO ANSWER COMPARISON
   ============================================================ */
.geo-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 48px; }
.geo-ans { border-radius: 16px; padding: 28px 30px; border: 1px solid var(--rule); background: var(--bg-card); }
.geo-ans .ga-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.geo-ans .ga-dot { width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; flex: none; }
.geo-ans--no .ga-dot { background: rgba(255,255,255,0.06); color: var(--fg-muted); }
.geo-ans--no .ga-head { color: var(--fg-muted); }
.geo-ans--yes { background: linear-gradient(180deg, rgba(241,205,106,0.10), rgba(241,205,106,0.03)); border-color: rgba(241,205,106,0.35); }
.geo-ans--yes .ga-dot { background: var(--gold-bright); color: #1a1206; }
.geo-ans--yes .ga-head { color: var(--gold-bright); }
.geo-ans .ga-body { font-family: "Noto Sans SC", var(--font-sans); font-size: 15px; line-height: 1.7; color: var(--fg-2); margin: 0; }
.geo-ans--yes .ga-body strong { color: var(--gold-pale); font-weight: 600; }
.geo-note { text-align: center; font-family: "Noto Sans SC", var(--font-sans); font-size: 13px; color: var(--fg-dim); margin-top: 28px; }
.geo-note a { color: var(--gold-rich); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   CTA
   ============================================================ */
.cta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cta-card {
  display: flex; align-items: center; gap: 20px; padding: 28px 30px; border-radius: 16px;
  background: var(--bg-card); border: 1px solid var(--rule);
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}
.cta-card:hover { border-color: var(--rule-2); background: var(--bg-card-2); transform: translateY(-2px); }
.cta-ic { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(241,205,106,0.08); border: 1px solid rgba(241,205,106,0.18); color: var(--gold-bright); }
.cta-ic svg { width: 22px; height: 22px; }
.cta-body { flex: 1; }
.cta-body .ct-title { font-family: "Noto Sans SC", var(--font-sans); font-size: 17px; font-weight: 600; color: var(--fg); }
.cta-body .ct-sub { font-family: "Noto Sans SC", var(--font-sans); font-size: 13px; color: var(--fg-muted); margin-top: 4px; }
.cta-arrow { color: var(--fg-dim); font-size: 18px; transition: transform 180ms ease, color 180ms ease; }
.cta-card:hover .cta-arrow { transform: translateX(3px); color: var(--gold-bright); }
.cta-card--ext .cta-ic { background: rgba(212,115,78,0.10); border-color: rgba(212,115,78,0.25); color: var(--ember-bright); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--rule); padding: 56px 0 40px; background: rgba(5, 5, 6, 0.62); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.footer-brand .fb-mark { font-size: 18px; font-weight: 600; color: var(--fg); }
.footer-brand .fb-tag { font-family: "Noto Sans SC", var(--font-sans); font-size: 13px; color: var(--fg-muted); margin-top: 10px; max-width: 280px; line-height: 1.6; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); margin: 0 0 16px; font-weight: 500; }
.footer-col a { display: block; font-family: "Noto Sans SC", var(--font-sans); font-size: 14px; color: var(--fg-muted); margin-bottom: 11px; transition: color 160ms ease; }
.footer-col a:hover { color: var(--fg); }
.footer-bot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; border-top: 1px solid var(--rule); flex-wrap: wrap; }
.footer-bot .fb-copy { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--fg-dim); }
.footer-bot .fb-links { display: flex; gap: 24px; }
.footer-bot .fb-links a { font-family: "Noto Sans SC", var(--font-sans); font-size: 12.5px; color: var(--fg-dim); transition: color 160ms ease; }
.footer-bot .fb-links a:hover { color: var(--fg-muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav-links, .nav-search { display: none; }
  .wrap { padding: 0 20px; }
  .section { padding: 72px 0; }
  .ov-grid, .win-grid, .cap-grid, .stat-strip, .stat-strip--3, .ba, .geo-compare, .cta-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .layer { grid-template-columns: 64px 1fr; }
  .layer-feat { justify-content: flex-start; max-width: none; grid-column: 1 / -1; }
  .role-tier { flex-wrap: wrap; }
  .role-tier--fire { transform: none; }
  .hero-scroll { display: none; }
}
@media (max-width: 560px) {
  .cap-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
