:root {
  --ink: #071521;
  --navy: #071a35;
  --deep: #020b14;
  --blue: #10385c;
  --steel: #6f8498;
  --mist: #d8e0e7;
  --paper: #f6f3ec;
  --white: #ffffff;
  --gold: #c9a260;
  --copper: #9d6f43;
  --line-dark: rgba(210, 224, 238, 0.16);
  --line-light: rgba(7, 21, 33, 0.14);
  --shadow: 0 30px 80px rgba(2, 11, 20, 0.22);
  --font-cn: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  --font-en: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-cn);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  min-height: 96px;
  display: grid;
  grid-template-columns: auto minmax(360px, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  padding: 0 clamp(22px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(2, 11, 20, 0.72), rgba(2, 11, 20, 0.24) 72%, rgba(2, 11, 20, 0)),
    linear-gradient(90deg, rgba(2, 11, 20, 0.44), rgba(7, 26, 53, 0.14));
  border-bottom: 0;
  backdrop-filter: none;
}

.brand {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo-full {
  width: clamp(210px, 19vw, 340px);
  height: auto;
  display: block;
  object-fit: contain;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand-text b {
  display: block;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.05em;
}

.brand-text small {
  display: block;
  margin-top: 7px;
  color: #a8b6c5;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.header-tools {
  display: contents;
}

.language-field {
  grid-column: 3;
  justify-self: end;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  height: auto;
  padding: 6px 2px;
  color: #dce5ee;
  cursor: pointer;
}

.language-icon {
  position: static;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  pointer-events: none;
}

.language-icon svg {
  width: 100%;
  height: 100%;
}

.language-label {
  position: static;
  color: rgba(220, 229, 238, 0.92);
  overflow: hidden;
  font-family: var(--font-en), var(--font-cn);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

.lang-toggle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  color: transparent;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-size: 14px;
  font-family: var(--font-en), var(--font-cn);
  letter-spacing: 0.1em;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  opacity: 0;
}

.lang-toggle option {
  color: var(--ink);
  background: var(--paper);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 34px;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 9px 0;
  background: currentColor;
}

.nav-panel {
  grid-column: 2;
  grid-row: 1;
  position: static;
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 34px);
  background: transparent;
  border: 0;
}

.nav-panel a {
  position: relative;
  padding: 36px 0;
  color: #d8e0e7;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.075em;
  white-space: nowrap;
}

.nav-panel a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  transition: transform 0.2s ease;
}

.nav-panel a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 860px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 170px clamp(26px, 6vw, 96px) 36px;
  color: var(--white);
  background: var(--deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 11, 20, 0.74), rgba(5, 18, 36, 0.42) 54%, rgba(5, 18, 36, 0.12)),
    linear-gradient(180deg, rgba(2, 11, 20, 0.1), rgba(2, 11, 20, 0.78));
}

.hero-dot-matrix {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.72;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 78%, transparent 100%);
}

.hero-dot-matrix::before,
.hero-dot-matrix::after {
  content: "";
  position: absolute;
  inset: -22% -10%;
  background-image: radial-gradient(circle, rgba(122, 190, 255, 0.5) 1px, transparent 1.7px);
  background-size: 22px 22px;
  transform: perspective(760px) rotateX(62deg) translate3d(0, 0, 0);
  transform-origin: bottom center;
  animation: hero-dot-flow 16s linear infinite;
}

.hero-dot-matrix::after {
  background-image: radial-gradient(circle, rgba(201, 162, 96, 0.42) 1px, transparent 1.8px);
  background-size: 34px 34px;
  filter: blur(0.2px);
  opacity: 0.46;
  animation-duration: 24s;
  animation-direction: reverse;
}

@keyframes hero-dot-flow {
  0% {
    background-position: 0 0;
    opacity: 0.44;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    background-position: 0 220px;
    opacity: 0.44;
  }
}

.hero-link-network {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
}

.network-node,
.network-path {
  position: absolute;
  display: block;
}

