:root {
  --bg: #0b0d10;
  --elev: #14171c;
  --elev-2: #1a1e25;
  --text: #f1f3f5;
  --muted: #9aa3ad;
  --line: rgba(241, 243, 245, .1);
  --signal: #e11d2e;
  --signal-hover: #ff2d3f;
  --chrome: #2a2f38;
  --ok: #3dd68c;
  --font-display: "Sora", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --max: 1280px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(11, 13, 16, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: min(var(--max), calc(100% - 40px));
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 650; letter-spacing: .02em;
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 5px;
  background:
    linear-gradient(135deg, var(--signal) 50%, transparent 50%),
    linear-gradient(315deg, #eceff3 50%, var(--chrome) 50%);
}
.brand em { font-style: normal; color: var(--muted); font-weight: 500; font-size: 12px; margin-left: 2px; }
.nav-links { display: flex; gap: 20px; font-size: 13.5px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 8px 14px; border-radius: 6px; font-size: 13px; font-weight: 600;
  background: var(--signal); color: #fff;
}
.nav-cta:hover { background: var(--signal-hover); }
.nav-toggle { display: none; width: 40px; height: 40px; place-items: center; }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--text); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--signal); color: #fff; }
.btn-primary:hover { background: var(--signal-hover); }
.btn-ghost {
  border: 1px solid rgba(241,243,245,.22);
  background: rgba(255,255,255,.03);
}
.btn-ghost:hover { border-color: rgba(241,243,245,.45); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 15px; }

/* Hero: product thesis = full Windows main UI */
.hero {
  position: relative;
  padding: 48px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(225, 29, 46, .16), transparent 55%),
    radial-gradient(700px 380px at 0% 100%, rgba(80, 100, 130, .12), transparent 50%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.25fr);
  gap: 36px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--signal);
}
.hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700; line-height: 1.12; letter-spacing: -.01em;
}
.hero h1 span { color: var(--signal); }
.hero-lead {
  margin: 0 0 22px; color: var(--muted); font-size: 15.5px; max-width: 460px; line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 14px 18px;
  color: var(--muted); font-size: 12.5px;
}
.hero-meta b { color: var(--ok); font-weight: 600; }

/* Windows chrome frame — show FULL screenshot */
.win-frame {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #0a0c0f;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 28px 80px rgba(0,0,0,.55);
}
.win-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 34px; padding: 0 12px;
  background: linear-gradient(180deg, #22262e, #181b21);
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 12px; color: #c5cad1;
}
.win-bar-left { display: flex; align-items: center; gap: 8px; }
.win-dot { width: 9px; height: 9px; border-radius: 50%; background: #4a5160; }
.win-dot.r { background: #e11d2e; }
.win-dot.y { background: #d4a017; }
.win-dot.g { background: #3a9e5c; }
.win-screen {
  background: #050607;
  padding: 0;
}
.win-screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  vertical-align: top;
}

/* Sections */
section { padding: 76px 0; }
.section-head { margin-bottom: 28px; max-width: 640px; }
.section-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 680; letter-spacing: -.01em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Windows main page spotlight */
.win-home {
  background: linear-gradient(180deg, #10131a 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.win-home .win-frame { max-width: 100%; }

/* Capability rows — no numbered cards */
.cap-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cap-row {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 20px; padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cap-row h3 {
  margin: 0; font-family: var(--font-display);
  font-size: 17px; font-weight: 650;
}
.cap-row p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Gallery — equal-size screenshot frames */
.gallery { display: grid; gap: 40px; }
.shot {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: center;
}
/* Keep same column widths; only swap visual order */
.shot.reverse .shot-copy { order: 1; }
.shot.reverse .win-frame { order: 2; }
.shot .win-frame {
  width: 100%;
  margin: 0;
}
.shot .win-screen {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #07090c;
}
.shot .win-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.shot-copy .label {
  margin: 0 0 8px; font-family: var(--font-display);
  font-size: 11px; letter-spacing: .18em; color: var(--signal); text-transform: uppercase;
}
.shot-copy h3 {
  margin: 0 0 10px; font-family: var(--font-display);
  font-size: 24px; font-weight: 650;
}
.shot-copy p { margin: 0 0 12px; color: var(--muted); }
.shot-copy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.shot-copy li {
  position: relative; padding-left: 14px; font-size: 13.5px; color: #c8ced6;
}
.shot-copy li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; background: var(--signal); border-radius: 1px;
}

/* Modules */
.mod-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--elev); }
.mod-group + .mod-group { margin-top: 28px; }
.mod-group h3 {
  margin: 0 0 12px; font-size: 12px; letter-spacing: .14em;
  color: var(--muted); text-transform: uppercase; font-family: var(--font-display);
}
.mod-list { display: flex; flex-wrap: wrap; gap: 8px; }
.mod-list span {
  padding: 7px 11px; border: 1px solid var(--line);
  background: rgba(255,255,255,.02); font-size: 13px; color: #d7dce3; border-radius: 4px;
}

/* Download */
.download {
  background:
    radial-gradient(600px 280px at 20% 0%, rgba(225,29,46,.14), transparent 60%),
    var(--bg);
}
.download-box {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px;
  padding: 28px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--elev);
}
.dl-specs { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 13.5px; }
.dl-specs li strong { color: var(--text); font-weight: 600; }
.dl-panel {
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: 20px; border-radius: 10px; background: var(--elev-2); border: 1px solid var(--line);
}
.dl-panel .pkg {
  font-family: var(--font-display); font-size: 15px; font-weight: 650;
}
.dl-panel .pkg span { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; font-weight: 500; font-family: var(--font-body); }

/* Scenes */
.scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.scene {
  padding: 20px 16px; min-height: 140px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--elev);
}
.scene b {
  display: block; margin-bottom: 8px;
  font-family: var(--font-display); font-size: 18px; font-weight: 650;
}
.scene p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* CTA */
.cta-band {
  padding: 64px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #12151b, var(--bg));
}
.cta-band .wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cta-band h2 {
  margin: 0 0 6px; font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px); font-weight: 680;
}
.cta-band p { margin: 0; color: var(--muted); max-width: 460px; }

.site-foot {
  padding: 24px 0 36px; color: var(--muted); font-size: 12.5px;
}
.site-foot .wrap {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid, .shot, .download-box { grid-template-columns: 1fr; }
  .shot.reverse .shot-copy { order: 2; }
  .shot.reverse .win-frame { order: 1; }
  .cap-row { grid-template-columns: 1fr; gap: 6px; }
  .scenes { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    padding: 14px 20px 18px; background: rgba(11,13,16,.97);
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: grid; }
}
@media (max-width: 640px) {
  .scenes { grid-template-columns: 1fr; }
  .wrap, .nav .wrap { width: min(var(--max), calc(100% - 28px)); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
