/* ============================================================
   大发官方中文站 · Site Kit 共享样式
   ============================================================ */

/* ---------- 1. 变量 ---------- */
:root {
  --deep-space-blue: #102A43;
  --electric-orange: #FF7A00;
  --cyan-glow: #22D3EE;
  --soft-white: #F8FAFC;
  --slate-blue: #334E68;
  --pale-blue: #E0E7FF;
  --success-green: #10B981;
  --warning-yellow: #F5B50A;
  --code-gray: #1E293B;
  --deep-black: #0B1A2A;

  --font-heading: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --header-width: 280px;
  --shadow-card: 0 2px 8px rgba(16, 42, 67, 0.04), 0 8px 24px rgba(16, 42, 67, 0.04);
  --shadow-lift: 0 4px 12px rgba(16, 42, 67, 0.06), 0 16px 32px rgba(16, 42, 67, 0.08);
}

/* ---------- 2. Reset 与基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--soft-white);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--slate-blue);
  background: var(--soft-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--deep-space-blue);
}

a {
  color: var(--electric-orange);
  text-decoration: none;
}

a:hover {
  color: #E86000;
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

/* ---------- 3. 焦点状态 ---------- */
:focus-visible {
  outline: 3px solid var(--electric-orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 4. 主内容与栅格对齐 ---------- */
.site-main {
  display: block;
  min-height: 70vh;
  padding-top: 64px;
}

#main-content {
  scroll-margin-top: 80px;
}

@media (min-width: 992px) {
  .site-main {
    padding-top: 0;
    margin-left: var(--header-width);
  }

  #main-content {
    scroll-margin-top: 0;
  }

  .site-footer {
    margin-left: var(--header-width);
  }
}

/* ---------- 5. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: var(--electric-orange);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.4);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.75rem;
}

/* ---------- 6. 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--electric-orange), var(--cyan-glow));
  z-index: 1200;
  pointer-events: none;
}

@media (min-width: 992px) {
  .scroll-progress {
    left: var(--header-width);
  }
}

/* ---------- 7. 头部与侧边轨道 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 64px;
  background: var(--deep-space-blue);
  color: var(--soft-white);
  box-shadow: 0 2px 12px rgba(11, 26, 42, 0.3);
}

.header-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 1.25rem;
}

/* 品牌 Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: inherit;
}

.brand:hover {
  color: inherit;
}

.brand-symbol {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--electric-orange) 0%, #FFB877 100%);
  color: var(--deep-space-blue);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.brand-text small {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(248, 250, 252, 0.6);
  letter-spacing: 0.08em;
}

/* 移动端导航开关 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 0.75rem;
  background: transparent;
  border: 1px solid rgba(248, 250, 252, 0.22);
  border-radius: 12px;
  color: var(--soft-white);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(248, 250, 252, 0.08);
  border-color: rgba(248, 250, 252, 0.4);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 导航主体：移动端抽屉 */
.site-nav {
  position: fixed;
  top: 64px;
  right: 0;
  bottom: 0;
  width: min(340px, 85vw);
  background: var(--deep-space-blue);
  color: var(--soft-white);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 1.5rem 1.25rem 2rem;
  z-index: 1001;
  box-shadow: -12px 0 32px rgba(11, 26, 42, 0.45);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.site-nav[data-open] {
  transform: translateX(0);
}

/* 背景遮挡层：仅移动端 */
@media (max-width: 991.98px) {
  body[data-nav-open] {
    overflow: hidden;
  }

  body[data-nav-open]::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(11, 26, 42, 0.55);
    z-index: 999;
  }
}

/* 主导航列表 */
.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: block;
  padding: 0.625rem 1rem 0.625rem 1.875rem;
  border-radius: 12px;
  color: rgba(248, 250, 252, 0.75);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric-orange);
  transition: transform 0.2s ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(248, 250, 252, 0.06);
}

.nav-link:hover::before {
  transform: translateY(-50%) scale(1);
}

.nav-link[aria-current="page"] {
  color: #fff;
  background: rgba(255, 122, 0, 0.12);
  font-weight: 600;
}

