/* === 斜杠码 SLASH CODE 官网 === */

:root {
  --bg: #FAFBFD;
  --bg-alt: #F2F5FA;
  --bg-deep: #0A1230;
  --ink: #0A1430;
  --ink-2: #4A5570;
  --ink-3: #8892A8;
  --line: #E5EAF2;
  --line-2: #D5DCEA;
  --brand-1: #16C8F7;
  --brand-2: #1E90FF;
  --brand-3: #1E40FF;
  --brand-grad: linear-gradient(135deg, #16C8F7 0%, #1E90FF 50%, #1E40FF 100%);
  --max: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 11vw, 140px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

::selection { background: var(--brand-2); color: #fff; }

/* === Typography === */
.eyebrow {
  font-family: "JetBrains Mono", "Inter", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--brand-grad);
}

h1, h2, h3, h4, h5 {
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.1;
}

.display {
  font-size: clamp(48px, 7.2vw, 96px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.h2 { font-size: clamp(34px, 4.5vw, 60px); line-height: 1.08; letter-spacing: -0.02em; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.01em; font-weight: 700; }
.h4 { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.3; font-weight: 700; }

.lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.7;
  color: var(--ink-2);
  font-weight: 400;
}
.muted { color: var(--ink-2); }
.tiny { font-size: 13px; color: var(--ink-3); }
.mono { font-family: "JetBrains Mono", "Inter", monospace; }

.brand-gradient-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* === Layout === */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section {
  padding: var(--section-y) 0;
  position: relative;
}

.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 64px; max-width: 880px; }

.divider { height: 1px; background: var(--line); width: 100%; }

/* === Nav === */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 253, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  border: 0;
  transition: transform .2s, background .2s;
}
.nav-cta:hover { background: var(--brand-3); transform: translateY(-1px); }
@media (max-width: 880px) { .nav-links { display: none; } }

/* === Hero floating cards (右侧产品卡组) === */
.hero-float {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hero-card-wrap {
  position: absolute;
  opacity: 0;
  animation: hcEnter .9s cubic-bezier(.22,.8,.22,1) both;
}
.hero-card-wrap.h1 { top: 6%;  right: 4%;  width: 240px; animation-delay: 1.45s; }
.hero-card-wrap.h2 { top: 22%; right: 17%; width: 220px; animation-delay: 1.6s; }
.hero-card-wrap.h3 { top: 38%; right: 5%;  width: 248px; animation-delay: 1.75s; }
.hero-card-wrap.h4 { top: 54%; right: 16%; width: 215px; animation-delay: 1.9s; }

.hero-card {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 14px 36px -14px rgba(30, 64, 255, 0.2), 0 2px 6px rgba(10, 20, 48, 0.04);
  pointer-events: auto;
  animation: hcFloat 7s ease-in-out infinite;
}
.hero-card-wrap.h1 .hero-card { animation-delay: 0s; }
.hero-card-wrap.h2 .hero-card { animation-delay: -1.8s; }
.hero-card-wrap.h3 .hero-card { animation-delay: -3.5s; }
.hero-card-wrap.h4 .hero-card { animation-delay: -5.2s; }

.hero-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 900;
  font-size: 16px;
}
.hero-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero-card-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.hero-card-tag  { font-family: "Inter", sans-serif; font-size: 10px; color: var(--ink-3); letter-spacing: 0.06em; }

@keyframes hcFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes hcEnter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .hero-float { display: none; }
}
.hero {
  position: relative;
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(80px, 11vw, 140px);
  overflow: hidden;
}
.hero-slashes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}
.hero-inner { position: relative; z-index: 1; }
.hero-tag { margin-bottom: 26px; }
.hero-title { max-width: 1100px; }
.hero-title .line { display: block; }
.hero-title .accent { color: var(--brand-3); }

