*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(64px + 16px);
}

body {
  margin: 0;
  font-family: 'Noto Sans SC', 'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #F2F4F8;
  background-color: #0B1D3A;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  font-weight: 800;
  line-height: 1.25;
  color: #F2F4F8;
  margin: 0 0 0.6em 0;
}

p {
  margin: 0 0 1em 0;
  text-align: justify;
}

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

a {
  color: #FF6B35;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

a:hover, a:focus {
  text-decoration: underline;
}

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

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

:root {
  --color-primary: #0B1D3A;
  --color-secondary: #12294A;
  --color-accent: #FF6B35;
  --color-accent-2: #FF8C42;
  --color-line: #C0C8D0;
  --color-light: #F2F4F8;
  --color-danger: #D32F2F;
  --color-success: #27AE60;
  --font-head: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Noto Sans SC', 'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --header-width: 280px;
  --header-top-height: 64px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1200px;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: -48px;
  left: 16px;
  z-index: 2000;
  background: var(--color-accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 6px 6px;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  text-decoration: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  z-index: 1500;
  pointer-events: none;
  transition: width 0.1s linear;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--header-width);
  height: 100vh;
  background: var(--color-secondary);
  border-right: 1px solid rgba(192, 200, 208, 0.18);
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.site-header:hover {
  border-right-color: rgba(255, 107, 53, 0.15);
}

.header-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  border-bottom: 1px solid rgba(192, 200, 208, 0.14);
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-light);
  gap: 2px;
}

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

.brand-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 2px;
  color: var(--color-light);
}

.brand-name::before {
  content: '';
  width: 8px;
  height: 24px;
  background: var(--color-accent);
  transform: skewX(-20deg);
  display: inline-block;
  flex-shrink: 0;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: transparent;
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 107, 53, 0.08);
}

.toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-light);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--color-accent);
}

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

.nav-toggle[aria-expanded="true"] .toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--color-accent);
}

.header-menu {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 16px 16px;
  overflow-y: auto;
}

.site-nav {
  margin-bottom: 16px;
}

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

.nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  border-left: 3px solid transparent;
  color: rgba(242, 244, 248, 0.72);
  font-weight: 500;
  position: relative;
  transition: all 0.25s ease;
}

.nav-link:hover {
  color: var(--color-light);
  background: rgba(255, 107, 53, 0.08);
  border-left-color: var(--color-accent);
  text-decoration: none;
}

.nav-link[aria-current="page"] {
  color: var(--color-accent);
  background: rgba(255, 107, 53, 0.12);
  border-left-color: var(--color-accent);
  font-weight: 700;
}

.nav-link[aria-current="page"]::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 107, 53, 0.6);
}

.header-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(192, 200, 208, 0.12);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 0;
  font-size: 12px;
  color: rgba(242, 244, 248, 0.5);
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(39, 174, 96, 0.3);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.status-text {
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 850;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-secondary);
  border: 1px solid rgba(192, 200, 208, 0.3);
  color: var(--color-accent);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

main#main-content {
  margin-left: var(--header-width);
  min-height: 100vh;
  display: block;
}

.page-shell {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 32px 32px 64px;
}

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

.section {
  padding: 56px 0;
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

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

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

.btn-primary:hover {
  background: var(--color-accent-2);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.25);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(192, 200, 208, 0.5);
  color: var(--color-light);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(255, 107, 53, 0.06);
}

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

.site-footer {
  margin-left: var(--header-width);
  background: var(--color-secondary);
  border-top: 1px solid rgba(192, 200, 208, 0.15);
  padding: 56px 40px 24px;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr 1.2fr 1.2fr 1.2fr;
  gap: 32px;
  margin-bottom: 48px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(242, 244, 248, 0.7);
  margin-bottom: 16px;
  line-height: 1.8;
}

