:root {
  --c-deep: #0A1E3F;
  --c-deep-2: #102D5E;
  --c-neon: #00E5A0;
  --c-orange: #FF6B35;
  --c-mist: #F5F7FA;
  --c-ink: #1A1A2E;
  --c-gray: #6B7280;
  --c-line: #E5E7EB;
  --c-warn: #FACC15;
  --c-link: #00785E;
  --font-head: "Montserrat", "Impact", "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-data: "Roboto Mono", "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  --radius: 20px;
}

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

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

body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

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

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

a {
  color: var(--c-neon);
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--c-neon);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--c-neon);
  color: var(--c-deep);
}

body {
  min-width: 320px;
  min-height: 100vh;
  background: var(--c-deep);
  color: var(--c-mist);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

#main-content {
  display: block;
  min-height: 70vh;
  background: var(--c-mist);
  color: var(--c-ink);
}

#main-content a {
  color: var(--c-link);
  font-weight: 500;
}

#main-content a:hover {
  color: var(--c-deep);
}

#main-content .btn,
#main-content a.btn {
  color: var(--c-deep);
}

#main-content .btn-accent,
#main-content a.btn-accent {
  color: #fff;
}

#main-content .btn-ghost,
#main-content a.btn-ghost {
  color: #fff;
}

#main-content .page-header a,
#main-content .section--dark a {
  color: var(--c-neon);
}

#main-content .page-header a:hover,
#main-content .section--dark a:hover {
  color: #fff;
}

#main-content .breadcrumb a {
  color: var(--c-gray);
}

#main-content .page-header .breadcrumb a {
  color: rgba(245, 247, 250, 0.65);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

.container--narrow {
  max-width: 820px;
}

.section {
  padding: clamp(48px, 8vw, 88px) clamp(20px, 4vw, 64px);
}

.section--dark {
  background: var(--c-deep);
  color: var(--c-mist);
}

.section--mist {
  background: var(--c-mist);
  color: var(--c-ink);
}

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

.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--c-orange);
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-deep);
  margin-bottom: 12px;
}

.section--dark .section-title {
  color: var(--c-mist);
}

.section-desc {
  max-width: 62ch;
  color: var(--c-gray);
}

.section--dark .section-desc {
  color: rgba(245, 247, 250, 0.7);
}

.page-header {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 72px) clamp(20px, 4vw, 64px);
  background: linear-gradient(115deg, var(--c-deep) 0%, var(--c-deep-2) 100%);
  color: var(--c-mist);
  border-bottom: 3px solid var(--c-neon);
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 14px);
  pointer-events: none;
}

.page-header::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.24), transparent 68%);
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #fff;
}

.page-subtitle {
  max-width: 60ch;
  color: rgba(245, 247, 250, 0.75);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 22px;
  padding: 0;
  font-size: 13px;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: rgba(255, 255, 255, 0.3);
}

.page-header .breadcrumb [aria-current="page"] {
  color: var(--c-neon);
  font-weight: 700;
}

.breadcrumb [aria-current="page"] {
  color: var(--c-deep);
  font-weight: 700;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 400;
  transform: translate(-50%, -300%);
  background: var(--c-neon);
  color: var(--c-deep);
  font-family: var(--font-head);
  font-weight: 900;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 229, 160, 0.35);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px clamp(12px, 2.5vw, 32px) 0;
  pointer-events: none;
}

.nav-capsule {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin-inline: auto;
  padding: 8px 8px 8px 14px;
  background: rgba(8, 24, 52, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(2, 8, 24, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: #fff;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--c-neon) 0%, #3DDEF5 60%, var(--c-deep-2) 100%);
  color: var(--c-deep);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  border-radius: 14px 14px 14px 4px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  box-shadow: 0 0 0 1px rgba(0, 229, 160, 0.4), 0 8px 20px rgba(0, 229, 160, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.brand-en {
  font-family: var(--font-data);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: block;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(245, 247, 250, 0.8);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.nav-link[aria-current="page"] {
  color: var(--c-deep);
  background: var(--c-neon);
  box-shadow: 0 0 0 1px rgba(0, 229, 160, 0.35), 0 6px 20px rgba(0, 229, 160, 0.22);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  height: 16px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle-label {
  font-size: 13px;
  font-weight: 700;
}

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

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

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

.site-footer {
  position: relative;
  background: var(--c-deep);
  color: rgba(245, 247, 250, 0.75);
  padding: clamp(48px, 7vw, 80px) clamp(20px, 4vw, 64px) 22px;
  border-top: 1px solid rgba(0, 229, 160, 0.18);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-neon) 0%, var(--c-orange) 60%, transparent 100%);
  opacity: 0.8;
}

.footer-grid {
  max-width: 1180px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}

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

.brand--footer .brand-mark {
  width: 36px;
  height: 36px;
  font-size: 18px;
}

.footer-trust {
  max-width: 36em;
  margin-top: 14px;
  color: rgba(245, 247, 250, 0.65);
  font-size: 14px;
  line-height: 1.7;
}

.footer-title {
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-neon);
}

.footer-list {
  display: grid;
  gap: 6px;
}

.footer-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 247, 250, 0.72);
}

.footer-label {
  flex: 0 0 auto;
  min-width: 3em;
  padding-top: 2px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 247, 250, 0.4);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  color: rgba(245, 247, 250, 0.8);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a::before {
  content: "→";
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--c-orange);
}

.footer-links a:hover {
  color: var(--c-neon);
  transform: translateX(3px);
}

