:root {
  --ink: #0b0f1a;
  --panel: #141d33;
  --neutron: #00ffa3;
  --pulse: #00c8ff;
  --gold: #ffd700;
  --paper: #f0f5f9;
  --muted: #aab4c0;
  --glass: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.08);
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Roboto Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --header-h: 76px;
  --max-w: 1440px;
  --container-w: 1240px;
  --radius: 16px;
  --radius-s: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(0, 255, 163, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(640px 420px at 88% -8%, rgba(0, 200, 255, 0.12), transparent 60%),
    radial-gradient(820px 520px at -8% 32%, rgba(0, 255, 163, 0.08), transparent 60%);
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
}

a {
  color: var(--pulse);
  text-underline-offset: 2px;
}

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

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

button {
  font-family: inherit;
  color: inherit;
  touch-action: manipulation;
}

::selection {
  background: var(--neutron);
  color: var(--ink);
}

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

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 200, 255, 0.16);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

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

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

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

.brand-mark {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--neutron), var(--pulse), var(--ink));
  box-shadow: 0 0 20px rgba(0, 255, 163, 0.22);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 8px;
  background: var(--ink);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  width: 20px;
  height: 3px;
  background: var(--neutron);
  transform: translateY(-50%) skewX(-18deg);
  box-shadow:
    -1px -7px 0 rgba(0, 200, 255, 0.9),
    -1px 7px 0 rgba(255, 255, 255, 0.45);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-name {
  display: block;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-accent {
  margin-left: 0.1em;
  color: var(--neutron);
}

.brand-tagline {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 1px;
  height: 2px;
  background: var(--neutron);
  box-shadow: 0 0 8px rgba(0, 255, 163, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--neutron);
  background: rgba(0, 255, 163, 0.05);
}

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

.nav-link[aria-current="page"] {
  color: var(--neutron);
  text-shadow: 0 0 10px rgba(0, 255, 163, 0.35);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid rgba(0, 255, 163, 0.3);
  border-radius: 999px;
  background: rgba(0, 255, 163, 0.06);
  color: var(--neutron);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

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

.nav-toggle-bar {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background 0.2s var(--ease);
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: 3px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.05);
}

.scroll-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--neutron), var(--pulse));
  box-shadow: 0 0 12px rgba(0, 255, 163, 0.55);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--neutron);
  color: #06130e;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

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

.site-main {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 60vh;
}

#main-content {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

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

.section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--pulse);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--neutron);
  box-shadow: 0 0 8px rgba(0, 255, 163, 0.7);
}

.section-title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

.page-hero {
  position: relative;
  padding: 72px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(0, 200, 255, 0.06), transparent 70%);
}

.page-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
  padding: 14px 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(255, 255, 255, 0.25);
}

.breadcrumb-link {
  color: var(--pulse);
  text-decoration: none;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

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

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

.btn-primary {
  background: var(--neutron);
  border-color: var(--neutron);
  color: #06130e;
  box-shadow: 0 0 24px rgba(0, 255, 163, 0.25);
}

.btn-primary:hover {
  background: #baffea;
  border-color: #baffea;
  box-shadow: 0 0 36px rgba(0, 255, 163, 0.4);
}

.btn-ghost {
  background: rgba(0, 200, 255, 0.06);
  border-color: rgba(0, 200, 255, 0.4);
  color: var(--pulse);
}

.btn-ghost:hover {
  background: rgba(0, 200, 255, 0.14);
  border-color: var(--pulse);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.22);
}

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

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

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

