:root {
  --bg: #01141b;
  --bg-2: #012d3a;
  --panel: #013643;
  --panel-2: #014e68;
  --line: rgba(13, 106, 134, 0.55);
  --line-soft: rgba(123, 238, 255, 0.14);
  --text: #eaf8fb;
  --dim: #a9cdd8;
  --mute: #7f9fae;
  --accent: #7beeff;
  --accent-2: #ffc46b;
  --hot: #ff8a7a;
  --cold: #a6c6ff;
  --violet: #b18cff;
  --radius: 18px;
  --wrap: 1180px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

section[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(123, 238, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 238, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 40% at 75% 8%, rgba(123, 238, 255, 0.16), transparent 65%),
    radial-gradient(ellipse 50% 40% at 12% 30%, rgba(1, 78, 104, 0.55), transparent 70%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(1, 54, 67, 0.65), transparent 70%);
  pointer-events: none;
}

::selection { background: var(--accent); color: var(--bg); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; }
.nw { white-space: nowrap; }

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
}
.skip:focus { left: 16px; }

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
}

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.035em; }

h2 {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.04;
  max-width: 760px;
}

.lead {
  margin: 22px 0 0;
  max-width: 560px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: var(--dim);
}

.section-lead {
  margin: 18px 0 0;
  max-width: 620px;
  font-size: 1rem;
  color: var(--dim);
}

.fine {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--mute);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(1, 20, 27, 0.75);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  background: rgba(1, 20, 27, 0.92);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand img { display: block; filter: drop-shadow(0 0 12px rgba(123, 238, 255, 0.25)); }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav a {
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--dim);
  transition: color 0.18s ease;
}
.nav a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(1, 54, 67, 0.45);
}
.lang a {
  display: inline-block;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 4px 7px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.lang a.active { background: var(--accent); color: var(--bg); }
.lang a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(180deg, #9df4ff, var(--accent));
  color: #002c36;
  box-shadow: 0 8px 30px rgba(123, 238, 255, 0.22);
}
.btn-primary:hover { box-shadow: 0 10px 36px rgba(123, 238, 255, 0.32); }

.btn-ghost {
  border-color: var(--line);
  background: rgba(1, 54, 67, 0.35);
  color: var(--dim);
}
.btn-ghost:hover { border-color: rgba(123, 238, 255, 0.5); color: var(--text); }

.btn-donate {
  border-color: rgba(255, 138, 122, 0.35);
  background: rgba(255, 138, 122, 0.07);
  color: var(--hot);
}
.btn-donate svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: none;
}
.btn-donate:hover { border-color: rgba(255, 138, 122, 0.65); background: rgba(255, 138, 122, 0.12); }

