:root {
  --stk-bg: #0B1026;
  --stk-bg-raised: #111A3D;
  --stk-line: #2A3766;
  --stk-ink: #F0F4FF;
  --stk-muted: #C0C8E0;
  --stk-neon: #00FF9C;
  --stk-orange: #FF6B1A;
  --stk-ice: #00D4FF;
  --stk-font: "Bahnschrift", "DIN Alternate", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --stk-mono: "Roboto Mono", "SFMono-Regular", "Consolas", monospace;
  --stk-container: 1360px;
  --stk-header-h: 76px;
  --stk-gap: clamp(16px, 2.4vw, 40px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--stk-font);
  background: var(--stk-bg);
  color: var(--stk-ink);
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 7vw, 72px);
}

h2 {
  font-size: clamp(30px, 5vw, 52px);
}

h3 {
  font-size: clamp(20px, 3vw, 28px);
}

p {
  max-width: 64ch;
}

a {
  color: var(--stk-neon);
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--stk-neon);
  outline-offset: 3px;
}

#main-content:focus {
  outline: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--stk-neon);
  color: #0B1026;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

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

.stk-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 16, 38, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stk-line);
}

.stk-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--stk-neon) 0%, var(--stk-ice) 32%, transparent 68%, var(--stk-orange) 100%);
  z-index: 1;
  pointer-events: none;
}

.stk-header::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 12%;
  width: 180px;
  height: 22px;
  background: repeating-linear-gradient(135deg, var(--stk-line) 0 1px, transparent 1px 9px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.stk-header__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--stk-container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
  display: flex;
  align-items: stretch;
  min-height: var(--stk-header-h);
}

.stk-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--stk-ink);
  text-decoration: none;
  min-width: 0;
}

.stk-brand:hover .stk-brand__text strong {
  color: var(--stk-neon);
}

.stk-brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--stk-neon) 0%, var(--stk-ice) 100%);
  color: #0B1026;
  font-family: var(--stk-mono);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.04em;
  transform: skewX(-6deg);
  box-shadow: 0 0 24px rgba(0, 255, 156, 0.24);
  border-radius: 2px;
}

.stk-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.stk-brand__text strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.stk-brand__text small {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--stk-muted);
  margin-top: 4px;
  white-space: nowrap;
}

.stk-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.stk-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 30px);
  height: 100%;
}

.stk-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--stk-header-h);
  padding: 0 2px;
  color: var(--stk-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.stk-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--stk-neon);
  transition: width 0.24s ease;
}

.stk-nav__link:hover {
  color: var(--stk-ink);
}

.stk-nav__link:hover::after,
.stk-nav__link[aria-current="page"]::after {
  width: 100%;
}

.stk-nav__link[aria-current="page"] {
  color: var(--stk-neon);
}

.stk-nav__status {
  display: none;
}

.stk-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--stk-neon);
  box-shadow: 0 0 12px var(--stk-neon);
  margin-right: 8px;
  flex: 0 0 auto;
}

.stk-nav-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--stk-line);
  background: transparent;
  cursor: pointer;
  border-radius: 0;
}

.stk-nav-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--stk-ink);
  transition: transform 0.24s ease, opacity 0.2s ease;
}

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

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

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

.stk-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 120px);
  background: linear-gradient(180deg, var(--stk-bg) 0%, #070A1A 100%);
  border-top: 1px solid var(--stk-line);
}

.stk-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--stk-neon) 28%, var(--stk-orange) 72%, transparent);
}

.stk-footer__top {
  width: 100%;
  max-width: var(--stk-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(40px, 7vw, 80px) clamp(16px, 4vw, 48px);
}

.stk-footer h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--stk-muted);
  margin-bottom: 18px;
  padding-bottom: 10px;
  position: relative;
}

.stk-footer h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 2px;
  background: var(--stk-neon);
}

.stk-footer__brand .stk-brand {
  margin-bottom: 18px;
}

.stk-footer__trust {
  color: var(--stk-muted);
  font-size: 14px;
  line-height: 1.8;
  border-left: 2px solid var(--stk-neon);
  padding-left: 14px;
  max-width: 38ch;
}

.stk-footer__links {
  list-style: none;
  display: grid;
  gap: 10px;
}

.stk-footer__link {
  color: var(--stk-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  padding-left: 16px;
}

.stk-footer__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 2px;
  background: var(--stk-orange);
  transform: translateY(-50%);
}

.stk-footer__link:hover {
  color: var(--stk-neon);
}

.stk-footer__contact-list {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px 14px;
  margin: 0;
}