/* Typewriter caret */
.tw-caret {
  display: inline-block;
  width: 0.08em;
  height: 0.86em;
  background: var(--brand-3);
  margin-left: 0.1em;
  vertical-align: -0.06em;
  animation: caretBlink 1s steps(2, end) infinite;
  border-radius: 1px;
}
.tw-caret-fade { animation: caretFadeOut .55s ease forwards; }
@keyframes caretBlink { 50% { opacity: 0; } }
@keyframes caretFadeOut { from { opacity: 1; } to { opacity: 0; } }
.hero-sub {
  margin-top: 34px;
  max-width: 720px;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-2);
  line-height: 1.6;
  font-weight: 400;
}
.hero-keywords {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.kw {
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.6);
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kw .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-2);
}

.hero-cta-row { margin-top: 56px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--brand-3); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }

.hero-stats-bar {
  margin-top: 88px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hero-stat {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-stat:last-child { border-right: 0; }
.hero-stat .num {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-stat .lbl { font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; }
@media (max-width: 720px) {
  .hero-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* === About === */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }

.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.principle {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: baseline;
}
.principle .label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--brand-3);
  text-transform: uppercase;
  padding-top: 3px;
}
.principle .body { font-size: 16px; line-height: 1.55; color: var(--ink); }
.principle .body strong { font-weight: 700; }

.biz-system {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.biz-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .2s, transform .2s;
  position: relative;
}
.biz-card:hover { border-color: var(--brand-2); transform: translateY(-2px); }
.biz-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(22,200,247,0.08) 0%, rgba(30,64,255,0.10) 100%);
  color: var(--brand-3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: background .2s, color .2s;
}
.biz-card:hover .biz-icon {
  background: linear-gradient(135deg, #16C8F7 0%, #1E40FF 100%);
  color: #fff;
}
.biz-card .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--brand-3);
  letter-spacing: 0.1em;
}
.biz-card .name { font-weight: 700; font-size: 16px; }
@media (max-width: 720px) { .biz-system { grid-template-columns: repeat(2, 1fr); } }

.values-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.value-chip {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--bg-alt);
  color: var(--ink);
}

/* === Timeline === */
.section-alt { background: var(--bg-alt); }

.timeline-marquee {
  margin: 32px calc(-1 * var(--pad)) 0;
  padding: 16px 0 8px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
.timeline-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: tlMarquee 48s linear infinite;
}
.timeline-marquee:hover .timeline-track { animation-play-state: paused; }
@keyframes tlMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .timeline-track { animation: none; }
}
.timeline-item {
  flex: 0 0 360px;
  position: relative;
  padding: 32px 32px 32px 0;
  border-top: 2px solid var(--line-2);
}
.timeline-item:last-child { padding-right: 0; }
.timeline-item .node {
  position: absolute;
  top: -9px;
  left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-2);
  z-index: 1;
}
.timeline-item.first .node { background: var(--brand-grad); border-color: transparent; }
.timeline-item .year {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--brand-3);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.timeline-item .tl-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.tl-logo {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  flex: 0 0 40px;
}
.tl-logo .glyph {
  font-size: 18px !important;
}
.timeline-item .title { font-size: 17px; font-weight: 700; margin: 0; }
.timeline-item .desc { font-size: 14px; color: var(--ink-2); line-height: 1.55; max-width: 260px; }