.network-node {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f4fbff;
  box-shadow:
    0 0 10px rgba(218, 239, 255, 0.95),
    0 0 28px rgba(86, 169, 255, 0.72),
    0 0 54px rgba(205, 166, 96, 0.48);
  animation: network-node-flash 2.8s ease-in-out infinite;
}

.network-node::after {
  content: "";
  position: absolute;
  inset: -13px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.42), transparent 62%);
  opacity: 0.8;
  transform: scale(0.55);
  animation: network-node-halo 2.8s ease-in-out infinite;
}

.node-a {
  left: 48.8%;
  top: 41.8%;
  animation-delay: 0.2s;
}

.node-b {
  left: 56.4%;
  top: 40.8%;
  animation-delay: 1.1s;
}

.node-c {
  left: 62.1%;
  top: 35.6%;
  animation-delay: 0.7s;
}

.node-d {
  left: 72.4%;
  top: 27.8%;
  animation-delay: 1.7s;
}

.node-e {
  left: 83.2%;
  top: 33.6%;
  animation-delay: 0s;
}

.node-f {
  left: 90.4%;
  top: 38.8%;
  animation-delay: 2s;
}

.network-path {
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(198, 162, 94, 0.18), rgba(224, 244, 255, 0.72), rgba(198, 162, 94, 0.22), transparent);
  box-shadow: 0 0 14px rgba(80, 154, 230, 0.45);
  transform-origin: left center;
  opacity: 0.58;
  animation: network-path-breathe 4.5s ease-in-out infinite;
}

.network-path::after {
  content: "";
  position: absolute;
  inset: -1px 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), rgba(203, 164, 95, 0.78), transparent);
  transform: translateX(-100%);
  animation: network-signal-run 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.path-a {
  left: 46.8%;
  top: 44.2%;
  width: 18vw;
  transform: rotate(-5deg);
  animation-delay: 0.3s;
}

.path-b {
  left: 55.2%;
  top: 42.8%;
  width: 19vw;
  transform: rotate(-12deg);
  animation-delay: 1.1s;
}

.path-c {
  left: 61.5%;
  top: 37.8%;
  width: 31vw;
  transform: rotate(5deg);
  animation-delay: 0s;
}

.path-d {
  left: 72.1%;
  top: 29.5%;
  width: 20vw;
  transform: rotate(10deg);
  animation-delay: 1.8s;
}

@keyframes network-node-flash {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.82);
  }
  38% {
    opacity: 1;
    transform: scale(1.25);
  }
  62% {
    opacity: 0.72;
    transform: scale(1);
  }
}

@keyframes network-node-halo {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.45);
  }
  46% {
    opacity: 0.86;
    transform: scale(1.2);
  }
}

@keyframes network-path-breathe {
  0%,
  100% {
    opacity: 0.24;
    filter: blur(0);
  }
  50% {
    opacity: 0.76;
    filter: blur(0.2px);
  }
}

