:root {
  --deep: #0B0E14;
  --bg: #0B0E14;
  --bg-elev: #121826;
  --bg-elev-2: #1A2230;
  --green: #00FF88;
  --blue: #00D4FF;
  --red: #FF2A4B;
  --cream: #F5F0E1;
  --brown: #1A1A1A;
  --gray: #A8B2C3;
  --white: #FFFFFF;
  --orange: #FF7A00;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --container: 1200px;
  --page-gutter: 24px;
  --font-head: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Roboto", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--white);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 12% 8%, rgba(0, 255, 136, 0.08), transparent 24rem),
    radial-gradient(circle at 88% 4%, rgba(0, 212, 255, 0.08), transparent 26rem);
  background-size: 48px 48px, 48px 48px, auto, auto;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
  flex: 1;
}

#main-content {
  flex: 1;
  scroll-margin-top: 120px;
}

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 8vw, 80px);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 22px;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

ul, ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

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

address {
  font-style: normal;
}

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

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  transform: translateY(-180%);
  background: var(--green);
  color: var(--deep);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.35);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(11, 14, 20, 0.98), rgba(11, 14, 20, 0.92));
  border-bottom: 1px solid rgba(0, 255, 136, 0.16);
  backdrop-filter: blur(14px);
}

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

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
  color: var(--cream);
}

.brand-lockup:hover {
  color: var(--cream);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--green), var(--blue));
  color: var(--deep);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 24px;
  font-style: italic;
  letter-spacing: -0.08em;
  transform: skewX(-8deg);
  box-shadow: 0 10px 28px rgba(0, 255, 136, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-cn {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 34px;
  letter-spacing: 0.12em;
  color: var(--cream);
}

.brand-line {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gray);
}

.header-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  grid-column: 3;
}

.header-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--blue);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex: 0 0 auto;
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 136, 0.5);
  animation: statusPulse 2s ease-out infinite;
}

@keyframes statusPulse {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  70% {
    transform: scale(1.8);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #07120A;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.16);
  transform: translateZ(0);
}

.header-action::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #07120A;
  box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.35);
}

.header-action:hover {
  color: #07120A;
  background: #B6FFD9;
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
}

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

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, background 0.2s ease, top 0.2s ease;
}

.nav-toggle-bar {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-toggle-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.primary-nav {
  width: 100%;
  margin-top: 18px;
}

.nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-link {
  display: block;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  color: var(--gray);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link[aria-current="page"] {
  color: var(--deep);
  background: var(--green);
  box-shadow: 0 8px 24px rgba(0, 255, 136, 0.22);
}

.nav-link[aria-current="page"]:hover {
  color: var(--deep);
}

.header-ruler {
  display: flex;
  height: 3px;
  margin-top: 16px;
  border-radius: 3px 3px 0 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.ruler-seg {
  height: 100%;
}

.ruler-seg:nth-child(1) {
  flex: 2;
  background: var(--green);
}

.ruler-seg:nth-child(2) {
  flex: 1;
  background: var(--blue);
  opacity: 0.5;
}

.ruler-seg:nth-child(3) {
  flex: 3;
  background: rgba(255, 255, 255, 0.08);
}

.reading-progress {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 3;
  background: linear-gradient(90deg, var(--green) 0%, var(--blue) 100%);
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.5);
}

.site-footer {
  position: relative;
  margin-top: auto;
  overflow: hidden;
  padding: 60px 0 32px;
  background: linear-gradient(180deg, #09101A 0%, #06080D 100%);
  border-top: 1px solid rgba(0, 212, 255, 0.16);
  color: var(--gray);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 36%;
  height: 100%;
  background: linear-gradient(135deg, transparent 30%, rgba(0, 255, 136, 0.04));
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  margin-bottom: 34px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}

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

.footer-brand .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 20px;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-brand-text .brand-cn {
  font-size: 22px;
  letter-spacing: 0.12em;
}

.footer-brand-text .brand-line {
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0.26em;
}

.footer-trust {
  max-width: 600px;
  margin: 0;
  padding-left: 20px;
  border-left: 2px solid var(--green);
  font-size: 13px;
  line-height: 1.8;
  color: var(--gray);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 36px;
}

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

.footer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
}

.footer-title::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  display: inline-block;
  font-size: 14px;
  color: var(--gray);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--green);
  transform: translateX(4px);
}

