:root {
  --pg-primary: #0A192F;
  --pg-primary-light: #173A5E;
  --pg-gold: #C9A961;
  --pg-cyan: #4DD0E1;
  --pg-bg-dark: #0F1B2D;
  --pg-bg-light: #F5F7FA;
  --pg-text: #E2E8F0;
  --pg-text-muted: #94A3B8;
  --pg-text-on-light: #0F1B2D;
  --pg-glow: rgba(201, 169, 97, 0.4);
  --pg-font-display: "Space Grotesk", "Chakra Petch", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --pg-font-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --pg-header-h: 4.5rem;
  --pg-container: 75rem;
  --pg-gutter: clamp(1.25rem, 4vw, 3rem);
  --pg-radius-lg: 1.5rem;
  --pg-radius-md: 1rem;
  --pg-radius-sm: 0.5rem;
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--pg-font-body);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--pg-bg-light);
  color: var(--pg-text-on-light);
  -webkit-font-smoothing: antialiased;
}

#main-content {
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  font-family: var(--pg-font-display);
  line-height: 1.15;
  font-weight: 700;
}

p {
  margin: 0 0 1.25rem;
}

a {
  color: var(--pg-primary-light);
  text-decoration: none;
}

a:hover {
  color: var(--pg-cyan);
}

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

button {
  font: inherit;
}

ul[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--pg-cyan);
  outline-offset: 3px;
  border-radius: var(--pg-radius-sm);
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: var(--pg-gutter);
  z-index: 1200;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 14px 14px;
  background: var(--pg-cyan);
  color: #062033;
  font-weight: 700;
  transition: top 0.25s ease;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--pg-header-h);
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 25, 47, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(78, 205, 225, 0.14);
  box-shadow: 0 12px 32px rgba(2, 10, 24, 0.35);
}

.site-header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  height: 100%;
  padding-left: var(--pg-gutter);
  padding-right: var(--pg-gutter);
}

.site-header__progress {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--pg-cyan), var(--pg-gold));
  box-shadow: 0 0 12px rgba(78, 205, 225, 0.6);
  transition: width 0.1s linear;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1;
  text-decoration: none;
}

.brand__mark {
  position: relative;
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  background: linear-gradient(135deg, var(--pg-gold) 0 55%, rgba(201, 169, 97, 0.2) 55%);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
}

.brand__mark::before {
  content: "";
  position: absolute;
  right: 12%;
  bottom: 12%;
  width: 52%;
  height: 52%;
  background: var(--pg-cyan);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.brand__text {
  font-family: var(--pg-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--pg-text);
  white-space: nowrap;
}

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

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav__link {
  position: relative;
  display: block;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: rgba(226, 232, 240, 0.88);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav__link:hover {
  color: var(--pg-cyan);
  background: rgba(78, 205, 225, 0.1);
}

.site-nav__link[aria-current="page"] {
  color: var(--pg-gold);
}

.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.25rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--pg-gold);
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 3rem;
  height: 3rem;
  background: rgba(10, 25, 47, 0.6);
  border: 1px solid rgba(78, 205, 225, 0.35);
  border-radius: 0.9rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nav-toggle:hover {
  border-color: var(--pg-gold);
  background: rgba(10, 25, 47, 0.9);
}

.nav-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--pg-text);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle__bar + .nav-toggle__bar {
  margin-top: 5px;
}

.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);
}

html.pg-nav-open {
  overflow: hidden;
}

.site-footer {
  position: relative;
  margin-top: auto;
  background: var(--pg-bg-dark);
  color: var(--pg-text);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--pg-gold) 20%, var(--pg-cyan) 80%, transparent 100%);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr;
  gap: 2.5rem 3rem;
  max-width: var(--pg-container);
  margin-inline: auto;
  padding: 3.5rem var(--pg-gutter) 3rem;
  background: radial-gradient(circle at 90% 100%, rgba(78, 205, 225, 0.1), transparent 40%);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.site-footer__tagline {
  max-width: 32rem;
  margin: 0;
  color: var(--pg-text-muted);
  line-height: 1.7;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
}

