:root {
  --bg-0: #050505;
  --bg-1: #0a0a0a;
  --bg-2: #111111;
  --card: rgba(16, 16, 16, 0.82);
  --card-strong: rgba(20, 20, 20, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f6f6f6;
  --muted: rgba(255, 255, 255, 0.62);
  --soft: rgba(255, 255, 255, 0.08);
  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.2);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: rgba(96, 96, 96, 0.72) rgba(5, 5, 5, 0.95);
}

body {
  scrollbar-width: thin;
  scrollbar-color: rgba(96, 96, 96, 0.72) rgba(5, 5, 5, 0.95);
}

/* Custom scrollbar (Chromium, Edge, Safari) */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: rgba(5, 5, 5, 0.95);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(108, 108, 108, 0.72), rgba(72, 72, 72, 0.72));
  border: 2px solid rgba(8, 8, 8, 0.92);
  border-radius: 999px;
  box-shadow: none;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(132, 132, 132, 0.78), rgba(92, 92, 92, 0.78));
}

html::-webkit-scrollbar-button,
body::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.06), transparent 24%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.04), transparent 25%),
    linear-gradient(180deg, #0b0b0b 0%, #050505 45%, #040404 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 55%, rgba(255, 255, 255, 0.03) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  opacity: 0.18;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.scene {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 220px;
  height: 220px;
  margin-left: -110px;
  margin-top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 18%, rgba(255, 255, 255, 0.02) 40%, transparent 68%);
  filter: blur(8px);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 220ms ease;
}

.sky-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
  opacity: 0.75;
  pointer-events: none;
  mix-blend-mode: screen;
}

.sky-glow-a {
  width: 48vw;
  height: 48vw;
  left: -16vw;
  top: -18vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 32%, transparent 70%);
  animation: driftA 18s ease-in-out infinite alternate;
}

.sky-glow-b {
  width: 54vw;
  height: 54vw;
  right: -18vw;
  top: -12vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 32%, transparent 70%);
  animation: driftB 22s ease-in-out infinite alternate;
}

.sky-glow-c {
  width: 36vw;
  height: 36vw;
  left: 22vw;
  bottom: -16vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 36%, transparent 72%);
  animation: driftC 20s ease-in-out infinite alternate;
}

.grid-overlay,
.noise-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-overlay {
  opacity: 0.07;
  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: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2));
}

.noise-overlay {
  opacity: 0.06;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 0.6px, transparent 0.6px);
  background-size: 4px 4px;
  animation: noiseShift 8s steps(10) infinite;
}

#stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.topbar {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  animation: floatChip 6s ease-in-out infinite;
}

.chip:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(18, 18, 18, 0.82);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
}

.chip-left {
  animation-delay: 0.3s;
}

.chip-right {
  animation-delay: 0.8s;
  margin-left: auto;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: start;
  gap: 42px;
  padding: 18px clamp(20px, 6vw, 88px) 12px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.66);
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.14);
}

.subtitle {
  max-width: 600px;
  margin: 20px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.8;
  color: var(--muted);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.download-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-radius: 18px;
  color: #060606;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #d9d9d9 100%);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 40px rgba(255, 255, 255, 0.16);
  transform: translateZ(0);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.download-btn::before {
  content: "";
  position: absolute;
  inset: -120% -40%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.9) 50%, transparent 65%);
  transform: translateX(-40%) rotate(8deg);
  animation: sweep 4.5s ease-in-out infinite;
}

.download-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 22px 42px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 48px rgba(255, 255, 255, 0.22);
}

.download-arrow {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  animation: arrowFloat 1.8s ease-in-out infinite;
}

.micro-pill {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.74);
  background: rgba(10, 10, 10, 0.46);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  animation: pulseBorder 3.6s ease-in-out infinite;
}

.launcher-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
}

.preview-frame {
  position: relative;
  width: min(92%, 700px);
  aspect-ratio: 16 / 10;
  border-radius: 34px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  animation: frameFloat 8s ease-in-out infinite;
}

.preview-frame:hover {
  animation-play-state: paused;
}

.launcher-shell {
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.72));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 26px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  isolation: isolate;
}

.launcher-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.22) 38%, rgba(255, 255, 255, 0.04) 55%, transparent 72%);
  opacity: 0.35;
  animation: borderSweep 4.8s ease-in-out infinite;
  pointer-events: none;
}

.launcher-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: conic-gradient(from 0deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.95));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: borderRotate 7s linear infinite;
  pointer-events: none;
}

.launcher-image {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 23px;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  opacity: 0.98;
  transform: scale(1);
  transition: transform 260ms ease, filter 260ms ease, opacity 260ms ease;
  will-change: transform, filter;
  z-index: 1;
}

