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

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

ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

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

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--neon) var(--bg-abyss);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-deep);
  color: var(--beige);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#main-content {
  flex: 1 1 auto;
  width: 100%;
}

:root {
  --bg-deep: #0A1128;
  --bg-abyss: #081020;
  --neon: #39FF14;
  --orange: #FF6B00;
  --moss: #5A7D6B;
  --terracotta: #B85C38;
  --beige: #F5EFE6;
  --grey: #2C2F33;
  --data-blue: #0099FF;
  --content-width: 1220px;
  --border-weak: rgba(245, 239, 230, .14);
  --text-dim: rgba(245, 239, 230, .72);
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-data: "Roboto Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

a {
  color: var(--neon);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--orange);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
  font-weight: 900;
  color: var(--beige);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  letter-spacing: -0.03em;
  margin-bottom: .5em;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}

p {
  max-width: 65ch;
}

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

.container,
.header-top,
.site-nav,
.footer-primary,
.footer-legal-inner {
  width: min(100% - 2rem, var(--content-width));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.section-dark {
  background: var(--bg-abyss);
}

.panel-stack {
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 2rem;
  font-size: .85rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--terracotta);
  font-family: var(--font-data);
}

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

.breadcrumb a:hover {
  text-decoration: underline;
  text-decoration-color: var(--orange);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 2px solid var(--neon);
  background: transparent;
  color: var(--neon);
  padding: .75em 1.4em;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(57, 255, 20, .18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  background: var(--neon);
  color: #061008;
  box-shadow: 8px 8px 0 rgba(57, 255, 20, .25);
}

.btn:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0 rgba(57, 255, 20, .25);
}

.btn-secondary {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 4px 4px 0 rgba(255, 107, 0, .18);
}

.btn-secondary:hover {
  background: var(--orange);
  color: #1d0b00;
  box-shadow: 8px 8px 0 rgba(255, 107, 0, .25);
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.surface {
  background: rgba(245, 239, 230, .045);
  border: 2px solid var(--border-weak);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, .25);
}

.surface-pad {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.cut-corner {
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.tag {
  display: inline-block;
  background: var(--moss);
  color: var(--beige);
  padding: .15em .7em;
  font-size: .72rem;
  font-weight: 700;
  border-left: 4px solid var(--terracotta);
  letter-spacing: .06em;
}

.tag-hot {
  background: rgba(255, 107, 0, .18);
  border-left-color: var(--orange);
  color: var(--orange);
}

.tag-live {
  background: rgba(57, 255, 20, .14);
  border-left-color: var(--neon);
  color: var(--neon);
}

.image-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 153, 255, .18), rgba(245, 239, 230, .04));
  border: 3px solid rgba(245, 239, 230, .2);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .28);
}

.image-frame img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.image-frame:hover img {
  transform: scale(1.03);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 16, 32, .7));
}

.image-frame[data-placeholder]::before {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  font-family: var(--font-data);
  font-size: .75rem;
  letter-spacing: .2em;
  color: rgba(245, 239, 230, .4);
  background: repeating-linear-gradient(135deg, rgba(57, 255, 20, .05) 0 10px, transparent 10px 20px);
}

.stat-value {
  font-family: var(--font-data);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--neon);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.stat-label {
  display: block;
  margin-top: .4em;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.meter {
  display: block;
  height: 10px;
  background: rgba(245, 239, 230, .12);
  border: 1px solid var(--border-weak);
  overflow: hidden;
}

.meter > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--neon), var(--data-blue));
}

.skip-link {
  position: fixed;
  top: -200px;
  left: 1rem;
  z-index: 3001;
  display: inline-block;
  padding: .8rem 1.2rem;
  background: var(--neon);
  color: #061008;
  font-weight: 900;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(10, 17, 40, .98), rgba(8, 16, 32, .96));
  border-bottom: 3px solid var(--neon);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% -20%, rgba(57, 255, 20, .18), transparent 42%),
    radial-gradient(circle at 5% -10%, rgba(0, 153, 255, .16), transparent 40%);
}

.header-top,
.header-nav-wrap {
  position: relative;
  z-index: 1;
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--neon) 0%, var(--data-blue) 100%);
  box-shadow: 0 0 12px rgba(57, 255, 20, .6);
}

.header-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
  margin-right: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--neon);
  color: #061008;
  font-family: var(--font-data);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.1em;
  text-decoration: none;
  transform: skew(-8deg);
  box-shadow: 6px 6px 0 rgba(57, 255, 20, .28);
  transition: transform .2s ease;
}

.brand-mark:hover {
  transform: skew(-8deg) translate(2px, 2px);
  color: #061008;
}

.brand-glyph {
  display: block;
  transform: skew(8deg);
  line-height: 1;
}

.header-explainer {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.header-brand-name {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--beige);
  letter-spacing: .06em;
  white-space: nowrap;
}

.header-brand-slogan {
  font-size: .72rem;
  color: var(--neon);
  text-transform: uppercase;
  letter-spacing: .18em;
  white-space: nowrap;
}