.service-entry {
  margin-top: 4px;
}

.service-entry span {
  display: block;
  color: var(--blue);
  font-weight: 600;
}

.service-desc {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--gray);
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: var(--cream);
}

.contact-list li > span:first-child {
  min-width: 34px;
  color: var(--blue);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.contact-list address {
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--gray);
}

.footer-icp {
  letter-spacing: 0.06em;
}

.page-shell {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.section-space {
  padding-block: clamp(52px, 10vw, 110px);
}

.panel {
  background: var(--bg-elev);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow-card);
}

.cream-panel {
  background: var(--cream);
  color: var(--brown);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.cream-panel h1,
.cream-panel h2,
.cream-panel h3 {
  color: var(--brown);
}

.page-hero {
  position: relative;
  padding: clamp(48px, 9vw, 100px) 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 255, 136, 0.08), rgba(0, 212, 255, 0.04) 44%, transparent 70%);
  clip-path: polygon(0 0, 68% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-hero .page-shell {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 18px;
  max-width: 18ch;
}

.page-lede {
  max-width: 56ch;
  font-size: 17px;
  color: var(--gray);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  font-size: 13px;
  color: var(--gray);
}

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

.breadcrumbs li::after {
  content: "/";
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.25);
}

.breadcrumbs li:last-child::after {
  content: none;
}

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

.btn-primary {
  background: var(--green);
  color: #07120A;
  box-shadow: 0 10px 28px rgba(0, 255, 136, 0.18);
}

.btn-primary:hover {
  background: #B6FFD9;
  color: #07120A;
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 212, 255, 0.12);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tag-hot {
  background: rgba(255, 42, 75, 0.14);
  color: var(--red);
}

.tag-live {
  background: rgba(0, 255, 136, 0.12);
  color: var(--green);
}

.tag-new {
  background: rgba(255, 122, 0, 0.14);
  color: var(--orange);
}

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

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

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

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

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

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

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-elev);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 136, 0.35);
  background: linear-gradient(145deg, rgba(0, 255, 136, 0.04), rgba(0, 212, 255, 0.02));
}

.card-title {
  font-size: 20px;
  line-height: 1.3;
  margin: 0;
}

.card-meta {
  margin-top: auto;
  font-size: 13px;
  color: var(--gray);
}

.media {
  position: relative;
  overflow: hidden;
  min-height: 120px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.12), rgba(0, 255, 136, 0.04));
}

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

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

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

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

.diagonal-slice {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
}

blockquote {
  margin: 28px 0;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.6;
}

blockquote p {
  margin: 0;
}

@media (max-width: 900px) {
  .masthead {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header-meta {
    grid-column: auto;
  }

  .header-action {
    padding: 9px 14px;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .primary-nav {
    display: none;
    margin-top: 14px;
  }

  .primary-nav[data-open="true"],
  .primary-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: rgba(11, 14, 20, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 16px;
  }

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

  .footer-section-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .header-shell {
    padding: 14px 16px 0;
  }

  .header-meta-tag {
    display: none;
  }

  .brand-cn {
    font-size: 28px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    font-size: 21px;
    border-radius: 14px;
  }

  .header-action {
    font-size: 12px;
  }

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

  .footer-trust {
    border-left: 0;
    padding-left: 0;
    border-top: 2px solid var(--green);
    padding-top: 16px;
  }

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

  .footer-section-contact {
    grid-column: auto;
  }

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

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

  .site-footer::before {
    display: none;
  }

  .card:hover,
  .btn:hover,
  .header-action:hover {
    transform: none;
  }
}