@keyframes network-signal-run {
  0% {
    transform: translateX(-110%);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    transform: translateX(110%);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dot-matrix::before,
  .hero-dot-matrix::after,
  .network-node,
  .network-node::after,
  .network-path,
  .network-path::after {
    animation: none;
  }
}

.hero::before,
.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 160px 160px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.kicker,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
  color: #aebccc;
  font-family: var(--font-en), var(--font-cn);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.kicker::before,
.section-kicker::before,
.section-kicker::after {
  content: "";
  width: 62px;
  height: 1px;
  background: var(--gold);
}

.section-kicker::after {
  display: none;
}

.centered {
  justify-content: center;
  text-align: center;
}

.centered::after {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin: 0 0 24px;
  font-size: clamp(72px, 8.4vw, 132px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.045em;
}

h2 {
  max-width: 880px;
  margin: 0 0 22px;
  font-size: clamp(40px, 5.1vw, 76px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
}

h3 {
  font-weight: 800;
  letter-spacing: -0.015em;
}

.english-title {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--gold);
  font-family: var(--font-en), var(--font-cn);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1.8;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin: 0 0 32px;
  padding: 0 22px;
  color: #dce5ee;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(17, 55, 91, 0.66);
  border-left: 3px solid var(--gold);
  backdrop-filter: blur(8px);
}

.hero-copy,
.section-copy {
  max-width: 680px;
  margin-bottom: 0;
  color: #aebccc;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.95;
}

.hero-actions {
  display: grid;
  width: min(560px, 100%);
  gap: 16px;
  margin-top: 42px;
}

.button {
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 0 28px;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-light {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.button-outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.button span {
  color: var(--gold);
  font-size: 20px;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 999;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.2s ease;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--copper);
}
.back-to-top:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}
.back-to-top svg {
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.2s ease, visibility 0.2s;
    transform: none;
  }
  .back-to-top.show {
    transform: none;
  }
}
@media (max-width: 620px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

.metric-grid {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  background: rgba(2, 11, 20, 0.32);
  backdrop-filter: blur(8px);
}

.metric-grid div {
  min-height: 116px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.metric-grid strong {
  color: var(--white);
  font-size: 42px;
  font-weight: 600;
}

.metric-grid span {
  color: #aebccc;
  font-size: 13px;
  line-height: 1.4;
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 9vw, 128px) clamp(22px, 6vw, 96px);
}

.section > h2,
.section > .section-copy,
.section > .section-kicker {
  position: relative;
  z-index: 1;
}

.dark-section {
  color: var(--white);
  background:
    radial-gradient(circle at 74% 10%, rgba(37, 94, 137, 0.42), transparent 32%),
    linear-gradient(145deg, #020b14 0%, #071a35 68%, #0b3154 100%);
}

.dark-section > * {
  position: relative;
  z-index: 1;
}

.light-section {
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent),
    var(--paper);
}

.light-section .section-kicker,
.light-section .section-copy {
  color: #6f7e8e;
}

.categories {
  padding-top: 106px;
}

.categories .section-copy {
  margin-bottom: 52px;
}

.category-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.category-grid a {
  position: relative;
  min-height: auto;
  display: grid;
  align-content: start;
  padding: 24px 18px 28px;
  overflow: hidden;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.018);
  transition: background 0.2s ease, transform 0.2s ease;
}

.category-grid a::before {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(201, 162, 96, 0.2);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.category-grid a:hover {
  transform: translateY(-4px);
  background: rgba(16, 56, 92, 0.62);
}

.category-grid a:hover::before {
  opacity: 1;
}

.category-grid em,
.system-list em,
.path-grid em,
.quality-list em,
.base-stack em,
.culture-list em {
  display: block;
  color: #7f92a6;
  font-style: normal;
}

.cat-icon {
  display: block !important;
  width: 112px;
  height: 112px;
  margin: 22px auto 18px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 16px rgba(80, 190, 255, 0.28));
  opacity: 0.96;
  position: relative;
  z-index: 2;
}

.category-grid svg,
.category-grid .category-icon,
.category-grid .cat-svg,
.category-grid .family-icon {
  display: none !important;
}

.category-grid a:hover .cat-icon {
  transform: translateY(-4px) scale(1.05);
  filter: drop-shadow(0 0 22px rgba(111, 211, 255, 0.42));
}
.category-grid strong {
  display: block;
  margin-top: 0;
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
}

.category-grid span,
.system-list span,
.path-grid span,
.quality-list span,
.base-stack b {
  display: block;
  margin-top: 12px;
  color: #8799ab;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.6;
}

/* English mode: let long category names wrap and fit */
:lang(en-US) .category-grid a {
  padding: 24px 12px 28px;
}

:lang(en-US) .category-grid strong {
  font-size: 24px;
}

:lang(en-US) .category-grid span {
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.45;
  white-space: normal;
  word-break: break-word;
}

.category-grid b {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  color: var(--ink);
  background: #d7e6f2;
  font-size: 17px;
}

.system-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 56px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.system-list article {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: rgba(255, 255, 255, 0.38);
}

.system-list em,
.path-grid em {
  color: #8292a2;
}

.system-list h3 {
  margin: auto 0 8px;
  font-size: 30px;
  font-weight: 700;
}

.system-list p {
  max-height: none;
  margin: 24px 0 50px;
  overflow: visible;
  color: #687785;
  font-size: 15px;
  line-height: 1.75;
}

.path-section {
  text-align: center;
  border-top: 1px solid rgba(7, 21, 33, 0.08);
}

.path-section h2 {
  margin-inline: auto;
}

.path-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 56px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  text-align: left;
}

