/* ===== Base ===== */
:root {
  --bg: #07070d;
  --bg-alt: #0a0a12;
  --card: #0f0f1a;
  --card-2: #13131f;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f1f1f7;
  --muted: #9c9cb2;
  --muted-2: #74748c;
  --accent: #7c5cff;
  --accent-2: #a78bfa;
  --accent-3: #5eead4;
  --green: #4ade80;
  --amber: #fbbf24;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Unbounded", "Manrope", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 750px at 88% -12%, rgba(124, 92, 255, 0.16), transparent 62%),
    radial-gradient(900px 700px at -12% 22%, rgba(94, 234, 212, 0.07), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(124, 92, 255, 0.45); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 14px; }

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2) 55%, var(--accent-3));
  z-index: 120;
  box-shadow: 0 0 18px rgba(124, 92, 255, 0.7);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s, border-color 0.3s, padding 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 8px 0;
  background: rgba(7, 7, 13, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  padding: 7px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(140deg, #9375ff, #6a3cff 60%, #5b2eff);
  box-shadow: 0 8px 24px -8px rgba(124, 92, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.logo-mark svg { width: 100%; height: 100%; }
.brand-name { font-family: var(--display); font-size: 17px; font-weight: 600; }
.brand-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 6px;
  color: var(--accent-2);
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.main-nav a:not(.nav-github) {
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:not(.nav-github):hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.nav-github {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: 8px;
  border-radius: 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav-github svg { width: 19px; height: 19px; }
.nav-github:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(140deg, #9375ff, #6a3cff 60%, #5b2eff);
  box-shadow: 0 4px 14px -4px rgba(124, 92, 255, 0.8);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  padding: 11px 10px;
  flex-direction: column;
  justify-content: space-between;
}
.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s, filter 0.2s;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-sm { padding: 10px 17px; font-size: 14px; border-radius: 11px; }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 15px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #8f72ff, #6a3cff 62%, #5b2eff);
  box-shadow:
    0 14px 34px -12px rgba(124, 92, 255, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow:
    0 20px 44px -12px rgba(124, 92, 255, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-ghost:active { transform: translateY(0); }

/* ===== Reveal ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 148px 0 0;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 62% at 50% 6%, #000 26%, transparent 74%);
  mask-image: radial-gradient(ellipse 75% 62% at 50% 6%, #000 26%, transparent 74%);
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.55;
  animation: orbFloat 16s ease-in-out infinite alternate;
}
.orb-1 {
  width: 520px;
  height: 520px;
  top: -180px;
  left: 52%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.5), transparent 68%);
}
.orb-2 {
  width: 460px;
  height: 460px;
  top: 180px;
  right: -140px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.18), transparent 68%);
  animation-delay: -7s;
}
@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-40px, 50px, 0) scale(1.12); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 74px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.09);
  border: 1px solid rgba(124, 92, 255, 0.24);
}
.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(94, 234, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); }
}

.hero-copy h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 26px 0 22px;
}
.grad-text {
  background: linear-gradient(96deg, var(--accent-2), var(--accent) 46%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 24px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted-2);
}
.hero-meta b { color: var(--muted); font-weight: 700; }
.dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
  opacity: 0.7;
}

/* App window mockup */
.hero-visual {
  position: relative;
  perspective: 1200px;
}
.visual-glow {
  position: absolute;
  inset: 8% -4% -6%;
  background:
    radial-gradient(closest-side, rgba(124, 92, 255, 0.5), transparent 72%);
  filter: blur(60px);
  pointer-events: none;
}
.app-window {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, #161628, #0c0c15 70%);
  box-shadow:
    0 50px 130px -34px rgba(0, 0, 0, 0.85),
    0 24px 80px -40px rgba(124, 92, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease);
  overflow: hidden;
}
.app-window::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 30%);
  opacity: 0.5;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.win-dots { display: inline-flex; gap: 6px; }
.win-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f57;
  opacity: 0.75;
}
.win-dots i:nth-child(2) { background: #febc2e; }
.win-dots i:nth-child(3) { background: #28c840; }
.window-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-inline: auto;
  transform: translateX(24px);
}
.window-spacer { width: 27px; }
.window-body {
  position: relative;
  aspect-ratio: 16 / 10.4;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 18% 0%, rgba(124, 92, 255, 0.16), transparent 58%),
    linear-gradient(150deg, #131323, #0b0b13);
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(16, 16, 28, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.8);
  animation: chipFloat 7s ease-in-out infinite;
  z-index: 2;
}
.chip-java { top: 12%; left: -34px; animation-delay: -1.5s; }
.chip-fabric { top: 46%; right: -26px; animation-delay: -4s; }
.chip-version { bottom: -18px; left: 10%; animation-delay: -2.6s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-amber { background: var(--amber); box-shadow: 0 0 12px rgba(251, 191, 36, 0.7); }
.dot-violet { background: var(--accent-2); box-shadow: 0 0 12px rgba(167, 139, 250, 0.8); }
.dot-green { background: var(--green); box-shadow: 0 0 12px rgba(74, 222, 128, 0.7); }

/* Media / placeholders */
.media { position: relative; }
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.media.has-image img { opacity: 1; }
.app-window .media img { position: absolute; inset: 0; }

.media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: var(--muted-2);
  padding: 20px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.017) 0 10px, transparent 10px 20px);
}
.media.has-image .media-placeholder { display: none; }
.media-placeholder svg { width: 40px; height: 40px; opacity: 0.6; }
.ph-title { font-weight: 700; font-size: 14px; color: var(--muted); }
.ph-file {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 11.5px;
  color: var(--muted-2);
  padding: 4px 10px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.2);
}

/* Marquee */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  padding: 17px 0;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  animation: marquee 34s linear infinite;
}
.marquee-track .sep { color: var(--accent); opacity: 0.7; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ===== Stats ===== */
.stats { padding: 54px 0 8px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat {
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008));
  text-align: center;
}
.stat-value {
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, #b9b4d6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-suffix {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { margin-top: 6px; font-size: 13px; color: var(--muted-2); }

/* ===== Sections ===== */
.section { position: relative; padding: 104px 0; }
.section-alt {
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(124, 92, 255, 0.07), transparent 60%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(27px, 3.6vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin: 18px 0 14px;
}
.section-sub { color: var(--muted); font-size: 16px; line-height: 1.65; }

.card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.35);
  box-shadow: 0 26px 60px -34px rgba(124, 92, 255, 0.55);
}

/* ===== Features ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature { padding: 28px 26px 30px; }
.feature-icon {
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 13px;
  color: var(--accent-2);
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.22), rgba(124, 92, 255, 0.06));
  border: 1px solid rgba(124, 92, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.feature-icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 17px; font-weight: 800; margin: 18px 0 9px; letter-spacing: -0.01em; }
.feature p { font-size: 14px; line-height: 1.65; color: var(--muted); }

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.shot {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: zoom-in;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.shot:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 30px 70px -40px rgba(124, 92, 255, 0.65);
}
.shot--wide { grid-column: span 2; cursor: default; }
.shot:not(.has-image) { cursor: default; }
.shot-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.shot--wide .shot-media { aspect-ratio: 21 / 9; }
.shot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.shot:hover .shot-media img { transform: scale(1.03); }
.shot figcaption {
  padding: 15px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

/* ===== Loaders ===== */
.loader-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.loader {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.loader-top { display: flex; align-items: center; gap: 9px; }
.loader-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot, var(--accent));
  box-shadow: 0 0 10px var(--dot, var(--accent));
}
.loader h3 { font-size: 15.5px; font-weight: 800; }
.loader p { font-size: 13px; line-height: 1.6; color: var(--muted); flex: 1; }
.loader-tag {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

/* ===== Download ===== */
.download-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
  align-items: start;
}
.download-card {
  padding: 30px;
  overflow: hidden;
}
.download-card::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.22), transparent 68%);
  pointer-events: none;
}
.download-head {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.os-icon {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(150deg, rgba(124, 92, 255, 0.32), rgba(124, 92, 255, 0.1));
  border: 1px solid rgba(124, 92, 255, 0.34);
}
.os-icon svg { width: 100%; height: 100%; }
.download-head h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.015em; }
.download-sub { font-size: 13px; color: var(--muted-2); margin-top: 3px; }
.badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.32);
  padding: 6px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.download-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 26px 0 24px;
  padding: 16px 18px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  position: relative;
  z-index: 1;
}
.download-meta span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 5px;
}
.download-meta b { font-size: 14px; font-weight: 700; }
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.download-note {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted-2);
  position: relative;
  z-index: 1;
}
.download-side { display: grid; gap: 16px; }
.mini-card { padding: 24px; }
.mini-card h4 { font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.mini-card p { font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.mini-card-accent {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(124, 92, 255, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(124, 92, 255, 0.08), rgba(255, 255, 255, 0.01));
  border-color: rgba(124, 92, 255, 0.28);
}
.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 10px;
}
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' stroke='%235eead4' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat,
    rgba(94, 234, 212, 0.12);
}