/* === Products === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative;
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 340px;
}
.product-card:not(.featured):hover {
  transform: translateY(-4px);
  border-color: var(--pc-accent, var(--brand-2));
  box-shadow: 0 16px 40px -16px color-mix(in oklab, var(--pc-accent, #1E40FF) 35%, transparent);
}
.product-card .role {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pc-accent2, var(--brand-3));
}
.product-card.featured {
  background: linear-gradient(135deg, #0A1230 0%, #1E40FF 100%);
  color: #fff;
  border-color: transparent;
  grid-column: 1 / -1;
  min-height: 360px;
}
.product-card.featured .lead, .product-card.featured .muted { color: rgba(255,255,255,0.78); }
.product-card.featured .product-link { color: #fff; border-color: rgba(255,255,255,0.4); }
@media (max-width: 720px) { .product-card.featured { grid-column: span 1; } }

.product-head {
  display: flex;
  align-items: center;
  gap: 18px;
}
.app-logo {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #0A1430;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 6px 16px -6px rgba(10,20,48,0.4);
}
.app-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.app-logo .glyph {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  color: #fff;
  font-size: 28px;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}
.product-card.featured .app-logo {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
}

.product-card.featured .role { color: var(--brand-1); }
.product-card .name {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.product-card .cn {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.product-card .en {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}
.product-card.featured .en { color: rgba(255,255,255,0.5); }
.product-card .tagline { font-size: 17px; font-weight: 500; line-height: 1.4; }
.product-card .desc { font-size: 14px; line-height: 1.65; color: var(--ink-2); }

.product-feats {
  margin-top: auto;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.product-card.featured .product-feats { border-top-color: rgba(255,255,255,0.18); grid-template-columns: 1fr; }
.product-feat { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: baseline; }
.product-feat .pf-title { font-size: 13px; font-weight: 700; }
.product-feat .pf-desc { font-size: 12px; color: var(--ink-3); line-height: 1.55; }
.product-card.featured .product-feat .pf-desc { color: rgba(255,255,255,0.6); }

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 4px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-3);
}
.product-link::after { content: "→"; transition: transform .2s; }
.product-card:hover .product-link::after { transform: translateX(4px); }

/* Featured (zhike) layout */
.product-card.featured .featured-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  height: 100%;
}
@media (max-width: 720px) {
  .product-card.featured .featured-inner { grid-template-columns: 1fr; gap: 24px; }
}
.featured-left { display: flex; flex-direction: column; gap: 18px; }
.featured-right { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.feat-pill {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 14px 18px;
}
.feat-pill .title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.feat-pill .desc { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* === Miniprogram Matrix === */
.mp-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 980px) { .mp-categories { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mp-categories { grid-template-columns: 1fr; } }

.mp-cat {
  padding: 28px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s;
}
.mp-cat:hover { border-color: var(--brand-2); }
.mp-cat .cat-head { display: flex; justify-content: space-between; align-items: baseline; }
.mp-cat .cat-name { font-size: 17px; font-weight: 700; }
.mp-cat .cat-count {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--brand-3);
  font-weight: 500;
}
.mp-list { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-item {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--bg-alt);
  color: var(--ink-2);
  border: 1px solid transparent;
  transition: background .15s, color .15s;
}
.mp-item:hover { background: var(--ink); color: #fff; }

/* === KPI === */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.kpi {
  background: var(--bg);
  padding: 44px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-width: 0;
}
.kpi .idx {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  z-index: 1;
}
.kpi .ghost {
  display: none;
}
.kpi .num {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: clamp(44px, 5.6vw, 76px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 0;
  color: var(--brand-3);
  position: relative;
  z-index: 1;
}
.kpi .num .unit {
  font-size: 0.4em;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--brand-3);
}
.kpi .num .scale {
  font-size: 0.58em;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-left: 0;
  vertical-align: 0.06em;
  background: none;
  -webkit-text-fill-color: var(--ink);
  color: var(--ink);
}
.kpi .accent-line {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  height: 2px;
  width: 56px;
  background: var(--brand-3);
  border-radius: 2px;
}
.kpi .lbl {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.5;
}

/* === Glass-style category icons for MP === */
.mp-cat-glass {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 15% 20%, rgba(22,200,247,0.55) 0%, transparent 55%),
    radial-gradient(120% 100% at 85% 80%, rgba(30,64,255,0.55) 0%, transparent 55%),
    linear-gradient(135deg, #E0EAFE 0%, #C7D8FB 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(30,64,255,0.08),
    0 8px 24px -10px rgba(30,64,255,0.18);
  border: 1px solid rgba(255,255,255,0.6);
}
.mp-cat-glass::before {
  content: "";
  position: absolute;
  top: -30%; left: -10%;
  width: 80%; height: 90%;
  background: radial-gradient(closest-side, rgba(255,255,255,0.7), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.mp-cat-glass::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.5);
  pointer-events: none;
}
.mp-cat-glass .mp-cat-marker {
  position: absolute;
  bottom: 12px; left: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: rgba(10,20,48,0.55);
  letter-spacing: 0.06em;
  z-index: 2;
}
.mp-cat-glass .mp-cat-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  z-index: 2;
}

.mp-cat {
  padding: 0;
  overflow: hidden;
}
.mp-cat-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* === Partners marquee === */
.partner-marquee {
  margin: 0 calc(-1 * var(--pad));
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.partner-marquee + .partner-marquee { margin-top: 14px; }
.partner-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: ptMarquee 60s linear infinite;
  padding: 4px 0;
}
.partner-track.reverse { animation-direction: reverse; animation-duration: 70s; }
.partner-marquee:hover .partner-track { animation-play-state: paused; }
@keyframes ptMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partner-track { animation: none; }
}