.path-grid article {
  min-height: 230px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.42);
}

.path-grid h3,
.quality-list h3 {
  margin: 58px 0 0;
  font-size: 26px;
  font-weight: 700;
}

.path-grid p,
.quality-list p {
  margin: 20px 0 0;
  color: #6b7a88;
  font-size: 14px;
  line-height: 1.75;
}

.quality {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(520px, 1.2fr);
  gap: clamp(42px, 6vw, 84px);
  align-items: start;
}

.quality > .section-kicker,
.quality > h2,
.quality > .section-copy,
.quality > .quality-index {
  grid-column: 1;
}

.quality-list {
  grid-column: 2;
  grid-row: 1 / span 4;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line-dark);
  background: rgba(2, 11, 20, 0.18);
}

.quality-index {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(420px, 100%);
  margin-top: 42px;
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.quality-index span {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.22em;
}

.quality-index strong {
  color: var(--white);
  font-size: 38px;
  font-weight: 500;
}

.quality-list article {
  min-height: 186px;
  padding: 32px 38px;
  border-bottom: 1px solid var(--line-dark);
}

.quality-list em {
  color: var(--gold);
}

.quality-list h3 {
  margin-top: 32px;
  color: var(--white);
}

.quality-list p {
  color: #aebccc;
}

.portal-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 62px;
  color: #93a4b6;
  letter-spacing: 0.14em;
}

.portal-line::before,
.portal-line::after {
  content: "";
  height: 1px;
  background: rgba(201, 162, 96, 0.42);
}

.portal-line span {
  order: -1;
}

.portal-line b {
  color: #dce5ee;
  font-size: 14px;
  text-align: center;
}

.bases h2 {
  margin-inline: auto;
  text-align: center;
}

.centered-copy {
  margin-inline: auto;
  text-align: center;
}

.base-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 58px;
}

.base-stack article {
  min-height: 640px;
  display: grid;
  grid-template-rows: 260px 1fr;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 96, 0.42);
  background: rgba(6, 24, 43, 0.72);
  box-shadow: var(--shadow);
}

.base-stack img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.88) brightness(0.78);
}

.base-stack div {
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.base-stack em {
  color: var(--gold);
}

.base-stack div > span {
  display: block;
  margin-top: 16px;
  color: #dbe5ee;
}

.base-stack p {
  margin: 40px 0 14px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.28em;
}

.base-stack h3 {
  margin: 0;
  color: var(--white);
  font-size: 36px;
  font-weight: 600;
}

.base-stack strong {
  display: block;
  margin: 30px 0 38px;
  color: #d5e0ea;
  font-size: 17px;
  line-height: 1.7;
}

.base-stack a {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: #dce5ee;
}

.culture {
  min-height: 720px;
}

.culture h2 {
  max-width: 760px;
}

.culture-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 56px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.culture-list article {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  background: rgba(15, 48, 77, 0.44);
}

.culture-list h3 {
  margin: 0;
  color: #e7edf3;
  font-size: 22px;
  line-height: 1.6;
}

.culture-lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.culture-lines span {
  display: grid;
  gap: 16px;
  color: #d1dce8;
  font-size: 16px;
}

.culture-lines span::after {
  content: "";
  height: 1px;
  background: var(--gold);
}

.faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) 1.25fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.faq > .section-kicker,
.faq > h2 {
  grid-column: 1;
}

