/* ==========================================================================
   GalaxyWave · 星汉浪潮 — Unified Deep-Space Design System (V2)
   No harsh horizontal section borders · Seamless atmospheric flow
   ========================================================================== */

:root {
  --bg: #05091E;
  --bg-elevated: rgba(13, 20, 56, 0.52);
  --card: rgba(16, 24, 68, 0.56);
  --card-hover: rgba(24, 35, 92, 0.72);
  --blue: #1E2699;
  --blue-2: #2B45D8;
  --blue-bright: #4B6BFF;
  --cyan: #35E0DC;
  --cyan-light: #7DEEFC;
  --cyan-glow: rgba(53, 224, 220, 0.14);
  --text: #F4F7FF;
  --text-2: #B6C0E2;
  --muted: #7C88B6;
  --border: rgba(145, 165, 235, 0.13);
  --border-glow: rgba(53, 224, 220, 0.34);
  --green: #32D5A3;
  --amber: #F5B547;
  --red: #F06A6A;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1220px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background: var(--bg); }

body {
  font-family: 'Space Grotesk', 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* 连续无缝的深空背景氛围层（消除 PPT 式横线分割） */
.cosmos-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 48% at 78% 6%, rgba(43, 69, 216, 0.22), transparent 68%),
    radial-gradient(ellipse 55% 42% at 14% 18%, rgba(53, 224, 220, 0.10), transparent 65%),
    radial-gradient(ellipse 70% 50% at 85% 58%, rgba(30, 38, 153, 0.18), transparent 70%),
    radial-gradient(ellipse 65% 45% at 18% 84%, rgba(53, 224, 220, 0.08), transparent 68%),
    #05091E;
}

.cosmos-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, #000 35%, transparent 95%);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

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

/* ==========================================================================
   Navigation & Flagship Brand Lockup
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 9, 30, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(145, 165, 235, 0.08);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* 左上角大气品牌标：大星轨图标 + 上下等宽对齐标语 */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  transition: opacity 0.2s var(--ease);
}
.brand-lockup:hover { opacity: 0.94; }

.brand-mark-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.brand-mark-wrap::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 238, 252, 0.18), transparent 68%);
  pointer-events: none;
}

.brand-mark {
  width: 56px;
  height: 56px;
  position: relative;
  filter: drop-shadow(0 0 10px rgba(125, 238, 252, 0.35));
}

.brand-text-stack {
  width: 232px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.brand-wordmark {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.02;
  color: #FFFFFF;
  letter-spacing: 0.01em;
}
.brand-wordmark-zh {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.09em;
}

.brand-slogan {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--cyan-light);
  white-space: nowrap;
}
.brand-slogan.en {
  font-size: 9.9px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.2s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links a.active {
  color: #fff;
  background: rgba(43, 69, 216, 0.22);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue-bright));
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.lang-btn {
  padding: 7px 12px;
  border-radius: 9px;
  border: 1px solid rgba(125, 238, 252, 0.28);
  background: rgba(53, 224, 220, 0.07);
  color: var(--cyan-light);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}