.site-footer__heading {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: var(--pg-gold);
  text-transform: uppercase;
}

.site-footer__list {
  display: grid;
  gap: 0.65rem;
}

.site-footer__link {
  color: var(--pg-text);
  opacity: 0.82;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.site-footer__link:hover {
  color: var(--pg-cyan);
  opacity: 1;
  transform: translateX(4px);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  color: var(--pg-text-muted);
  font-size: 0.95rem;
}

.site-footer__contact-item {
  margin-bottom: 0.5rem;
}

.site-footer__contact-note {
  margin-top: 1rem;
  padding-left: 0.85rem;
  border-left: 2px solid var(--pg-gold);
  color: var(--pg-text-muted);
  font-size: 0.9rem;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  max-width: var(--pg-container);
  margin-inline: auto;
  padding: 1.2rem var(--pg-gutter);
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  color: var(--pg-text-muted);
  font-size: 0.9rem;
}

.site-footer__legal-text {
  margin: 0;
}

.site-footer__icp {
  margin: 0;
  color: var(--pg-text-muted);
  font-size: 0.85rem;
}

.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.site-footer__legal-links a {
  color: var(--pg-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__legal-links a:hover {
  color: var(--pg-gold);
}

.pg-container {
  width: min(100% - 2 * var(--pg-gutter), var(--pg-container));
  margin-inline: auto;
}

.pg-section {
  padding: clamp(3.5rem, 8vw, 6rem) var(--pg-gutter);
}

.pg-section--dark {
  background: var(--pg-bg-dark);
  color: var(--pg-text);
}

.pg-section--light {
  background: var(--pg-bg-light);
}

.pg-section__head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.pg-section__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.pg-section__sub {
  color: var(--pg-text-muted);
  font-size: 1.05rem;
}

.pg-kicker {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--pg-font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--pg-gold);
}

.pg-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--pg-header-h) + 3rem) var(--pg-gutter) 3.5rem;
  background:
    radial-gradient(circle at 85% 10%, rgba(78, 205, 225, 0.18), transparent 42%),
    radial-gradient(circle at 5% 95%, rgba(201, 169, 97, 0.14), transparent 38%),
    var(--pg-primary);
  color: var(--pg-text);
}

.pg-hero__title {
  max-width: 14em;
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 1.25rem;
}

.pg-hero__lead {
  max-width: 54rem;
  color: var(--pg-text-muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.pg-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.pg-card {
  padding: 1.75rem;
  background: linear-gradient(140deg, rgba(23, 58, 94, 0.85), rgba(10, 25, 47, 0.95));
  border: 1px solid rgba(201, 169, 97, 0.18);
  border-radius: var(--pg-radius-lg);
  color: var(--pg-text);
  box-shadow: 0 18px 40px rgba(2, 10, 24, 0.12);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pg-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 97, 0.55);
  box-shadow: 0 26px 48px rgba(2, 10, 24, 0.25);
}

.pg-card__title {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.pg-card__text {
  color: var(--pg-text-muted);
}

.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.pg-btn--primary {
  background: var(--pg-gold);
  color: var(--pg-primary);
}

.pg-btn--primary:hover {
  background: #d8bd77;
  color: var(--pg-primary);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(201, 169, 97, 0.3);
}

.pg-btn--ghost {
  background: transparent;
  color: var(--pg-text);
  border-color: rgba(78, 205, 225, 0.45);
}

.pg-btn--ghost:hover {
  color: var(--pg-cyan);
  border-color: var(--pg-cyan);
  box-shadow: 0 10px 24px rgba(78, 205, 225, 0.16);
}

.pg-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  color: var(--pg-text-muted);
  font-size: 0.9rem;
}

.pg-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pg-breadcrumb__item + .pg-breadcrumb__item::before {
  content: "/";
  color: var(--pg-gold);
}

.pg-breadcrumb__link {
  color: var(--pg-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.pg-breadcrumb__link:hover {
  color: var(--pg-cyan);
}

.pg-breadcrumb__item[aria-current="page"] {
  color: var(--pg-gold);
}

.pg-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
}

.pg-bento__item {
  grid-column: span 4;
  min-width: 0;
}

.pg-bento__item--large {
  grid-column: span 7;
}

.pg-bento__item--wide {
  grid-column: span 8;
}

.pg-bento__item--narrow {
  grid-column: span 3;
}

.pg-bento__item--offset {
  grid-column: 5 / span 8;
}

.pg-tag {
  display: inline-block;
  padding: 0.32rem 0.9rem;
  border: 1px solid rgba(201, 169, 97, 0.3);
  background: rgba(201, 169, 97, 0.12);
  color: var(--pg-gold);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.pg-timeline {
  position: relative;
  display: grid;
  gap: 1.75rem;
  margin: 0;
  padding-left: 1.5rem;
  list-style: none;
}

.pg-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.55), rgba(78, 205, 225, 0.5));
}

