:root {
  --bg: #050506;
  --panel: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f4f6;
  --muted: rgba(255, 255, 255, 0.58);
  --accent: #5ac8fa;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(5, 5, 6, 0.55);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: 0.18em; font-size: 13px; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.nav nav a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav nav a:hover { color: var(--text); }
.nav .cta { color: #000; background: #fff; padding: 7px 16px; border-radius: 999px; font-weight: 700; }
.nav .cta:hover { color: #000; background: #e8e8ee; }

.hero { position: relative; height: 260vh; }
.stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; place-items: center;
}
.glow {
  position: absolute; width: 90vmin; height: 90vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 110, 220, 0.34), rgba(70, 110, 220, 0) 62%);
  filter: blur(20px);
}
.hero-copy {
  position: absolute; top: 15vh; left: 0; right: 0; text-align: center; z-index: 3;
  transition: opacity 0.1s linear;
}
.eyebrow { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.4em; color: var(--muted); }
h1 { margin: 8px 0 0; font-size: clamp(40px, 8vw, 84px); font-weight: 800; letter-spacing: 0.04em; line-height: 1.1; }
.lead { margin: 10px 0 0; font-size: clamp(15px, 2.2vw, 22px); color: rgba(255, 255, 255, 0.82); }
.chip {
  display: inline-block; margin: 18px 0 0; padding: 6px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--accent);
  border: 1px solid rgba(90, 200, 250, 0.4); background: rgba(90, 200, 250, 0.08);
}
.scene { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1400px; perspective-origin: 50% 40%; }
.tilt {
  position: relative; width: min(82vw, 920px); aspect-ratio: 1.37; margin-top: 18vh;
  transform-style: preserve-3d; will-change: transform;
}
.dashboard-layer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.dashboard-layer.front { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.dashboard-layer.l1 { transform: translateZ(0); }
.dashboard-layer.l2 { transform: translateZ(calc(var(--depth, 4px) * -1)); filter: brightness(0.82); }
.dashboard-layer.l3 { transform: translateZ(calc(var(--depth, 4px) * -2)); filter: brightness(0.7); }
.dashboard-layer.l4 { transform: translateZ(calc(var(--depth, 4px) * -3)); filter: brightness(0.6); }
.dashboard-layer.l5 { transform: translateZ(calc(var(--depth, 4px) * -4)); filter: brightness(0.5); }
.dashboard-layer.l6 { transform: translateZ(calc(var(--depth, 4px) * -5)); filter: brightness(0.42); }
.dashboard-layer.l7 { transform: translateZ(calc(var(--depth, 4px) * -6)); filter: brightness(0.35); }
.dashboard-layer.l8 { transform: translateZ(calc(var(--depth, 4px) * -7)); filter: brightness(0.28) blur(1.5px); }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.3em; color: var(--muted);
}
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(var(--muted), transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(0.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

.section { max-width: 1080px; margin: 0 auto; padding: 120px 24px 40px; }
.section h2 { margin: 0; font-size: clamp(26px, 4.4vw, 44px); line-height: 1.35; letter-spacing: 0.01em; }
.sub { margin: 16px 0 0; color: var(--muted); font-size: 16px; max-width: 640px; }
.grid { display: grid; gap: 16px; margin-top: 44px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.card {
  padding: 26px 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line);
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), border-color 0.3s, background 0.3s;
  transform-style: preserve-3d;
}
.card:hover { transform: translateY(-6px) rotateX(3deg); border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.07); }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.grid .reveal:nth-child(4) { transition-delay: 0.08s; }
.grid .reveal:nth-child(5) { transition-delay: 0.16s; }
.grid .reveal:nth-child(6) { transition-delay: 0.24s; }

.window {
  display: grid; grid-template-columns: 190px 1fr; margin-top: 40px; min-height: 340px;
  border-radius: 18px; overflow: hidden; background: #0b0c0f; border: 1px solid var(--line);
  box-shadow: 0 50px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.window-side { background: #0d0e12; padding: 16px 14px; border-right: 1px solid var(--line); }
.dots { display: flex; gap: 6px; margin-bottom: 18px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.window-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.window-side li { padding: 9px 12px; border-radius: 9px; font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.window-side li.on { background: rgba(255, 255, 255, 0.09); color: #fff; }
.window-main { padding: 26px; display: grid; align-content: center; gap: 22px; }
.gauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.gauges figure { margin: 0; text-align: center; }
.gauge { width: 100%; max-width: 120px; }
.gauge .track { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 7; stroke-linecap: round; }
.gauge .needle { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; transform-origin: 50px 50px; transform: rotate(-135deg); transition: transform 1.6s cubic-bezier(.2, .9, .2, 1.2); }
.gauge .hub { fill: #fff; }
.window.in .n-cpu { transform: rotate(-38deg); }
.window.in .n-gpu { transform: rotate(-82deg); }
.window.in .n-ram { transform: rotate(18deg); }
.window.in .n-temp { transform: rotate(-60deg); }
.gauges figcaption { font-size: 11px; font-weight: 700; margin-top: 2px; }
.ram { display: flex; align-items: center; gap: 12px; }
.ram .bolt { padding: 9px 18px; border-radius: 999px; background: #fff; color: #000; font-size: 12px; font-weight: 800; }
.ram .done { margin-left: auto; padding: 6px 14px; border-radius: 999px; background: #fff; color: #000; font-size: 12px; font-weight: 800; opacity: 0; transform: translateY(-6px); transition: all 0.5s ease 1.4s; }
.window.in .done { opacity: 1; transform: none; }
.note { margin: 14px 0 0; font-size: 12px; color: rgba(255, 255, 255, 0.38); }

.download { padding-bottom: 120px; }
.dl-card {
  display: flex; gap: 28px; align-items: center; margin-top: 36px; padding: 32px;
  border-radius: 26px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.dl-card > img { border-radius: 26px; flex: none; }
.dl-body { min-width: 0; }
.warn { margin: 0; font-size: 15px; }
.warn strong { color: var(--accent); }
.meta { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.dl-button {
  display: inline-block; margin-top: 18px; padding: 14px 30px; border-radius: 999px;
  background: #fff; color: #000; font-weight: 800; text-decoration: none; font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dl-button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(90, 200, 250, 0.25); }
details { margin-top: 14px; font-size: 13px; color: var(--muted); }
summary { cursor: pointer; }
details ol { padding-left: 20px; }
code { padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); font-size: 12px; }
.sha { margin: 10px 0 0; font-size: 11px; color: rgba(255, 255, 255, 0.4); word-break: break-all; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.footer {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px;
  padding: 36px 24px 48px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted);
}
.who { display: flex; align-items: center; gap: 12px; }
.who img { border-radius: 50%; }
.who strong { display: block; color: var(--text); font-size: 14px; line-height: 1.2; }
.who small { font-size: 10px; color: rgba(255, 255, 255, 0.4); }
.discord { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 8px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.discord img { border-radius: 8px; }
.footer p { margin: 0; }

@media (max-width: 720px) {
  .nav nav a:not(.cta) { display: none; }
  .window { grid-template-columns: 1fr; }
  .window-side { display: none; }
  .dl-card { flex-direction: column; text-align: center; }
  .grid.two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
}
