/* ============================================================
   知愿团队宣传站 · 公开页样式
   学府深蓝 + 香槟金 · 移动优先响应式 · 纯 CSS 动画
   ============================================================ */

:root {
  --navy: #0d2b52;
  --navy-2: #0a2347;
  --navy-3: #143a6b;
  --navy-4: #1d4f8f;
  --gold: #c9a24b;
  --gold-2: #e3c97a;
  --gold-3: #f0dca0;
  --ink: #1a2433;
  --muted: #5d6b82;
  --muted-2: #8593a8;
  --line: #e7ebf3;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-tint: #eef3fb;
  --maxw: 1200px;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --shadow-sm: 0 2px 10px rgba(13, 43, 82, .06);
  --shadow-md: 0 14px 40px rgba(13, 43, 82, .10);
  --shadow-gold: 0 10px 30px rgba(201, 162, 75, .28);
  --radius: 16px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.3; margin: 0; letter-spacing: .01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .03em;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(201,162,75,.42); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-line { border: 1px solid var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }

/* ---------- 顶部导航 ---------- */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.topnav.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(13,43,82,.08);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.topnav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 34px; height: 34px; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 18px; color: #fff; transition: color .3s; letter-spacing: .04em; }
.topnav.scrolled .brand-name { color: var(--navy); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.88); position: relative; padding: 4px 0; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); transition: width .3s; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.topnav.scrolled .nav-links a { color: var(--muted); }
.topnav.scrolled .nav-links a:hover { color: var(--navy); }
.nav-links .nav-cta { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); padding: 8px 18px; border-radius: 999px; font-weight: 600; }
.nav-links .nav-cta::after { display: none; }
.topnav.scrolled .nav-links .nav-cta { color: var(--navy); }

/* 汉堡菜单(移动端) */
.nav-toggle { display: none; width: 40px; height: 40px; position: relative; z-index: 110; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto; transition: transform .3s, opacity .3s; }
.topnav.scrolled .nav-toggle span { background: var(--navy); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: radial-gradient(120% 120% at 80% 0%, var(--navy-4) 0%, var(--navy) 45%, var(--navy-2) 100%);
  color: #fff; overflow: hidden; padding: 120px 0 80px;
}
.hero-glow {
  position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(201,162,75,.22), transparent 60%);
  filter: blur(8px); pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 100% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-2); padding: 7px 16px; border: 1px solid rgba(201,162,75,.4);
  border-radius: 999px; margin: 0 0 28px; background: rgba(201,162,75,.06);
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 4px rgba(201,162,75,.2); }
.hero-title { font-size: clamp(34px, 6.4vw, 68px); line-height: 1.18; letter-spacing: .02em; margin: 0; }
.hero-title .line { display: block; }
.hero-title .accent {
  background: linear-gradient(120deg, var(--gold-3) 0%, #fff 25%, var(--gold-2) 50%, var(--gold-3) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

/* 入场逐行上浮动画 */
.hero-eyebrow, .hero-title .line, .hero-cycle, .hero-sub, .hero-cta, .hero-scroll {
  opacity: 0;
  animation: heroIn .85s cubic-bezier(.2,.75,.2,1) forwards;
}
.hero-eyebrow { animation-delay: .15s; }
.hero-title .line:nth-child(1) { animation-delay: .35s; }
.hero-title .line.accent { animation-delay: .6s; }
.hero-cycle { animation-delay: .95s; }
.hero-sub { animation-delay: 1.15s; }
.hero-cta { animation-delay: 1.35s; }
.hero-scroll { animation-delay: 1.55s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* 打字机循环行 */
.hero-cycle {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 22px 0 0; padding: 9px 18px;
  border: 1px solid rgba(201,162,75,.3); border-radius: 999px;
  background: rgba(201,162,75,.06); backdrop-filter: blur(4px);
  font-size: clamp(15px, 2vw, 18px); color: #fff; font-weight: 500;
}
.hero-cycle-tag {
  font-size: 12px; letter-spacing: .15em; color: var(--gold-2);
  padding-right: 12px; border-right: 1px solid rgba(201,162,75,.3);
}
.hero-type { min-height: 1.4em; display: inline-block; color: var(--gold-3); font-weight: 600; }
.hero-cursor { color: var(--gold-2); animation: blink 1s steps(1) infinite; margin-left: -2px; }
@keyframes blink { 50% { opacity: 0; } }

/* 背景浮动粒子 */
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-particles span {
  position: absolute; bottom: -10px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-2), transparent 70%);
  opacity: 0; animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(0) scale(.6); opacity: 0; }
  10% { opacity: .7; }
  90% { opacity: .5; }
  100% { transform: translateY(-105vh) scale(1); opacity: 0; }
}

