/* ==========================================================================
   WgpSec 狼组安全团队 — 纯静态官网样式
   深色主题 · 字节蓝配色（Dark + ByteDance Blue）
   ========================================================================== */

:root {
  --bg: #070a12;
  --bg-soft: #0a0f1a;
  --bg-card: #0d1420;
  --bg-card-hover: #111a2a;
  --border: #1c2940;
  --text: #e8edf5;
  --text-dim: #96a3b8;
  --text-faint: #5d6c82;
  --accent: #4e8bff;
  --accent-btn: #165dff;
  --accent-btn-hover: #3c78ff;
  --accent-dim: rgba(78, 139, 255, 0.12);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --radius: 8px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 40px rgba(22, 93, 255, 0.18);
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

::selection { background: var(--accent-btn); color: #fff; }

/* ---------- 顶部导航 ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 10, 18, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img { height: 30px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 16px;
  font-size: 15px;
  color: var(--text-dim);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-links a.active { color: var(--accent); font-weight: 500; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent-btn);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-btn-hover); box-shadow: 0 0 24px rgba(22, 93, 255, 0.5); }
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 16px rgba(78, 139, 255, 0.2); }
.btn-sm { padding: 6px 16px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 语言切换按钮 */
.lang-btn {
  margin-left: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.lang-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }

/* ---------- Hero（背景 Banner） ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 128px 0 120px;
  overflow: hidden;
  background: var(--bg) url("../img/hero_banner.png") center / cover no-repeat;
}

/* 遮罩层：保证文字可读，边缘融入站点底色 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 18, 0.62) 0%, rgba(7, 10, 18, 0.35) 40%, rgba(7, 10, 18, 0.72) 100%),
    radial-gradient(ellipse 80% 70% at 50% 45%, transparent 30%, rgba(7, 10, 18, 0.55) 100%);
  pointer-events: none;
}

/* 底部淡入站点底色，衔接下方区块 */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; text-align: center; }

.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 2px;
  margin-bottom: 18px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6), 0 0 60px rgba(22, 93, 255, 0.3);
}
.hero h1 .grad {
  background: linear-gradient(100deg, #165dff 10%, #94bfff 50%, #165dff 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradFlow 5s ease-in-out infinite alternate;
}
@keyframes gradFlow {
  from { background-position: 0% 0; }
  to { background-position: 100% 0; }
}
.hero .motto {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--text-dim);
  margin-bottom: 12px;
}
.hero .motto strong { color: var(--text); font-weight: 600; }
.hero .sub {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
  min-height: 24px;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
  text-shadow: 0 0 14px rgba(78, 139, 255, 0.45);
}
.hero .sub .caret {
  display: inline-block;
  width: 9px;
  animation: blink 1s step-end infinite;
  color: transparent;
  background: var(--accent);
}
@keyframes blink { 50% { opacity: 0; } }

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  margin-top: 76px;
  display: flex;
  justify-content: center;
  gap: clamp(28px, 6vw, 72px);
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat .num {
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--mono);
  text-shadow: 0 0 20px rgba(78, 139, 255, 0.4);
}
.stat .label { font-size: 13px; color: var(--text-faint); margin-top: 4px; }

.scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  color: var(--text-faint);
  font-size: 12px;
  letter-spacing: 2px;
  animation: floaty 2.4s ease-in-out infinite;
  z-index: 1;
}
@keyframes floaty {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; position: relative; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .kicker {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 700; margin-bottom: 14px; }
.section-head p { color: var(--text-dim); font-size: 16px; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(78, 139, 255, 0.4);
  box-shadow: var(--shadow-lg);
}
.card:hover::after { opacity: 1; }

.card .icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-dim); }
.card .meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.card .meta .arrow { transition: transform 0.2s; }
.card:hover .meta .arrow { transform: translateX(4px); }

.tag {
  display: inline-block;
  padding: 1px 10px;
  font-size: 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-faint);
  margin-right: 6px;
  margin-top: 10px;
  font-family: var(--mono);
}