.nav-link[aria-current="page"]::before {
  transform: translateY(-50%) scale(1);
}

/* 快捷入口 */
.nav-section {
  padding-top: 0.25rem;
}

.nav-section-title {
  margin: 0 0 0.75rem;
  padding-left: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.45);
}

.nav-quick-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-quick-link {
  display: block;
  padding: 0.4375rem 1rem;
  border-radius: 10px;
  color: rgba(248, 250, 252, 0.6);
  font-size: 0.875rem;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.nav-quick-link:hover {
  color: #fff;
  background: rgba(248, 250, 252, 0.06);
  padding-left: 1.375rem;
}

/* 轨道底部操作区 */
.nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: auto;
}

/* 运行状态仪表卡 */
.nav-status-card {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(255, 122, 0, 0.06));
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.nav-status-title {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.5);
}

.nav-status-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(248, 250, 252, 0.75);
}

.nav-status-meta strong {
  color: var(--warning-yellow);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* 状态脉冲点 */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success-green);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  animation: status-pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* 桌面端轨道 */
@media (min-width: 992px) {
  .site-header {
    right: auto;
    bottom: 0;
    width: var(--header-width);
    height: auto;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border-right: 1px solid rgba(248, 250, 252, 0.06);
  }

  .header-brand {
    height: auto;
    padding: 2rem 1.5rem 1.25rem;
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    transform: none;
    width: auto;
    padding: 1.25rem 1rem 2rem;
    overflow-y: visible;
    box-shadow: none;
    flex: 1;
    z-index: auto;
  }

  .site-nav[data-open] {
    transform: none;
  }
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:hover:focus {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-accent,
.btn-primary {
  background: linear-gradient(135deg, var(--electric-orange), #FF9447);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-accent::after,
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn-accent:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #E86000, #FF7A00);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
}

.btn-accent:hover::after,
.btn-primary:hover::after {
  left: 120%;
}

.btn-outline {
  background: transparent;
  color: var(--deep-space-blue);
  border-color: var(--deep-space-blue);
}

.btn-outline:hover {
  background: var(--deep-space-blue);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: rgba(248, 250, 252, 0.75);
  border-color: rgba(248, 250, 252, 0.25);
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(248, 250, 252, 0.5);
  background: rgba(248, 250, 252, 0.06);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ---------- 9. 页脚 ---------- */
.site-footer {
  background: var(--deep-black);
  color: rgba(248, 250, 252, 0.75);
  border-top: 1px solid rgba(248, 250, 252, 0.06);
}

.footer-container {
  max-width: 1440px;
  margin-inline: auto;
  padding: 3rem 1.25rem 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 3rem;
  }
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand-link:hover {
  color: #fff;
}

.footer-brand-symbol {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--electric-orange), #FFB877);
  color: var(--deep-space-blue);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9375rem;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.footer-brand-text strong {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand-text span {
  font-size: 0.8125rem;
  color: rgba(248, 250, 252, 0.5);
}

.footer-tagline {
  margin: 0;
  max-width: 38ch;
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(248, 250, 252, 0.55);
}

.footer-nav-title {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.4);
}

.footer-nav-list,
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-nav-list a,
.footer-contact-list a {
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-nav-list a:hover,
.footer-contact-list a:hover {
  color: var(--electric-orange);
}

.footer-nav-list a[aria-current="page"] {
  color: var(--electric-orange);
  font-weight: 600;
}

.footer-contact-list li {
  font-size: 0.9375rem;
  color: rgba(248, 250, 252, 0.7);
}

.footer-contact-note {
  margin: 1rem 0 0;
  max-width: 30ch;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.45);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248, 250, 252, 0.08);
  font-size: 0.8125rem;
  color: rgba(248, 250, 252, 0.45);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copy {
  margin: 0;
}

.footer-legal-list {
  display: flex;
  gap: 1.25rem;
}

.footer-legal-list a {
  color: rgba(248, 250, 252, 0.5);
  font-size: 0.8125rem;
  transition: color 0.2s ease;
}

.footer-legal-list a:hover {
  color: var(--electric-orange);
}

.footer-icp {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* ---------- 10. 共享页面组件 ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.section-sm {
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.section-head {
  max-width: 56ch;
  margin-bottom: 2rem;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric-orange);
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.25;
  color: var(--deep-space-blue);
}

.section-desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate-blue);
}

.page-hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--pale-blue);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.page-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric-orange);
}

