:root {
  --header-h: 72px;
  --text: #ffffff;
  --dark: #121212;
  --muted: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  --theme-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #0b1020;
  overflow-x: hidden;
}

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

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

.site-main {
  min-height: 100vh;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
  box-shadow: 0 8px 24px rgba(18, 18, 18, 0.08);
}

.header-inner {
  width: min(var(--theme-max), calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  color: #1a1a1a;
}

.brand img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
}

.nav a {
  position: relative;
  opacity: 0.88;
  color: #1f1f1f;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: #1f1f1f;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 40px;
  height: 40px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #1f1f1f;
}

.side-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-nav a {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.18);
  transition: all 180ms ease;
}

.side-nav a:hover,
.side-nav a.is-active {
  height: 24px;
  background: rgba(255, 255, 255, 0.95);
}

.section {
  position: relative;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature,
.footer-feature {
  content-visibility: auto;
  contain-intrinsic-size: 100vh;
}

.section-shell {
  width: min(var(--theme-max), calc(100% - 32px));
  position: relative;
  z-index: 2;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(20, 31, 60, 0.08), rgba(2, 6, 18, 0.68)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.hero-content {
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-art {
  width: min(740px, 78vw);
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.28));
}

.hero-copy {
  margin-top: 18px;
  max-width: 780px;
  font-size: 20px;
  line-height: 1.8;
  color: var(--muted);
}

.download-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.download-btn {
  min-width: 220px;
  padding: 18px 24px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
  box-shadow: var(--shadow);
}

.download-btn:hover {
  transform: translateY(-4px);
  background: #fff;
  color: #18233b;
}

.download-btn img {
  width: 24px;
  height: 24px;
}

.scroll-tip {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-tip img {
  width: 30px;
  animation: siyu-bob 1.6s ease-in-out infinite;
}

.feature {
  background:
    radial-gradient(circle at top left, rgba(110, 188, 255, 0.22), transparent 28%),
    radial-gradient(circle at bottom right, rgba(233, 246, 255, 0.28), transparent 25%),
    linear-gradient(180deg, #fbfdff 0%, #dcefff 100%);
  color: var(--dark);
}

.feature.alt {
  background:
    radial-gradient(circle at top right, rgba(255, 206, 151, 0.24), transparent 30%),
    radial-gradient(circle at bottom left, rgba(167, 201, 255, 0.28), transparent 22%),
    linear-gradient(180deg, #f9fbff 0%, #edf4ff 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}

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

.feature.alt .feature-media {
  order: 2;
}

.feature.alt .feature-copy {
  order: 1;
}

.feature-media {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: end;
  justify-content: start;
}

.blob-a,
.blob-b {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.8;
}

.blob-a {
  width: 180px;
  height: 180px;
  top: 120px;
  left: 40px;
  background: rgba(123, 202, 255, 0.55);
}

.blob-b {
  width: 140px;
  height: 140px;
  right: 30px;
  top: 40px;
  background: rgba(255, 214, 163, 0.58);
}

.main-art,
.float-art,
.accent-art {
  position: absolute;
  max-width: 100%;
  filter: drop-shadow(0 28px 36px rgba(28, 53, 87, 0.16));
  transform: translateZ(0);
}

.main-art {
  left: 0;
  bottom: 0;
  width: min(560px, 46vw);
}

.float-art {
  right: 0;
  top: 90px;
  width: min(190px, 18vw);
}

.accent-art {
  left: 56px;
  top: 410px;
  width: min(220px, 22vw);
}

.feature.alt .main-art {
  right: 0;
  left: auto;
}

.feature.alt .float-art {
  left: 16px;
  right: auto;
}

.feature-copy {
  padding-top: 40px;
}

.feature-copy > img {
  max-width: min(520px, 100%);
  display: block;
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(24, 35, 59, 0.07);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #304768;
}

.feature-copy h2 {
  margin: 16px 0 14px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.feature-copy p {
  margin: 0;
  max-width: 560px;
  font-size: 20px;
  line-height: 1.9;
  color: #4b5f79;
}

.tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 24px rgba(65, 98, 136, 0.08);
  font-size: 14px;
  font-weight: 600;
  color: #243750;
}

.footer-feature {
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: 0;
  padding-top: 108px;
  padding-bottom: 0;
}

.footer-feature .section-shell {
  margin: 0 auto;
  padding-bottom: 36px;
}

.footer-band {
  position: static;
  padding: 46px 0 20px;
  background: #343434;
}

.footer-inner {
  width: min(1500px, calc(100% - 96px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  width: 158px;
  display: block;
  margin-bottom: 18px;
}

.footer-downloads {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.footer-downloads .download-btn {
  min-width: 168px;
  padding: 11px 18px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 13px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: none;
  justify-content: flex-start;
  color: #fff;
}

.footer-downloads .download-btn:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qrs {
  display: flex;
  gap: 98px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.qr-card {
  width: 170px;
  text-align: center;
  font-size: 14px;
  color: #ffffff;
  line-height: 1.7;
}

.qr-card img {
  width: 100%;
  max-width: 132px;
  margin: 0 auto 12px;
  border-radius: 8px;
  background: #fff;
  display: block;
}

.footer-copy {
  margin-top: 26px;
  text-align: center;
  font-size: 12px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.94);
}

.news-hero,
.news-listing,
.single-news,
.page-shell {
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
  color: #13243c;
}

.news-hero {
  padding: 140px 0 60px;
}

.news-hero-inner,
.news-grid,
.single-news-inner,
.page-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.news-hero h1,
.page-title,
.single-news-title {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.news-hero-copy,
.page-content,
.single-news-content {
  font-size: 18px;
  line-height: 1.9;
  color: #4d6079;
}

.news-listing {
  padding: 0 0 90px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.news-card {
  background: rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(37, 66, 104, 0.1);
}

.news-card-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-card-body {
  padding: 24px;
}

.news-card-date,
.single-news-meta {
  font-size: 14px;
  color: #6f839f;
}

.news-card-title {
  margin: 12px 0;
  font-size: 24px;
  line-height: 1.25;
}

.news-card-excerpt {
  color: #4d6079;
  line-height: 1.8;
}

.news-card-link,
.back-link,
.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #18233b;
  color: #fff;
  font-weight: 700;
}

.news-pagination {
  width: min(1120px, calc(100% - 32px));
  margin: 40px auto 0;
  text-align: center;
}

.news-pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.news-pagination .page-numbers.current {
  background: #49658a;
}

.single-news,
.page-shell {
  padding: 140px 0 90px;
}

.single-news-article,
.page-article,
.not-found {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 18px 60px rgba(37, 66, 104, 0.1);
}

.single-news-cover {
  margin: 26px 0;
}

.single-news-cover img {
  width: 100%;
  border-radius: 20px;
}

.page-content > *:first-child,
.single-news-content > *:first-child {
  margin-top: 0;
}

.page-content > *:last-child,
.single-news-content > *:last-child {
  margin-bottom: 0;
}

.wp-block-image img {
  border-radius: 18px;
}

@keyframes siyu-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@media (max-width: 1100px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  html {
    scroll-snap-type: none;
  }

  .side-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(18, 18, 18, 0.08);
  }

  .menu-open .nav-wrap {
    display: block;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 16px;
  }

  .section,
  .footer-feature {
    min-height: auto;
    padding: 96px 0 48px;
  }

  .hero {
    min-height: 100vh;
  }

  .feature-grid,
  .feature.alt .feature-grid,
  .footer-inner,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .feature-media,
  .feature.alt .feature-media {
    min-height: 420px;
    order: 1;
  }

  .feature-copy,
  .feature.alt .feature-copy {
    order: 2;
    padding-top: 0;
  }

  .main-art {
    width: min(82vw, 520px);
  }

  .float-art {
    width: min(28vw, 160px);
  }

  .accent-art {
    width: min(34vw, 220px);
    left: 24px;
    top: auto;
    bottom: 18px;
  }

  .download-row {
    gap: 14px;
  }

  .download-btn {
    min-width: min(100%, 280px);
    width: 100%;
    font-size: 18px;
  }

  .footer-feature {
    padding-top: 96px;
  }

  .footer-band {
    margin-top: 0;
    padding: 28px 0 24px;
    width: 100%;
  }

  .footer-inner {
    width: min(100% - 32px, 1500px);
    gap: 28px;
  }

  .footer-brand,
  .footer-downloads {
    align-items: center;
  }

  .footer-downloads .download-btn {
    width: min(240px, 100%);
  }

  .qrs {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .section-shell,
  .news-hero-inner,
  .news-grid,
  .single-news-inner,
  .page-inner {
    width: calc(100% - 20px);
  }

  .hero-copy,
  .feature-copy p,
  .news-hero-copy,
  .page-content,
  .single-news-content {
    font-size: 16px;
  }

  .single-news-article,
  .page-article,
  .not-found {
    padding: 24px;
  }

  .qrs {
    gap: 18px;
  }
}
