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

:root {
  color-scheme: dark;
  --bg-deep: #0A0E14;
  --bg-panel: #111722;
  --green: #4DFF9F;
  --orange: #FFB300;
  --text-bright: #E8EDF2;
  --text-muted: #9AA5B1;
  --border-faint: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --data-cyan: #00C2FF;
  --font-display: Impact, "Arial Black", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  --rail-w: 252px;
  --header-h: 64px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

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

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text-bright);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
}

main {
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
  color: #ffffff;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--green);
}

button {
  font: inherit;
  cursor: pointer;
}

address {
  font-style: normal;
}

ul {
  margin: 0;
  padding: 0;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--green);
  color: var(--bg-deep);
  padding: 12px 18px;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 0;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--rail-w);
  height: 100vh;
  background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-deep) 100%);
  border-right: 1px solid var(--border-faint);
  z-index: 100;
}

.site-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--green), var(--orange), transparent 85%);
  opacity: 0.3;
  pointer-events: none;
}

.header-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-panel);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-sm);
  color: var(--text-bright);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  background: var(--green);
  color: var(--bg-deep);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  border-radius: 12px;
  transform: rotate(-4deg);
  box-shadow: 0 0 0 1px rgba(77, 255, 159, 0.4);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-en {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-bright);
}

.brand-tag {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--border-faint);
  border-radius: 999px;
  color: var(--text-bright);
  font-weight: 700;
}

.nav-toggle-box {
  width: 18px;
  height: 14px;
  position: relative;
}

.nav-toggle-box::before,
.nav-toggle-box::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

.nav-toggle-box::before {
  top: 1px;
  box-shadow: 0 5px 0 var(--green);
}

.nav-toggle-box::after {
  bottom: 1px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box::before {
  top: 6px;
  box-shadow: none;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box::after {
  bottom: 6px;
  transform: rotate(-45deg);
}

.nav-toggle-text {
  font-size: 13px;
}

.site-nav {
  margin-top: 28px;
}

.nav-list {
  list-style: none;
  display: grid;
  gap: 6px;
  counter-reset: nav;
}

.nav-item {
  counter-increment: nav;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--text-muted);
  background: transparent;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link::before {
  content: "0" counter(nav);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--green);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  background: rgba(77, 255, 159, 0.07);
  border-color: rgba(77, 255, 159, 0.18);
  color: var(--text-bright);
  transform: translateX(4px);
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link[aria-current="page"] {
  color: var(--green);
  background: rgba(77, 255, 159, 0.1);
  border-color: rgba(77, 255, 159, 0.28);
  box-shadow: inset 3px 0 0 var(--green);
}

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

.header-live {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-faint);
  border-radius: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: livePulse 2s ease-out infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(77, 255, 159, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(77, 255, 159, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(77, 255, 159, 0);
  }
}

.site-footer {
  position: relative;
  background: var(--bg-panel);
  border-top: 1px solid var(--border-faint);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--green) 0%, var(--orange) 70%, transparent 100%);
  opacity: 0.7;
}

