:root {
  color-scheme: dark;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: #060907;
  color: #f2f7f3;
  --green: #91ff9f;
  --muted: #95a097;
  --line: #26342a;
  --panel: #0c120e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #060907; overflow-x: hidden; }
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(#12201655 1px, transparent 1px),
    linear-gradient(90deg, #12201655 1px, transparent 1px),
    radial-gradient(circle at 70% 0%, #26533055, transparent 28%);
  background-size: 64px 64px, 64px 64px, auto;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.logo { font-weight: 900; letter-spacing: -.04em; }
.logo i { color: var(--green); font-style: normal; }
.nav nav { display: flex; gap: 30px; color: #bbc4bd; font-size: 14px; }
.nav nav a:hover { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-link { color: #aeb8b0; font-size: 12px; font-weight: 700; }
.lang-link:hover { color: var(--green); }
.nav-cta { padding: 10px 15px; border: 1px solid #416048; border-radius: 999px; font-size: 13px; }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 64px;
  padding-block: 90px;
}

.eyebrow { margin: 0; color: var(--green); font: 800 11px ui-monospace, SFMono-Regular, monospace; letter-spacing: .18em; }
.hero h1 { margin: 26px 0 22px; font-size: clamp(72px, 9vw, 132px); line-height: 1; letter-spacing: -.05em; }
.hero h1 span, .hero h1 em { display: block; width: max-content; max-width: 100%; white-space: nowrap; }
.hero h1 em { margin-top: .12em; }
.lang-en .hero h1 { font-size: clamp(64px, 7.8vw, 112px); letter-spacing: -.06em; }
h1 em, h2 em { color: var(--green); font-style: normal; }
.hero-thesis { margin: 0 0 22px; color: #e2e9e4; font-size: clamp(20px, 2vw, 27px); font-weight: 650; letter-spacing: -.025em; }
.hero-thesis span, .hero-thesis strong { white-space: nowrap; }
.hero-thesis strong { color: var(--green); font-weight: 750; }
.lede { max-width: 700px; margin: 0; color: #adb8b0; font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; }
.button { padding: 14px 18px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; font-weight: 750; }
.button.primary { background: var(--green); border-color: var(--green); color: #071009; }
.button.ghost:hover { border-color: var(--green); }

.hero-aside { display: grid; grid-template-columns: 40px 1fr; border-top: 1px solid var(--line); }
.hero-aside span, .hero-aside p { margin: 0; padding: 15px 0; border-bottom: 1px solid var(--line); }
.hero-aside span { color: var(--green); font: 700 11px ui-monospace, monospace; }
.hero-aside p { color: #c9d0cb; font-size: 14px; }

.film, .cases, .how { padding-block: 110px; }
.film-head, .section-title { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; margin-bottom: 38px; }
.film h2, .section-title h2, .proof h2 { margin: 12px 0 0; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.06em; }
.film-head > p, .section-title > p, .proof-intro > p { margin: 0; color: var(--muted); line-height: 1.75; }
.player-frame { position: relative; overflow: hidden; border: 1px solid #385040; border-radius: 18px; background: #020403; box-shadow: 0 30px 90px #0009; }
.player-frame video { display: block; width: 100%; aspect-ratio: 16/9; }
.player-frame > span { position: absolute; top: 14px; right: 14px; padding: 7px 9px; border: 1px solid #3a4d3f; border-radius: 999px; background: #050806cc; color: #aeb9b0; font: 700 9px ui-monospace, monospace; letter-spacing: .1em; pointer-events: none; }

.proof { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; padding-block: 110px; border-block: 1px solid var(--line); }
.proof-intro > p:last-child { margin-top: 25px; }
.proof-flow { margin: 0; padding: 0; list-style: none; counter-reset: proof; }
.proof-flow li { display: grid; grid-template-columns: 100px 1fr; gap: 30px; padding: 24px 0; border-top: 1px solid var(--line); }
.proof-flow li:last-child { border-bottom: 1px solid var(--line); }
.proof-flow b { color: var(--green); font: 800 12px ui-monospace, monospace; letter-spacing: .14em; }
.proof-flow span { color: #bcc5be; }

.case-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.case { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, #0e1510, #090d0a); }
.case-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr .75fr; }
.case-media { position: relative; width: 100%; padding: 0; border: 0; overflow: hidden; background: #050806; cursor: pointer; }
.case-media img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 600ms, filter 600ms; }
.case-media span { position: absolute; left: 18px; bottom: 18px; padding: 10px 13px; border-radius: 999px; background: #ecfff0; color: #071009; font-size: 12px; font-weight: 800; }
.case-media:hover img { transform: scale(1.025); filter: brightness(.7); }
.case-copy { padding: 28px; }
.case-copy small { color: var(--green); font: 800 10px ui-monospace, monospace; letter-spacing: .14em; }
.case-copy h3 { margin: 13px 0 12px; font-size: 29px; line-height: 1.15; letter-spacing: -.04em; }
.case-copy p { margin: 0; color: var(--muted); line-height: 1.7; }
.case-copy ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.case-copy li { padding: 7px 9px; border: 1px solid #34463a; border-radius: 999px; color: #bec8c0; font: 700 10px ui-monospace, monospace; }

.how { border-top: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.how-grid article { min-height: 260px; padding: 24px; border: 1px solid var(--line); border-right: 0; }
.how-grid article:last-child { border-right: 1px solid var(--line); }
.how-grid span { color: var(--green); font: 800 11px ui-monospace, monospace; }
.how-grid h3 { margin: 68px 0 12px; font-size: 28px; letter-spacing: -.04em; }
.how-grid p { margin: 0; color: var(--muted); line-height: 1.65; }

.closing { margin-block: 80px; padding: 90px; border-radius: 22px; background: radial-gradient(circle at 80% 20%, #34714377, transparent 33%), #0b110d; border: 1px solid #354a3b; }
.closing h2 { margin: 18px 0 24px; font-size: clamp(62px, 7.5vw, 104px); line-height: 1; letter-spacing: -.045em; }
.closing h2 span, .closing h2 em { display: block; width: max-content; max-width: 100%; white-space: nowrap; }
.closing h2 em { margin-top: .12em; }
.lang-en .closing h2 { font-size: clamp(54px, 6.8vw, 90px); letter-spacing: -.055em; }
.closing > p:not(.eyebrow) { max-width: 650px; color: #aeb8b0; font-size: 18px; line-height: 1.7; }
.platforms { display: flex; gap: 10px; margin-top: 32px; }
.platforms span { padding: 10px 13px; border: 1px solid #45604c; border-radius: 999px; color: #d8e6db; font: 700 10px ui-monospace, monospace; letter-spacing: .08em; }

footer { min-height: 110px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer span { text-align: right; }

dialog { width: min(1100px, calc(100% - 40px)); padding: 42px 18px 18px; border: 1px solid #3b5141; border-radius: 18px; background: #080c09; color: #fff; box-shadow: 0 40px 120px #000; }
dialog::backdrop { background: #020403dd; backdrop-filter: blur(10px); }
dialog video { display: block; width: 100%; margin-top: 12px; border-radius: 10px; background: #000; }
.dialog-close { position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #19231c; cursor: pointer; }

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 640px); }
  .nav nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 55px; padding-block: 80px; }
  .hero h1 { font-size: clamp(58px, 16vw, 90px); letter-spacing: -.045em; }
  .lang-en .hero h1 { font-size: clamp(42px, 11.5vw, 76px); letter-spacing: -.055em; }
  .hero-thesis { max-width: 14em; font-size: 20px; line-height: 1.5; }
  .hero-thesis span, .hero-thesis strong { display: block; }
  .lang-en .hero-thesis { max-width: 19em; }
  .lang-en .closing h2 { font-size: clamp(32px, 9vw, 52px); }
  .lang-zh .closing h2 { font-size: clamp(40px, 11vw, 62px); }
  .film, .cases, .how { padding-block: 78px; }
  .film-head, .section-title, .proof { grid-template-columns: 1fr; gap: 28px; }
  .proof { padding-block: 80px; }
  .case-list { grid-template-columns: 1fr; }
  .case-wide { grid-column: auto; display: block; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .how-grid article:nth-child(2) { border-right: 1px solid var(--line); }
  .closing { padding: 54px 26px; }
  .platforms { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
}

@media (max-width: 520px) {
  .nav-cta { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid article { border-right: 1px solid var(--line); }
}