.lang-btn:hover { background: rgba(53, 224, 220, 0.16); border-color: var(--cyan); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ==========================================================================
   Buttons & Typography
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--blue-2), #4464FF);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(43, 69, 216, 0.34);
  transition: all 0.24s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(53, 224, 220, 0.24), 0 8px 26px rgba(43, 69, 216, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.24s var(--ease);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan-light);
  background: rgba(53, 224, 220, 0.07);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(53, 224, 220, 0.09);
  border: 1px solid rgba(53, 224, 220, 0.26);
  color: var(--cyan-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.grad {
  background: linear-gradient(125deg, #FFFFFF 12%, #97B0FF 55%, var(--cyan-light) 98%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   Seamless Sections (ZERO border-top / border-bottom seams)
   ========================================================================== */
section {
  padding: 96px 0;
  position: relative;
}

.page-hero {
  padding: 88px 0 56px;
  position: relative;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  max-width: 820px;
}
.page-hero p {
  color: var(--text-2);
  font-size: 1.08rem;
  max-width: 720px;
}

.sec-head {
  margin-bottom: 44px;
  max-width: 780px;
}
.sec-head h2 {
  font-size: clamp(1.7rem, 3.1vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.sec-head p {
  color: var(--text-2);
  font-size: 1.02rem;
}

/* ==========================================================================
   Hero Layout & Five-Layer Architecture Stack
   ========================================================================== */
.hero {
  padding: 78px 0 88px;
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.94fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.3vw, 3.45rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-desc {
  color: var(--text-2);
  font-size: 1.06rem;
  max-width: 590px;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid rgba(145, 165, 235, 0.12);
}
.kpi-item strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--cyan-light);
  line-height: 1.15;
}
.kpi-item span {
  font-size: 0.78rem;
  color: var(--muted);
}

.stack-box {
  background: linear-gradient(160deg, rgba(18, 28, 76, 0.72), rgba(10, 15, 44, 0.78));
  backdrop-filter: blur(18px);
  border: 1px solid rgba(145, 165, 235, 0.16);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.stack-title {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan-light);
  margin-bottom: 14px;
  font-weight: 700;
}
.stack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 11px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  color: var(--muted);
}
.stack-row.active {
  background: linear-gradient(95deg, rgba(43, 69, 216, 0.48), rgba(53, 224, 220, 0.15));
  border-color: rgba(125, 238, 252, 0.55);
  color: #fff;
  box-shadow: 0 8px 28px rgba(53, 224, 220, 0.12);
}
.stack-row b { font-size: 0.8rem; width: 28px; flex-shrink: 0; }
.stack-row .s-mid { flex: 1; }
.stack-row .s-mid small { display: block; font-size: 0.73rem; opacity: 0.8; }
.stack-tag {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  white-space: nowrap;
}
.stack-row.active .stack-tag { background: var(--cyan); color: #05091E; }
.stack-foot {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-2);
  padding-top: 10px;
  border-top: 1px dashed rgba(145, 165, 235, 0.16);
}

/* ==========================================================================
   Glass Cards, Grids & Edge-Blended Visual Showcase
   ========================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: var(--card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: all 0.28s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  background: var(--card-hover);
}
.card-top {
  height: 2px;
  position: absolute;
  top: 0; left: 0; right: 0;
  background: linear-gradient(90deg, transparent, var(--blue-bright), var(--cyan), transparent);
  opacity: 0.75;
}
.card-tag {
  font-size: 0.72rem;
  color: var(--cyan-light);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.3; }
.card p { font-size: 0.9rem; color: var(--text-2); margin-bottom: 14px; }

.bullet-list { list-style: none; }
.bullet-list li {
  font-size: 0.84rem;
  color: var(--text-2);
  padding: 4px 0 4px 16px;
  position: relative;
}
.bullet-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

/* 边缘柔化融合图片容器（告别生硬方块） */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}
.split-feature.reverse { direction: rtl; }
.split-feature.reverse > * { direction: ltr; }
.split-feature:last-child { margin-bottom: 0; }

.visual-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(43, 69, 216, 0.16), rgba(5, 9, 30, 0.9));
  border: 1px solid rgba(145, 165, 235, 0.14);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.visual-frame img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.94;
  transition: transform 0.6s var(--ease);
}
.visual-frame:hover img { transform: scale(1.02); }
.visual-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 20px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 9, 30, 0.92) 75%);
  font-size: 0.8rem;
  color: var(--cyan-light);
  font-weight: 600;
}

/* ==========================================================================
   L1-L5 Interactive Ladder & ETV
   ========================================================================== */
.ladder-wrap {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.ladder-steps { display: flex; flex-direction: column; gap: 10px; }
.ladder-btn {
  text-align: left;
  padding: 15px 18px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s var(--ease);
}
.ladder-btn:hover { border-color: rgba(125, 238, 252, 0.4); }
.ladder-btn.active {
  background: linear-gradient(95deg, rgba(43, 69, 216, 0.42), rgba(16, 24, 68, 0.88));
  border-color: var(--cyan);
}
.ladder-lv {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(53, 224, 220, 0.14);
  color: var(--cyan-light);
  margin-right: 10px;
}
.ladder-detail {
  background: var(--card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.etv-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(53, 224, 220, 0.08);
  border: 1px solid rgba(53, 224, 220, 0.24);
  font-size: 0.84rem;
}
.etv-box code { color: var(--cyan-light); font-weight: 700; font-size: 0.9rem; }

/* ==========================================================================
   Commercial Data Catalog
   ========================================================================== */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-2);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--blue-2);
  border-color: var(--blue-2);
  color: #fff;
}
.search-input {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 0.86rem;
  min-width: 260px;
}
.search-input:focus { outline: none; border-color: var(--cyan); }

