:root {
  --page-bg: #12345A;
  --deep-bg: #0D2442;
  --content-bg: #F4F7FA;
  --card-bg: #E9EEF5;
  --text: #1C2736;
  --muted: #5A6678;
  --gold: #D0A74F;
  --sky: #5FA8D3;
  --wine: #8E2F45;
  --border: #C7D0DD;
  --white: #fff;
  --shadow: 0 20px 60px rgba(13, 36, 66, .22);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

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

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  background: var(--gold);
  color: #111;
  padding: 10px 14px;
  border-radius: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 36, 66, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(199, 208, 221, .22);
  transition: box-shadow .24s ease, background .24s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(208, 167, 79, .38);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, .86);
  font-size: 14px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold);
  border-color: rgba(208, 167, 79, .88);
  background: rgba(208, 167, 79, .08);
  box-shadow: 0 0 0 3px rgba(208, 167, 79, .12);
}

.nav-cta {
  border: 1px solid rgba(208, 167, 79, .65);
  color: var(--gold) !important;
  padding: 7px 14px 7px 8px !important;
  border-radius: 999px;
  background: rgba(208, 167, 79, .1);
}

.link-icon,
.btn-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  padding: 6px;
  border-radius: 50%;
  background: transparent;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.quick-nav a:hover .link-icon,
.quick-nav a:focus-visible .link-icon,
.btn:hover .btn-icon,
.btn:focus-visible .btn-icon {
  background: currentColor;
  color: var(--deep-bg);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(13, 36, 66, .18);
}

.nav-cta .link-icon,
.btn.primary .btn-icon {
  background: #13243d;
  color: var(--gold);
}

.nav-cta:hover .link-icon,
.nav-cta:focus-visible .link-icon,
.btn.primary:hover .btn-icon,
.btn.primary:focus-visible .btn-icon {
  background: var(--white);
  color: var(--wine);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: transparent;
  border-radius: 6px;
  position: relative;
  cursor: pointer;
  transition: border-color .22s ease, background-color .22s ease;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 999px;
  transform-origin: center;
  transition: transform .24s ease, opacity .18s ease, background-color .22s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible,
.nav-toggle[aria-expanded="true"] {
  border-color: rgba(208, 167, 79, .82);
  background: rgba(208, 167, 79, .1);
}

.nav-toggle:hover span,
.nav-toggle:focus-visible span,
.nav-toggle[aria-expanded="true"] span {
  background: var(--gold);
}

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

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

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

.hero {
  position: relative;
  min-height: 740px;
  overflow: hidden;
  color: var(--white);
  background: var(--deep-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 36, 66, .98) 0%, rgba(18, 52, 90, .86) 44%, rgba(13, 36, 66, .52) 100%),
    url("img/tu3.webp") center / cover no-repeat;
  opacity: .95;
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 740px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .78fr);
  align-items: end;
  gap: 30px;
  padding: 92px 0 34px;
}

.hero-copy {
  align-self: center;
  padding-bottom: 40px;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(44px, 7vw, 86px);
  max-width: 820px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .32);
}

.hero-subtitle {
  max-width: 700px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 9px 20px 9px 10px;
  font-weight: 800;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent);
  transition: transform .55s ease;
  pointer-events: none;
}

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

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(120%) skewX(-18deg);
}

.btn.primary {
  background: var(--gold);
  color: #13243d;
  box-shadow: 0 10px 26px rgba(208, 167, 79, .3);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, .35);
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 600px;
  margin: 34px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.hero-stats div {
  padding: 18px 18px 0 0;
}

.hero-stats dt {
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--white);
  font-weight: 800;
}

.hero-art {
  margin: 0;
  align-self: end;
  display: flex;
  justify-content: center;
  max-height: 690px;
  overflow: visible;
  background: transparent;
}

.hero-art img {
  width: min(430px, 100%);
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, .35));
}