.hero-sub { font-size: clamp(16px, 2.2vw, 21px); color: rgba(255,255,255,.8); margin: 24px 0 36px; max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-scroll { display: inline-flex; align-items: center; gap: 10px; margin-top: 64px; font-size: 12px; letter-spacing: .2em; color: rgba(255,255,255,.55); text-transform: uppercase; }
.hero-scroll span { width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); animation: scrolldown 2s ease-in-out infinite; }
@keyframes scrolldown { 0%,100% { transform: scaleY(.4); transform-origin: top; opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============================================================
   通用 section
   ============================================================ */
.section { padding: 88px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker { display: inline-block; font-size: 13px; letter-spacing: .28em; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(28px, 4.2vw, 42px); color: var(--navy); }
.rule { width: 56px; height: 3px; margin: 18px auto 0; background: var(--gold); border-radius: 2px; position: relative; }
.rule i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; background: var(--gold); transform: translate(-50%,-50%) rotate(45deg); }
.section-head .lead { margin-top: 22px; color: var(--muted); font-size: 16px; }

/* ---------- 机构 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.about-text { font-size: 17px; color: var(--ink); line-height: 2.1; }
.about-meta { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.about-meta::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 56px; background: linear-gradient(var(--gold), transparent); border-radius: 2px; }
.about-meta h3 { font-size: 18px; color: var(--navy); margin-bottom: 18px; }
.meta-row { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.meta-row:last-of-type { border-bottom: 0; }
.meta-k { color: var(--muted); flex: 0 0 56px; }
.meta-v { color: var(--ink); font-weight: 500; }
.about-meta .btn { margin-top: 18px; }

/* ---------- 理念 ---------- */
.section-philosophy { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.philosophy-wrap { position: relative; max-width: 860px; margin: 0 auto; padding: 8px 8px 0; }
.quote-mark { font-family: var(--font-serif); font-size: 120px; line-height: .6; color: var(--gold); opacity: .25; position: absolute; top: -20px; left: -10px; }
.philosophy-text { font-family: var(--font-serif); font-size: clamp(19px, 2.6vw, 26px); line-height: 2.05; color: var(--navy); text-align: center; letter-spacing: .02em; }
.highlights { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 15px; box-shadow: var(--shadow-sm); transition: transform .25s, border-color .25s; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.chip:hover { transform: translateY(-3px); border-color: var(--gold); }

/* ============================================================
   流程 + 循环动画(核心)
   ============================================================ */
.section-process { background: linear-gradient(180deg, var(--navy-2), var(--navy)); color: #fff; overflow: hidden; }
.section-process .kicker { color: var(--gold-2); }
.section-process .section-head h2 { color: #fff; }
.section-process .rule i { background: var(--gold); }
.section-process .section-head .lead { color: rgba(255,255,255,.7); }

.flow { max-width: 1120px; margin: 0 auto; }
.flow-track {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
}
.flow-step { position: relative; z-index: 2; display: flex; gap: 18px; align-items: flex-start; }
.flow-node {
  position: relative; flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-3); border: 2px solid rgba(201,162,75,.35);
  color: var(--gold-2); transition: border-color .4s, background .4s, color .4s;
  animation: nodepulse 12.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 2.5s);
}
.flow-node-glow { position: absolute; inset: -8px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,75,.55), transparent 65%); opacity: 0; transition: opacity .4s; }
.flow-num { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy-2); border: 1px solid var(--gold); color: var(--gold-2); font-size: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-weight: 700; }
.flow-icon { width: 28px; height: 28px; display: flex; }
.flow-icon svg { width: 28px; height: 28px; }

@keyframes nodepulse {
  0%, 100% { border-color: rgba(201,162,75,.3); background: var(--navy-3); color: var(--gold-2); }
  4%  { border-color: var(--gold-2); background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); }
  16% { border-color: var(--gold-2); background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); }
  20% { border-color: rgba(201,162,75,.3); background: var(--navy-3); color: var(--gold-2); }
}
/* 激活时节点外发光与文字高亮 —— 用同样的延迟同步 */
.flow-node { }
.flow-step { }
/* 通过 nodepulse 的 4-16% 窗口让 glow 浮现:用一个常驻透明动画无法同步,
   这里用 box-shadow 在 keyframe 中已体现;额外 body 高亮用单独动画 */