.ds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ds-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s var(--ease);
}
.ds-card:hover { border-color: var(--cyan); transform: translateY(-2px); background: var(--card-hover); }
.ds-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.ds-mod { font-size: 0.7rem; font-weight: 700; color: var(--cyan-light); text-transform: uppercase; letter-spacing: 0.08em; }
.ds-badge {
  font-size: 0.68rem;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(50, 213, 163, 0.14);
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
}
.ds-card h4 { font-size: 1.04rem; margin-bottom: 6px; }
.ds-scale { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ds-desc { font-size: 0.83rem; color: var(--text-2); margin-bottom: 14px; }
.ds-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(145, 165, 235, 0.1);
  font-size: 0.76rem;
  color: var(--muted);
}
.ds-btn {
  background: rgba(53, 224, 220, 0.08);
  border: 1px solid rgba(53, 224, 220, 0.3);
  color: var(--cyan-light);
  padding: 4px 11px;
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: 0.2s;
}
.ds-btn:hover { background: rgba(53, 224, 220, 0.2); }

/* ==========================================================================
   Ontology Matrix & Comparison Table
   ========================================================================== */
.onto-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.onto-pill {
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-2);
  font-size: 0.86rem;
  font-weight: 600;
  transition: 0.2s;
}
.onto-pill.active {
  background: rgba(53, 224, 220, 0.14);
  border-color: var(--cyan);
  color: var(--cyan-light);
}
.onto-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 28px;
}
.onto-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.onto-tags span {
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-2);
}

.clean-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.clean-table th, .clean-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(145, 165, 235, 0.1);
}
.clean-table th {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tag-ready { color: var(--green); font-weight: 600; }
.tag-custom { color: var(--amber); font-weight: 600; }

/* ==========================================================================
   Eval Hub & Clients & Modals
   ========================================================================== */
.eval-hub {
  background: linear-gradient(135deg, rgba(30, 38, 153, 0.35), rgba(11, 16, 53, 0.75));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}
.eval-core {
  text-align: center;
  padding: 22px 26px;
  border-radius: 14px;
  background: rgba(5, 9, 30, 0.88);
  border: 1px solid var(--cyan);
  box-shadow: 0 0 36px rgba(53, 224, 220, 0.16);
}
.eval-core strong { display: block; font-size: 1.15rem; color: var(--cyan-light); letter-spacing: 0.08em; }

.client-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }
.client-chip {
  padding: 10px 8px;
  text-align: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(145, 165, 235, 0.1);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

/* CTA & Footer */
.cta-panel {
  background: linear-gradient(135deg, rgba(43, 69, 216, 0.28), rgba(53, 224, 220, 0.09));
  border: 1px solid rgba(125, 238, 252, 0.25);
  border-radius: 22px;
  padding: 48px 36px;
  text-align: center;
}
.cta-panel h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-panel p { color: var(--text-2); max-width: 600px; margin: 0 auto 24px; }

.footer {
  padding: 56px 0 36px;
  border-top: 1px solid rgba(145, 165, 235, 0.08);
  font-size: 0.84rem;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer h4 {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-2);
  margin-bottom: 14px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer li a:hover { color: var(--cyan-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(145, 165, 235, 0.08);
}

/* Modals */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 22, 0.78);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-mask.open { display: flex; }
.modal {
  background: #0A1032;
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  max-width: 620px;
  width: 100%;
  padding: 30px;
  position: relative;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 1.15rem;
}

.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 0.8rem; color: var(--text-2); margin-bottom: 6px; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 10px 13px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(16, 24, 68, 0.72);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--cyan); }

/* Visual Gallery Tabs (Data Engine Page) */
.vis-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.vis-tab {
  padding: 9px 15px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-2);
  font-size: 0.84rem;
  font-weight: 600;
  transition: 0.2s;
}
.vis-tab.active {
  background: rgba(43, 69, 216, 0.35);
  border-color: var(--cyan);
  color: #fff;
}

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero-layout, .ladder-wrap, .onto-panel, .eval-hub, .split-feature { grid-template-columns: 1fr; }
  .split-feature.reverse { direction: ltr; }
  .grid-3, .grid-4, .ds-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 88px; left: 0; right: 0;
    background: rgba(5, 9, 30, 0.97);
    backdrop-filter: blur(20px);
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
  }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .ds-grid, .hero-kpis, .footer-grid { grid-template-columns: 1fr; }
  .brand-mark-wrap { width: 44px; height: 44px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-text-stack { width: 190px; }
  .brand-wordmark { font-size: 16px; }
  .brand-wordmark-zh { font-size: 12px; }
  .brand-slogan { font-size: 9px; }
  .brand-slogan.en { font-size: 8px; }
  .nav-actions .btn-primary { display: none; }
}