.quick-nav {
  width: min(1180px, calc(100% - 32px));
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--content-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quick-nav a {
  position: relative;
  padding: 18px 20px;
  border-right: 1px solid var(--border);
  font-weight: 800;
  color: var(--text);
  transition: color .22s ease, background-color .22s ease, transform .22s ease;
}

.quick-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}

.quick-nav a:hover,
.quick-nav a:focus-visible {
  color: var(--wine);
  background: rgba(208, 167, 79, .08);
  transform: translateY(-2px);
}

.quick-nav a:hover::before,
.quick-nav a:focus-visible::before {
  transform: scaleX(1);
}

.quick-nav a:last-child {
  border-right: 0;
}

.quick-nav .quick-index {
  display: block;
  color: var(--gold);
  font-size: 12px;
  margin-bottom: 4px;
}

.quick-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quick-label .link-icon {
  color: var(--wine);
  background: rgba(142, 47, 69, .08);
}

.section {
  background: var(--content-bg);
  padding: 86px 0;
}

.section:nth-of-type(odd) {
  background: #edf2f7;
}

.section-head {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto 34px;
  text-align: center;
}

.section-head.align-left {
  width: auto;
  margin: 0;
  text-align: left;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text);
}

.section-head p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
}

.intro-grid,
.media-row,
.feature-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.media-row {
  margin-top: 28px;
}

.text-panel,
.system-card,
.updates-grid article,
.feature-list article,
.faq-list details,
.cta-panel {
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(13, 36, 66, .08);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background-color .24s ease;
}

.text-panel:hover,
.system-card:hover,
.updates-grid article:hover,
.feature-list article:hover,
.faq-list details:hover {
  transform: translateY(-6px);
  border-color: rgba(208, 167, 79, .72);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 48px rgba(13, 36, 66, .16);
}

.text-panel {
  padding: 30px;
}

.text-panel h3,
.system-card h3,
.timeline h3,
.feature-list h3,
.updates-grid h3 {
  color: var(--text);
  font-size: 21px;
  margin-bottom: 10px;
}

.text-panel p,
.system-card p,
.timeline p,
.feature-list p,
.updates-grid p,
.faq-list p,
.cta-panel p {
  color: var(--muted);
}

.text-panel p + p {
  margin-top: 14px;
}

.media-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--deep-bg);
  box-shadow: var(--shadow);
  transition: transform .28s ease, box-shadow .28s ease;
}

.media-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(13, 36, 66, .28);
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
}

.media-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.media-card figcaption,
.gallery figcaption {
  padding: 12px 14px;
  color: rgba(255, 255, 255, .82);
  background: var(--deep-bg);
  font-size: 14px;
}

.system-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.system-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  column-gap: 20px;
  padding: 22px 26px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.system-card::after,
.feature-list article::after,
.updates-grid article::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--sky), var(--wine));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}

.system-card:hover::after,
.feature-list article:hover::after,
.updates-grid article:hover::after {
  transform: scaleX(1);
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--deep-bg);
  color: var(--gold);
  border-radius: 50%;
  margin-bottom: 0;
  font-size: 20px;
  grid-row: 1 / span 2;
  transition: transform .24s ease, box-shadow .24s ease, background-color .24s ease;
}

.system-card h3,
.system-card p {
  grid-column: 2;
}

.system-card:hover .icon {
  transform: scale(1.08) rotate(-3deg);
  background: var(--gold);
  color: var(--deep-bg);
  box-shadow: 0 10px 22px rgba(208, 167, 79, .26);
}

.compact {
  align-self: stretch;
}

.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  margin-top: 8px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.timeline {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.timeline article {
  position: relative;
  background: var(--deep-bg);
  color: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 230px;
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, background-color .24s ease;
}

.timeline article::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}

.timeline article:hover {
  transform: translateY(-6px);
  background: #12345a;
  box-shadow: 0 18px 42px rgba(13, 36, 66, .22);
}

.timeline article:hover::after {
  transform: scaleX(1);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--deep-bg);
  font-weight: 900;
}