.partner-h {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 100px;
  transition: background .2s, border-color .2s, transform .2s;
  flex-shrink: 0;
}
.partner-h:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.partner-h:hover .p-name { color: #fff; }
.partner-h:hover .p-en   { color: rgba(255,255,255,0.5); }
.partner-h .p-logo {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #18233F 0%, #0A1430 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-h .p-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
}
.partner-h .p-logo .glyph {
  position: relative;
  z-index: 1;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  color: rgba(255,255,255,0.95);
  font-size: 13px;
  letter-spacing: -0.02em;
}
.partner-h .p-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.partner-h .p-en {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
  white-space: nowrap;
}

/* === KPI fixed width === */
.kpi .num {
  font-variant-numeric: tabular-nums;
}
.kpi .num .digits {
  display: inline-block;
  position: relative;
  text-align: left;
}
.kpi .num .digits .cu-ghost {
  visibility: hidden;
  display: inline-block;
}
.kpi .num .digits .cu-val {
  position: absolute;
  inset: 0;
  white-space: nowrap;
}
.honors-grid {
  display: none;
}

/* === Honors (暗色奖项墙) === */
.section-honors {
  background: linear-gradient(180deg, #060C24 0%, #0F1A3D 100%);
  color: rgba(255,255,255,0.95);
  position: relative;
  overflow: hidden;
}
.section-honors::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(30,64,255,0.22), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(248,206,92,0.14), transparent 65%);
  pointer-events: none;
}
.section-honors .eyebrow { color: #16C8F7; }
.section-honors .h2 { color: #fff; }
.section-honors .lead { color: rgba(255,255,255,0.65); }
.section-honors .section-head { position: relative; z-index: 1; }

.honor-wall {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-left: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 720px) { .honor-wall { grid-template-columns: 1fr; border-left: 0; } }
.honor-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 18px;
  padding: 20px 22px;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  align-items: center;
  transition: background .3s;
  overflow: hidden;
}
@media (max-width: 720px) {
  .honor-row { border-right: 0; }
}
.honor-row::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transition: left .9s cubic-bezier(.22,.8,.22,1);
  pointer-events: none;
}
.honor-row:hover::before { left: 100%; }
.honor-row:hover { background: rgba(255,255,255,0.025); }
.honor-row:hover .honor-medal { transform: scale(1.06) rotate(-3deg); }

.honor-medal {
  width: 40px;
  height: 40px;
  transition: transform .4s cubic-bezier(.22,.8,.22,1);
  filter: drop-shadow(0 4px 12px rgba(248, 206, 92, 0.4));
}