.flow-body .flow-sub,
.flow-body .flow-title,
.flow-body .flow-desc { animation: textpulse 12.5s ease-in-out infinite; animation-delay: calc(var(--i) * 2.5s); }
@keyframes textpulse {
  0%, 100% { opacity: .7; transform: translateX(0); }
  4%  { opacity: 1; }
  16% { opacity: 1; }
  20% { opacity: .7; }
}

.flow-body { padding: 6px 0 4px; flex: 1; }
.flow-sub { font-size: 12px; letter-spacing: .2em; color: var(--gold-2); text-transform: uppercase; margin-bottom: 4px; }
.flow-title { font-size: 20px; color: #fff; margin-bottom: 6px; }
.flow-desc { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.7; }

/* 连接线(移动端:纵向) */
.flow-connector { position: relative; width: 64px; height: 36px; align-self: flex-start; margin-left: 0; }
.flow-connector::before { content: ""; position: absolute; left: 31px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--gold), rgba(201,162,75,.15)); overflow: hidden; }
.flow-connector::after {
  content: ""; position: absolute; left: 28px; top: 0; width: 8px; height: 16px; border-radius: 4px;
  background: linear-gradient(180deg, var(--gold-2), transparent);
  animation: drop 1.8s ease-in-out infinite;
}
@keyframes drop { 0% { top: -16px; opacity: 0; } 30% { opacity: 1; } 100% { top: 36px; opacity: 0; } }

.flow-loop {
  margin-top: 36px; text-align: center; display: inline-flex; align-items: center; gap: 8px;
  align-self: center; padding: 9px 20px; border-radius: 999px;
  border: 1px dashed rgba(201,162,75,.4); color: var(--gold-2); font-size: 13px; letter-spacing: .06em;
}
.flow-loop svg { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   团队
   ============================================================ */
.section-team { background: var(--bg-soft); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; margin: 0 auto 52px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 16px; text-align: center; box-shadow: var(--shadow-sm); }
.stat-value { font-family: var(--font-serif); font-size: clamp(28px, 5vw, 38px); color: var(--navy); font-weight: 700; }
.stat-value::after { content: ""; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; letter-spacing: .05em; }

.members { display: grid; grid-template-columns: 1fr; gap: 20px; }
.member-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.member-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.member-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(201,162,75,.4); }
.member-card:hover::before { transform: scaleX(1); }
.member-avatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: var(--gold-2);
  font-family: var(--font-serif); font-size: 30px; font-weight: 600;
  border: 2px solid var(--gold); box-shadow: var(--shadow-gold);
}
.member-photo { display: none; } /* 预留:有照片时显示 */
.member-name { font-size: 20px; color: var(--navy); }
.member-role { color: var(--gold); font-weight: 600; font-size: 14px; margin-top: 4px; }
.member-title { color: var(--muted); font-size: 13px; margin-top: 2px; }
.member-bio { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 14px 0 14px; }
.member-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.member-tags span { font-size: 12px; padding: 4px 12px; border-radius: 999px; background: var(--bg-tint); color: var(--navy-3); }