.footer-shell {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 44px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 36px;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand--footer {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.brand--footer .brand-mark {
  width: 40px;
  height: 40px;
  font-size: 20px;
}

.footer-trust {
  max-width: 300px;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
}

.footer-label {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--green);
  text-transform: uppercase;
}

.footer-contact .footer-label {
  color: var(--orange);
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-contact {
  display: grid;
  gap: 10px;
  align-content: start;
  color: var(--text-muted);
  font-size: 14px;
}

.contact-line {
  display: block;
  padding-left: 14px;
  border-left: 2px solid var(--orange);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  border-top: 1px solid var(--border-faint);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding-top: clamp(40px, 7vw, 80px);
  padding-bottom: clamp(40px, 7vw, 80px);
}

.section--tight {
  padding-top: 32px;
  padding-bottom: 32px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--green);
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 0.95;
  text-transform: uppercase;
}

.section-lead {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: 15px;
}

.eyebrow {
  display: block;
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
}

.page-title {
  margin: 0 0 10px;
  font-size: clamp(30px, 5.5vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
}

.page-body {
  max-width: 760px;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 15px;
}

.page-body h2,
.page-body h3 {
  color: var(--text-bright);
  margin-top: 1.6em;
}

.page-body a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.grid {
  display: grid;
  gap: var(--gap);
}

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

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

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 16px;
}

.bento-cell {
  position: relative;
  min-height: 140px;
  padding: 20px;
  background: var(--bg-panel);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.bento-cell:hover {
  border-color: rgba(77, 255, 159, 0.25);
  transform: translateY(-2px);
}

.bento-cell--2x1 {
  grid-column: span 2;
}

.bento-cell--1x2 {
  grid-row: span 2;
}

.bento-cell--feature {
  background: linear-gradient(135deg, rgba(77, 255, 159, 0.12), var(--bg-panel) 60%);
  border-color: rgba(77, 255, 159, 0.3);
}

.bento-cell--alert {
  background: linear-gradient(135deg, rgba(255, 179, 0, 0.12), var(--bg-panel) 60%);
  border-color: rgba(255, 179, 0, 0.25);
}

.bento-cell--data {
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.12), var(--bg-panel) 60%);
  border-color: rgba(0, 194, 255, 0.22);
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-body {
  padding: 18px;
}

.card-title {
  margin: 0 0 8px;
  font-size: 20px;
}

.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-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--green);
  color: var(--bg-deep);
  box-shadow: 0 8px 24px rgba(77, 255, 159, 0.18);
}

.btn-primary:hover {
  background: #6cffb4;
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border-strong);
  color: var(--text-bright);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-orange {
  background: var(--orange);
  color: var(--bg-deep);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(77, 255, 159, 0.2);
  background: rgba(77, 255, 159, 0.1);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.tag--orange {
  border-color: rgba(255, 179, 0, 0.24);
  background: rgba(255, 179, 0, 0.1);
  color: var(--orange);
}

.badge {
  display: inline-block;
  min-width: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--bg-deep);
  font-weight: 800;
  font-size: 12px;
  text-align: center;
}

.data-num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--green);
}

.data-num--cyan {
  color: var(--data-cyan);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 16px 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li + li::before {
  content: "/";
  opacity: 0.5;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--green);
}

.breadcrumbs [aria-current="page"] {
  color: var(--green);
}

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 120px;
  background: linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-deep) 80%);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius);
}

.media-frame::before {
  content: "IMAGE";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  opacity: 0.55;
}

.media-frame--16x9 {
  aspect-ratio: 16 / 9;
}

.media-frame--4x3 {
  aspect-ratio: 4 / 3;
}

.media-frame--1x1 {
  aspect-ratio: 1 / 1;
}

.media-frame--hero {
  aspect-ratio: 16 / 10;
  min-height: 420px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js [data-reveal][data-in] {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

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

  .nav-toggle {
    display: none;
  }
}

@media (max-width: 980px) {
  body {
    padding-top: var(--header-h);
  }

  .site-header {
    width: auto;
    height: var(--header-h);
    background: rgba(10, 14, 20, 0.94);
    border-right: 0;
    border-bottom: 1px solid var(--border-faint);
    backdrop-filter: blur(12px);
  }

  .site-header::after {
    display: none;
  }

  .header-shell {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
  }

  .brand {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

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

  .brand-en {
    font-size: 19px;
  }

  .brand-tag {
    display: none;
  }

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

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    margin-top: 0;
    padding: 16px;
    background: rgba(10, 14, 20, 0.98);
    border-bottom: 1px solid var(--border-faint);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 99;
  }

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

  .nav-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-link {
    justify-content: center;
    padding: 14px 10px;
    text-align: center;
    transform: none;
  }

  .nav-link::before {
    display: none;
  }

  .header-live {
    display: none;
  }

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

  .grid--2 {
    gap: 16px;
  }

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

  .footer-shell {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 40px 20px 24px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 20px;
  }
}

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

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

  .bento-cell--2x1 {
    grid-column: span 1;
  }

  .bento-cell--1x2 {
    grid-row: span 1;
  }

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

  .media-frame--hero {
    min-height: 260px;
  }
}

@media (max-width: 380px) {
  .nav-list {
    grid-template-columns: 1fr;
  }
}

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

  .live-dot {
    animation: none;
  }

  .nav-link {
    transform: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