.page-title {
  margin: 0 0 1rem;
  max-width: 20ch;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.2;
  color: var(--deep-space-blue);
}

.page-subtitle {
  margin: 0;
  max-width: 60ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--slate-blue);
}

.breadcrumb {
  margin-bottom: 1.5rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--slate-blue);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  color: rgba(51, 78, 104, 0.5);
}

.breadcrumb-item a {
  color: var(--slate-blue);
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--electric-orange);
}

.breadcrumb-current {
  color: var(--deep-space-blue);
  font-weight: 600;
}

.grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
}

@media (min-width: 992px) {
  .grid-8-4 {
    grid-template-columns: 2fr 1fr;
  }

  .grid-7-5 {
    grid-template-columns: 7fr 5fr;
  }

  .grid-4-8 {
    grid-template-columns: 1fr 2fr;
  }

  .grid-6-6 {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(16, 42, 67, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.card-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  line-height: 1.4;
}

.card-text {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate-blue);
}

.card-meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--slate-blue);
  opacity: 0.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--electric-orange);
  transition: gap 0.2s ease;
}

.card-link:hover {
  gap: 0.5rem;
  color: #E86000;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

@media (min-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--pale-blue);
  color: var(--deep-space-blue);
}

.badge-success {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.badge-warning {
  background: rgba(245, 181, 10, 0.14);
  color: #B45309;
}

.badge-accent {
  background: rgba(255, 122, 0, 0.12);
  color: #C25E00;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: #fff;
  border: 1px solid rgba(16, 42, 67, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.stat-label {
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-blue);
  opacity: 0.7;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--deep-space-blue);
}

.stat-number strong {
  color: var(--electric-orange);
}

.stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--success-green);
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: var(--pale-blue);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--deep-space-blue), var(--cyan-glow));
  width: 0;
  transition: width 0.6s ease;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--pale-blue);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 6px;
  top: 0.25rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--electric-orange);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--electric-orange);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: var(--soft-white);
  border: 1px solid var(--pale-blue);
  color: var(--slate-blue);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tag:hover {
  background: var(--deep-space-blue);
  color: #fff;
  border-color: var(--deep-space-blue);
}

.panel {
  background: var(--pale-blue);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border-left: 4px solid var(--cyan-glow);
}

.panel-warning {
  background: rgba(245, 181, 10, 0.08);
  border-left-color: var(--warning-yellow);
}

.panel-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--deep-space-blue);
}

.panel-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--slate-blue);
}

.img-frame {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--pale-blue);
  position: relative;
}

.img-frame::before {
  content: '';
  display: block;
  padding-top: 60%;
}

.img-frame img,
.img-frame > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-frame-16-9::before {
  padding-top: 56.25%;
}

.img-frame-1-1::before {
  padding-top: 100%;
}

.img-frame-3-2::before {
  padding-top: 66.67%;
}

.divider {
  border: 0;
  border-top: 1px solid rgba(16, 42, 67, 0.1);
  margin: clamp(2rem, 4vw, 3rem) 0;
}

/* ---------- 11. 工具类 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--electric-orange);
}

.text-muted {
  color: var(--slate-blue);
  opacity: 0.7;
}

/* ---------- 12. 滚动显现 ---------- */
[data-reveal] {
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.js-reveal-enabled [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(24px);
}

.js-reveal-enabled [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 13. 减动与响应式收尾 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js-reveal-enabled [data-reveal]:not(.is-revealed) {
    opacity: 1;
    transform: none;
  }

  .status-dot {
    animation: none;
  }
}
