:root {
  --primary-deep-blue: #0A1E3F;
  --secondary-orange: #FF6B35;
  --highlight-yellow: #FFD700;
  --bg-dark: #0B1020;
  --text-light: #E0E6F0;
  --text-muted: #9AA6B5;
  --line-grid: #1E2C47;
  --data-cyan: #00E5FF;
  --success-green: #21B573;
  --purple-accent: #8A2BE2;
  --header-height: 64px;
  --container-max: 1440px;
  --font-display: "Roboto Condensed", "Bahnschrift", "DIN Alternate", "Arial Narrow", "Noto Sans SC", "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Fira Code", "JetBrains Mono", Consolas, "Courier New", monospace;
}

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

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

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 60vh;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol {
  list-style: none;
}

address {
  font-style: normal;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

::selection {
  background: var(--secondary-orange);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--data-cyan);
  outline-offset: 2px;
  border-radius: 2px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-orange), var(--highlight-yellow), var(--data-cyan));
  z-index: 1001;
  pointer-events: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 30, 63, 0.96);
  border-bottom: 1px solid var(--line-grid);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  height: var(--header-height);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -80px;
  padding: 10px 16px;
  background: var(--secondary-orange);
  color: #fff;
  z-index: 120;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 8px;
}

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

.brand-mark {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line-grid);
  border-radius: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent);
}

.brand-card {
  width: 9px;
  height: 13px;
  border-radius: 1px;
}

.brand-card-red {
  background: #FF3B30;
  box-shadow: 0 0 8px rgba(255, 59, 48, 0.6);
}

.brand-card-yellow {
  background: var(--highlight-yellow);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: #fff;
}

.brand-name span {
  color: var(--secondary-orange);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 8px 10px;
  font-size: 15px;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: #fff;
  border-color: var(--secondary-orange);
}

.nav-link[aria-current="page"] {
  color: var(--highlight-yellow);
  border-color: var(--highlight-yellow);
  background: rgba(255, 215, 0, 0.06);
}

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

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 107, 53, 0.6);
  border-radius: 2px;
  background: rgba(255, 107, 53, 0.1);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.live-badge:hover {
  background: rgba(255, 107, 53, 0.22);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--secondary-orange);
  border-radius: 50%;
  animation: live-pulse 1.8s infinite;
}

@keyframes live-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.6);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0);
  }
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-grid);
  border-radius: 2px;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.02);
}

.nav-toggle:hover {
  color: #fff;
  border-color: var(--secondary-orange);
}

.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 14px;
}

.nav-toggle-icon span {
  height: 2px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}

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

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

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

.nav-toggle-label {
  font-size: 14px;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--line-grid);
  color: var(--text-muted);
  padding: 56px 24px 20px;
}

.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.footer-brand span {
  color: var(--secondary-orange);
}

.footer-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--data-cyan);
  margin-top: 6px;
  text-transform: uppercase;
}

.footer-address {
  margin-top: 20px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-contact {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary-orange);
  margin-bottom: 16px;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 15px;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-icp {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-light);
}

.footer-hours {
  margin-top: 8px;
  font-size: 14px;
}

.footer-trust {
  margin-top: 12px;
  font-size: 13px;
  color: var(--data-cyan);
  font-family: var(--font-mono);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-grid);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

/* Layout */
.container {
  width: min(100% - 32px, var(--container-max));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

.section-pad {
  padding: 64px 0;
}

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

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--secondary-orange);
  color: #fff;
  border: 1px solid var(--secondary-orange);
}

.btn-primary:hover {
  background: #ff8a5c;
  border-color: #ff8a5c;
}

.btn-outline {
  border: 1px solid var(--line-grid);
  color: var(--text-light);
  background: transparent;
}

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

.btn-ghost {
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--highlight-yellow);
}

/* Cards */
.card {
  background: linear-gradient(145deg, #101d3a, #0b1425);
  border: 1px solid var(--line-grid);
  border-radius: 2px;
  padding: 24px;
}

.card-data {
  border-top: 2px solid var(--data-cyan);
}

.card-accent {
  border-left: 3px solid var(--secondary-orange);
}

.data-text {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--data-cyan);
}

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary-orange);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  color: #fff;
  margin: 8px 0 24px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 60ch;
}

/* Breadcrumb */
.breadcrumb {
  margin: 24px 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-grid);
}

.breadcrumb-link {
  color: var(--text-muted);
}

.breadcrumb-link:hover {
  color: var(--data-cyan);
}

.breadcrumb-current {
  color: var(--text-light);
}

/* Media frame */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-grid);
  background: linear-gradient(145deg, #0d1936, #0b1020);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--line-grid) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(var(--line-grid) 1px, transparent 1px) 0 0 / 24px 24px;
  opacity: 0.5;
}

.media-frame img {
  position: relative;
  z-index: 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.media-frame[data-ratio="4:3"] {
  aspect-ratio: 4 / 3;
}

.media-frame[data-ratio="1:1"] {
  aspect-ratio: 1 / 1;
}

.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .site-nav {
    display: none;
  }

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

  .site-nav[data-open] {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--primary-deep-blue);
    border-bottom: 1px solid var(--line-grid);
    padding: 8px 16px 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }

  .site-nav[data-open] .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .site-nav[data-open] .nav-link {
    padding: 12px;
    border-left: 3px solid transparent;
    border-bottom: 1px solid var(--line-grid);
  }

  .site-nav[data-open] .nav-link:hover {
    border-left-color: var(--secondary-orange);
  }

  .site-nav[data-open] .nav-link[aria-current="page"] {
    border-left-color: var(--highlight-yellow);
  }

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

@media (max-width: 600px) {
  .header-inner {
    padding: 0 16px;
    gap: 12px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-mark {
    padding: 3px;
  }

  .brand-card {
    width: 7px;
    height: 11px;
  }

  .live-badge {
    padding: 6px 8px;
  }

  .nav-toggle {
    padding: 6px 8px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

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

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

  .live-dot {
    animation: none;
  }
}