.faq-list {
  grid-column: 2;
  grid-row: 1 / span 2;
  border-top: 1px solid var(--line-light);
}

.faq-list details {
  border-bottom: 1px solid var(--line-light);
}

.faq-list summary {
  min-height: 90px;
  display: grid;
  grid-template-columns: 48px 1fr 28px;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--gold);
  font-size: 30px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list summary span {
  color: #8292a2;
  font-size: 13px;
  font-weight: 500;
}

.faq-list p {
  max-width: 740px;
  margin: 0 0 28px 66px;
  color: #657382;
  font-size: 15px;
  line-height: 1.8;
}

.ecosystem {
  display: block;
}

.eco-grid {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.eco-item {
  background: #fff;
  border: 1px solid rgba(7, 21, 33, 0.08);
  border-radius: 16px;
  padding: 26px 24px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eco-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(7, 21, 33, 0.08);
}

.eco-num {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}

.eco-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.eco-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #6f7e8e;
}

.inquiry {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(560px, 1.2fr);
  gap: clamp(44px, 6vw, 88px);
}

.inquiry > .section-kicker,
.inquiry > h2,
.inquiry > .section-copy,
.inquiry > .official-site {
  grid-column: 1;
}

.official-site {
  display: grid;
  gap: 12px;
  align-self: start;
  padding: 32px 0;
  margin: 32px 0 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.official-site span {
  color: var(--gold);
}

.official-site strong {
  color: var(--white);
  font-size: clamp(30px, 3.1vw, 48px);
  letter-spacing: 0.08em;
  word-break: break-word;
}

.official-site small {
  color: #8799ab;
  letter-spacing: 0.18em;
}

.inquiry-form {
  grid-column: 2;
  grid-row: 1 / span 4;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 28px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line-dark);
  background: rgba(5, 22, 40, 0.62);
  box-shadow: var(--shadow);
}

.inquiry-form label {
  display: block;
  color: #a8b6c5;
  font-size: 14px;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  margin-top: 12px;
  padding: 13px 0;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(216, 224, 231, 0.34);
  outline: 0;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-bottom-color: var(--gold);
}

.inquiry-form select option {
  color: var(--ink);
}

.inquiry-form textarea {
  min-height: 128px;
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.checkbox {
  display: flex !important;
  gap: 12px;
  align-items: center;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--gold);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: #d9bd83;
  line-height: 1.6;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(22px, 5vw, 72px);
  color: var(--white);
  background: #020b14;
  border-top: 1px solid var(--line-dark);
}

footer p {
  margin: 0;
  color: #8799ab;
  font-family: var(--font-en), var(--font-cn);
  font-size: 12px;
  letter-spacing: 0.12em;
}