/* ============================================================
   产品
   ============================================================ */
.section-products { background: #fff; }
.products { display: grid; grid-template-columns: 1fr; gap: 28px; }
.product {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s;
}
.product:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-media { position: relative; min-height: 220px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy), var(--navy-3)); padding: 28px; }
.product-media-bg { position: absolute; inset: 0; background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); }
.product-media img { position: relative; z-index: 2; width: 100%; max-width: 420px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.4)); border-radius: 10px; }
.product-cat { position: absolute; top: 16px; left: 16px; z-index: 3; background: rgba(201,162,75,.92); color: var(--navy); font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; letter-spacing: .06em; }
.product-body { padding: 32px 28px; }
.product-name { font-size: 24px; color: var(--navy); }
.product-tag { color: var(--gold); font-weight: 600; margin: 8px 0 14px; font-size: 15px; }
.product-desc { color: var(--muted); font-size: 15px; line-height: 1.9; }
.product-how { margin-top: 20px; padding: 16px 18px; background: var(--bg-soft); border-left: 3px solid var(--gold); border-radius: 8px; }
.how-label { display: inline-block; font-size: 12px; letter-spacing: .15em; color: var(--gold); font-weight: 700; margin-bottom: 4px; }
.product-how p { font-size: 14px; color: var(--ink); }
.product-feats { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 24px; }
.product-feats li { font-size: 13px; color: var(--navy-3); background: var(--bg-tint); padding: 7px 14px; border-radius: 8px; font-weight: 500; }
.product-link { margin-top: 4px; }

/* ============================================================
   学员案例
   ============================================================ */
.section-cases { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.empty-hint { text-align: center; color: var(--muted); padding: 40px; }

.case-summary {
  display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap;
  max-width: 760px; margin: 0 auto 44px; padding: 18px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm);
}
.case-summary-num { text-align: center; border-right: 1px solid var(--line); padding-right: 28px; }
.case-summary-num b { display: block; font-family: var(--font-serif); font-size: 34px; color: var(--navy); line-height: 1; }
.case-summary-num span { font-size: 12px; color: var(--muted); }
.case-summary-line { color: var(--muted); font-size: 14px; line-height: 1.8; }
.case-summary-line b { color: var(--gold); }

