/* PPTLint Shared Design System — v1 redesign */

:root {
  --bg: #F9F9F9;
  --card: #FFFFFF;
  --ink: #0A1628;
  --muted: #6B7280;
  --subtle: #9CA3AF;
  --border: #EAEAEA;
  --border-strong: #D6D9DE;
  --surface: #F3F4F6;
  --accent: #E85D2C;
  --accent-hover: #D14D20;
  --accent-10: rgba(232, 93, 44, 0.10);
  --success: #10B981;
  --success-10: rgba(16, 185, 129, 0.10);
  --warning: #F59E0B;
  --warning-10: rgba(245, 158, 11, 0.10);
  --error: #EF4444;
  --error-10: rgba(239, 68, 68, 0.10);
  --accent-2: #FF8A4C;
  --gold: #F4B740;
  --ink-2: #12233D;
  --shadow-sm: 0 1px 2px rgba(15, 20, 25, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 20, 25, 0.07);
  --shadow-lg: 0 24px 60px -18px rgba(15, 20, 25, 0.22);
  --shadow-glow: 0 20px 50px -20px rgba(232, 93, 44, 0.55);
  --grad-accent: linear-gradient(135deg, #FF8A4C 0%, #E85D2C 55%, #D14D20 100%);
  --grad-ink: linear-gradient(155deg, #14294a 0%, #0A1628 60%, #060e1c 100%);
  --grad-hero: radial-gradient(1200px 520px at 78% -8%, rgba(232,93,44,0.10), transparent 60%),
               radial-gradient(900px 460px at 8% 8%, rgba(244,183,64,0.10), transparent 55%),
               radial-gradient(700px 500px at 60% 110%, rgba(16,185,129,0.06), transparent 60%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --container: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Source Han Serif CN", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-body: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
}
.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--ink); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: background 0.2s, transform 0.2s;
}
.nav__cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
}

/* Hero */
.hero {
  background: var(--card);
  padding: 96px 0 80px;
}
.hero__eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 900px;
}
.hero__subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 28px;
  line-height: 1.65;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__trust span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  padding: 7px 11px;
  border-radius: var(--radius-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--secondary:hover { background: var(--surface); }
.btn--ghost { background: transparent; color: var(--muted); padding: 10px 14px; }
.btn--ghost:hover { color: var(--ink); }

/* Visual blocks */
.visual-card {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.visual-card__label {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.visual-card__pane {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.visual-card__pane-title { font-size: 13px; font-weight: 700; }
.visual-card__pane-title--bad { color: var(--error); }
.visual-card__pane-title--good { color: var(--success); }
.visual-card__score {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
}
.visual-card__note { font-size: 14px; color: var(--subtle); }

/* Sections */
.section { padding: 80px 0; }
.section--white { background: var(--card); }
.section--muted { background: var(--bg); }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 760px;
}
.section__desc {
  font-size: 18px;
  color: var(--muted);
  max-width: 800px;
  margin: 0 0 40px;
  line-height: 1.65;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card__tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card__title { font-size: 21px; font-weight: 700; line-height: 1.25; margin: 0; }
.card__body { font-size: 15px; color: var(--muted); line-height: 1.65; margin: 0; }
.card__link { font-size: 14px; font-weight: 600; color: var(--accent); margin-top: auto; }

/* Result cards */
.result-card { border-top: 4px solid var(--success); }
.result-card--warn { border-top-color: var(--warning); }
.result-card--bad { border-top-color: var(--error); }
.result-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  margin-bottom: 4px;
}
.result-card--warn .result-card__dot { background: var(--warning); }
.result-card--bad .result-card__dot { background: var(--error); }

/* Prompt card */
.prompt-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-md);
  max-width: 800px;
}
.prompt-card__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
.prompt-card__text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  padding-left: 16px;
  border-left: 4px solid var(--accent);
  margin: 0 0 16px;
}

/* Metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .metrics { grid-template-columns: 1fr; } }
.metric {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.metric--success { background: var(--success-10); }
.metric__value {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.metric--success .metric__value { color: var(--success); }
.metric__label { font-size: 14px; color: var(--muted); }

/* Links strip */
.link-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.link-strip a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.link-strip a:hover { background: var(--border); }

/* Footer */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 60px 0 40px;
}
.footer__brand {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.footer__tagline {
  font-size: 15px;
  color: var(--subtle);
  max-width: 600px;
  margin: 0 0 20px;
}
.footer__links { display: flex; gap: 24px; margin-bottom: 24px; }
.footer__link { font-size: 14px; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer__link:hover { color: #fff; }
.footer__copy { font-size: 13px; color: var(--muted); }

/* Tables */
.table-wrap {
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.table thead { background: var(--surface); }
.table th, .table td { padding: 16px 20px; text-align: left; }
.table th { font-weight: 600; color: var(--muted); font-size: 14px; }
.table tbody tr:not(:last-child) { border-bottom: 1px solid var(--border); }
.table td { color: var(--ink); }
.table .mono { font-family: var(--font-mono); }
.table .up { color: var(--success); font-weight: 600; }

/* Lab specific */
.lab-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
}
@media (max-width: 900px) { .lab-hero { grid-template-columns: 1fr; } }
.lab-hero__stat {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #fff;
}
.lab-hero__stat-big {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 8px;
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.filter:hover { border-color: var(--border-strong); }
.filter.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Case compare mini */
.case-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}
.case-compare__state {
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.case-compare__state--before { background: var(--surface); }
.case-compare__state--after { background: var(--success-10); }
.case-compare__score {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
}
.case-compare__state--before .case-compare__score { color: var(--error); }
.case-compare__state--after .case-compare__score { color: var(--success); }
.case-compare__label { font-size: 12px; color: var(--muted); }
.case-card__meta {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Comparison report */
.comp-hero {
  background: var(--card);
  padding: 80px 0 48px;
}
.comp-hero__value {
  font-family: var(--font-mono);
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.comp-hero__meta {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
  background: var(--surface);
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

/* Utility */
.text-muted { color: var(--muted); }
.text-small { font-size: 14px; }
.note {
  font-size: 14px;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin-top: 20px;
}

/* ============ Case detail page ============ */
.case-hero {
  background: var(--card);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}
.case-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.case-hero__kicker::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.case-hero__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 880px;
}
.case-hero__lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
  margin: 0;
  line-height: 1.65;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.compare__panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.compare__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.compare__label { font-size: 14px; font-weight: 700; color: var(--muted); }
.compare__score {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}
.compare__panel--before .compare__score { color: var(--error); }
.compare__panel--after .compare__score { color: var(--success); }

.mini-slide {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.mini-slide--bad { background: #F1ECE7; border: 1px solid #E2D9D0; }
.mini-slide--good { background: #ECF7F1; border: 1px solid #D5EDE2; }
.mini-slide__bar { height: 10px; width: 55%; border-radius: 3px; }
.mini-slide--bad .mini-slide__bar { background: #C9B7A8; }
.mini-slide--good .mini-slide__bar { background: var(--accent); }
.mini-slide__lines { display: flex; flex-direction: column; gap: 7px; }
.mini-slide__lines span { height: 6px; border-radius: 3px; background: rgba(10,22,40,0.14); }
.mini-slide--good .mini-slide__lines span { background: rgba(10,22,40,0.20); }
.mini-slide__lines span.short { width: 70%; }
.mini-slide__lines span.tiny { height: 4px; }
.mini-slide__chart { margin-top: auto; display: flex; align-items: flex-end; gap: 8px; height: 56px; }
.mini-slide__chart i { flex: 1; background: rgba(10,22,40,0.16); border-radius: 3px 3px 0 0; }
.mini-slide--bad .mini-slide__chart i { background: rgba(239,68,68,0.45); }
.mini-slide--good .mini-slide__chart i { background: rgba(16,185,129,0.45); }
.mini-slide__chip {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}
.mini-slide--bad .mini-slide__chip { background: var(--error); color: #fff; }
.mini-slide--good .mini-slide__chip { background: var(--success); color: #fff; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}
.step__title { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.step__body { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.step code, .disclosure code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink);
  word-break: break-all;
}

.disclosure {
  font-size: 14px;
  color: var(--muted);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  line-height: 1.65;
}
.disclosure code { background: var(--card); }

.case-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
}
.case-cta__title { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin: 0 0 6px; }
.case-cta__sub { font-size: 14px; color: var(--subtle); margin: 0; }
.case-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.case-cta .btn--secondary { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.4); }
.case-cta .btn--secondary:hover { background: rgba(255,255,255,0.08); }

.case-finding {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
@media (max-width: 640px) { .case-finding { grid-template-columns: 1fr; } }
.case-finding__item {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.6;
}
.case-finding__item strong { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 4px; letter-spacing: 0.04em; }

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.badge--warn { background: var(--warning-10); color: #B45309; }
.badge--good { background: var(--success-10); color: #047857; }
.badge--bad { background: var(--error-10); color: #B91C1C; }

/* =====================================================================
   PREMIUM LAYER — 精致层：氛围、动画、PPT 展示容器与幻灯片模板
   ===================================================================== */

/* ---- 滚动渐入（无 JS 时保持可见） ---- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal--scale { transform: translateY(28px) scale(0.97); }
.js .reveal--scale.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---- 导航：毛玻璃质感 ---- */
.nav {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15, 20, 25, 0.06);
}
.nav__logo { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---- Hero 氛围背景 ---- */
.hero { position: relative; overflow: hidden; background: var(--card); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--grad-hero);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(10,22,40,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(10,22,40,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(680px 420px at 50% 8%, #000 0%, transparent 75%);
  mask-image: radial-gradient(680px 420px at 50% 8%, #000 0%, transparent 75%);
}
.hero > .container { position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-10); color: var(--accent);
  padding: 7px 14px; border-radius: var(--radius-pill);
  text-transform: none; letter-spacing: 0.02em;
}
.hero__eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-10); }
.hero__title { background: linear-gradient(180deg, #0A1628 0%, #26374f 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---- 按钮：渐变 + 光晕 ---- */
.btn--primary { background: var(--grad-accent); box-shadow: 0 10px 26px -12px rgba(232,93,44,0.8); }
.btn--primary:hover { background: var(--grad-accent); box-shadow: var(--shadow-glow); filter: saturate(1.06); }
.btn { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease); }

/* ---- 区块之间的自然过渡（柔和渐变衔接） ---- */
.section, .comp-hero { position: relative; }
.section--white { background:
  linear-gradient(180deg, #FFFFFF 0%, #FDFDFC 100%); }
.section--muted { background:
  linear-gradient(180deg, #F7F7F6 0%, #F3F4F4 100%); }
.section__title { position: relative; }
.section--white .section__title::before,
.section--muted .section__title::before {
  content: ""; display: block; width: 46px; height: 4px; border-radius: 3px;
  background: var(--grad-accent); margin-bottom: 20px;
}

/* ---- 卡片：细腻描边 + 悬停升起 ---- */
.card { position: relative; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease); }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(232,93,44,0.35), rgba(232,93,44,0) 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s var(--ease); pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::after { opacity: 1; }
.card__tag { display: inline-flex; align-items: center; gap: 6px; }
.card__tag::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }

/* ---- 指标数字：渐变描字 + 更大气 ---- */
.metric { position: relative; overflow: hidden; border: 1px solid var(--border); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.metric:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.metric__value { font-size: 38px; background: linear-gradient(180deg, #0A1628, #34465f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.metric--success .metric__value { background: linear-gradient(180deg, #10B981, #059669); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---- 页脚：深色渐变 + 顶部高光 ---- */
.footer { background: var(--grad-ink); position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,138,76,0.5), transparent); }
.footer__brand { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---- comp-hero 巨型渐变数字 ---- */
.comp-hero { overflow: hidden; }
.comp-hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-hero); pointer-events: none; }
.comp-hero > .container { position: relative; z-index: 1; }
.comp-hero__value { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---- lab-hero 数据块：深色渐变 + 高光描边 ---- */
.lab-hero__stat { background: var(--grad-ink); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.lab-hero__stat::before { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(232,93,44,0.35), transparent 70%); }
.lab-hero__stat-big { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; position: relative; }
.lab-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.lab-hero__tags span { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.82); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); padding: 5px 11px; border-radius: var(--radius-pill); }

/* =====================================================================
   SHOWCASE — PPT 展示容器 + 幻灯片模板
   ===================================================================== */
.showcase { margin-top: 48px; }
.showcase__stage {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 48px clamp(20px, 4vw, 56px) 40px;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(232,93,44,0.12), transparent 60%),
    radial-gradient(600px 320px at 90% 20%, rgba(16,185,129,0.10), transparent 60%),
    linear-gradient(160deg, #0d1c33 0%, #0A1628 70%, #070f1f 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.showcase__stage::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent 85%);
  mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent 85%);
}
.showcase__eyebrow {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  padding: 7px 13px; border-radius: var(--radius-pill); margin-bottom: 30px;
}
.showcase__eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px 1px rgba(255,138,76,0.9); }
.deck {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(16px, 3vw, 40px);
}
.deck__arrow {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: #fff;
}
.deck__arrow-chip {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  color: #0A1628; background: linear-gradient(180deg, #fff, #ffe9dd);
  padding: 6px 12px; border-radius: var(--radius-pill); white-space: nowrap;
  box-shadow: 0 8px 22px -10px rgba(0,0,0,0.6);
}
.deck__arrow-line { font-size: 26px; line-height: 1; color: var(--accent-2); text-shadow: 0 0 16px rgba(255,138,76,0.7); }
@media (max-width: 860px) {
  .deck { grid-template-columns: 1fr; }
  .deck__arrow { flex-direction: row; padding: 4px 0; }
  .deck__arrow-line { transform: rotate(90deg); }
}

/* ---- 幻灯片外框（窗口质感） ---- */
.pslide {
  position: relative; margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 14px; overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.65), 0 2px 0 rgba(255,255,255,0.35) inset;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.pslide__chrome {
  height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  background: #f1f2f4; border-bottom: 1px solid #e6e8eb;
}
.pslide__chrome span { width: 9px; height: 9px; border-radius: 50%; background: #d7dade; }
.pslide__chrome span:nth-child(1) { background: #ff5f57; }
.pslide__chrome span:nth-child(2) { background: #febc2e; }
.pslide__chrome span:nth-child(3) { background: #28c840; }
.pslide__chrome em { margin-left: 8px; font-style: normal; font-family: var(--font-mono); font-size: 10px; color: #9aa0a8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pslide__body { position: absolute; top: 30px; left: 0; right: 0; bottom: 0; padding: clamp(12px, 2.6vw, 24px); display: flex; flex-direction: column; }

/* 评分浮层徽章 */
.score-badge {
  position: absolute; z-index: 3; top: 44px; right: 14px;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 21px; font-weight: 800; color: #fff;
  box-shadow: 0 12px 26px -8px rgba(0,0,0,0.5);
}
.score-badge--bad { background: linear-gradient(140deg, #ff6a5a, #EF4444); }
.score-badge--good { background: linear-gradient(140deg, #34d399, #10B981); }
.score-badge small { position: absolute; bottom: -18px; font-size: 9px; font-family: var(--font-body); font-weight: 700; color: rgba(255,255,255,0.85); white-space: nowrap; }

/* 角标 */
.pslide__flag {
  position: absolute; z-index: 3; left: 14px; bottom: 14px;
  font-size: 10px; font-weight: 700; padding: 4px 9px; border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}
.pslide__flag--bad { background: rgba(239,68,68,0.14); color: #b91c1c; border: 1px solid rgba(239,68,68,0.3); }
.pslide__flag--good { background: rgba(16,185,129,0.14); color: #047857; border: 1px solid rgba(16,185,129,0.3); }

/* ---- 修改前：拥挤、低对比、杂乱 ---- */
.pslide--before { transform: rotate(-1.4deg); }
.pslide--before .pslide__body { background: #fbfbfa; }
.pslide__eyebrow-bad { font-size: 8px; color: #c3c7cd; letter-spacing: 0.04em; margin-bottom: 5px; }
.pslide__title-bad {
  font-size: clamp(8px, 1.5vw, 11px); line-height: 1.25; color: #9aa0a8; font-weight: 700;
  margin-bottom: 10px; max-height: 2.6em; overflow: hidden;
}
.pslide__cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px; margin-bottom: auto; }
.pslide__col { display: flex; flex-direction: column; gap: 4px; }
.pslide__col i { height: 3px; border-radius: 2px; background: #dcdfe3; }
.pslide__col i.s { width: 60%; }
.pslide__minichart { display: flex; align-items: flex-end; gap: 5px; height: 30px; margin-top: 8px; }
.pslide__minichart i { flex: 1; border-radius: 2px 2px 0 0; background: #cdd2d8; }
.pslide__minichart--bad i { background: repeating-linear-gradient(45deg, #d7b3ab, #d7b3ab 2px, #e6cfc9 2px, #e6cfc9 4px); }
.pslide__overlap { position: absolute; top: 46%; left: 30%; width: 44%; height: 16px; background: rgba(239,68,68,0.10); border: 1px dashed rgba(239,68,68,0.5); border-radius: 4px; }

/* ---- 修改后：层次分明、精致 ---- */
.pslide--after { transform: rotate(1deg); z-index: 2; box-shadow: 0 40px 80px -28px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05); }
.pslide--after .pslide__body { background: linear-gradient(165deg, #ffffff 0%, #fff7f2 100%); }
.pslide__brandbar { width: 34px; height: 5px; border-radius: 3px; background: var(--grad-accent); margin-bottom: 10px; }
.pslide__kicker { font-size: clamp(7px, 1.3vw, 9px); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 7px; }
.pslide__headline { font-family: var(--font-display); font-size: clamp(13px, 2.6vw, 20px); font-weight: 700; line-height: 1.15; color: #0A1628; margin-bottom: 5px; }
.pslide__headline b { color: var(--accent); }
.pslide__sub { font-size: clamp(7px, 1.3vw, 9px); color: #6B7280; margin-bottom: auto; }
.pslide__cleanchart { display: flex; align-items: flex-end; gap: clamp(6px, 1.4vw, 12px); height: 44%; margin-top: 10px; }
.pslide__cleanchart i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #ffb38f, #E85D2C); position: relative; }
.pslide__cleanchart i:last-child { background: linear-gradient(180deg, #34d399, #10B981); }
.pslide__cleanchart i::after { content: ""; position: absolute; top: -6px; left: 0; right: 0; height: 3px; border-radius: 2px; background: inherit; opacity: 0.35; }

.pslide:hover { transform: rotate(0deg) translateY(-6px) scale(1.02); box-shadow: 0 48px 90px -26px rgba(0,0,0,0.75); }

/* stage 标题脚注 */
.showcase__caption {
  position: relative; z-index: 1; margin-top: 34px; text-align: center;
  font-size: 14px; color: rgba(255,255,255,0.66);
}
.showcase__caption b { color: #fff; font-family: var(--font-mono); }

/* 深色 section 内展示区（proof 页复用） */
.showcase--report .pslide { aspect-ratio: 4 / 3; }
.showcase--report .pslide__body { padding: 14px; }
.report-lines { display: flex; flex-direction: column; gap: 7px; margin-top: 4px; }
.report-lines .rl { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10px; }
.report-lines .rl b { display: inline-block; min-width: 60px; color: #6B7280; font-weight: 600; }
.report-lines .rl .bar { flex: 1; height: 8px; border-radius: 4px; background: #eef0f2; overflow: hidden; }
.report-lines .rl .bar i { display: block; height: 100%; border-radius: 4px; }
.report-lines .rl .n { font-weight: 700; min-width: 22px; text-align: right; }

/* =========================================================
   差异化「修改前」风险图示（每个案例一种视觉隐喻）
   ========================================================= */
.scene { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.scene__ttl { font-family: var(--font-display); font-size: clamp(9px, 1.7vw, 12px); font-weight: 700; color: #3a4250; line-height: 1.22; }
.scene__cap { font-size: 8px; color: #9aa0a8; font-family: var(--font-mono); }
.scene__tag { position: absolute; right: 10px; top: 42px; font-family: var(--font-mono); font-size: 8px; padding: 1px 6px; border-radius: 999px; z-index: 3; }

/* 1 小字号 */
.scene-st { gap: 6px; }
.scene-st__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; flex: 1; min-height: 0; }
.scene-st__col { display: flex; flex-direction: column; gap: 2px; justify-content: center; }
.scene-st__col i { height: 1.5px; background: #e1e4e8; border-radius: 1px; }
.scene-st__zoom { background: rgba(239, 68, 68, 0.12); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.35); }

/* 2 末行截断 */
.scene-cl { position: relative; }
.scene-cl__box { border: 1px solid #e3e6ea; border-radius: 5px; padding: 8px 10px; height: 100%; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.scene-cl__box i { height: 2px; background: #dfe2e6; border-radius: 1px; }
.scene-cl__cut { position: absolute; left: 0; right: 0; bottom: 22px; height: 22px; background: linear-gradient(180deg, rgba(239, 68, 68, 0), rgba(239, 68, 68, 0.18)); border-top: 1px dashed #ef4444; }
.scene-cl__x { position: absolute; bottom: 4px; right: 10px; font-family: var(--font-mono); font-size: 8px; color: #ef4444; }

/* 3 重叠 */
.scene-ov { position: relative; flex: 1; min-height: 0; }
.scene-ov__a, .scene-ov__b { position: absolute; border-radius: 5px; padding: 6px 8px; font-size: 8px; color: #555; }
.scene-ov__a { left: 0; top: 6px; width: 64%; background: #f1f3f5; border: 1px solid #e1e4e8; }
.scene-ov__b { left: 30%; bottom: 6px; width: 60%; background: #eef4fb; border: 1px solid #cfe0f5; }
.scene-ov__hit { position: absolute; left: 30%; top: 38%; width: 40%; height: 30px; background: rgba(239, 68, 68, 0.14); border: 1px dashed rgba(239, 68, 68, 0.55); border-radius: 5px; }

/* 4 字体缺失 */
.scene-ft { gap: 8px; }
.scene-ft__row { display: flex; align-items: center; gap: 6px; font-size: 9px; }
.scene-ft__bad { font-family: var(--font-mono); font-size: 8px; padding: 2px 6px; border-radius: 5px; background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.scene-ft__bad--red { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }
.scene-ft__arrow { color: #ef4444; font-weight: 700; }
.scene-ft__reflow { color: #c0392b; }

/* 5 低对比 */
.scene-ct { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 6px 9px; border: 1px solid #f0f1f3; border-radius: 5px; background: #fdfdfd; }
.scene-ct__ln { height: 2px; border-radius: 1px; background: #e9ebef; }
.scene-ct__dim { position: absolute; inset: 0; background: rgba(245, 246, 248, 0.6); border-radius: 5px; }
.scene-ct__lamp { position: absolute; right: 8px; top: 6px; font-size: 8px; color: #ef4444; font-family: var(--font-mono); }

/* 6 整页图片 */
.scene-fl { position: relative; flex: 1; min-height: 0; border-radius: 6px; background: repeating-linear-gradient(135deg, #eef0f3, #eef0f3 8px, #e7eaee 8px, #e7eaee 16px); display: flex; align-items: center; justify-content: center; }
.scene-fl__lock { font-size: 9px; color: #8a93a0; background: rgba(255, 255, 255, 0.72); padding: 3px 9px; border-radius: 999px; border: 1px solid #d7dbe0; }

/* 7 备注泄露 */
.scene-nt { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
.scene-nt__slide { flex: 1; border: 1px solid #e6e9ed; border-radius: 5px; background: #fafbfc; position: relative; }
.scene-nt__slide span { position: absolute; left: 8px; top: 8px; width: 40%; height: 3px; background: #dfe2e6; border-radius: 1px; }
.scene-nt__notes { font-size: 7.5px; color: #ef4444; background: rgba(239, 68, 68, 0.07); border: 1px solid rgba(239, 68, 68, 0.25); border-radius: 4px; padding: 3px 6px; line-height: 1.35; }

/* 8 隐藏页 + 元数据 */
.scene-hd { flex: 1; min-height: 0; display: flex; gap: 7px; align-items: stretch; }
.scene-hd__strip { display: flex; gap: 4px; flex: 1; }
.scene-hd__th { flex: 1; border-radius: 4px; background: #eef1f4; border: 1px solid #e1e4e8; position: relative; }
.scene-hd__th.off { background: #f4e9ea; border-color: #ecc7cb; }
.scene-hd__th.off::after { content: "隐藏"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 7px; color: #b91c1c; }
.scene-hd__meta { width: 38%; font-size: 7px; color: #6b7280; border-left: 2px solid #e1e4e8; padding-left: 7px; display: flex; flex-direction: column; justify-content: center; gap: 3px; line-height: 1.3; }
.scene-hd__meta b { color: #ef4444; }

/* 9 本地外链 */
.scene-lk { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.scene-lk__chart { height: 46%; border: 1px solid #e1e4e8; border-radius: 5px; background: #fafbfc; display: flex; align-items: flex-end; gap: 4px; padding: 6px; }
.scene-lk__chart i { flex: 1; background: #cfd6df; border-radius: 2px 2px 0 0; }
.scene-lk__path { font-family: var(--font-mono); font-size: 7.5px; color: #ef4444; display: flex; align-items: center; gap: 5px; }
.scene-lk__path .x { color: #ef4444; font-weight: 700; }

/* 10 关系断裂 */
.scene-bk { position: relative; flex: 1; min-height: 0; border: 1px solid #f3d4d4; border-radius: 6px; background: #fdf5f5; overflow: hidden; }
.scene-bk__crack { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 47%, rgba(239, 68, 68, 0.35) 48%, rgba(239, 68, 68, 0.35) 50%, transparent 51%); }
.scene-bk__warn { position: absolute; left: 8px; top: 8px; font-size: 8px; color: #b91c1c; background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.3); padding: 2px 7px; border-radius: 999px; }

/* 11 重复媒体 */
.scene-sz { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 7px; }
.scene-sz__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; flex: 1; min-height: 0; }
.scene-sz__grid i { border-radius: 3px; background: linear-gradient(135deg, #e7ebef, #dde3ea); border: 1px solid #d4dae2; }
.scene-sz__bar { height: 8px; border-radius: 4px; background: #eef0f2; overflow: hidden; }
.scene-sz__bar i { display: block; height: 100%; width: 86%; background: repeating-linear-gradient(45deg, #fca5a5, #fca5a5 3px, #f87171 3px, #f87171 6px); }

/* 12 规范越界 */
.scene-br { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.scene-br__fonts { display: flex; gap: 4px; flex-wrap: wrap; }
.scene-br__fonts span { font-size: 7.5px; padding: 2px 6px; border-radius: 5px; background: #f1f3f5; border: 1px solid #e1e4e8; color: #555; }
.scene-br__fonts span.no { background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.3); color: #b91c1c; text-decoration: line-through; }
.scene-br__sw { display: flex; gap: 4px; }
.scene-br__sw i { width: 16px; height: 10px; border-radius: 3px; }
.scene-br__sw i.no { outline: 2px solid #ef4444; outline-offset: 1px; }
