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

:root {
  --bg: #0A0E17;
  --bg-raised: #111A27;
  --bg-footer: #060A11;
  --accent: #00D4FF;
  --fire: #FF3B30;
  --text-dim: #B0B8C4;
  --blue-deep: #1C2B4A;
  --snow: #D6F4FF;
  --white: #FFFFFF;
  --glass-bg: rgba(10, 14, 23, 0.72);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-hover: rgba(255, 255, 255, 0.18);
  --font-head: "DIN Condensed", "Oswald", "Arial Narrow", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --content-w: 1180px;
  --header-h: 64px;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: #E6EBF2;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #F4F8FC;
}

h1 { font-size: clamp(44px, 7.5vw, 84px); font-weight: 700; }
h2 { font-size: clamp(30px, 4.5vw, 54px); font-weight: 600; }
h3 { font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; }
h4 { font-size: 18px; font-weight: 500; }

p { margin-bottom: 1em; }

a { color: var(--accent); text-decoration: none; }

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

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

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

.site-main {
  min-height: 70vh;
  padding-top: 112px;
}

.page-section {
  padding-block: 56px;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
}

.section-index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
  white-space: nowrap;
}

.section-title {
  margin-bottom: 0;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  background: transparent;
  color: var(--snow);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 6px 24px rgba(0, 212, 255, 0.28);
}

.btn-primary:hover {
  background: var(--snow);
  color: var(--bg);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.42);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--snow);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm { padding: 6px 16px; font-size: 14px; }

.btn-quick { margin-left: 4px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.4);
  color: #FF7A6F;
}

.data-number {
  font-family: var(--font-mono);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 600;
  color: var(--snow);
  letter-spacing: -0.03em;
  line-height: 1;
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  padding: 28px;
}

.card--glass {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 9;
  min-height: 180px;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(0, 212, 255, 0.2), transparent 50%),
    linear-gradient(160deg, var(--blue-deep), var(--bg) 100%);
}

.visual-frame--wide { aspect-ratio: 21 / 9; }

.visual-frame--portrait { aspect-ratio: 3 / 4; }

.visual-frame--square { aspect-ratio: 1 / 1; }

.visual-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  margin-bottom: 28px;
  color: var(--text-dim);
}

.breadcrumb__link {
  color: var(--text-dim);
  transition: color 0.2s ease;
}

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

.breadcrumb__sep {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb__current {
  color: var(--snow);
}

.skip-link {
  position: fixed;
  top: -48px;
  left: 16px;
  z-index: 1200;
  background: var(--accent);
  color: var(--bg);
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0, 212, 255, 0.4);
  transition: top 0.3s var(--ease-out);
}

.skip-link:focus {
  top: 16px;
  color: var(--bg);
  text-decoration: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--fire));
  border-radius: 0 2px 2px 0;
  z-index: 1100;
  will-change: width;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 20px 0;
  pointer-events: none;
}

.site-header__bar {
  position: relative;
  max-width: var(--content-w);
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 16px;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--glass-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header__bar:hover {
  border-color: rgba(0, 212, 255, 0.25);
  background: rgba(12, 17, 28, 0.78);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand:hover {
  color: var(--white);
  text-decoration: none;
}

.site-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.35), rgba(255, 59, 48, 0.12) 70%);
  border: 1px solid rgba(0, 212, 255, 0.35);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--snow);
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.site-brand:hover .site-brand__mark {
  transform: rotate(-4deg) scale(1.05);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.35);
}

.site-brand__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  gap: 2px;
}

.site-brand__name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1;
}

.site-brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dim);
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
  overflow: hidden;
  text-decoration: none;
}

.site-nav__link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--snow);
  text-decoration: none;
}

.site-nav__link[aria-current="page"] {
  color: var(--bg);
  background: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

.site-nav__link[aria-current="page"]:hover {
  color: var(--bg);
}

.site-nav__divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 8px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

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

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--snow);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
}

.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);
}

.site-footer {
  position: relative;
  background: var(--bg-footer);
  color: var(--text-dim);
  margin-top: 80px;
  border-top: 1px solid rgba(0, 212, 255, 0.14);
  overflow: hidden;
}

.site-footer__slant {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background:
    linear-gradient(120deg, rgba(0, 212, 255, 0.24) 0%, transparent 24%),
    linear-gradient(120deg, transparent 58%, rgba(255, 59, 48, 0.16) 84%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, 100% 22%, 0 100%);
  pointer-events: none;
}

.site-footer__container {
  position: relative;
  z-index: 1;
  width: min(var(--content-w), 100% - 40px);
  margin-inline: auto;
  padding: 80px 0 40px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.site-brand--footer .site-brand__mark {
  width: 36px;
  height: 36px;
  font-size: 14px;
}

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

.site-footer__trust {
  font-size: 15px;
  line-height: 1.7;
  max-width: 380px;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  color: rgba(214, 244, 255, 0.82);
  margin-bottom: 0;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
}

.site-footer__contact-item {
  color: var(--text-dim);
  line-height: 1.5;
}

.site-footer__address {
  font-style: normal;
}

.site-footer__note {
  font-size: 12px;
  color: rgba(176, 184, 196, 0.7);
  letter-spacing: 0.03em;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__heading {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.site-footer__link {
  color: var(--text-dim);
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  padding-block: 2px;
}

.site-footer__link:hover {
  color: var(--snow);
  border-color: var(--accent);
  text-decoration: none;
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  width: min(var(--content-w), 100% - 40px);
  margin-inline: auto;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(176, 184, 196, 0.8);
}

.site-footer__sep {
  color: rgba(255, 255, 255, 0.18);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple 0.6s var(--ease-out) forwards;
  pointer-events: none;
  z-index: 2;
}

@keyframes ripple {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

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

@media (max-width: 1024px) {
  .site-header__bar {
    max-width: calc(100% - 8px);
  }

  .site-nav__link {
    padding: 10px 10px;
    font-size: 14px;
  }

  .btn-quick {
    padding: 6px 12px;
    font-size: 13px;
  }

  .site-footer__container {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 32px;
  }

  .site-footer__col:first-of-type {
    grid-column: 1 / -1;
  }
}

@media (max-width: 880px) {
  .site-header {
    padding: 12px 12px 0;
  }

  .site-header__bar {
    height: auto;
    min-height: 56px;
    padding: 6px 6px 6px 12px;
    border-radius: 999px;
  }

  .site-brand__name {
    font-size: 19px;
  }

  .site-brand__sub {
    font-size: 9px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border-radius: var(--radius-xl);
    background: rgba(8, 12, 20, 0.94);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    margin-left: 0;
  }

  .site-nav[data-open] {
    display: flex;
  }

  .site-nav__link {
    padding: 13px 16px;
    font-size: 16px;
    border-radius: var(--radius-md);
  }

  .site-nav__divider {
    width: auto;
    height: 1px;
    margin: 8px 0;
  }

  .btn-quick {
    margin: 4px 0 0;
    justify-content: center;
  }

  .site-footer__container {
    grid-template-columns: 1fr 1fr;
    padding-top: 60px;
  }

  .site-footer__bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--content-w));
  }

  .site-main {
    padding-top: 84px;
  }

  .page-section {
    padding-block: 36px;
  }

  .site-footer__container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__trust {
    max-width: 100%;
  }

  .site-footer__brand {
    gap: 14px;
  }

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

  .section-head {
    flex-direction: column;
    gap: 4px;
  }
}

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

  .ripple {
    display: none;
  }

  .site-header__bar,
  .site-nav,
  .btn,
  .site-nav__link {
    transition: none;
  }
}
