:root {
  --navy: #030912;
  --surface: #0a1628;
  --border: #1c3456;
  --text: #eef4fc;
  --muted: #a3b8d2;
  --blue: #0072f5;
  --cyan: #00b4ff;
  --gradient: linear-gradient(135deg, var(--cyan), var(--blue));
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at top, #0b2447 0%, var(--navy) 55%) no-repeat, var(--navy);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--cyan);
}

.hero {
  text-align: center;
  padding: 48px 16px 24px;
}

.hero-logo {
  width: min(560px, 92vw);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(0, 150, 255, 0.35));
}

.tagline {
  max-width: 680px;
  margin: 18px auto 26px;
  font-size: 18px;
  color: var(--muted);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.button.primary {
  background: var(--gradient);
  border-color: var(--blue);
  box-shadow: 0 8px 26px rgba(0, 114, 245, 0.4);
}

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

section {
  padding: 36px 0;
}

h2 {
  font-size: 26px;
  margin: 0 0 16px;
}

h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.download {
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--cyan);
  background: var(--surface);
}

.download:hover {
  border-color: var(--cyan);
}

.download-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text);
  text-decoration: none;
}

.download strong {
  font-size: 18px;
}

.download span {
  color: var(--muted);
  font-size: 14px;
}

.download .files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.download .files a {
  font-size: 13px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px;
}

.features article {
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.features p {
  margin: 0;
  color: var(--muted);
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.screenshots figure {
  margin: 0;
  text-align: center;
}

.screenshots img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.screenshots figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.roadmap {
  padding-left: 22px;
}

.roadmap li {
  margin-bottom: 8px;
  color: var(--muted);
}

.roadmap li strong {
  color: var(--text);
}

.roadmap li.done::marker {
  color: var(--cyan);
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 30px;
  padding: 24px 16px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.version-badge {
  display: table;
  margin: 14px auto 0;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
}

.lang-switch {
  position: absolute;
  top: 14px;
  right: 16px;
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
}

.lang-switch button {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--gradient);
  color: #ffffff;
}