.pg-timeline__item {
  position: relative;
}

.pg-timeline__item::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 0.28rem;
  width: 0.55rem;
  height: 0.55rem;
  transform: translateX(calc(-50% + 1px));
  background: var(--pg-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.16);
}

.pg-visual {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  background: linear-gradient(135deg, var(--pg-primary-light), var(--pg-primary));
  border-radius: var(--pg-radius-lg);
}

.pg-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(78, 205, 225, 0.25), transparent 35%),
    radial-gradient(circle at 75% 80%, rgba(201, 169, 97, 0.22), transparent 40%);
}

.pg-visual::after {
  content: "";
  position: absolute;
  right: -5%;
  bottom: -5%;
  width: 45%;
  height: 45%;
  background: linear-gradient(135deg, transparent 45%, rgba(201, 169, 97, 0.2) 45%);
  transform: rotate(8deg);
}

.pg-visual img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pg-visual__label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.4rem 0.9rem;
  background: rgba(10, 25, 47, 0.75);
  border: 1px solid rgba(201, 169, 97, 0.35);
  color: var(--pg-text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 999px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

[data-spy-link] {
  transition: color 0.2s ease, box-shadow 0.2s ease;
}

[data-spy-link].is-active {
  color: var(--pg-gold);
  box-shadow: inset 0 -2px 0 rgba(201, 169, 97, 0.7);
}

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

  .site-nav {
    position: fixed;
    top: var(--pg-header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: block;
    padding: 2rem var(--pg-gutter);
    overflow-y: auto;
    background:
      radial-gradient(circle at 15% 20%, rgba(201, 169, 97, 0.12), transparent 35%),
      radial-gradient(circle at 85% 80%, rgba(78, 205, 225, 0.12), transparent 40%),
      rgba(10, 25, 47, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .site-nav__link {
    padding: 0.85rem 1.2rem;
    border-radius: 16px;
    border: 1px solid transparent;
    font-size: 1.05rem;
  }

  .site-nav__link:hover {
    border-color: rgba(78, 205, 225, 0.3);
    background: rgba(78, 205, 225, 0.08);
  }

  .site-nav__link[aria-current="page"] {
    border-color: rgba(201, 169, 97, 0.25);
    background: rgba(201, 169, 97, 0.08);
  }

  .site-nav__link[aria-current="page"]::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer__legal {
    justify-content: center;
    text-align: center;
  }

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

  .pg-bento {
    grid-template-columns: 1fr;
  }

  .pg-bento__item,
  .pg-bento__item--large,
  .pg-bento__item--wide,
  .pg-bento__item--narrow,
  .pg-bento__item--offset {
    grid-column: auto;
  }
}

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

  .site-nav {
    transition: none;
  }

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