.timeline h3 {
  color: var(--white);
}

.timeline p {
  color: rgba(255, 255, 255, .78);
}

.feature-layout {
  grid-template-columns: 1fr;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-list article {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.gallery {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: 1.25fr .8fr .8fr .8fr;
  gap: 18px;
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--deep-bg);
  box-shadow: 0 12px 34px rgba(13, 36, 66, .12);
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.updates-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.updates-grid article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
  column-gap: 24px;
  padding: 22px 26px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.updates-grid time {
  display: inline-block;
  grid-row: 1 / span 2;
  color: var(--wine);
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(142, 47, 69, .08);
  text-align: center;
}

.updates-grid h3 {
  grid-column: 2;
  font-size: 20px;
  margin-bottom: 6px;
}

.updates-grid p {
  grid-column: 2;
  font-size: 15px;
}

.faq-list {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list details[open] {
  border-color: rgba(208, 167, 79, .62);
  box-shadow: 0 14px 40px rgba(13, 36, 66, .12);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 900;
  color: var(--text);
  transition: color .2s ease, background-color .2s ease;
}

.faq-list summary:hover,
.faq-list summary:focus-visible {
  color: var(--wine);
  background: rgba(208, 167, 79, .08);
}

.faq-list p {
  padding: 0 22px 20px;
}

.cta-section {
  background: var(--deep-bg) !important;
  color: var(--white);
}

.cta-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(244, 247, 250, .96), rgba(233, 238, 245, .92));
}

.cta-panel h2 {
  color: var(--text);
  font-size: clamp(26px, 4vw, 40px);
}

.friend-links {
  background:
    radial-gradient(circle at center, rgba(208, 167, 79, .2), transparent 38%),
    linear-gradient(135deg, var(--deep-bg), var(--page-bg));
  color: var(--white);
  padding: 58px 16px;
  border-top: 1px solid rgba(208, 167, 79, .28);
}

.friend-links-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  text-align: center;
}

.friend-links h2 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 42px);
}

.friend-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.friend-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(199, 208, 221, .5);
  background: rgba(244, 247, 250, .92);
  color: var(--text);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  transition: transform .22s ease, color .22s ease, border-color .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  transform: translateY(-3px);
  color: var(--deep-bg);
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 18px 42px rgba(208, 167, 79, .25);
}

.site-footer {
  background: #09182b;
  color: rgba(255, 255, 255, .68);
  text-align: center;
  padding: 32px 16px;
  font-size: 14px;
}

.site-footer p + p {
  margin-top: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .btn:hover,
  .btn:focus-visible,
  .quick-nav a:hover,
  .quick-nav a:focus-visible,
  .text-panel:hover,
  .system-card:hover,
  .updates-grid article:hover,
  .feature-list article:hover,
  .faq-list details:hover,
  .media-card:hover,
  .timeline article:hover {
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(13, 36, 66, .98);
    border: 1px solid rgba(199, 208, 221, .22);
    border-radius: 8px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px !important;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 86px 0 0;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-art {
    max-height: 480px;
  }

  .quick-nav,
  .system-grid,
  .timeline,
  .updates-grid,
  .gallery,
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .media-row,
  .feature-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 24px, 1180px);
  }

  .brand-text {
    max-width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-stats,
  .quick-nav,
  .system-grid,
  .timeline,
  .updates-grid,
  .gallery,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .updates-grid article {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .system-card {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .system-card .icon,
  .system-card h3,
  .system-card p {
    grid-column: auto;
    grid-row: auto;
  }

  .updates-grid time {
    grid-row: auto;
    width: fit-content;
  }

  .updates-grid h3,
  .updates-grid p {
    grid-column: auto;
  }

  .quick-nav a {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .section {
    padding: 62px 0;
  }

  .text-panel,
  .system-card,
  .timeline article,
  .feature-list article,
  .updates-grid article,
  .cta-panel {
    padding: 22px;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}
