:root {
  --bg: #0a0a0f;
  --bg2: #11111a;
  --panel: #171721;
  --ink: #ececf1;
  --muted: #9a9aad;
  --accent: #5ee0c8;
  --accent2: #7b8dff;
  --line: rgba(255,255,255,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "SF Mono", "JetBrains Mono", ui-monospace, monospace;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(123,141,255,0.18), transparent 60%),
    radial-gradient(50% 45% at 85% 20%, rgba(94,224,200,0.14), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

main { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(10,10,15,0.7);
  z-index: 10;
}
.nav .logo { font-weight: 700; font-size: 1.15rem; letter-spacing: 0.06em; text-decoration: none; color: var(--ink); }
.nav .dim { color: var(--muted); font-weight: 400; }
.nav nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
  font-size: 0.86rem;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 90px 0 70px; text-align: center; }
.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.hero h1 em { font-style: normal; color: var(--muted); }
.hero h1 span { color: var(--accent); }
.tagline {
  color: var(--muted);
  max-width: 560px;
  margin: 26px auto 34px;
  font-size: 1.05rem;
}
.actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform 0.12s, box-shadow 0.2s, background 0.2s;
}
.btn.primary {
  background: var(--accent);
  color: #08110e;
  box-shadow: 0 6px 26px rgba(94,224,200,0.35);
}
.btn.primary:hover { transform: translateY(-2px); }
.btn.ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn.ghost:hover { background: rgba(255,255,255,0.05); }
.version { margin-top: 22px; color: var(--muted); font-size: 0.85rem; }

/* Versions page */
.hero.compact { padding: 60px 0 70px; }
.version-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 460px;
  margin: 30px auto 0;
}
.vbtn { display:block; user-select:none; 
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  font-family: inherit;
  cursor: default;
  transition: transform 0.12s, box-shadow 0.2s, background 0.2s;
}
.vbtn.soon {
  background: var(--panel);
  border: 1px dashed var(--line);
  color: var(--muted);
  cursor: pointer;
}
.vbtn.soon:hover { background: rgba(255,255,255,0.04); }
.vbtn.ready {
  background: var(--accent);
  border: 1px solid transparent;
  color: #08110e;
  box-shadow: 0 6px 26px rgba(94,224,200,0.35);
  cursor: pointer;
}
.vbtn.ready:hover { transform: translateY(-2px); }

/* Sections */
section { padding: 70px 0; border-top: 1px solid var(--line); }
section h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.about .lead {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 40px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.card .icon { font-size: 1.6rem; display: inline-block; margin-bottom: 12px; }
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.9rem; }

/* Features list */
.features ul { list-style: none; max-width: 640px; }
.features li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.features li:last-child { border-bottom: none; }
.features li strong { color: var(--accent2); }

/* Screenshots */
.screenshots .shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.shots figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.shots img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

/* Lightbox */
.shots figure { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4,4,8,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }

.lb-img {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 12px 60px rgba(0,0,0,0.6);
  border: 1px solid var(--line);
}
.lb-count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.85rem;
}
.lb-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}
.lb-close:hover { opacity: 1; }
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-btn:hover { background: rgba(255,255,255,0.14); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }

@media (max-width: 600px) {
  .lb-btn { width: 40px; height: 40px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* VM steps */
.steps { list-style: none; max-width: 640px; }
.steps li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.steps li:last-child { border-bottom: none; }
.steps li strong { color: var(--accent2); }

/* Footer */
.footer {
  padding: 40px 0 50px;
  border-top: 1px solid var(--line);
}
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
  font-size: 0.9rem;
}
.specs span { display: block; color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.copy { color: var(--muted); font-size: 0.82rem; }