.footer-meta {
  max-width: 1180px;
  margin-inline: auto;
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-data);
  font-size: 12px;
  color: rgba(245, 247, 250, 0.55);
}

.footer-icp,
.footer-copyright {
  margin: 0;
}

.footer-copyright [data-year] {
  color: var(--c-neon);
  font-weight: 700;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 0;
  background: linear-gradient(90deg, var(--c-neon) 0%, var(--c-orange) 100%);
  box-shadow: 0 0 10px rgba(0, 229, 160, 0.6);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--c-neon);
  color: var(--c-deep);
  box-shadow: 0 8px 26px rgba(0, 229, 160, 0.28);
}

.btn-primary:hover {
  background: #32EAB3;
}

.btn-accent {
  background: var(--c-orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.25);
}

.btn-accent:hover {
  background: #FF7A4D;
}

.btn-outline {
  border-color: rgba(10, 30, 63, 0.3);
  background: transparent;
  color: var(--c-deep);
}

.btn-outline:hover {
  border-color: var(--c-deep);
  background: rgba(10, 30, 63, 0.06);
}

.btn-ghost {
  border-color: rgba(245, 247, 250, 0.5);
  background: transparent;
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-pulse {
  animation: btnPulse 2s infinite ease-out;
}

@keyframes btnPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 229, 160, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 229, 160, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 229, 160, 0);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 30, 63, 0.08);
  color: var(--c-deep);
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
}

.badge--neon {
  background: var(--c-neon);
  color: var(--c-deep);
}

.badge--orange {
  background: var(--c-orange);
  color: #fff;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  background: #fff;
  color: var(--c-gray);
  font-size: 12px;
  text-decoration: none;
}

.tag:hover {
  border-color: var(--c-neon);
  color: var(--c-deep);
}

.grid {
  display: grid;
  gap: 20px;
}

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

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.bento-item {
  grid-column: span 4;
  min-width: 0;
}

.bento-item--span6 {
  grid-column: span 6;
}

.bento-item--span8 {
  grid-column: span 8;
}

.bento-item--span12 {
  grid-column: span 12;
}

.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 4px 16px rgba(10, 30, 63, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 160, 0.4);
  box-shadow: 0 14px 32px rgba(10, 30, 63, 0.12);
}

.card--dark {
  background: linear-gradient(160deg, var(--c-deep), var(--c-deep-2));
  color: var(--c-mist);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.25;
  color: var(--c-deep);
  margin-bottom: 8px;
}

.card--dark .card-title {
  color: #fff;
}

.card-desc {
  color: var(--c-gray);
  font-size: 14px;
  line-height: 1.6;
}

.card--dark .card-desc {
  color: rgba(245, 247, 250, 0.7);
}

.stat-value {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--c-deep);
}

.stat-label {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-gray);
}

.index-list {
  display: grid;
  border-top: 1px solid var(--c-line);
}

.index-list li {
  border-bottom: 1px solid var(--c-line);
}

.index-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  color: var(--c-ink);
  font-weight: 600;
  transition: padding 0.2s ease, background 0.2s ease;
}

.index-link:hover {
  padding-left: 8px;
  background: rgba(0, 229, 160, 0.06);
  color: var(--c-deep);
}

.index-meta {
  font-family: var(--font-data);
  font-size: 12px;
  color: var(--c-gray);
}

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

.data-table th {
  background: var(--c-deep);
  color: #fff;
  text-align: left;
  padding: 12px 14px;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink);
}

.data-table tr:hover td {
  background: rgba(0, 229, 160, 0.06);
}

.visual-frame {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 160px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(0, 229, 160, 0.16), rgba(10, 30, 63, 0.25)),
    radial-gradient(circle at 75% 20%, rgba(0, 229, 160, 0.3), transparent 42%),
    radial-gradient(circle at 20% 85%, rgba(255, 107, 53, 0.25), transparent 40%),
    var(--c-deep);
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 12px),
    linear-gradient(155deg, transparent 35%, rgba(0, 229, 160, 0.14) 35.5%, transparent 36.5%),
    linear-gradient(25deg, transparent 62%, rgba(255, 107, 53, 0.18) 62.5%, transparent 63.5%);
  pointer-events: none;
}

.visual-frame::after {
  content: "B1";
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-family: var(--font-data);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
  pointer-events: none;
}

.visual-frame img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-frame--16x7 {
  aspect-ratio: 16 / 7;
  min-height: auto;
}

.visual-frame--4x3 {
  aspect-ratio: 4 / 3;
  min-height: auto;
}

.data-scroll-spy-link.is-active {
  color: var(--c-neon);
  border-bottom: 1px solid var(--c-neon);
}

@media (max-width: 960px) {
  .nav-capsule {
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    background: rgba(6, 20, 46, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    padding: 12px;
    box-shadow: 0 18px 48px rgba(2, 8, 24, 0.5);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .site-nav[data-open] {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 15px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  .bento-item,
  .bento-item--span6,
  .bento-item--span8 {
    grid-column: span 6;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-top: 8px;
  }

  .nav-capsule {
    gap: 8px;
  }

  .brand-en {
    display: none;
  }

  .brand-name {
    font-size: 16px;
  }

  .nav-toggle-label {
    display: none;
  }

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

  .footer-brand,
  .footer-links,
  .footer-contact {
    grid-column: auto;
  }

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

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

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

  .bento-item,
  .bento-item--span6,
  .bento-item--span8,
  .bento-item--span12 {
    grid-column: span 12;
  }

  .data-table th,
  .data-table td {
    padding: 10px 8px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
