:root {
  --color-bg: #0a0e17;
  --color-bg-rail: #0e1420;
  --color-card: #1a1f2e;
  --color-blue: #00d4ff;
  --color-purple: #9b59b6;
  --color-gold: #ffd700;
  --color-text: #f5f7fa;
  --color-muted: #8b93a7;
  --gradient-bright: linear-gradient(135deg, #00d4ff, #9b59b6);
  --gradient-line: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.6), rgba(155, 89, 182, 0.6), transparent);
  --font-display: "Orbitron", "Rajdhani", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Roboto Mono", "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --header-h: 64px;
  --rail-w: 136px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --container-w: 1280px;
  --ease-main: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  padding-top: var(--header-h);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 88% -10%, rgba(155, 89, 182, 0.1), transparent 520px),
    radial-gradient(circle at 5% 30%, rgba(0, 212, 255, 0.06), transparent 400px),
    var(--color-bg);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  word-break: break-word;
  overflow-wrap: break-word;
}

@media (min-width: 901px) {
  body {
    padding-left: var(--rail-w);
  }
}

img,
canvas,
video,
svg {
  max-width: 100%;
  display: block;
}

figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: clamp(18px, 2.2vw, 23px); }
h4 { font-size: 18px; }

p {
  margin: 0 0 1em;
}

a {
  color: var(--color-blue);
  text-underline-offset: 3px;
}

strong {
  color: var(--color-text);
}

ul,
ol {
  margin: 0;
  padding-left: 1.25em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(0, 212, 255, 0.25);
  color: var(--color-text);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-card);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.4);
}

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

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.content-shell {
  padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 9vw, 120px);
  overflow: clip;
}

#main-content {
  min-height: 60vh;
  scroll-margin-top: calc(var(--header-h) + 8px);
  outline: none;
}

.mono {
  font-family: var(--font-mono);
}

.muted {
  color: var(--color-muted);
}

.accent {
  color: var(--color-blue);
}

.gold {
  color: var(--color-gold);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: var(--gradient-bright);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(0, 212, 255, 0.4);
  color: var(--color-blue);
}

.btn-ghost:hover {
  background: rgba(0, 212, 255, 0.08);
}

.btn-gold {
  background: linear-gradient(135deg, #ffd700, #f0a500);
  color: #0a0e17;
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.25);
}

.btn-gold:hover {
  box-shadow: 0 12px 32px rgba(255, 215, 0, 0.4);
  transform: translateY(-1px);
}

.card {
  background: linear-gradient(180deg, rgba(26, 31, 46, 0.9), rgba(14, 20, 32, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  transition: transform 0.25s var(--ease-main), box-shadow 0.25s var(--ease-main), border-color 0.25s var(--ease-main);
}

.card--hover:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.32);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 212, 255, 0.1);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  white-space: nowrap;
}

.tag--blue {
  color: var(--color-blue);
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.22);
}

.tag--gold {
  color: var(--color-gold);
  background: rgba(255, 215, 0, 0.09);
  border-color: rgba(255, 215, 0, 0.22);
}

.tag--purple {
  color: #c39bd3;
  background: rgba(155, 89, 182, 0.14);
  border-color: rgba(155, 89, 182, 0.3);
}

.data-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.18);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-blue);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 212, 255, 0.14);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(155, 89, 182, 0.06));
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--hero { aspect-ratio: 16 / 9; }
.media-frame--card { aspect-ratio: 16 / 10; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--portrait { aspect-ratio: 3 / 4; }

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(10, 14, 23, 0.55));
  pointer-events: none;
}

.breadcrumb {
  overflow-x: auto;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  font-family: var(--font-mono);
  color: var(--color-muted);
  opacity: 0.5;
}

.breadcrumb-link {
  color: var(--color-blue);
  text-decoration: none;
}

.breadcrumb-link:hover {
  text-decoration: underline;
}

.breadcrumb-active {
  color: var(--color-muted);
}

.section-head {
  margin-bottom: 32px;
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.section-kicker {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-blue);
}

.section-title {
  margin: 0 0 10px;
}

.section-desc {
  margin: 0;
  max-width: 62ch;
  color: var(--color-muted);
}

.divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--gradient-line);
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr);
}

.grid-gap-lg {
  gap: 32px;
}

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

@media (min-width: 960px) {
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.grid-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

@media (min-width: 960px) {
  .grid-editorial {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

.aside-note {
  position: relative;
  padding: 4px 0 4px 20px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-muted);
}

.aside-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--color-blue), var(--color-purple));
  opacity: 0.8;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-pill);
}

.tab {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid transparent;
  background: transparent;
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.tab:hover {
  color: var(--color-text);
  background: rgba(0, 212, 255, 0.08);
}

.tab[aria-selected="true"] {
  color: #ffffff;
  background: var(--gradient-bright);
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.28);
}

.tab-panel:not([hidden]) {
  animation: fade-up 0.3s var(--ease-main) both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 4px 0 0 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.55), rgba(155, 89, 182, 0.55));
}

.timeline-item {
  position: relative;
  padding-bottom: 28px;
}

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

.timeline-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.16), 0 0 12px rgba(0, 212, 255, 0.45);
}

.timeline-date {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-blue);
}

.timeline-title {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

.timeline-desc {
  margin: 0;
  font-size: 14px;
  color: var(--color-muted);
}

.site-header {
  display: block;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--color-blue);
  color: #06101c;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0, 212, 255, 0.45);
  transition: top 0.25s ease;
}

.skip-link:focus-visible {
  top: 12px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 320;
  background: var(--gradient-bright);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  opacity: 0.9;
}

