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

:root {
  --bg: #0a0e27;
  --bg-alt: #11162b;
  --green: #00ff88;
  --green-dark: #00a856;
  --orange: #ff6a00;
  --orange-dark: #b34e00;
  --text: #f5f7fa;
  --text-body: #b8c0d0;
  --text-muted: #7a8299;
  --border: #2c3550;
  --font-head: 'Arial Black', 'Impact', 'Noto Sans SC', sans-serif;
  --font-body: 'Roboto Mono', 'SF Mono', 'Menlo', 'Consolas', 'Noto Sans SC', monospace;
  --container: 1200px;
  --header-h: 64px;
  --header-top: 16px;
  --skew: -5deg;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background:
    radial-gradient(circle at 80% -5%, rgba(255, 106, 0, 0.1), transparent 42%),
    radial-gradient(circle at 10% 110%, rgba(0, 255, 136, 0.07), transparent 42%),
    linear-gradient(rgba(0, 255, 136, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 48px 48px, 48px 48px, auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: 0.02em;
  transform: skewX(var(--skew));
}

p {
  margin: 0 0 1em;
}

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

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

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

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

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3000;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  will-change: transform;
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: var(--header-top);
  left: 16px;
  z-index: 2990;
  padding: 10px 18px;
  background: var(--green);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}

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

.site-header {
  position: fixed;
  top: var(--header-top);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(calc(100% - 24px), 1080px);
  height: var(--header-h);
  background: rgba(10, 14, 39, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 255, 136, 0.28);
  border-radius: 999px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 28px rgba(0, 255, 136, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding: 0 10px 0 24px;
}

.header-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.header-brand:hover {
  color: var(--green);
}

.header-brand-mark {
  color: var(--green);
}

.header-brand-name {
  color: var(--text);
}

.header-brand-sep {
  margin: 0 2px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
}

.header-brand-en {
  font-family: var(--font-body);
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-nav-item {
  margin: 0;
  padding: 0;
}

.header-nav-link {
  display: block;
  position: relative;
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--text-body);
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.header-nav-link::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}

.header-nav-link:hover {
  color: var(--text);
}

.header-nav-link:hover::after,
.header-nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green);
  text-transform: uppercase;
  white-space: nowrap;
}

.header-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: live-pulse 1.6s var(--ease) infinite;
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.6);
  }
  50% {
    opacity: 0.5;
    box-shadow: 0 0 0 6px rgba(0, 255, 136, 0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--green);
  color: var(--bg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  border: none;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--orange);
  color: var(--bg);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.75rem;
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}

.btn-outline:hover {
  background: rgba(0, 255, 136, 0.08);
  border-color: var(--orange);
  color: var(--orange);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--green);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) 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(-7px) rotate(-45deg);
}

.site-main {
  flex: 1 0 auto;
  padding-top: calc(var(--header-h) + var(--header-top) + 28px);
}

.page-head {
  padding: 0 0 32px;
}

.page-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  margin-bottom: 0.3em;
  text-transform: uppercase;
}

.page-lead {
  max-width: 60ch;
  font-size: 1.0625rem;
  color: var(--text-body);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

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

.breadcrumb [aria-current="page"] {
  color: var(--green);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}

.section-label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--green);
}

.data-number {
  font-family: var(--font-body);
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1;
  color: var(--green);
}

.prose {
  max-width: 68ch;
  font-size: 0.9375rem;
  color: var(--text-body);
}

.prose p {
  margin-bottom: 1em;
}

.prose h2,
.prose h3 {
  margin-top: 1.4em;
  color: var(--text);
}

.panel {
  position: relative;
  padding: 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  width: 48px;
  height: 2px;
  background: var(--green);
}

.tag {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.25);
  color: var(--green);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(0, 255, 136, 0.06), rgba(255, 106, 0, 0.06)),
    var(--bg-alt);
  border: 1px solid var(--border);
}

.image-frame::before {
  content: "IMG FRAME";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.col-3 {
  grid-column: span 3;
}

.col-4 {
  grid-column: span 4;
}

.col-5 {
  grid-column: span 5;
}

.col-6 {
  grid-column: span 6;
}

.col-7 {
  grid-column: span 7;
}

.col-8 {
  grid-column: span 8;
}

.col-9 {
  grid-column: span 9;
}

.col-12 {
  grid-column: span 12;
}

.site-footer {
  position: relative;
  flex: 0 0 auto;
  margin-top: auto;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green) 25%, var(--orange) 70%, transparent);
  pointer-events: none;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1.6fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}

.footer-brand-col,
.footer-nav-col,
.footer-contact-col,
.footer-legal-col {
  min-width: 0;
}

.footer-brand-name {
  display: block;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--text);
}

.footer-brand-en {
  display: block;
  margin-top: 4px;
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.footer-trust {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 2px solid var(--green);
  font-size: 0.8125rem;
  color: var(--green);
}

.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-nav-list,
.footer-legal-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav-list a,
.footer-legal-list a {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--text-body);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-nav-list a:hover,
.footer-legal-list a:hover {
  color: var(--green);
  transform: translateX(3px);
}

.footer-link {
  margin-bottom: 6px;
  font-size: 0.875rem;
  color: var(--text-body);
}

.footer-address {
  margin-top: 12px;
  font-size: 0.8125rem;
  font-style: normal;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-support {
  margin-top: 8px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(44, 53, 80, 0.6);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-copy,
.footer-icp {
  margin: 0;
}

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

@media (max-width: 960px) {
  .header-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 990;
    width: calc(100% - 32px);
    margin-left: 0;
    padding: 12px;
    background: rgba(17, 22, 43, 0.98);
    border: 1px solid rgba(0, 255, 136, 0.28);
    border-radius: 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, visibility 0.2s;
  }

  .header-nav[data-open] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .header-nav-link {
    display: block;
    padding: 12px 14px;
    font-size: 0.9375rem;
  }

  .header-nav-link::after {
    left: 14px;
    right: 14px;
    bottom: 6px;
  }

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

  .header-live,
  .btn-reach {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding-left: 20px;
  }

  .header-brand-en {
    display: none;
  }

  .grid {
    gap: 16px;
  }

  .col-3,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8,
  .col-9 {
    grid-column: span 12;
  }

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

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

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

  .header-live-dot {
    animation: none;
  }

  .header-nav {
    transition: none;
  }
}