.launcher-shell:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 34px rgba(255, 255, 255, 0.12);
}

.launcher-shell:hover::before {
  opacity: 0.65;
}

.launcher-image {
  display: block;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  opacity: 0.98;
  transform: scale(1);
  transition: transform 260ms ease, filter 260ms ease, opacity 260ms ease;
  will-change: transform, filter;
}

.preview-fallback {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(12, 12, 12, 0.95), rgba(8, 8, 8, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.preview-fallback::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
  transform: rotate(12deg);
  animation: shimmer 7s ease-in-out infinite;
}

.preview-fallback span,
.preview-fallback small {
  position: relative;
  z-index: 1;
}

.preview-fallback strong {
  color: #fff;
}

.changelog {
  position: relative;
  z-index: 2;
  padding: 10px clamp(20px, 6vw, 88px) 80px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.05em;
}

.change-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.change-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.82));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.change-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 42%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.change-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.94), rgba(12, 12, 12, 0.9));
}

.change-card:hover::before {
  opacity: 1;
}

.change-tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.04);
}

.change-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.change-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  animation: revealUp 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stagger-1 { animation-delay: 120ms; }
.stagger-2 { animation-delay: 250ms; }
.stagger-3 { animation-delay: 420ms; }

@keyframes driftA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(7vw, 4vw, 0) scale(1.08); }
}

@keyframes driftB {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-6vw, 5vw, 0) scale(1.1); }
}

@keyframes driftC {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(5vw, -4vw, 0) scale(1.06); }
}

@keyframes noiseShift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-24px, 18px, 0); }
}

@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes sweep {
  0% { transform: translateX(-50%) rotate(8deg); opacity: 0; }
  18% { opacity: 1; }
  40% { opacity: 0; }
  100% { transform: translateX(55%) rotate(8deg); opacity: 0; }
}

@keyframes arrowFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(2px, -2px); }
}

@keyframes pulseBorder {
  0%, 100% { border-color: rgba(255, 255, 255, 0.1); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28); }
  50% { border-color: rgba(255, 255, 255, 0.22); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 34px rgba(255, 255, 255, 0.1); }
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes frameFloat {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-8px) rotate(0.4deg); }
}

@keyframes borderRotate {
  0% { filter: hue-rotate(0deg); transform: rotate(0deg); }
  100% { filter: hue-rotate(0deg); transform: rotate(360deg); }
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-8%) rotate(12deg); opacity: 0; }
  45% { opacity: 0.6; }
  55% { opacity: 0.1; }
  100% { transform: translateX(8%) rotate(12deg); opacity: 0; }
}

@keyframes borderSweep {
  0%, 100% { transform: translateX(-8%); opacity: 0.25; }
  50% { transform: translateX(8%); opacity: 0.75; }
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding-top: 38px;
  }

  .launcher-preview {
    min-height: 0;
    padding-bottom: 24px;
  }

  .change-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    padding-inline: 16px;
    padding-top: 16px;
  }

  .chip {
    padding: 10px 14px;
    font-size: 0.92rem;
  }

  .hero {
    padding-inline: 16px;
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(3.1rem, 18vw, 5rem);
  }

  .download-btn,
  .micro-pill {
    width: 100%;
    justify-content: center;
  }

  .preview-frame {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .changelog {
    padding-inline: 16px;
    padding-bottom: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.feature-section,
.about-section {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 6vw, 88px) 80px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.feature-card,
.about-panel {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.9), rgba(8, 8, 8, 0.86));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

.feature-card {
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.feature-card::before,
.about-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.1), transparent 38%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.42);
}

.feature-card:hover::before,
.about-panel:hover::before {
  opacity: 1;
}

.feature-card-large {
  min-height: 100%;
  grid-row: span 2;
}

.feature-card-wide {
  grid-column: 1 / -1;
}

.feature-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.feature-card h3,
.about-grid h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.feature-card p,
.about-grid p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  animation: tagFloat 5s ease-in-out infinite;
}

.tag-row span:nth-child(2n) {
  animation-delay: 0.6s;
}

.tag-row span:nth-child(3n) {
  animation-delay: 1.2s;
}

.about-panel {
  padding: 28px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.about-grid > div {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  animation: aboutLift 7s ease-in-out infinite;
}

.about-grid > div:nth-child(2) {
  animation-delay: 0.8s;
}

.about-grid > div:nth-child(3) {
  animation-delay: 1.6s;
}

@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes aboutLift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 1080px) {
  .feature-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-large,
  .feature-card-wide {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .feature-section,
  .about-section {
    padding-inline: 16px;
    padding-bottom: 56px;
  }

  .feature-card,
  .about-panel {
    border-radius: 22px;
  }

  .about-panel {
    padding: 22px;
  }
}