.honor-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.honor-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.honor-meta .issuer { color: rgba(255,255,255,0.78); font-weight: 500; }
.honor-meta .sep { margin: 0 10px; color: rgba(255,255,255,0.25); }
.honor-name {
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.honor-name .kw-hi {
  background: linear-gradient(90deg, #16C8F7 0%, #5BA3FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
  font-weight: 700;
}

.honor-arrow {
  color: rgba(255,255,255,0.25);
  font-size: 22px;
  font-weight: 300;
  transition: color .25s, transform .25s;
}
.honor-row:hover .honor-arrow { color: #16C8F7; transform: translateX(6px); }

.honor-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.honor-stat {
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.honor-stat:last-child { border-right: 0; }
.honor-stat .num {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 40px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #FFEFB3 0%, #F8CE5C 50%, #D9A847 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.honor-stat .lbl { font-size: 13px; color: rgba(255,255,255,0.55); }

@media (max-width: 720px) {
  .honor-stats { grid-template-columns: 1fr; }
  .honor-stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .honor-stat:last-child { border-bottom: 0; }
  .honor-medal { width: 36px; height: 36px; }
  .honor-arrow { display: none; }
}

/* === Partners === */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
@media (max-width: 980px) { .partner-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
.partner {
  background: #fff;
  padding: 28px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  min-height: 96px;
  transition: background .2s, color .2s;
  position: relative;
}
.partner:hover { background: var(--ink); color: #fff; }
.partner::before {
  content: "";
  position: absolute;
  top: 10px; left: 10px;
  width: 6px; height: 6px;
  background: var(--brand-2);
  opacity: 0.4;
}

/* === Capabilities (浅色 + 彩色 accent) === */
.section-why {
  background: var(--bg-alt);
  position: relative;
}
.section-why::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 90% 10%, rgba(22,200,247,0.08), transparent 65%),
    radial-gradient(700px 500px at 5% 90%, rgba(30,64,255,0.06), transparent 65%);
  pointer-events: none;
}
.section-why .section-head { position: relative; z-index: 1; }

.cap-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } }
.cap {
  padding: 30px 24px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.cap:hover {
  border-color: var(--cap-accent, var(--brand-2));
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -16px color-mix(in oklab, var(--cap-accent, #1E40FF) 30%, transparent);
}
.cap-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--cap-accent, #1E40FF) 12%, transparent) 0%, color-mix(in oklab, var(--cap-accent, #1E40FF) 4%, transparent) 100%);
  color: var(--cap-accent, var(--brand-3));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, color .25s;
}
.cap:hover .cap-icon {
  background: var(--cap-accent, var(--brand-3));
  color: #fff;
}
.cap-meta {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: color-mix(in oklab, var(--cap-accent, var(--brand-3)) 55%, #0A1430);
}
.cap .title { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.cap .desc { font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }

/* === Org === */
.org-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: stretch;
}
@media (max-width: 960px) { .org-grid { grid-template-columns: 1fr; } }
.org-grid > div {
  display: flex;
  flex-direction: column;
}

.cities {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.city {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 16px;
  align-items: center;
}
.city .city-name { font-size: 18px; font-weight: 700; }
.city .city-role { font-size: 13px; color: var(--ink-3); }
.city .city-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--brand-3);
}

.office-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  flex: 1;
  min-height: 360px;
}
.office-photo {
  border-radius: 14px;
  background:
    radial-gradient(120% 100% at 20% 15%, rgba(22,200,247,0.18), transparent 60%),
    radial-gradient(120% 100% at 85% 90%, rgba(30,64,255,0.20), transparent 65%),
    linear-gradient(135deg, #E5EAF2 0%, #DCE5F2 100%);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.office-photo:hover { transform: translateY(-2px); border-color: var(--brand-2); }
.office-photo.big { grid-column: span 2; grid-row: span 1; }
.office-photo .city-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.9);
  color: var(--brand-3);
  letter-spacing: 0.08em;
}
.office-photo .frame-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(10,20,48,0.18);
}
.office-photo .frame-corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; display: none; }
.office-photo .frame-corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.office-photo .frame-corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.office-photo .frame-corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.office-photo .meta {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 8px;
}
.office-photo .meta-l {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.office-photo .meta-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.office-photo .meta-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.office-photo .meta-r {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  color: rgba(10,20,48,0.4);
  text-align: right;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

/* === Core abilities (重述) === */
.core-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 800px) { .core-grid { grid-template-columns: 1fr; } }
.core-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .2s, transform .2s;
}
.core-card:hover { border-color: var(--brand-2); transform: translateY(-2px); }
.core-card .marker {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--brand-3);
}
.core-card .ttl { font-size: 22px; font-weight: 700; }
.core-card .desc { font-size: 14px; line-height: 1.7; color: var(--ink-2); }

.foundation {
  margin-top: 32px;
  padding: 36px;
  border-radius: 18px;
  background: var(--bg-deep);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 36px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 800px) { .foundation { grid-template-columns: 1fr; gap: 20px; } }
.foundation-list { display: grid; gap: 12px; }
.foundation-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}
.foundation-item::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--brand-1);
  margin-top: 8px;
}