@media (min-width: 901px) {
  .scroll-progress {
    left: var(--rail-w);
    width: calc(100% - var(--rail-w));
  }
}

.header-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(16px, 3vw, 32px);
  background: rgba(10, 14, 23, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.14);
}

@media (min-width: 901px) {
  .header-top {
    left: var(--rail-w);
    background: rgba(10, 14, 23, 0.72);
    border-bottom-color: rgba(0, 212, 255, 0.1);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  text-decoration: none;
}

.brand-logo {
  flex: 0 0 auto;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.35));
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-en {
  color: var(--color-blue);
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.5);
}

.brand-cn {
  color: var(--color-text);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.16), rgba(155, 89, 182, 0.16));
  border: 1px solid rgba(0, 212, 255, 0.32);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: rgba(0, 212, 255, 0.6);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.28), rgba(155, 89, 182, 0.28));
  box-shadow: 0 0 26px rgba(0, 212, 255, 0.22);
}

.header-cta-text {
  white-space: nowrap;
}

.header-cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.14);
  animation: cta-pulse 2s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(0, 212, 255, 0.28);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

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

.nav-toggle[aria-expanded="true"] {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.5);
}

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

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

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

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

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

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(4, 7, 12, 0.66);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.nav-overlay[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

@media (min-width: 901px) {
  .nav-overlay {
    display: none;
  }
}

.site-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--rail-w);
  z-index: 70;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(14, 20, 32, 0.97), rgba(10, 14, 23, 0.98));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(0, 212, 255, 0.13);
}

.nav-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 16px 10px 12px;
}

.rail {
  display: flex;
  flex-direction: column;
  gap: 3px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
}

.rail-item {
  flex: 0 0 auto;
}

.rail-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rail-link:hover {
  color: var(--color-text);
  background: rgba(0, 212, 255, 0.07);
}

.rail-link:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

.rail-link[aria-current="page"] {
  color: var(--color-text);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(155, 89, 182, 0.13));
  border-color: rgba(0, 212, 255, 0.28);
  box-shadow: inset 3px 0 0 var(--color-blue);
}

.rail-index {
  min-width: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-blue);
  opacity: 0.72;
}

.rail-link[aria-current="page"] .rail-index {
  opacity: 1;
}

.rail-label {
  flex: 1;
}

.nav-bottom {
  margin-top: auto;
  display: grid;
  gap: 12px;
  padding: 16px 6px 2px;
}

.rail-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-muted);
}

.rail-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-blue);
  box-shadow: 0 0 8px var(--color-blue);
  animation: cta-pulse 2s ease-in-out infinite;
}

.rail-status-text {
  line-height: 1;
}

.rail-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.16), rgba(155, 89, 182, 0.16));
  border: 1px solid rgba(0, 212, 255, 0.28);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.rail-cta:hover {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(155, 89, 182, 0.3));
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.14);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    top: var(--header-h);
    width: min(340px, 88vw);
    z-index: 210;
    border-right: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.55);
    transform: translateX(-102%);
    visibility: hidden;
    transition: transform 0.35s var(--ease-main), visibility 0s linear 0.35s;
  }

  .site-nav[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.35s var(--ease-main), visibility 0s linear 0s;
  }

  .nav-inner {
    padding: 20px 16px 16px;
  }

  .rail {
    gap: 4px;
  }

  .rail-link {
    padding: 12px 14px;
    font-size: 15px;
  }

  .nav-bottom {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 16px;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
  }

  .header-cta {
    font-size: 12px;
    padding: 8px 12px;
  }

  .header-actions {
    gap: 8px;
  }
}

.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  padding: clamp(48px, 6vw, 72px) 0 0;
  background: #0b101c;
  overflow: hidden;
  border-top: 1px solid rgba(0, 212, 255, 0.22);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.8), rgba(155, 89, 182, 0.8), transparent);
  z-index: 1;
}

.footer-glow {
  position: absolute;
  top: -120px;
  left: 22%;
  width: 520px;
  height: 360px;
  background: radial-gradient(ellipse at center, rgba(155, 89, 182, 0.16), rgba(0, 212, 255, 0.07) 45%, transparent 70%);
  pointer-events: none;
}

.footer-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

@media (min-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
  }
}

.footer-brand-col {
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.footer-logo {
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.3));
}

.footer-brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

.footer-tagline {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--color-muted);
}

.footer-statement {
  max-width: 46ch;
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-muted);
}

.footer-col {
  min-width: 0;
}

.footer-heading {
  margin: 0 0 16px;
  padding-bottom: 10px;
  position: relative;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue);
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-purple));
}

.footer-links {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--color-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-blue);
  padding-left: 4px;
}

.footer-contact {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--color-muted);
}

.footer-contact-item {
  line-height: 1.6;
}

.footer-contact-note {
  padding-top: 4px;
  font-size: 12px;
  color: rgba(139, 147, 167, 0.72);
}

.footer-trust {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 18px 0;
}

.footer-trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.16);
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  padding: 22px 0 30px;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  font-size: 12px;
  color: var(--color-muted);
}

.footer-bottom-inner a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-inner a:hover {
  color: var(--color-blue);
}

.footer-copy {
  white-space: nowrap;
}

.footer-icp {
  color: rgba(139, 147, 167, 0.78);
}

@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;
    transition-delay: 0s !important;
  }

  .header-cta-dot,
  .rail-status-dot {
    animation: none;
  }

  .scroll-progress {
    display: none;
  }

  .tab-panel:not([hidden]) {
    animation: none;
  }
}