/* 特性插画 */
.feature-illu {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-illu img {
  height: 110px;
  width: auto;
  transition: transform 0.3s;
  filter: drop-shadow(0 6px 18px rgba(22, 93, 255, 0.25));
}
.card:hover .feature-illu img { transform: scale(1.06); }

/* 带截图的卡片 */
.card.has-shot { padding: 0; }
.card-shot {
  aspect-ratio: 21 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.card-shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s;
}
.card:hover .card-shot img { transform: scale(1.04); }
.card-body { padding: 22px 24px 26px; }

/* ---------- Agentic 生态流水线 ---------- */
.eco-flow {
  display: flex;
  align-items: stretch;
  gap: 14px;
}
.eco-node {
  flex: 1;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
}
.eco-node:hover {
  transform: translateY(-4px);
  border-color: rgba(78, 139, 255, 0.4);
  box-shadow: var(--shadow-lg);
}
.eco-stage {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.eco-repo {
  display: inline-block;
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.eco-repo:hover { color: var(--accent); }
.eco-node p { font-size: 13px; color: var(--text-dim); line-height: 1.7; }
.eco-arrow {
  align-self: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 22px;
  text-shadow: 0 0 14px rgba(78, 139, 255, 0.5);
  animation: ecoPulse 2.4s ease-in-out infinite;
}
@keyframes ecoPulse {
  0%, 100% { opacity: 0.45; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}
.eco-sub {
  display: block;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px dashed var(--border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.6;
  transition: border-color 0.2s, color 0.2s;
}
.eco-sub:hover { border-color: var(--accent); color: var(--text-dim); }
.eco-sub-name {
  display: block;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2px;
}

/* ---------- 标识/品牌区块 ---------- */
.brand-section { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.brand-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-visual .logo-big {
  width: min(300px, 66%);
  filter: drop-shadow(0 0 44px rgba(22, 93, 255, 0.3));
  animation: floaty2 5s ease-in-out infinite;
}
@keyframes floaty2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.brand-copy h2 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 700; margin-bottom: 16px; }
.brand-copy p { color: var(--text-dim); margin-bottom: 14px; }
.brand-copy blockquote {
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 18px;
  margin: 22px 0;
  color: var(--text);
  font-style: italic;
}

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(78, 139, 255, 0.35);
  background:
    radial-gradient(ellipse 70% 130% at 50% -30%, rgba(22, 93, 255, 0.18), transparent 70%),
    var(--bg-card);
  padding: 64px 40px;
  text-align: center;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(24px, 3.5vw, 32px); font-weight: 700; margin-bottom: 12px; }
.cta-band p { color: var(--text-dim); margin-bottom: 30px; }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 48px;
}
.footer-brand p { color: var(--text-faint); font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer h4 { font-size: 14px; font-weight: 600; margin-bottom: 16px; color: var(--text); }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: var(--text-dim); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(78, 139, 255, 0.25);
}
.socials svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
}
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- 页面头（子页） ---------- */
.page-hero {
  padding: 160px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(22, 93, 255, 0.14), transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 700; margin-bottom: 14px; position: relative; }
.page-hero p { color: var(--text-dim); max-width: 640px; margin: 0 auto; position: relative; }

/* ---------- 关于页 ---------- */
.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 34px; transition: max-height 0.6s ease; max-height: 2000px; }
.timeline.collapsed {
  max-height: 300px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, #000 55%, transparent 98%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 98%);
}
.timeline-foot { text-align: center; margin-top: 28px; }
.timeline-toggle::after {
  content: "▾";
  display: inline-block;
  transition: transform 0.3s;
}
.timeline-toggle.expanded::after { transform: rotate(180deg); }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--border));
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px; top: 7px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 12px rgba(78, 139, 255, 0.5);
}
.timeline-item .year {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.timeline-item h3 { font-size: 17px; margin-bottom: 6px; }
.timeline-item p { color: var(--text-dim); font-size: 14px; }

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.member {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.member:hover { transform: translateY(-4px); border-color: rgba(78, 139, 255, 0.4); box-shadow: var(--shadow); }
.member .avatar {
  width: 56px; height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 18px;
  overflow: hidden;
}
.member .avatar img { width: 100%; height: 100%; object-fit: cover; }
.member .name { font-family: var(--mono); font-size: 14px; font-weight: 600; }
.member .role { font-size: 12px; color: var(--text-faint); margin-top: 2px; }

.leader-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: center;
  max-width: 560px;
  margin: 0 auto 40px;
  background: var(--bg-card);
  border: 1px solid rgba(78, 139, 255, 0.35);
  border-radius: 12px;
  padding: 26px 30px;
  box-shadow: var(--shadow);
}
.leader-card .avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--accent-btn);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  font-family: var(--mono);
  overflow: hidden;
}
.leader-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.leader-card h3 { font-size: 20px; }
.leader-card .role { color: var(--accent); font-size: 13px; margin: 4px 0 8px; }
.leader-card p { color: var(--text-dim); font-size: 14px; }