.footer-trust {
  font-size: 13px;
  color: rgba(242, 244, 248, 0.5);
  border-left: 3px solid var(--color-accent);
  padding-left: 12px;
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-list li {
  margin-bottom: 8px;
}

.footer-list a {
  color: rgba(242, 244, 248, 0.7);
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-list a:hover {
  color: var(--color-accent);
  padding-left: 4px;
  text-decoration: none;
}

.contact-line {
  font-size: 14px;
  color: rgba(242, 244, 248, 0.8);
  margin-bottom: 2px;
  text-align: left;
}

.contact-sub {
  font-size: 12px;
  color: rgba(242, 244, 248, 0.5);
  margin-bottom: 10px;
  text-align: left;
}

.expert-desc {
  font-size: 14px;
  color: rgba(242, 244, 248, 0.7);
  margin-bottom: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(192, 200, 208, 0.12);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: rgba(242, 244, 248, 0.5);
}

.footer-copyright p {
  margin: 0;
  text-align: left;
}

.footer-icp {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icp-link {
  color: rgba(242, 244, 248, 0.6);
  font-size: 13px;
}

.icp-link:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.icp-sep {
  color: rgba(242, 244, 248, 0.3);
}

.icp-number {
  color: rgba(242, 244, 248, 0.45);
  font-family: var(--font-mono);
  font-size: 12px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: rgba(242, 244, 248, 0.5);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(242, 244, 248, 0.7);
}

.breadcrumb a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

.breadcrumb .sep {
  color: rgba(242, 244, 248, 0.3);
  margin: 0 4px;
}

.page-header {
  padding: 24px 0 32px;
}

.page-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.page-desc {
  font-size: 15px;
  color: rgba(242, 244, 248, 0.65);
  max-width: 68ch;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-tag::before {
  content: '';
  width: 10px;
  height: 2px;
  background: var(--color-accent);
  transform: skewX(-30deg);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento-card {
  grid-column: span 4;
  background: var(--color-secondary);
  border: 1px solid rgba(192, 200, 208, 0.15);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.25);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card--narrow {
  grid-column: span 3;
}

.bento-card--wide {
  grid-column: span 6;
}

.bento-card--full {
  grid-column: span 12;
}

.card {
  background: var(--color-secondary);
  border: 1px solid rgba(192, 200, 208, 0.15);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.card-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.card-title::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--color-accent);
  border-radius: 2px;
}

.card-body {
  font-size: 14px;
  color: rgba(242, 244, 248, 0.8);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 107, 53, 0.15);
  color: var(--color-accent);
  line-height: 1.4;
}

.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  border: 1px solid rgba(192, 200, 208, 0.3);
  color: rgba(242, 244, 248, 0.7);
  margin-right: 6px;
  margin-bottom: 6px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(192, 200, 208, 0.15);
}

.data-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255, 107, 53, 0.08);
  color: var(--color-accent);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(255, 107, 53, 0.03);
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-secondary);
  border: 1px solid rgba(192, 200, 208, 0.12);
}

.image-frame::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

.image-frame--square::before {
  padding-top: 100%;
}

.image-frame--portrait::before {
  padding-top: 125%;
}

.image-frame--wide::before {
  padding-top: 42.857%;
}

.image-frame .image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(242, 244, 248, 0.35);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.image-frame .image-placeholder::before {
  content: '';
  width: 36px;
  height: 3px;
  background: var(--color-accent);
}

.image-frame .image-placeholder::after {
  content: '图像占位';
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.col-3 {
  grid-column: span 3;
}

.col-4 {
  grid-column: span 4;
}

.col-5 {
  grid-column: span 5;
}

.col-6 {
  grid-column: span 6;
}

.col-7 {
  grid-column: span 7;
}

.col-8 {
  grid-column: span 8;
}

.col-12 {
  grid-column: span 12;
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .bento-card {
    grid-column: span 6;
  }

  .bento-card--narrow {
    grid-column: span 3;
  }
}

@media (max-width: 1024px) {
  .site-header {
    width: 100%;
    height: var(--header-top-height);
    flex-direction: row;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid rgba(192, 200, 208, 0.2);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  }

  .header-brand {
    flex: 1;
    padding: 0 16px;
    border-bottom: none;
    height: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .header-menu {
    position: fixed;
    top: var(--header-top-height);
    bottom: 0;
    left: 0;
    width: min(320px, 85vw);
    background: var(--color-secondary);
    border-right: 1px solid rgba(192, 200, 208, 0.2);
    border-top: 1px solid rgba(192, 200, 208, 0.1);
    padding: 24px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 900;
    box-shadow: 4px 0 28px rgba(0, 0, 0, 0.5);
  }

  .header-menu[data-open] {
    transform: translateX(0);
  }

  .nav-overlay {
    display: block;
  }

  .nav-overlay[data-open] {
    opacity: 1;
    visibility: visible;
  }

  .header-status {
    display: none;
  }

  main#main-content,
  .site-footer {
    margin-left: 0;
  }

  main#main-content {
    padding-top: var(--header-top-height);
  }

  .page-shell {
    padding: 24px 20px 48px;
  }

  .site-footer {
    padding: 40px 20px 20px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .bento-card,
  .bento-card--narrow,
  .bento-card--wide {
    grid-column: span 12;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-icp {
    flex-wrap: wrap;
  }
}

@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;
  }

  .status-dot::after {
    animation: none;
  }
}
