:root {
  --color-primary: #0B1B3F;
  --color-secondary: #1A2D5A;
  --color-accent: #FF6B35;
  --color-accent-2: #9A4DFF;
  --color-bg: #F5F7FA;
  --color-panel: #E1E8F0;
  --color-text: #1A1A2E;
  --color-text-light: #FFFFFF;
  --color-success: #00C896;
  --color-warning: #FFC857;
  --font-heading: "Archivo Black", "Arial Black", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --container: 1200px;
  --header-h: 72px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: inherit;
}

p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

ul, ol {
  list-style: none;
}

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

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

::selection {
  background: rgba(255, 107, 53, 0.25);
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 10px 20px;
  background: var(--color-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: top 0.3s var(--ease);
}
.skip-link:focus-visible {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-primary);
  color: var(--color-text-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 8% 30%, rgba(255, 255, 255, 0.45), transparent 100%),
    radial-gradient(1px 1px at 22% 75%, rgba(255, 255, 255, 0.35), transparent 100%),
    radial-gradient(1.5px 1.5px at 45% 50%, rgba(255, 255, 255, 0.5), transparent 100%),
    radial-gradient(1px 1px at 68% 20%, rgba(255, 255, 255, 0.3), transparent 100%),
    radial-gradient(1px 1px at 82% 60%, rgba(255, 255, 255, 0.4), transparent 100%),
    radial-gradient(1px 1px at 95% 35%, rgba(255, 255, 255, 0.3), transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.site-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 24px;
  height: var(--header-h);
}

.site-header__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 40%, var(--color-accent-2));
  z-index: 2;
  pointer-events: none;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
}

.site-brand__star {
  width: 14px;
  height: 14px;
  background: #fff;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.site-brand__name {
  font-family: var(--font-heading);
  font-size: 19px;
  letter-spacing: 0.04em;
  color: #fff;
}

.site-brand__slogan {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__item {
  margin: 0;
}

.site-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}

.site-nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.site-nav__link[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--color-accent);
}

.site-nav__index {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.06em;
  line-height: 1;
}

.site-nav__label {
  line-height: 1.4;
}

.site-header__aside {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-success);
  background: rgba(0, 200, 150, 0.1);
  border: 1px solid rgba(0, 200, 150, 0.28);
  border-radius: 100px;
  white-space: nowrap;
}

.live-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  animation: live-pulse 1.8s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 150, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(0, 200, 150, 0); }
}

.live-status__text {
  line-height: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle__label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
}

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

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

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

@media (max-width: 1199px) {
  .site-nav__index {
    display: none;
  }
  .site-nav__link {
    padding: 10px 8px;
    font-size: 13px;
  }
  .site-nav__list {
    gap: 0;
  }
}

@media (max-width: 991px) {
  :root {
    --header-h: 64px;
  }

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

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    width: min(340px, 100vw);
    background: var(--color-primary);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -12px 0 32px rgba(0, 0, 0, 0.3);
    transform: translateX(102%);
    transition: transform 0.35s var(--ease);
    margin: 0;
    padding: 24px 20px;
    overflow-y: auto;
    z-index: 99;
  }

  .site-nav[data-open] {
    transform: translateX(0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav__link {
    border-bottom: none;
    border-left: 3px solid transparent;
    border-radius: 0 4px 4px 0;
    padding: 14px 16px;
    font-size: 15px;
  }

  .site-nav__link:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .site-nav__link[aria-current="page"] {
    border-left-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.06);
  }

  .site-nav__index {
    display: inline;
    font-size: 11px;
  }

  body[data-nav-open] {
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 56px;
  }

  .site-header__inner {
    padding: 0 16px;
    gap: 10px;
  }

  .site-brand__slogan {
    display: none;
  }

  .site-brand__mark {
    width: 34px;
    height: 34px;
  }

  .site-brand__star {
    width: 12px;
    height: 12px;
  }

  .live-status {
    padding: 5px 8px;
  }

  .live-status__text {
    display: none;
  }

  .site-header__aside {
    gap: 8px;
  }
}

.site-footer {
  position: relative;
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.68);
  overflow: hidden;
}

.site-footer__starfield {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 20%, rgba(255, 255, 255, 0.4), transparent 100%),
    radial-gradient(1.5px 1.5px at 30% 65%, rgba(255, 255, 255, 0.5), transparent 100%),
    radial-gradient(1px 1px at 55% 80%, rgba(255, 255, 255, 0.3), transparent 100%),
    radial-gradient(1px 1px at 75% 55%, rgba(255, 255, 255, 0.4), transparent 100%),
    radial-gradient(1px 1px at 88% 25%, rgba(255, 255, 255, 0.5), transparent 100%),
    radial-gradient(1.5px 1.5px at 95% 70%, rgba(255, 255, 255, 0.3), transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1.3fr;
  gap: 48px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 60px 24px 48px;
}

.site-brand--footer .site-brand__mark {
  width: 44px;
  height: 44px;
}

.site-brand--footer .site-brand__star {
  width: 16px;
  height: 16px;
}

.site-brand--footer .site-brand__name {
  font-size: 21px;
}

.site-footer__trust {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
  border-left: 3px solid var(--color-accent);
  padding-left: 16px;
}

.site-footer__heading {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}

.site-footer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--color-accent);
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.site-footer__list a {
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.site-footer__list a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.site-footer__list--contact {
  gap: 14px;
}

.site-footer__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-footer__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.site-footer__value {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.site-footer__bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 10, 24, 0.5);
  z-index: 1;
}

.site-footer__bottom::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 96px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 18px 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__copyright,
.site-footer__icp {
  margin: 0;
}

@media (max-width: 991px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 20px 32px;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.28);
}

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

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn--dark:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 27, 63, 0.25);
}

.breadcrumbs {
  padding: 18px 0;
  font-size: 13px;
  color: var(--color-text);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: rgba(26, 45, 90, 0.4);
  font-size: 12px;
}

.breadcrumbs__link {
  color: var(--color-secondary);
  transition: color 0.2s var(--ease);
}

.breadcrumbs__link:hover {
  color: var(--color-accent);
}

.breadcrumbs__item--current {
  color: var(--color-text);
  font-weight: 600;
}

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 40px 0;
}

.section__heading {
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section__subtitle {
  font-size: 16px;
  color: var(--color-secondary);
  max-width: 560px;
}

.heading-highlight {
  position: relative;
  display: inline-block;
}

.heading-highlight::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -4px;
  bottom: 2px;
  height: 10px;
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.25), rgba(154, 77, 255, 0.15));
  transform: skewX(-18deg);
  z-index: -1;
  border-radius: 2px;
}

.text-gradient {
  background: linear-gradient(120deg, var(--color-accent) 20%, var(--color-accent-2) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

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

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

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

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

.card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--color-panel);
  box-shadow: 0 2px 12px rgba(11, 27, 63, 0.06);
  overflow: hidden;
}

.card__body {
  padding: 24px;
}

.image-container {
  position: relative;
  overflow: hidden;
  background: var(--color-panel);
  aspect-ratio: 16 / 10;
}

.image-container--wide {
  aspect-ratio: 21 / 9;
}

.image-container--portrait {
  aspect-ratio: 4 / 5;
}

.image-container--square {
  aspect-ratio: 1;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

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

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

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

  html {
    scroll-behavior: auto;
  }

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