/* ---------- 成员展示窗（参考原站形式） ---------- */
.member-showcase {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: center;
}
.showcase-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sc-name {
  font-size: clamp(34px, 5vw, 42px);
  font-weight: 700;
  font-style: italic;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 26px;
  text-shadow: 0 0 24px rgba(78, 139, 255, 0.35);
}

/* 简介框：无底色、无实线边框，仅四角装饰 */
.intro-box {
  position: relative;
  padding: 15px 20px;
}
.intro-box .angle {
  position: absolute;
  width: 18px; height: 18px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
}
.intro-box .angle.lt { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.intro-box .angle.rt { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.intro-box .angle.lb { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.intro-box .angle.rb { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

.sc-pos {
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
  color: var(--text);
}
.sc-divider {
  color: var(--accent);
  font-size: 18px;
  font-style: italic;
  letter-spacing: 2px;
  line-height: 2.4;
  user-select: none;
}
.sc-intros p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 2;
}

/* 头像选择条：排列在简介框下方 */
.avatar-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.sel-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.sel-avatar img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.sel-avatar:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(78, 139, 255, 0.3);
}
.sel-avatar.active {
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(78, 139, 255, 0.35);
}

/* 右侧人物形态：无底色，仅极淡水印 + 柔光衬底 */
.showcase-visual {
  position: relative;
  height: 460px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.showcase-visual::before {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 82%;
  height: 76%;
  background: radial-gradient(ellipse at 50% 80%, rgba(160, 190, 255, 0.10), transparent 70%);
  pointer-events: none;
}
.showcase-visual .sc-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.015;
  filter: invert(1);
  pointer-events: none;
}
.showcase-visual .sc-person {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  position: relative;
}

.swap-in { animation: swapIn 0.35s ease; }
@keyframes swapIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 服务页 ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block.flip .svc-visual { order: 2; }
.svc-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  position: relative;
  overflow: hidden;
}
.svc-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 110%, rgba(22, 93, 255, 0.14), transparent 70%);
}
.svc-visual svg { width: 88px; height: 88px; position: relative; filter: drop-shadow(0 0 18px rgba(78, 139, 255, 0.4)); }
.svc-copy .num {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.svc-copy h3 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.svc-copy p { color: var(--text-dim); margin-bottom: 14px; }
.svc-copy ul li {
  position: relative;
  padding-left: 22px;
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 8px;
}
.svc-copy ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ---------- 滚动显现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-section { grid-template-columns: 1fr; gap: 36px; }
  .service-block, .service-block.flip { grid-template-columns: 1fr; }
  .service-block.flip .svc-visual { order: 0; }
  .eco-flow { flex-direction: column; }
  .eco-arrow { transform: rotate(90deg); margin: 0 auto; animation: none; opacity: 0.7; }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(7, 10, 18, 0.97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .btn { justify-content: center; margin-top: 10px; }
  .leader-card { grid-template-columns: 1fr; text-align: center; }
  .leader-card .avatar { margin: 0 auto; }
  .cta-band { padding: 44px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .member-showcase { grid-template-columns: 1fr; }
  .showcase-visual { height: 360px; order: -1; }
  .avatar-strip { justify-content: center; }
}