.stk-footer__contact-list dt {
  color: var(--stk-muted);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.stk-footer__contact-list dd {
  margin: 0;
  color: var(--stk-ink);
  font-size: 14px;
  word-break: break-word;
}

.stk-footer__bottom {
  width: 100%;
  max-width: var(--stk-container);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  border-top: 1px solid var(--stk-line);
  padding: 20px clamp(16px, 4vw, 48px);
  color: var(--stk-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.stk-footer__bottom p {
  margin: 0;
}

.stk-container {
  width: 100%;
  max-width: var(--stk-container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.stk-section {
  padding-block: clamp(48px, 8vw, 128px);
}

.stk-section--tight {
  padding-block: clamp(24px, 4vw, 56px);
}

.stk-section--signal {
  background: var(--stk-bg-raised);
  border-block: 1px solid var(--stk-line);
}

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

.stk-grid--split {
  grid-template-columns: 5fr 3fr;
  align-items: start;
}

.stk-media {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background: linear-gradient(135deg, #111A3D 0%, #0B1026 100%);
  border: 1px solid var(--stk-line);
}

.stk-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 156, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 156, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

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

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

.stk-media--3x2 {
  aspect-ratio: 3 / 2;
}

.stk-media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stk-media__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 8px 14px;
  background: rgba(7, 10, 26, 0.82);
  color: var(--stk-ink);
  font-size: 12px;
  letter-spacing: 0.08em;
  border-left: 2px solid var(--stk-neon);
}

.stk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  background: var(--stk-neon);
  color: #0B1026;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.24s ease, color 0.24s ease;
}

.stk-btn:hover {
  background: var(--stk-ice);
  color: #0B1026;
}

.stk-btn--ghost {
  background: transparent;
  color: var(--stk-neon);
  border: 1px solid var(--stk-neon);
}

.stk-btn--ghost:hover {
  background: rgba(0, 255, 156, 0.12);
  color: var(--stk-neon);
}

.stk-btn--orange {
  background: var(--stk-orange);
  color: #0B1026;
}

.stk-btn--orange:hover {
  background: #ff8a45;
  color: #0B1026;
}

.stk-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  background: var(--stk-bg-raised);
  border-left: 3px solid var(--stk-orange);
  color: var(--stk-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.stk-panel {
  background: var(--stk-bg-raised);
  border-left: 2px solid var(--stk-neon);
  padding: clamp(18px, 3vw, 32px);
  position: relative;
}

.stk-tabs {
  margin-top: 24px;
}

.stk-tabs__bar {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--stk-line);
  overflow-x: auto;
  scrollbar-width: none;
}

.stk-tabs__bar::-webkit-scrollbar {
  display: none;
}

.stk-tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 16px 22px 14px;
  color: var(--stk-muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.24s ease, border-color 0.24s ease;
}

.stk-tab:hover {
  color: var(--stk-ink);
}

.stk-tab[aria-selected="true"] {
  color: var(--stk-neon);
  border-bottom-color: var(--stk-neon);
}

.stk-tabpanel {
  padding: clamp(20px, 3vw, 40px) 0;
}

.stk-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--stk-muted);
  margin-bottom: 20px;
}

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

.stk-breadcrumb a:hover {
  color: var(--stk-neon);
}

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

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

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

@media (max-width: 980px) {
  .stk-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .stk-footer__brand {
    grid-column: 1 / -1;
  }

  .stk-grid--split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .stk-nav-toggle {
    display: flex;
  }

  .stk-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    display: block;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    background: rgba(11, 16, 38, 0.98);
    border-bottom: 1px solid transparent;
    transition: max-height 0.28s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .stk-nav[data-open] {
    max-height: calc(100vh - var(--stk-header-h));
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    border-bottom-color: var(--stk-line);
  }

  .stk-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    padding: 8px clamp(20px, 6vw, 40px);
  }

  .stk-nav__link {
    min-height: 48px;
    border-bottom: 1px solid rgba(42, 55, 102, 0.55);
  }

  .stk-nav__link::after {
    left: auto;
    right: 0;
    bottom: 0;
    width: 0;
    background: var(--stk-neon);
  }

  .stk-nav__link:hover::after,
  .stk-nav__link[aria-current="page"]::after {
    width: 100%;
  }

  .stk-nav__status {
    display: flex;
    align-items: center;
    padding: 14px clamp(20px, 6vw, 40px) 22px;
    color: var(--stk-muted);
    font-size: 13px;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 620px) {
  .stk-footer__top {
    grid-template-columns: 1fr;
  }

  .stk-footer__brand {
    grid-column: auto;
  }

  .stk-footer__bottom {
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
  }

  .stk-brand__text small {
    letter-spacing: 0.08em;
  }
}

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

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