/* ===== FAQ ===== */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.25s, background 0.25s;
  overflow: hidden;
}
.faq-item[open] { border-color: rgba(124, 92, 255, 0.35); background: rgba(124, 92, 255, 0.05); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
  border-color: var(--accent-2);
}
.faq-body {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 700px;
}

/* ===== CTA ===== */
.cta { padding: 20px 0 44px; }
.cta-card {
  position: relative;
  padding: 64px 40px;
  text-align: center;
  border-radius: 26px;
  border: 1px solid rgba(124, 92, 255, 0.3);
  background:
    radial-gradient(800px 320px at 50% 0%, rgba(124, 92, 255, 0.24), transparent 66%),
    linear-gradient(180deg, #12121f, #0b0b13);
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  left: 50%;
  top: -380px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.4), transparent 66%);
  filter: blur(60px);
  pointer-events: none;
}
.cta-card h2 {
  position: relative;
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.cta-card p {
  position: relative;
  margin: 14px auto 30px;
  max-width: 520px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}
.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ===== Support ===== */
.support { padding: 0 0 110px; }
.support-card {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 28px 32px;
  border-radius: 22px;
  border: 1px solid rgba(255, 221, 0, 0.24);
  background:
    radial-gradient(520px 220px at 0% 50%, rgba(255, 221, 0, 0.12), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  box-shadow: 0 30px 70px -46px rgba(255, 221, 0, 0.4);
}
.support-logo {
  width: 58px;
  height: 58px;
  padding: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  color: #0d0c22;
  background: #ffdd00;
  box-shadow: 0 10px 30px -8px rgba(255, 221, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.support-logo svg { width: 100%; height: 100%; }
.support-copy h2 {
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.support-copy p {
  margin-top: 7px;
  max-width: 640px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}
.btn-coffee {
  margin-left: auto;
  flex-shrink: 0;
  color: #0d0c22;
  background: #ffdd00;
  box-shadow: 0 14px 34px -14px rgba(255, 221, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-coffee:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 20px 44px -14px rgba(255, 221, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-coffee:active { transform: translateY(0); }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  background: #06060b;
  padding: 58px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p {
  max-width: 320px;
  margin: 18px 0 20px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted-2);
}
.footer-gh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-gh svg { width: 17px; height: 17px; }
.footer-gh:hover { color: var(--text); }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h5 {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 5px;
}
.footer-col a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
  width: fit-content;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted-2);
}
.made-with { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 12px; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(4, 4, 8, 0.88);
  backdrop-filter: blur(14px);
  animation: fadeIn 0.25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox-figure {
  max-width: min(1200px, 100%);
  max-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9);
}
.lightbox figcaption {
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
}
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.12); transform: rotate(90deg); }
.lightbox-close svg { width: 20px; height: 20px; }

body.no-scroll { overflow: hidden; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .hero-inner { gap: 40px; }
  .chip-java { left: -14px; }
  .chip-fabric { right: -10px; }
  .loader-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    top: 70px;
    left: 24px;
    right: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--line-strong);
    background: rgba(10, 10, 18, 0.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.85);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .main-nav a:not(.nav-github) { padding: 12px 14px; }
  .nav-github { margin: 6px 0 0; width: 100%; height: 42px; }
  .menu-open .main-nav { opacity: 1; transform: none; pointer-events: auto; }
  .burger { display: flex; }
  .header-actions .btn-sm { display: none; }

  .hero { padding-top: 128px; }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 600px; width: 100%; margin-inline: auto; }
  .hero-copy { max-width: 640px; }
  .lead { max-width: 100%; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: 1fr; }
  .download-side { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .container { width: calc(100% - 36px); }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 38px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .shot--wide { grid-column: auto; }
  .shot--wide .shot-media { aspect-ratio: 16 / 9; }
  .loader-grid { grid-template-columns: 1fr 1fr; }
  .download-side { grid-template-columns: 1fr; }
  .download-card { padding: 24px; }
  .download-meta { grid-template-columns: 1fr; gap: 12px; }
  .download-actions .btn { width: 100%; }
  .badge { display: none; }
  .hero-meta { gap: 8px; font-size: 12px; }
  .chip { font-size: 12px; padding: 8px 12px; }
  .chip-java { left: -6px; }
  .chip-fabric { right: -6px; }
  .chip-version { left: 6%; bottom: -14px; }
  .cta-card { padding: 48px 22px; }
  .support { padding-bottom: 76px; }
  .support-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
  }
  .btn-coffee { margin-left: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .lightbox { padding: 18px; }
  .lightbox-close { top: 14px; right: 14px; }
}

@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;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