.bento {
  display: grid;
  grid-auto-rows: minmax(220px, auto);
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-item {
  grid-column: span 6;
  min-height: 220px;
}

.bento-item--wide {
  grid-column: span 8;
}

.bento-item--tall {
  grid-column: span 4;
  grid-row: span 2;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(20, 29, 51, 0.92), rgba(11, 15, 26, 0.72));
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neutron), var(--pulse));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.card:hover {
  border-color: rgba(0, 255, 163, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.card-body {
  color: var(--muted);
  font-size: 0.92rem;
}

.data-number {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--neutron);
}

.data-number.is-gold {
  color: var(--gold);
}

.data-number.is-blue {
  color: var(--pulse);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid rgba(0, 200, 255, 0.3);
  border-radius: 999px;
  background: rgba(0, 200, 255, 0.1);
  color: var(--pulse);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.tag--green {
  border-color: rgba(0, 255, 163, 0.35);
  background: rgba(0, 255, 163, 0.1);
  color: var(--neutron);
}

.tag--blue {
  border-color: rgba(0, 200, 255, 0.35);
  background: rgba(0, 200, 255, 0.1);
  color: var(--pulse);
}

.tag--gold {
  border-color: rgba(255, 215, 0, 0.35);
  background: rgba(255, 215, 0, 0.08);
  color: var(--gold);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.filter-button {
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.filter-button:hover {
  border-color: rgba(0, 200, 255, 0.5);
  color: var(--paper);
}

.filter-button[aria-pressed="true"],
.filter-button.is-active {
  border-color: var(--neutron);
  background: rgba(0, 255, 163, 0.14);
  color: var(--neutron);
  box-shadow: 0 0 18px rgba(0, 255, 163, 0.18);
}

.image-block {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--panel), rgba(20, 29, 51, 0.4));
}

.image-block::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(120deg, transparent 20%, rgba(0, 255, 163, 0.08) 50%, transparent 80%);
  transform: translateX(-100%);
  transition: transform 0.8s var(--ease);
}

.image-block:hover::before {
  transform: translateX(100%);
}

.image-block::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 40%;
  background: linear-gradient(transparent, rgba(11, 15, 26, 0.7));
}

.image-block img,
.image-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.skill-path {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 28px 0;
}

.skill-path::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, rgba(0, 255, 163, 0.55), rgba(0, 200, 255, 0.55));
}

.skill-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.04);
}

.skill-step::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--neutron);
  box-shadow: 0 0 0 5px rgba(0, 255, 163, 0.15), 0 0 12px rgba(0, 255, 163, 0.5);
}

.skill-step-title {
  margin-bottom: 4px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--paper);
}

.skill-step-text {
  color: var(--muted);
  font-size: 0.92rem;
}

.prose {
  max-width: 72ch;
  color: var(--muted);
}

.prose p {
  margin: 0 0 1.25em;
}

.prose h2 {
  margin: 2em 0 0.5em;
  color: var(--paper);
  font-size: 1.4rem;
  font-weight: 800;
}

.prose a {
  color: var(--neutron);
  text-decoration: underline;
}

.prose ul,
.prose ol {
  margin: 0 0 1.25em;
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 0.4em;
}

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

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

.site-footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid rgba(0, 200, 255, 0.18);
  background: rgba(6, 9, 16, 0.96);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.4);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 163, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.site-footer::after {
  content: "AYX";
  position: absolute;
  right: -40px;
  bottom: -60px;
  font-size: 220px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding-top: 56px;
  padding-bottom: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.6fr;
  gap: 48px;
}

.footer-brand-name {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.footer-brand-name span {
  color: var(--neutron);
}

.footer-text {
  max-width: 46ch;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-icp {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.footer-heading {
  margin: 0 0 16px;
  color: var(--pulse);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

.footer-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease), text-shadow 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--neutron);
  text-shadow: 0 0 10px rgba(0, 255, 163, 0.35);
}

.contact-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.contact-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  font-size: 0.9rem;
}

.contact-label {
  padding-top: 1px;
  color: var(--pulse);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-value {
  color: var(--paper);
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-copy {
  margin: 0;
}

@media (min-width: 961px) {
  body {
    background-attachment: fixed;
  }
}

@media (max-width: 1180px) {
  .bento-item--wide {
    grid-column: span 7;
  }

  .bento-item--tall {
    grid-column: span 5;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
    background: rgba(11, 15, 26, 0.97);
    border-bottom: 1px solid rgba(0, 200, 255, 0.22);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
    transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .site-nav[data-open] {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 24px;
  }

  .nav-link {
    padding: 14px 16px;
    border-left: 2px solid transparent;
    font-size: 1.05rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link[aria-current="page"] {
    border-left-color: var(--neutron);
  }

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

  .bento-item,
  .bento-item--wide,
  .bento-item--tall {
    grid-column: 1 / -1;
  }

  .section {
    padding: 48px 0;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .brand-tagline {
    display: none;
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .container {
    width: min(100% - 32px, var(--container-w));
  }

  .section {
    padding: 40px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .contact-item {
    grid-template-columns: 48px 1fr;
  }

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

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

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

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