.menu {
  display: none;
  width: 38px;
  height: 38px;
  padding: 10px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(1, 54, 67, 0.35);
  cursor: pointer;
}
.menu span {
  display: block;
  height: 1.5px;
  margin: 4px 0;
  background: var(--dim);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- hero ---------- */

.hero { padding: 78px 0 56px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 54px;
}

.hero h1 {
  font-size: clamp(3.4rem, 7.6vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.hero h1 span { display: block; }
.hero h1 .accent {
  background: linear-gradient(96deg, #b8f7ff 0%, var(--accent) 34%, var(--cold) 66%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 38px rgba(123, 238, 255, 0.18));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-visual { position: relative; }

.window {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(123, 238, 255, 0.25);
  border-radius: 16px;
  background: #01222c;
  overflow: hidden;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(123, 238, 255, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  background: rgba(1, 45, 58, 0.9);
  border-bottom: 1px solid rgba(123, 238, 255, 0.12);
}
.window-bar .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
}
.window-bar .dot:nth-child(1) { background: var(--hot); }
.window-bar .dot:nth-child(2) { background: var(--accent-2); }
.window-bar .dot:nth-child(3) { background: var(--accent); }
.window-bar em {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9.5px;
  font-style: normal;
  letter-spacing: 0.06em;
  color: var(--mute);
}
.window img { display: block; width: 100%; height: auto; }

.glow {
  position: absolute;
  inset: -12% -8% -18% -8%;
  z-index: 0;
  background: radial-gradient(ellipse 60% 55% at 60% 55%, rgba(123, 238, 255, 0.25), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.stats div { display: flex; flex-direction: column; gap: 4px; }
.stats strong {
  font-family: var(--mono);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text);
}
.stats span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------- sections ---------- */

.section { padding: 92px 0; }

#features { padding-top: 36px; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(1, 54, 67, 0.72), rgba(1, 45, 58, 0.38));
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(123, 238, 255, 0.42);
  background: linear-gradient(160deg, rgba(1, 60, 75, 0.85), rgba(1, 45, 58, 0.45));
}
.card .icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(123, 238, 255, 0.28);
  border-radius: 10px;
  background: rgba(123, 238, 255, 0.06);
  color: var(--accent);
}
.card .icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 { font-size: 16.5px; letter-spacing: -0.02em; }
.card p {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--dim);
}

/* ---------- split sections ---------- */

.split-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 56px;
}
.split.reverse .split-grid > .split-copy { order: 2; }
.split.reverse .split-grid > .shot { order: 1; }

.ticks {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 25px;
  font-size: 14px;
  color: var(--dim);
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
}

.shot {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(1, 54, 67, 0.65), rgba(1, 45, 58, 0.3));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.shot img {
  display: block;
  width: 100%;
  border-radius: 11px;
  border: 1px solid rgba(123, 238, 255, 0.12);
}
.shot.vu {
  justify-self: center;
  width: 100%;
  max-width: 390px;
  padding: 18px;
}
.shot.vu img { border: 0; }

/* ---------- themes ---------- */

.theme-preview {
  max-width: 1080px;
  margin: 42px auto 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(1, 54, 67, 0.65), rgba(1, 45, 58, 0.3));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.theme-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
  transition: opacity 0.18s ease;
}
.theme-preview img.is-swapping { opacity: 0.35; }

.swatches {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  max-width: 1080px;
  margin: 16px auto 0;
}
.swatch {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px;
  min-height: 122px;
  border: 1px solid rgba(123, 238, 255, 0.16);
  border-radius: 14px;
  background: var(--sw-bg);
  color: var(--sw-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.swatch:hover { transform: translateY(-3px); border-color: var(--sw-accent); }
.swatch[aria-pressed="true"] {
  border-color: var(--sw-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--sw-accent) 45%, transparent),
              0 14px 30px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}
.swatch:focus-visible {
  outline: 2px solid var(--sw-accent);
  outline-offset: 3px;
}
.swatch span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.92;
}
.swatch i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--sw-panel);
}
.swatch i:nth-of-type(2) { background: var(--sw-accent); width: 70%; }
.swatch i:nth-of-type(3) { background: var(--sw-text); opacity: 0.35; width: 40%; }

/* ---------- downloads ---------- */

.downloads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
}
.download {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(1, 54, 67, 0.7), rgba(1, 45, 58, 0.35));
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.download:hover { transform: translateY(-3px); border-color: rgba(123, 238, 255, 0.45); }
.download .os { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.download .file {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.download .path { font-size: 12px; color: var(--mute); }
.download .dl {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.download .dl svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}
.download:hover .dl svg { transform: translateY(2px); }

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

/* ---------- donate ---------- */

.donate-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 30px;
  border: 1px solid rgba(255, 138, 122, 0.22);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 50% 100% at 0% 50%, rgba(255, 138, 122, 0.1), transparent 65%),
    linear-gradient(120deg, rgba(1, 54, 67, 0.72), rgba(1, 45, 58, 0.42));
}
.donate-heart {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: rgba(255, 138, 122, 0.1);
  border: 1px solid rgba(255, 138, 122, 0.3);
  color: var(--hot);
  font-size: 23px;
}
.donate-copy { flex: 1; }
.donate-copy h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); letter-spacing: -0.025em; }
.donate-copy p { margin: 6px 0 0; font-size: 13.5px; color: var(--dim); }

