:root {
  color-scheme: dark;
  --ink: #07101f;
  --ink-soft: #0c1729;
  --paper: #f7f8fc;
  --muted: #c0cad9;
  --muted-dark: #516077;
  --line: rgba(226, 236, 255, .18);
  --cyan: #8bdfff;
  --violet: #7866ff;
  --nav-height: 76px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
body[data-lang="zh"] .lang-en,
body[data-lang="en"] .lang-zh { display: none !important; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  backdrop-filter: blur(20px);
  background: rgba(5, 12, 18, .68);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
body[data-page="home"] .site-header {
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
body[data-page="home"] .brand,
body[data-page="home"] .brand-text small {
  transition: color .35s ease;
}
body[data-page="home"]:not(.hero-scrolled) .site-header {
  background: rgba(5, 12, 18, .08);
  border-bottom-color: transparent;
  box-shadow: none;
}
.header-inner {
  max-width: 1180px;
  height: var(--nav-height);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}
.brand img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}
.brand-text small {
  display: block;
  margin-top: 3px;
  color: #aac1d7;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
}
.nav-wrap { display: flex; align-items: center; gap: 16px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a {
  padding: 11px 14px;
  border-radius: 999px;
  color: #aac1d7;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.site-nav a[aria-current="page"] { color: #ecf6ff; background: rgba(255,255,255,.08); }
.toolbar { display: flex; align-items: center; gap: 10px; }
.nav-tool, .ghost-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 15px;
  border: 1px solid rgba(226, 236, 255, .16);
  border-radius: 999px;
  color: #f4f7fc;
  background: rgba(255, 255, 255, .08);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.nav-tool:hover, .ghost-btn:hover { transform: translateY(-1px); }
.nav-toggle { display: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  --cyan: #8bdfff;
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 720px;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding: 150px max(7vw, calc((100vw - 1320px) / 2)) 112px;
  background: #050b16;
}
.hero::before,
.hero::after,
.hero-backdrop { position: absolute; inset: 0; pointer-events: none; }
.hero-backdrop {
  z-index: -3;
  background-image: url("./homepage_background.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.025);
  animation: backdrop-drift 32s ease-in-out infinite alternate;
}
.hero::before {
  z-index: -2;
  content: "";
  background:
    radial-gradient(ellipse at 74% 46%, rgba(49, 87, 145, .12), transparent 42%),
    linear-gradient(90deg, rgba(3, 9, 20, .96) 0%, rgba(4, 11, 24, .86) 31%, rgba(5, 12, 25, .48) 66%, rgba(5, 10, 22, .42) 100%),
    linear-gradient(0deg, rgba(3, 8, 17, .88) 0%, transparent 32%, rgba(4, 10, 21, .24) 100%);
}
.hero::after {
  z-index: -1;
  content: "";
  opacity: .22;
  background-image: radial-gradient(rgba(225, 240, 255, .38) .55px, transparent .7px);
  background-size: 5px 5px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 850px);
  padding-top: 10px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 34px;
  color: #d7e4f3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow-line { display: inline-block; width: 28px; height: 1px; background: #9ddcf5; }
.eyebrow-separator { color: rgba(214, 228, 245, .55); }
h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(66px, 9.4vw, 142px);
  font-weight: 900;
  letter-spacing: -.085em;
  line-height: .83;
  text-wrap: balance;
  text-shadow: 0 10px 48px rgba(0, 0, 0, .2);
}
h1 .versus {
  display: inline-block;
  color: var(--cyan);
  font-size: .62em;
  letter-spacing: -.07em;
  transform: translateY(-.06em);
}
h1 .trojan { display: inline-block; margin-top: .08em; }
.hero-kicker {
  margin: 34px 0 0;
  color: #f3f6fc;
  font-size: clamp(17px, 1.65vw, 22px);
  font-weight: 650;
  letter-spacing: -.025em;
}
.hero-copy {
  max-width: 560px;
  margin: 13px 0 0;
  color: #c1ccdc;
  font-size: 15px;
  line-height: 1.8;
  text-wrap: pretty;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; margin-top: 34px; }
.primary-action {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 0 25px 0 27px;
  border-radius: 999px;
  color: #0b1730;
  background: #fff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .2);
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-action:hover { transform: translateY(-3px); box-shadow: 0 17px 42px rgba(0, 0, 0, .3); }
.primary-action svg { width: 17px; height: 17px; }
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  color: #e2eaf5;
  font-size: 13px;
  font-weight: 750;
  transition: color .2s ease;
}
.secondary-action:hover { color: var(--cyan); }
.secondary-action svg { width: 14px; height: 14px; }
.hero-bottom-left, .hero-bottom-right {
  position: absolute;
  z-index: 2;
  bottom: 35px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(229, 238, 250, .76);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero-bottom-left { left: max(7vw, calc((100vw - 1320px) / 2)); }
.hero-bottom-right { right: max(7vw, calc((100vw - 1320px) / 2)); text-align: right; }
.bottom-rule { width: 31px; height: 1px; background: rgba(224, 239, 255, .5); }
.bottom-mark { color: var(--cyan); font-size: 18px; line-height: 1; }

.image-credit {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding: 14px max(7vw, calc((100vw - 1320px) / 2));
  color: #8795a9;
  background: #060d19;
  font-size: 10px;
  line-height: 1.6;
}
.image-credit a { color: #b6c7df; text-decoration: underline; text-underline-offset: 2px; }
.image-credit a:hover { color: #fff; }

.after-hero {
  position: relative;
  padding: 105px max(7vw, calc((100vw - 1320px) / 2)) 90px;
  background: linear-gradient(180deg, #081222, #060d19);
  border-top: 1px solid rgba(196, 222, 255, .1);
}
.section-topline { display: flex; justify-content: space-between; gap: 20px; color: #8294ad; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.after-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 9vw; align-items: end; margin-top: 45px; }
.section-label { margin: 0 0 19px; color: var(--cyan); font-size: 10px; font-weight: 850; letter-spacing: .2em; }
.after-grid h2 { margin: 0; color: #f6f8fd; font-size: clamp(38px, 5.5vw, 72px); line-height: .98; letter-spacing: -.065em; }
.after-grid h2 em { color: #8bdfff; font-style: normal; }
.after-copy { max-width: 520px; margin: 0; color: #aebbd0; font-size: 15px; line-height: 1.9; }
.below-links { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(205, 223, 247, .14); }
.below-links a { color: #dbe6f5; font-size: 12px; font-weight: 750; }
.below-links a:hover { color: var(--cyan); }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px max(7vw, calc((100vw - 1320px) / 2)); color: #7f8da2; background: #060d19; font-size: 10px; letter-spacing: .08em; }

/* =========================================================
   LIGHT MODE — SITE CHROME AND CONTENT
   ========================================================= */
body[data-theme="light"] {
  color-scheme: light;
  --paper: #172a45;
  --muted: #435b78;
  --muted-dark: #60758f;
  --line: rgba(53, 88, 135, .17);
  --cyan: #147fa4;
  --violet: #625bdc;
}

body[data-theme="light"] .site-header {
  background: rgba(245, 249, 255, .70);
  border-bottom-color: rgba(43, 74, 114, .14);
  box-shadow: 0 8px 28px rgba(44, 68, 108, .07);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
body[data-page="home"][data-theme="light"]:not(.hero-scrolled) .site-header {
  background: rgba(255, 255, 255, .1);
}
body[data-theme="light"] .brand { color: #172a45; }
body[data-theme="light"] .brand-text small { color: #60758f; }
body[data-page="home"]:not(.hero-scrolled) .brand,
body[data-page="home"]:not(.hero-scrolled) .brand-text small { color: #b9ddf5; }

body[data-theme="light"] .site-nav a {
  color: #344b68;
}
body[data-theme="light"] .site-nav a:hover,
body[data-theme="light"] .site-nav a:focus-visible,
body[data-theme="light"] .site-nav a.is-active,
body[data-theme="light"] .site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(29, 52, 86, .90);
}

body[data-theme="light"] .nav-tool,
body[data-theme="light"] .ghost-btn {
  color: #263e60;
  background: rgba(250, 252, 255, .58);
  border-color: rgba(58, 91, 137, .18);
  box-shadow: 0 4px 16px rgba(57, 82, 122, .06);
}
body[data-theme="light"] .nav-tool:hover,
body[data-theme="light"] .ghost-btn:hover {
  background: rgba(255, 255, 255, .88);
  border-color: rgba(48, 104, 157, .28);
}

body[data-theme="light"] .hero-backdrop::before {
  position: absolute;
  inset: 0;
  content: "";
  background: url("./nebula_background.jpg") left center / cover no-repeat;
  opacity: .46;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 28%, transparent 52%);
  mask-image: linear-gradient(90deg, #000 0%, #000 28%, transparent 52%);
}
body[data-theme="light"] .hero::before {
  background: none;
}
body[data-theme="light"] .hero::after { opacity: .08; }
body[data-theme="light"] .hero h1 { color: #fff; text-shadow: 0 10px 48px rgba(0, 0, 0, .2); }
body[data-theme="light"] .hero h1 .versus { color: #8bdfff; }
body[data-theme="light"] .hero-kicker,
body[data-theme="light"] .hero-copy,
body[data-theme="light"] .eyebrow,
body[data-theme="light"] .secondary-action,
body[data-theme="light"] .hero-bottom-left,
body[data-theme="light"] .hero-bottom-right { color: #fff; }
body[data-theme="light"] .eyebrow-separator { color: rgba(255, 255, 255, .65); }
body[data-theme="light"] .secondary-action:hover { color: #fff; }
body[data-theme="light"] .bottom-rule { background: rgba(255, 255, 255, .65); }
body[data-theme="light"] .image-credit {
  color: #667b95;
  background: #f5f8fd;
  border-top: 1px solid rgba(48, 78, 120, .12);
}
body[data-theme="light"] .image-credit a { color: #304966; }
body[data-theme="light"] .image-credit a:hover { color: #087fa8; }

body[data-theme="light"] .below-links a:hover { color: #087fa8; }

body[data-theme="light"] .after-hero {
  color: #172a45;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(187, 211, 255, .22), transparent 38%),
    radial-gradient(ellipse at 88% 12%, rgba(237, 207, 236, .15), transparent 32%),
    linear-gradient(180deg, #f5f8fd 0%, #eaf1fa 100%);
  border-color: rgba(48, 78, 120, .12);
}
body[data-theme="light"] .section-topline { color: #6a7f99; }
body[data-theme="light"] .section-label { color: #147fa4; }
body[data-theme="light"] .after-grid h2 { color: #172a45; }
body[data-theme="light"] .after-grid h2 em { color: #4f61c6; }
body[data-theme="light"] .after-copy { color: #4b607b; }
body[data-theme="light"] .below-links { border-color: rgba(48, 78, 120, .15); }
body[data-theme="light"] .below-links a { color: #304966; }
body[data-theme="light"] .site-footer {
  color: #667b95;
  background: #e8eff8;
  border-color: rgba(48, 78, 120, .12);
}
@keyframes backdrop-drift { from { transform: scale(1.025) translate3d(0, 0, 0); } to { transform: scale(1.075) translate3d(-.6%, .3%, 0); } }
@media (max-width: 860px) {
  .header-inner { gap: 12px; }
  .nav-toggle {
    display: flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(226, 236, 255, .16);
    border-radius: 14px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
  }
  .nav-toggle .nav-toggle-bar,
  .nav-toggle::before,
  .nav-toggle::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle .nav-toggle-bar { position: relative; }
  .nav-toggle::before { transform: translateY(-6px); }
  .nav-toggle::after { transform: translateY(6px); }
  body.nav-open .nav-toggle .nav-toggle-bar { opacity: 0; }
  body.nav-open .nav-toggle::before { transform: rotate(45deg) translate(1px, 1px); }
  body.nav-open .nav-toggle::after { transform: rotate(-45deg) translate(1px, -1px); }
  .nav-wrap {
    position: fixed;
    top: calc(var(--nav-height) + 10px);
    left: 16px;
    right: 16px;
    display: flex;
    padding: 16px;
    border: 1px solid rgba(226, 236, 255, .15);
    border-radius: 24px;
    background: rgba(8, 17, 33, .96);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .3);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
  }
  .nav-wrap.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-nav, .toolbar { flex-direction: column; align-items: stretch; }
  .site-nav a, .nav-tool, .ghost-btn { justify-content: center; text-align: center; }
  body[data-theme="light"] .nav-wrap { background: rgba(246, 249, 255, .98); border-color: rgba(22, 42, 72, .14); }
  body[data-theme="light"] .nav-toggle { color: #20314c; background: rgba(20, 42, 74, .07); border-color: rgba(20, 42, 74, .14); }
  .hero { min-height: 720px; padding: 140px 25px 115px; }
  .hero-backdrop { background-position: 57% center; }
  .hero::before { background: linear-gradient(90deg, rgba(3, 9, 20, .94), rgba(4, 11, 24, .65)), linear-gradient(0deg, rgba(3, 8, 17, .8), transparent 50%); }
  .eyebrow { gap: 9px; margin-bottom: 27px; font-size: 9px; letter-spacing: .15em; }
  h1 { font-size: clamp(58px, 14vw, 98px); }
  .hero-kicker { margin-top: 27px; font-size: 17px; }
  .hero-copy { max-width: 440px; font-size: 13px; }
  .hero-actions { gap: 14px 20px; margin-top: 27px; }
  .primary-action { min-height: 54px; padding: 0 21px; gap: 18px; font-size: 13px; }
  .hero-bottom-left { left: 25px; bottom: 26px; font-size: 8px; }
  .hero-bottom-right { right: 25px; bottom: 26px; max-width: 44%; font-size: 7px; line-height: 1.6; letter-spacing: .12em; }
  .after-hero { padding: 70px 25px 65px; }
  .after-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 35px; }
  .after-grid h2 { font-size: clamp(40px, 10vw, 58px); }
  .after-copy { font-size: 13px; }
  .site-footer { flex-direction: column; padding: 20px 25px; }
}
@media (max-width: 430px) {
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero-bottom-left { left: 20px; }
  .hero-bottom-right { right: 20px; }
  .hero-bottom-right .bottom-rule { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