@media (max-width: 1120px) {
  .nav-panel {
    gap: 18px;
  }

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

  .quality,
  .faq,
  .inquiry {
    grid-template-columns: 1fr;
  }

  .quality > .section-kicker,
  .quality > h2,
  .quality > .section-copy,
  .quality > .quality-index,
  .quality-list,
  .faq > .section-kicker,
  .faq > h2,
  .faq-list,
  .inquiry > .section-kicker,
  .inquiry > h2,
  .inquiry > .section-copy,
  .inquiry > .official-site,
  .inquiry-form {
    grid-column: 1;
    grid-row: auto;
  }

  .base-stack {
    grid-template-columns: 1fr;
  }

  .base-stack article {
    min-height: 0;
    grid-template-columns: minmax(280px, 0.85fr) 1fr;
    grid-template-rows: auto;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 76px;
    grid-template-columns: auto auto;
  }

  .header-tools {
    display: flex;
    justify-self: end;
  }

  .menu-toggle {
    display: block;
  }

  .nav-panel {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 29;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 22px 22px;
    background:
      linear-gradient(180deg, rgba(2, 11, 20, 0.86), rgba(2, 11, 20, 0.58)),
      linear-gradient(90deg, rgba(7, 26, 53, 0.42), rgba(2, 11, 20, 0.36));
    border-bottom: 1px solid var(--line-dark);
    backdrop-filter: blur(10px);
  }

  .nav-panel.open {
    display: flex;
  }

  .nav-panel a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .nav-panel a::after {
    display: none;
  }

  .hero {
    min-height: 790px;
    padding-top: 132px;
  }

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

  .culture-list,
  .culture-lines {
    grid-template-columns: 1fr;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 72px;
    padding: 0 18px;
  }

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

  .brand-logo-full {
    width: 190px;
  }

  .brand-text b {
    font-size: 19px;
  }

  .brand-text small {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .language-field {
    display: none;
  }

  .nav-panel {
    top: 72px;
  }

  .hero {
    min-height: 780px;
    padding: 112px 26px 30px;
  }

  .hero-media img {
    object-position: center top;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(2, 11, 20, 0.08), rgba(2, 11, 20, 0.78)),
      linear-gradient(90deg, rgba(2, 11, 20, 0.72), rgba(7, 26, 53, 0.18));
  }

  .hero-link-network {
    opacity: 0.42;
  }

  .network-node {
    width: 6px;
    height: 6px;
  }

  .kicker,
  .section-kicker {
    gap: 14px;
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: 0.18em;
    line-height: 1.6;
  }

  .kicker::before,
  .section-kicker::before,
  .section-kicker::after {
    width: 46px;
  }

  h1 {
    font-size: clamp(56px, 14vw, 74px);
    line-height: 1.04;
    letter-spacing: -0.04em;
  }

  h2 {
    font-size: 38px;
    letter-spacing: -0.03em;
  }

  .english-title {
    font-size: 12px;
    letter-spacing: 0.16em;
    margin-bottom: 26px;
  }

  .hero-badge {
    min-height: 48px;
    padding: 0 16px;
    font-size: 13px;
  }

  .hero-copy,
  .section-copy {
    font-size: 16px;
    line-height: 1.8;
  }

  .hero-actions {
    display: grid;
    gap: 16px;
  }

  .button {
    width: 100%;
    min-height: 72px;
    font-size: 15px;
  }

  .metric-grid {
    margin-top: 52px;
  }

  .metric-grid div {
    min-height: 104px;
    display: block;
    padding: 18px;
  }

  .metric-grid strong {
    display: block;
    margin-bottom: 8px;
    font-size: 36px;
  }

  .section {
    padding: 72px 20px;
  }

  .category-grid,
  .system-list,
  .path-grid {
    grid-template-columns: 1fr;
  }

  .category-grid a {
    min-height: 230px;
    padding: 20px;
  }

  .cat-icon {
    width: 82px;
    height: 82px;
    margin: 20px auto 16px;
  }

  .category-grid strong {
    margin-top: 0;
    font-size: 26px;
  }

  .system-list article,
  .path-grid article,
  .quality-list article {
    min-height: auto;
    padding: 24px;
  }

  .system-list h3,
  .path-grid h3,
  .quality-list h3 {
    margin-top: 42px;
    font-size: 28px;
  }

  .system-list p,
  .path-grid p,
  .quality-list p {
    font-size: 15px;
  }

  .quality-index {
    width: 100%;
  }

  .base-stack {
    gap: 24px;
  }

  .base-stack article {
    grid-template-columns: 1fr;
  }

  .base-stack img {
    height: 220px;
  }

  .base-stack div {
    padding: 26px;
  }

  .base-stack h3 {
    font-size: 31px;
  }

  .culture-list article {
    min-height: 128px;
    padding: 24px;
  }

  .faq-list summary {
    min-height: 88px;
    grid-template-columns: 38px 1fr 24px;
    gap: 12px;
    font-size: 17px;
  }

  .faq-list p {
    margin: 0 0 24px 50px;
    font-size: 14px;
  }

  .official-site strong {
    font-size: 30px;
  }

  .inquiry-form {
    padding: 24px;
  }

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


body.detail-open main > section:not(#detail-page) {
  display: none;
}

body.detail-open #detail-page {
  display: block;
  min-height: calc(100vh - 120px);
  padding-top: 92px;
}