/* ---------- footer ---------- */

.footer {
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  background: rgba(1, 20, 27, 0.6);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand .brand { font-size: 15px; }
.footer-brand p { margin: 0; font-size: 11.5px; color: var(--mute); }
.footer-nav { display: flex; gap: 18px; margin-left: auto; }
.footer-nav a { font-size: 11.5px; color: var(--dim); transition: color 0.18s ease; }
.footer-nav a:hover { color: var(--accent); }
.copy { margin: 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--mute); }

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: none; }

.cards .card:nth-child(2), .swatches .swatch:nth-child(2) { transition-delay: 0.04s; }
.cards .card:nth-child(3), .swatches .swatch:nth-child(3) { transition-delay: 0.08s; }
.cards .card:nth-child(4), .swatches .swatch:nth-child(4) { transition-delay: 0.12s; }
.cards .card:nth-child(5), .swatches .swatch:nth-child(5) { transition-delay: 0.04s; }
.cards .card:nth-child(6), .swatches .swatch:nth-child(6) { transition-delay: 0.08s; }
.cards .card:nth-child(7), .swatches .swatch:nth-child(7) { transition-delay: 0.12s; }
.cards .card:nth-child(8) { transition-delay: 0.16s; }

/* ---------- responsive ---------- */

@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { max-width: 820px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-grid > .split-copy { order: 0; }
  .split.reverse .split-grid > .shot { order: 0; }
  .swatches { grid-template-columns: repeat(4, 1fr); }
  .downloads { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 24px;
    right: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(1, 26, 34, 0.98);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 11px 12px; border-radius: 8px; font-size: 14px; }
  .nav a:hover { background: rgba(123, 238, 255, 0.06); }
  .menu { display: block; }
  .header-cta { display: none; }
  .header-inner { gap: 14px; }
  .header-actions { margin-left: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 20px 18px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 54px; }
  .section { padding: 68px 0; }
  .btn-donate span { display: none; }
  .btn-donate { padding: 10px 11px; }
  .cards { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .swatches { gap: 8px; }
  .swatch { min-height: 56px; padding: 10px 12px; flex-direction: row; align-items: center; gap: 8px; }
  .swatch span { flex: 1; }
  .swatch i { width: 34px; height: 8px; }
  .swatch i:nth-of-type(2), .swatch i:nth-of-type(3) { display: none; }
  .donate-inner { flex-direction: column; align-items: flex-start; }
  .donate-heart { width: 46px; height: 46px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-nav { margin-left: 0; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Lite / FULL */
.price-table{width:100%;border-collapse:collapse;margin:28px 0 0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel)}
.price-table th,.price-table td{padding:13px 18px;border-bottom:1px solid var(--line);font-size:14px;text-align:left}
.price-table thead th{font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--dim);white-space:nowrap}
.price-table tbody tr:last-child td{border-bottom:0}
.price-table td+td,.price-table th+th{text-align:center;width:140px;color:var(--accent)}
.price-table td:first-child{color:var(--text)}
#download h2{max-width:820px}
.full-actions{margin-top:22px;border:1px solid color-mix(in srgb,var(--accent) 40%,var(--line));border-radius:14px;padding:24px;background:color-mix(in srgb,var(--accent) 6%,var(--panel))}
.full-actions p{margin:0 0 8px;color:var(--dim);max-width:760px}
.full-actions .fine{font-size:13px;opacity:.85}
.full-actions .btn{margin-top:12px}
.donate-actions{display:flex;gap:10px;flex-wrap:wrap}
@media (max-width:700px){.price-table th,.price-table td{padding:10px 12px;font-size:13px}.price-table td+td,.price-table th+th{width:70px}}

/* Lite / PRO comparison */
.compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.compare figure { margin: 0; }
.compare img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.compare figcaption {
  margin-top: 9px;
  font-size: 12.5px;
  color: var(--mute);
}
.compare figcaption b { color: var(--text); font-weight: 600; }