/* === Contact / Footer === */
.contact {
  padding: var(--section-y) 0 0;
  background:
    radial-gradient(900px 600px at 88% 8%, rgba(22, 200, 247, 0.16), transparent 55%),
    radial-gradient(1100px 700px at 8% 92%, rgba(30, 64, 255, 0.22), transparent 60%),
    radial-gradient(700px 500px at 65% 75%, rgba(168, 121, 255, 0.10), transparent 60%),
    linear-gradient(180deg, #050A1F 0%, #0A1230 50%, #101A40 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: 0 0;
  opacity: 0.5;
  pointer-events: none;
}
.contact::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(30, 64, 255, 0.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  opacity: 0.9;
}
.contact > * { position: relative; z-index: 1; }
.contact .wrap { padding-bottom: 64px; }
.contact .eyebrow { color: var(--brand-1); }
.contact .h2 { color: #fff; }
.contact .lead { color: rgba(255,255,255,0.7); }

.contact-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 56px;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
.contact-block .label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.contact-block .email {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.contact-block .email:hover { color: var(--brand-1); }
.contact-sites { display: flex; flex-direction: column; gap: 10px; }
.contact-sites a {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  display: flex; align-items: baseline; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color .2s;
}
.contact-sites a:hover { color: var(--brand-1); }
.contact-sites .site-cn { font-weight: 600; min-width: 80px; }
.contact-sites .site-url { font-family: "Inter", sans-serif; color: rgba(255,255,255,0.5); font-size: 13px; }
.addresses { display: flex; flex-direction: column; gap: 18px; }
.address { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.78); }
.address .city-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
  color: var(--brand-1);
  margin-right: 8px;
  letter-spacing: 0.04em;
}

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}
.footer-bar .copy { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-bar .slash-mark {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
}

/* === Animations === */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* === First-load entrance === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slashesEnter {
  from { opacity: 0; transform: translateX(48px) scale(1.02); }
  to   { opacity: 0.9; transform: translateX(0) scale(1); }
}

/* Nav slides down softly */
.nav {
  animation: fadeIn .6s ease-out both;
}

/* Hero: staggered entrance */
.hero-slashes {
  animation: slashesEnter 1.1s .05s cubic-bezier(.22,.8,.22,1) both;
}
.hero-tag,
.hero-sub,
.hero-keywords,
.hero-cta-row,
.hero-stats-bar {
  opacity: 0;
  animation: fadeUp .85s cubic-bezier(.22,.8,.22,1) both;
}
.hero-tag       { animation-delay: .10s; }
.hero-sub       { animation-delay: 1.4s; }
.hero-keywords  { animation-delay: 1.55s; }
.hero-cta-row   { animation-delay: 1.7s; }
.hero-stats-bar { animation-delay: 1.85s; }

/* === Scroll-revealed section heads === */
.section-head.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .85s cubic-bezier(.22,.8,.22,1), transform .85s cubic-bezier(.22,.8,.22,1);
}
.section-head.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .nav,
  .hero-slashes,
  .hero-tag, .hero-title, .hero-sub,
  .hero-keywords, .hero-cta-row, .hero-stats-bar,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* === Slash motif SVG container === */
.slash-motif {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

/* Section title row */
.title-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.title-row .mark {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  color: var(--brand-3);
  font-size: clamp(34px, 4.5vw, 60px);
}
