:root {
  --primary-deep: #0A1F44;
  --accent-orange: #FF6B35;
  --gold-accent: #D4AF37;
  --bg-mid: #07132E;
  --bg-light: #F4F7FA;
  --surface-white: #FFFFFF;
  --text-light: #E6EDF5;
  --text-muted: #9FB3C8;
  --border-dark: #2E4A6B;
  --focus-glow: #FFB84D;
  --font-headline: 'Arial Black', 'Impact', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --container-w: 1240px;
  --header-h: 76px;
  --radius-card: 16px;
  --radius-small: 8px;
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.25);
  --shadow-lift: 0 20px 48px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 10px);
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-light);
  background: var(--primary-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-headline);
  line-height: 1.15;
  color: var(--text-light);
}

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

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

button, input, textarea {
  font: inherit;
}

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

ul, ol {
  list-style: none;
}

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

::selection {
  background: var(--accent-orange);
  color: var(--primary-deep);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.1rem;
  background: var(--accent-orange);
  color: var(--primary-deep);
  font-family: var(--font-headline);
  font-size: 0.9375rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  border-radius: var(--radius-small);
  transform: translateY(-250%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--focus-glow);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 19, 46, 0.92);
  border-bottom-color: rgba(255, 107, 53, 0.38);
  box-shadow: 0 8px 30px rgba(2, 8, 22, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
}

.header-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-orange), var(--gold-accent));
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.6);
}

.header-inner {
  max-width: var(--container-w);
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.9), rgba(212, 175, 55, 0.98));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  padding: 2px;
  font-family: var(--font-headline);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary-deep);
  transition: transform 0.35s var(--ease), filter 0.35s;
}

.brand-mark-core {
  display: block;
  transform: translateY(1px);
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  transform: rotate(-10deg) scale(1.05);
}

.brand-lockup {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand-cn {
  font-family: var(--font-headline);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
}

.brand-en {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  color: var(--gold-accent);
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 2px;
  color: var(--text-light);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.25s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  right: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--gold-accent));
  transform-origin: left;
  transition: right 0.35s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #fff;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
  right: 0;
}

.nav-link[aria-current="page"] {
  color: #fff;
}

.nav-cta {
  margin-left: clamp(4px, 1vw, 12px);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-small);
  font-family: var(--font-headline);
  font-size: 0.9375rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s, color 0.3s;
}

.btn-primary {
  background: var(--accent-orange);
  color: var(--primary-deep);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s var(--ease);
}

.btn-primary:hover::before {
  left: 120%;
}

.btn-primary:hover {
  background: #ff8356;
  color: var(--primary-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.45);
}

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

.btn-ghost {
  border: 1px solid rgba(255, 107, 53, 0.75);
  color: var(--text-light);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--gold-accent);
  background: rgba(255, 107, 53, 0.12);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.1rem;
  font-size: 1.0625rem;
}

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

.header-member {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 50%;
  color: var(--gold-accent);
  transition: border-color 0.3s, color 0.3s, background-color 0.3s, transform 0.3s;
}

.header-member:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-2px);
}

.member-icon {
  display: block;
  font-family: var(--font-headline);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
}

.member-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-small);
}

.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 99px;
  transition: transform 0.35s var(--ease), opacity 0.35s, background-color 0.25s;
}

.nav-toggle:hover .nav-toggle-line {
  background: var(--accent-orange);
}

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

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

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

.container {
  width: min(100% - clamp(24px, 6vw, 80px), var(--container-w));
  margin-inline: auto;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 4vw, 40px);
}

.section-head {
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headline);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-accent);
}

.section-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--accent-orange);
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.6);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  margin-top: 1rem;
  line-height: 1.12;
}

.section-sub {
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 62ch;
}

.grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
}

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

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

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

.card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: clamp(20px, 3vw, 28px);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, background-color 0.35s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 107, 53, 0.55);
  box-shadow: var(--shadow-lift);
  background: rgba(255, 255, 255, 0.07);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.18), rgba(212, 175, 55, 0.18));
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-accent);
  font-family: var(--font-headline);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-light);
}

.card-text {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}

.card-link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 0.9375rem;
}

.card-link::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.card-link:hover {
  color: #ff8356;
}

.card-link:hover::after {
  transform: translateX(5px);
}

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--media-ratio, 16 / 10);
  background: linear-gradient(140deg, rgba(10, 31, 68, 0.7), rgba(7, 19, 46, 0.9) 45%, rgba(255, 107, 53, 0.18));
  border: 1px solid var(--border-dark);
  border-radius: calc(var(--radius-card) - 4px);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: repeating-linear-gradient(45deg, transparent 0 16px, rgba(255, 255, 255, 0.04) 16px 17px);
}

.media-frame::after {
  content: "AYX MEDIA";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.45em;
  color: rgba(230, 237, 245, 0.32);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: var(--border-dark);
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color 0.25s;
}

.breadcrumbs a:hover,
.breadcrumbs a[aria-current="page"] {
  color: var(--accent-orange);
}

.site-footer {
  position: relative;
  background: var(--bg-mid);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  overflow: hidden;
}

.footer-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), var(--gold-accent) 55%, transparent);
}

.footer-inner {
  max-width: var(--container-w);
  margin-inline: auto;
  padding: clamp(44px, 7vw, 88px) clamp(20px, 4vw, 40px) 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 64px);
}

.footer-brand {
  max-width: 44ch;
}

.footer-logo {
  display: inline-flex;
  align-items: flex-end;
  gap: 6px;
  font-family: var(--font-headline);
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

.footer-logo span {
  color: var(--accent-orange);
  font-size: 1.15rem;
  letter-spacing: 0.35em;
  margin-bottom: 0.1em;
}

.footer-tagline {
  margin: 18px 0 12px;
  font-size: 1.05rem;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

.footer-contact {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 2;
}

.footer-contact p {
  margin-bottom: 2px;
}

.footer-nav h3 {
  font-family: var(--font-headline);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 18px;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  position: relative;
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: color 0.25s, padding-left 0.25s;
}

.footer-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: var(--accent-orange);
  transition: width 0.3s var(--ease);
}

.footer-nav a:hover {
  padding-left: 10px;
  color: var(--text-light);
}

.footer-nav a:hover::before {
  width: 8px;
}

.footer-statement {
  margin-top: clamp(30px, 5vw, 60px);
  padding: 18px 22px;
  border-left: 3px solid var(--gold-accent);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(212, 175, 55, 0.04) 60%);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.9;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-bottom p {
  line-height: 1.6;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

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

  .header-inner {
    padding-inline: 18px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 0.72rem;
  }

  .brand-cn {
    font-size: 1.3rem;
  }

  .brand-en {
    font-size: 0.64rem;
    letter-spacing: 0.26em;
  }

  .nav-toggle {
    display: flex;
  }

  .header-member {
    width: 40px;
    height: 40px;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 18px clamp(18px, 4vw, 40px) 26px;
    background: linear-gradient(160deg, rgba(7, 19, 46, 0.99), rgba(10, 31, 68, 0.96));
    border-bottom: 2px solid rgba(255, 107, 53, 0.4);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .site-header[data-open="true"] .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    padding: 13px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    white-space: normal;
  }

  .nav-link::after {
    bottom: 0;
    height: 2px;
  }

  .nav-cta {
    margin-top: 16px;
    width: 100%;
  }

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

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

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

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

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .card:hover,
  .btn-primary:hover,
  .header-member:hover {
    transform: none;
    box-shadow: none;
  }

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