.detail-page[hidden] {
  display: none !important;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 46px;
  color: #d9bd83;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.detail-hero {
  max-width: 980px;
}

.detail-number {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 18px;
  font-style: normal;
  letter-spacing: 0.2em;
}

.detail-title {
  max-width: 1040px;
}

.detail-subtitle {
  margin: 20px 0 0;
  color: #9aabba;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.detail-copy {
  margin-top: 32px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  margin-top: 58px;
}

.detail-media,
.detail-panel,
.detail-columns article,
.detail-related {
  border: 1px solid rgba(201, 162, 96, 0.38);
  background: rgba(6, 24, 43, 0.72);
  box-shadow: var(--shadow);
}

.detail-media {
  min-height: 420px;
  overflow: hidden;
}

.detail-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.82);
}

.detail-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
}

.detail-panel h3,
.detail-related h3,
.detail-columns h3 {
  margin: 0;
  color: var(--white);
  font-size: 28px;
  font-weight: 650;
}

.detail-description {
  margin: 26px 0 0;
  color: #aebccc;
  font-size: 16px;
  line-height: 1.85;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
}

.detail-tags span {
  padding: 9px 12px;
  color: #d7e6f2;
  border: 1px solid rgba(215, 230, 242, 0.18);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.detail-cta {
  margin-top: auto;
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.detail-columns article {
  min-height: 280px;
  padding: 30px;
}

.detail-columns span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.18em;
}

.detail-columns ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.detail-columns li {
  color: #b5c2cf;
  line-height: 1.7;
}

.detail-columns li::before {
  content: "?";
  margin-right: 10px;
  color: var(--gold);
}

.detail-related {
  margin-top: 28px;
  padding: 30px;
}

.detail-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.detail-related-grid a {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  color: var(--white);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.028);
}

.detail-related-grid a span {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.base-stack article {
  cursor: pointer;
}

@media (max-width: 1120px) {
  .detail-layout,
  .detail-columns {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  body.detail-open #detail-page {
    padding-top: 84px;
  }

  .detail-layout {
    margin-top: 38px;
  }

  .detail-media {
    min-height: 260px;
  }

  .detail-related-grid {
    grid-template-columns: 1fr;
  }
}


.detail-products {
  margin-top: 28px;
  padding: 30px;
  border: 1px solid rgba(201, 162, 96, 0.38);
  background: rgba(6, 24, 43, 0.72);
  box-shadow: var(--shadow);
}

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

.detail-products-head span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.detail-products-head h3 {
  margin: 0;
  color: var(--white);
  font-size: 28px;
}

.detail-product-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.35fr) repeat(2, minmax(180px, 0.75fr));
  gap: 16px;
}

.detail-product-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(215, 230, 242, 0.16);
  background: rgba(255,255,255,0.03);
}

.detail-product-card:first-child {
  min-height: 360px;
  grid-row: span 2;
}

.detail-product-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.95) brightness(0.9);
  transition: transform .35s ease;
}

.detail-product-card:hover img {
  transform: scale(1.035);
}

.detail-product-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  color: #f7fbff;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: 13px;
  letter-spacing: .08em;
  text-shadow: 0 8px 20px rgba(0,0,0,.5);
}

@media (max-width: 860px) {
  .detail-product-grid {
    grid-template-columns: 1fr;
  }

  .detail-product-card,
  .detail-product-card:first-child {
    min-height: 260px;
    grid-row: auto;
  }

  .detail-products-head {
    display: grid;
  }
}