.header-status {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  padding: .4em .8em;
  border-left: 3px solid var(--data-blue);
  background: rgba(0, 153, 255, .08);
  color: var(--text-dim);
  font-family: var(--font-data);
  font-size: .75rem;
  letter-spacing: .04em;
}

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

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--neon);
  box-shadow: 0 0 0 3px rgba(57, 255, 20, .15);
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: .5;
    transform: scale(.85);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.header-cta {
  display: inline-block;
  padding: .55em 1em;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-weight: 900;
  font-size: .8rem;
  letter-spacing: .08em;
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(255, 107, 0, .22);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.header-cta:hover {
  background: var(--orange);
  color: #1d0b00;
  transform: translate(-2px, -2px);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  background: transparent;
  border: 2px solid var(--neon);
  color: var(--neon);
  font-weight: 800;
  font-size: .8rem;
  line-height: 1;
  padding: .55em .9em;
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(57, 255, 20, .12);
}

.nav-toggle-text {
  font-size: .8rem;
}

.nav-toggle-icon {
  position: relative;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: background .2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease;
}

.nav-toggle-icon::before {
  top: -5px;
}

.nav-toggle-icon::after {
  top: 5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: translateY(-5px) rotate(-45deg);
}

.header-nav-wrap {
  border-top: 1px solid var(--border-weak);
  background: rgba(8, 16, 32, .82);
  backdrop-filter: blur(12px);
}

.nav-list {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: .95rem 1.15rem;
  color: var(--beige);
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  border-right: 1px solid rgba(245, 239, 230, .1);
  border-bottom: 3px solid transparent;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.nav-list li:first-child a {
  border-left: 1px solid rgba(245, 239, 230, .1);
}

.nav-list a:hover {
  color: var(--neon);
  background: rgba(57, 255, 20, .06);
}

.nav-list a[aria-current="page"] {
  color: var(--neon);
  background: linear-gradient(180deg, rgba(57, 255, 20, .14), rgba(57, 255, 20, 0));
  box-shadow: inset 0 -4px 0 var(--neon);
}

.site-footer {
  position: relative;
  margin-top: auto;
  color: var(--beige);
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-abyss) 100%);
  border-top: 4px solid var(--orange);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .35);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 107, 0, .08), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(57, 255, 20, .06), transparent 35%);
}

.footer-primary,
.footer-legal {
  position: relative;
  z-index: 1;
}

.footer-primary {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(0, 2fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 2.5rem;
}

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--beige);
  text-decoration: none;
}

.footer-brand-link:hover {
  color: var(--beige);
}

.footer-brand-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--orange);
  color: #1d0b00;
  font-family: var(--font-data);
  font-size: 1rem;
  font-weight: 800;
  transform: skew(-8deg);
  box-shadow: 5px 5px 0 rgba(255, 107, 0, .25);
}

.footer-brand-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--beige);
  letter-spacing: .08em;
}

.footer-trust {
  margin: 1.2rem 0 0;
  max-width: 44em;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--text-dim);
  border-left: 4px solid var(--terracotta);
  padding-left: 1.2rem;
}

.footer-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

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

.footer-heading {
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  font-size: .82rem;
  font-weight: 900;
  color: var(--neon);
  letter-spacing: .18em;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(57, 255, 20, .25);
}

.footer-links {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
}

.footer-links a {
  color: rgba(245, 239, 230, .86);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
}

.footer-contact {
  display: grid;
  gap: .5rem;
  font-style: normal;
  font-size: .88rem;
  color: rgba(245, 239, 230, .85);
}

.footer-contact a {
  color: var(--beige);
  text-decoration: none;
}

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

.footer-service {
  margin: .9rem 0 0;
  padding-left: .85rem;
  border-left: 2px solid var(--data-blue);
  font-size: .76rem;
  line-height: 1.65;
  color: rgba(245, 239, 230, .58);
}

.footer-legal {
  background: #050914;
  border-top: 1px solid rgba(245, 239, 230, .12);
}

.footer-legal-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  padding: .9rem 0;
  font-size: .8rem;
  color: rgba(245, 239, 230, .62);
}

.footer-icp {
  font-family: var(--font-data);
  letter-spacing: .03em;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (max-width: 900px) {
  .header-status {
    display: none;
  }

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

  .header-nav-wrap {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }

  .header-nav-wrap[data-open] {
    display: block;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-list a {
    border-right: 0;
    border-bottom: 1px solid rgba(245, 239, 230, .1);
  }

  .nav-list li:first-child a {
    border-left: 0;
  }

  .nav-list a[aria-current="page"] {
    box-shadow: inset 5px 0 0 var(--neon);
    background: linear-gradient(90deg, rgba(57, 255, 20, .14), transparent);
  }
}

@media (max-width: 820px) {
  .footer-primary {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer-panel:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .header-cta {
    display: none;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .header-brand-name {
    font-size: 1.15rem;
  }

  .header-brand-slogan {
    font-size: .62rem;
  }

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

  .footer-panel:last-child {
    grid-column: auto;
  }

  .footer-legal-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .status-dot {
    animation: none;
  }

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