.cases { display: grid; grid-template-columns: 1fr; gap: 22px; }
.case-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 22px; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.case-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(201,162,75,.4); }
.case-card.is-featured { border-color: rgba(201,162,75,.45); box-shadow: 0 8px 30px rgba(201,162,75,.1); }
.case-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.case-badge { font-size: 12px; font-weight: 700; color: var(--navy); background: linear-gradient(135deg, var(--gold-2), var(--gold)); padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; }
.case-year { font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.case-star { font-size: 12px; color: var(--gold); font-weight: 600; }
.case-result { margin-bottom: 14px; }
.case-school { display: block; font-family: var(--font-serif); font-size: 22px; color: var(--navy); font-weight: 700; }
.case-major { display: block; color: var(--gold); font-size: 14px; font-weight: 600; margin-top: 2px; }
.case-meta { display: flex; gap: 22px; padding: 12px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.case-meta div { display: flex; flex-direction: column; }
.case-meta span { font-size: 11px; color: var(--muted); letter-spacing: .05em; }
.case-meta b { font-size: 15px; color: var(--ink); font-weight: 600; }
.case-story { font-size: 14px; color: var(--muted); line-height: 1.85; margin: 14px 0; font-style: italic; position: relative; padding-left: 14px; }
.case-story::before { content: "\201C"; position: absolute; left: -2px; top: -8px; font-size: 30px; color: var(--gold); opacity: .3; font-family: var(--font-serif); }
.case-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.case-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); font-size: 14px; }
.case-name i, .case-name img { width: 30px; height: 30px; border-radius: 50%; }
.case-name i { display: flex; align-items: center; justify-content: center; background: var(--navy); color: var(--gold-2); font-family: var(--font-serif); font-style: normal; font-size: 14px; }
.case-tags { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.case-tags em { font-style: normal; font-size: 11px; color: var(--navy-3); background: var(--bg-tint); padding: 3px 9px; border-radius: 999px; }

@media (min-width: 640px) {
  .cases { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .cases { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   页脚
   ============================================================ */
.footer { background: linear-gradient(180deg, var(--navy-2), #06182f); color: rgba(255,255,255,.7); padding: 64px 0 28px; }
.footer-inner { display: flex; flex-direction: column; gap: 36px; }
.footer-main { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand h3 { color: #fff; font-size: 19px; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: 13px; margin-top: 2px; }
.footer-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.footer-contact div { display: flex; flex-direction: column; gap: 2px; }
.footer-contact span { font-size: 12px; color: rgba(255,255,255,.45); }
.footer-contact b { color: #fff; font-size: 14px; font-weight: 500; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,.65); transition: color .25s; }
.footer-nav a:hover { color: var(--gold-2); }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: rgba(255,255,255,.4); }
.footer-admin a { color: var(--gold); opacity: .7; }
.footer-admin a:hover { opacity: 1; }

/* 回到顶部 */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--gold-2); font-size: 20px; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s; z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ============================================================
   响应式断点
   ============================================================ */

/* ≥640px 平板竖屏 */
@media (min-width: 640px) {
  .members { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .about-grid { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ≥960px 桌面:流程转横向 */
@media (min-width: 960px) {
  .section { padding: 120px 0; }
  .members { grid-template-columns: repeat(4, 1fr); }
  .products { gap: 36px; }
  .product { grid-template-columns: 1fr 1fr; }
  .product:nth-child(even) .product-media { order: 2; }
  .product:nth-child(even) .product-body { order: 1; }
  .product-body { padding: 44px 40px; }

  /* 流程横向 */
  .flow-track { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 0; }
  .flow-step { flex-direction: column; flex: 1; text-align: center; gap: 16px; align-items: center; max-width: 180px; }
  .flow-body { text-align: center; padding: 0; }
  .flow-node { flex: none; }
  .flow-connector { width: auto; height: 64px; flex: 0 0 50px; align-self: center; }
  .flow-connector::before { left: 0; right: 0; top: 31px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(201,162,75,.15)); }
  .flow-connector::after { left: 0; right: auto; top: 27px; width: 16px; height: 8px; height: 10px; border-radius: 4px; background: linear-gradient(90deg, var(--gold-2), transparent); animation: flowright 1.8s ease-in-out infinite; }
  @keyframes flowright { 0% { left: -16px; opacity: 0; } 30% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
  .flow-loop { margin-top: 48px; }
}

/* ≥1200px 宽屏 */
@media (min-width: 1200px) {
  .hero-title { font-size: 68px; }
}

/* 移动端导航抽屉(默认 <960px 触发) */
@media (max-width: 959px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(80vw, 320px);
    background: linear-gradient(180deg, var(--navy), var(--navy-2));
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 8px; padding: 80px 36px;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -20px 0 50px rgba(0,0,0,.3);
  }
  body[data-nav="open"] .nav-links { transform: translateX(0); }
  .nav-links a { color: rgba(255,255,255,.85) !important; font-size: 18px; padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta { margin-top: 14px; border-bottom: 0 !important; }
  body[data-nav="open"] .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #fff; }
  body[data-nav="open"] .nav-toggle span:nth-child(2) { opacity: 0; }
  body[data-nav="open"] .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #fff; }
  /* 遮罩 */
  body[data-nav="open"]::after { content: ""; position: fixed; inset: 0; background: rgba(6,24,47,.5); z-index: 105; }
}

/* 动效偏好:减少动画 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
