:root {
  color-scheme: dark;
  --bg: #07080a;
  --bg-soft: #0d0f13;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f7f8fb;
  --muted: #a9b1bd;
  --dim: #707a88;
  --mint: #9df2d0;
  --cyan: #8ecaff;
  --warm: #ffd38a;
  --danger: #ff7e9b;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 12%, rgba(157, 242, 208, 0.14), transparent 31%),
    radial-gradient(circle at 86% 18%, rgba(142, 202, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #08090b 0%, #0b0c10 46%, #07080a 100%);
  background-size: 150% 150%, 140% 140%, 100% 100%;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  animation: siteAmbientShift 22s ease-in-out infinite alternate;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
  animation: siteGridDrift 28s linear infinite;
}

body::after {
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 22%, rgba(157, 242, 208, 0.12), transparent 22%),
    radial-gradient(circle at 74% 18%, rgba(142, 202, 255, 0.11), transparent 24%),
    radial-gradient(circle at 62% 72%, rgba(255, 211, 138, 0.08), transparent 24%),
    conic-gradient(from 120deg at 50% 45%, transparent 0deg, rgba(157, 242, 208, 0.06) 54deg, transparent 118deg, rgba(142, 202, 255, 0.07) 194deg, transparent 286deg, rgba(255, 211, 138, 0.05) 330deg, transparent 360deg);
  filter: blur(34px) saturate(1.22);
  opacity: 0.9;
  animation: siteColorWash 26s ease-in-out infinite alternate;
}

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

button,
input {
  font: inherit;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 8, 10, 0.72);
  backdrop-filter: blur(22px);
}

.brand,
.topbar nav,
.hero-actions,
.hero-facts,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
}

.brand span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(157, 242, 208, 0.22), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22);
  font-weight: 950;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0;
}

.topbar nav {
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.topbar nav a {
  transition: color 160ms ease;
}

.topbar nav a:hover {
  color: var(--text);
}

.site-settings-button {
  min-height: 30px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  cursor: pointer;
  padding: 0 11px;
  font-size: 13px;
  font-weight: 760;
}

.site-settings-button:hover,
.site-settings-button.is-active {
  border-color: rgba(157, 242, 208, 0.34);
  background: rgba(157, 242, 208, 0.1);
  color: var(--text);
}

.site-settings-panel {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: start end;
  padding: 74px clamp(18px, 5vw, 64px) 18px;
  background: rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(10px);
}

.site-settings-panel[hidden] {
  display: none;
}

.site-settings-card {
  display: grid;
  width: min(380px, 100%);
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    rgba(9, 11, 15, 0.94);
  box-shadow: var(--shadow);
  padding: 14px;
}

.site-settings-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.site-settings-card header div {
  display: grid;
  gap: 4px;
}

.site-settings-card header span {
  color: var(--muted);
  font-size: 12px;
}

.site-settings-card header button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  cursor: pointer;
  font-size: 20px;
}

.site-language-grid {
  display: grid;
  gap: 8px;
}

.site-language-grid button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  cursor: pointer;
  padding: 0 11px;
  text-align: left;
  font-weight: 820;
}

.site-language-grid span {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.site-language-grid button:hover,
.site-language-grid button.is-selected {
  border-color: rgba(157, 242, 208, 0.36);
  background: rgba(157, 242, 208, 0.1);
}

.top-download,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 860;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.top-download:hover,
.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.top-download,
.primary-action {
  border: 1px solid rgba(157, 242, 208, 0.62);
  background: linear-gradient(180deg, #b7ffe4, #8ee8c3);
  color: #07100d;
  box-shadow: 0 16px 48px rgba(157, 242, 208, 0.18);
}

.top-download {
  min-height: 34px;
  padding: 0 14px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  align-items: end;
  padding: 110px clamp(18px, 6vw, 80px) 56px;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hero::before {
  z-index: 1;
  background:
    radial-gradient(520px 360px at 82% 18%, rgba(157, 242, 208, 0.16), transparent 64%),
    radial-gradient(460px 340px at 58% 74%, rgba(142, 202, 255, 0.14), transparent 66%),
    linear-gradient(118deg, transparent 0 38%, rgba(255, 255, 255, 0.09) 40%, transparent 43% 100%);
  background-size: 120% 120%, 120% 120%, 240% 100%;
  mix-blend-mode: screen;
  opacity: 0.56;
  animation: heroColorBreath 16s ease-in-out infinite alternate, heroShineSweep 9s ease-in-out infinite;
}

.hero::after {
  z-index: 1;
  background:
    radial-gradient(circle at 90% 35%, rgba(157, 242, 208, 0.42) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 47%, rgba(142, 202, 255, 0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 94% 58%, rgba(255, 255, 255, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 84% 70%, rgba(157, 242, 208, 0.28) 0 2px, transparent 3px),
    linear-gradient(126deg, transparent 0 65%, rgba(157, 242, 208, 0.18) 66%, transparent 68% 100%);
  background-size: 220px 220px, 250px 250px, 280px 280px, 300px 300px, 260% 100%;
  opacity: 0.38;
  mix-blend-mode: screen;
  animation: heroParticlesDrift 20s linear infinite, heroMeteorSweep 8s ease-in-out infinite;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.52;
  filter: saturate(1.08) contrast(1.08);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.98) 0%, rgba(7, 8, 10, 0.74) 46%, rgba(7, 8, 10, 0.38) 100%),
    linear-gradient(0deg, rgba(7, 8, 10, 0.98) 0%, transparent 42%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(320px, 480px);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

.hero-content {
  display: grid;
  gap: 20px;
}

.eyebrow {
  margin: 0;
  color: var(--mint);
  font-size: 12px;
  font-weight: 930;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(58px, 9vw, 122px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  color: #dce2ea;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.46;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action {
  padding: 0 18px;
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.secondary-action:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.hero-facts {
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 6px;
}

.hero-facts div,
.trust-strip div,
.floating-preview,
.demo-window,
.demo-sidebar,
.feature-grid article,
.download-panel,
.mini-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.hero-facts div {
  min-width: 142px;
  padding: 12px 14px;
  border-radius: 12px;
  backdrop-filter: blur(14px);
}

.hero-facts dt {
  color: var(--dim);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 820;
}

.floating-preview {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(100%, 430px);
  justify-self: end;
  padding: 14px;
  border-radius: 22px;
  background-color: rgba(10, 12, 16, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  transform: translateY(-16px);
  overflow: hidden;
  animation: previewFloat 7s ease-in-out infinite;
}

.floating-preview::before {
  position: absolute;
  inset: -40%;
  pointer-events: none;
  background:
    conic-gradient(from 90deg, transparent, rgba(157, 242, 208, 0.2), transparent, rgba(142, 202, 255, 0.18), transparent),
    linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.22) 42%, transparent 47% 100%);
  content: "";
  opacity: 0.46;
  mix-blend-mode: screen;
  animation: previewLiquidSpin 14s linear infinite;
}

.floating-preview > * {
  position: relative;
  z-index: 1;
}

.preview-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.preview-search span,
.demo-orb {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(157, 242, 208, 0.08);
  animation: orbPulse 2.4s ease-in-out infinite;
}

.preview-search p {
  flex: 1;
  color: #eef2f6;
  font-size: 14px;
  font-weight: 780;
}

kbd {
  min-width: 38px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
  text-align: center;
}

.preview-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  transition: transform 180ms ease, background 180ms ease;
}

.preview-row.active {
  background: rgba(157, 242, 208, 0.12);
  animation: activeRowBreath 3s ease-in-out infinite;
}

.preview-row i,
.demo-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(142, 202, 255, 0.18), rgba(255, 255, 255, 0.06));
  color: white;
  font-size: 12px;
  font-style: normal;
  font-weight: 930;
}

.preview-row strong {
  font-size: 14px;
}

.preview-row small,
.preview-note {
  color: var(--dim);
  font-size: 12px;
  font-weight: 780;
}

.preview-note {
  padding: 2px 4px 4px;
  color: var(--mint);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px clamp(18px, 6vw, 80px) 0;
  transform: translateY(-26px);
}

.trust-strip div {
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 16px;
  border-radius: 16px;
  background-color: rgba(10, 12, 16, 0.76);
  backdrop-filter: blur(18px);
}

.trust-strip strong {
  font-size: 18px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 13px;
}

.section,
.demo-section,
.download-band,
.showcase {
  padding: 74px clamp(18px, 6vw, 80px);
}

.section-heading {
  display: grid;
  max-width: 760px;
  gap: 10px;
  margin-bottom: 24px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

h2 {
  font-size: clamp(31px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

.demo-section {
  padding-top: 46px;
}

.app-demo-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(9, 11, 15, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.app-titlebar,
.app-demo-footer {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line-soft);
}

.app-titlebar strong {
  font-size: 13px;
  font-weight: 900;
}

.app-titlebar small {
  margin-left: auto;
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.window-dots span:first-child {
  background: var(--danger);
}

.window-dots span:nth-child(2) {
  background: var(--warm);
}

.window-dots span:nth-child(3) {
  background: var(--mint);
}

.app-demo-body {
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr) 286px;
  min-height: 620px;
}

.app-demo-nav {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border-right: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.16);
}

.demo-tab {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 860;
  text-align: left;
  padding: 0 11px;
}

.demo-tab span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 11px;
  font-weight: 920;
}

.demo-tab:hover,
.demo-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.demo-tab.active span {
  background: rgba(157, 242, 208, 0.16);
  color: var(--mint);
}

.app-demo-main {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
}

.app-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.app-search-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: clamp(19px, 2.2vw, 27px);
  font-weight: 760;
}

.app-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--dim);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.app-meta-row strong {
  color: var(--mint);
}

.app-result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(112px, 1fr));
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.app-card {
  display: grid;
  min-height: 138px;
  align-content: start;
  justify-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  cursor: pointer;
  padding: 14px 10px;
  text-align: center;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.app-card:hover,
.app-card.active {
  border-color: rgba(157, 242, 208, 0.34);
  background: rgba(157, 242, 208, 0.1);
  transform: translateY(-2px);
}

.app-card-icon,
.detail-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(145deg, var(--card-a, rgba(142, 202, 255, 0.28)), var(--card-b, rgba(255, 255, 255, 0.07))),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 14px;
  font-weight: 940;
}

.app-card strong {
  width: 100%;
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-card small {
  color: var(--dim);
  font-size: 11px;
  font-weight: 760;
}

.app-detail-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border-left: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.15);
}

.detail-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  font-size: 18px;
}

.app-detail-panel h3 {
  margin-top: 4px;
}

.app-detail-panel p {
  color: var(--muted);
  font-size: 13px;
}

.detail-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.detail-list div {
  display: grid;
  gap: 3px;
  padding: 11px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
}

.detail-list span {
  color: var(--dim);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.detail-list strong {
  font-size: 12px;
  line-height: 1.3;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.detail-actions button {
  min-height: 38px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.detail-actions button:first-child {
  background: var(--mint);
  color: #07100d;
}

.app-demo-footer {
  justify-content: space-between;
  border-top: 1px solid var(--line-soft);
  border-bottom: 0;
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
}

.app-demo-footer p {
  color: var(--muted);
  text-align: center;
}

.demo-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.demo-notes article {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.demo-notes strong {
  font-size: 14px;
}

.demo-notes p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.feature-grid article {
  display: grid;
  gap: 12px;
  min-height: 224px;
  padding: 20px;
  border-radius: 16px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.feature-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(157, 242, 208, 0.28);
}

.feature-grid span {
  color: var(--warm);
  font-size: 12px;
  font-weight: 930;
}

h3 {
  font-size: 20px;
  line-height: 1.1;
}

.feature-grid p,
.download-band p,
.install li,
.showcase-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.74fr);
  gap: 28px;
  align-items: center;
  border-block: 1px solid var(--line-soft);
  background:
    linear-gradient(135deg, rgba(157, 242, 208, 0.08), transparent 44%),
    #0b0d11;
}

.showcase-copy {
  display: grid;
  gap: 12px;
  max-width: 620px;
}

.showcase-stack {
  position: relative;
  min-height: 300px;
}

.mini-panel {
  position: absolute;
  display: grid;
  place-items: center;
  min-height: 82px;
  border-radius: 18px;
  color: #eaf1f8;
  font-weight: 880;
  box-shadow: var(--shadow);
}

.panel-a {
  top: 28px;
  left: 4%;
  width: 46%;
}

.panel-b {
  top: 102px;
  right: 0;
  width: 68%;
  background-color: rgba(157, 242, 208, 0.08);
}

.panel-c {
  bottom: 20px;
  left: 14%;
  width: 58%;
  background-color: rgba(142, 202, 255, 0.08);
}

.download-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #101216;
}

.download-band > div:first-child {
  display: grid;
  gap: 13px;
}

.download-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
}

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

.download-panel span {
  color: var(--dim);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.download-panel code {
  overflow-wrap: anywhere;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  color: #dce2ea;
  font-size: 11px;
}

.install ol {
  display: grid;
  max-width: 680px;
  gap: 10px;
  margin: 0;
  padding-left: 24px;
}

footer {
  justify-content: space-between;
  padding: 26px clamp(18px, 6vw, 80px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1020px) {
  .hero-grid,
  .showcase,
  .download-band {
    grid-template-columns: 1fr;
  }

  .floating-preview {
    justify-self: start;
    transform: none;
  }

  .feature-grid,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-demo-body {
    grid-template-columns: 148px minmax(0, 1fr);
  }

  .app-detail-panel {
    display: none;
  }

  .app-result-grid {
    grid-template-columns: repeat(3, minmax(112px, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar nav {
    display: none;
  }

  .hero {
    min-height: 90vh;
    padding-top: 92px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(7, 8, 10, 0.98) 0%, rgba(7, 8, 10, 0.78) 58%, rgba(7, 8, 10, 0.48) 100%);
  }

  .app-demo-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .app-demo-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .demo-tab {
    justify-content: center;
    text-align: center;
    padding: 0 4px;
    font-size: 12px;
  }

  .demo-tab span {
    display: none;
  }

  .app-result-grid {
    grid-template-columns: repeat(2, minmax(112px, 1fr));
  }

  .demo-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding-inline: 14px;
  }

  .top-download {
    display: none;
  }

  .hero-actions a,
  .download-panel .primary-action {
    width: 100%;
  }

  .floating-preview {
    display: none;
  }

  .trust-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .app-demo-frame {
    border-radius: 18px;
  }

  .app-titlebar small {
    display: none;
  }

  .app-demo-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .app-result-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding: 12px;
  }

  .app-card {
    min-height: 124px;
  }

  .app-card-icon {
    width: 48px;
    height: 48px;
  }

  .app-demo-footer {
    display: none;
  }
}

.nova-live-demo {
  --surface: rgba(14, 15, 18, 0.96);
  --surface-2: rgba(25, 27, 32, 0.86);
  --line-hot: rgba(172, 186, 205, 0.42);
  --launcher-top: rgba(26, 28, 34, 0.98);
  --launcher-bottom: rgba(8, 9, 11, 0.98);
  --tile-size: 116px;
  --tile-min-height: 112px;
  --tile-icon-size: 54px;
  --tile-gap: 7px;
  --tile-idle: transparent;
  --tile-hover: rgba(255, 255, 255, 0.052);
  --tile-selected: rgba(143, 183, 255, 0.13);
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 760px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 48% 30%, rgba(143, 183, 255, 0.13), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
    rgba(0, 0, 0, 0.24);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 70px rgba(143, 183, 255, 0.05),
    0 42px 120px rgba(0, 0, 0, 0.42);
  font-family: "Segoe UI Variable", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
  user-select: none;
  animation: novaDemoHue 18s ease-in-out infinite alternate;
}

.nova-live-demo::before,
.nova-live-demo::after {
  position: absolute;
  inset: -2px;
  pointer-events: none;
  content: "";
}

.nova-live-demo::before {
  z-index: 0;
  background:
    radial-gradient(520px 280px at 18% 18%, rgba(157, 242, 208, 0.2), transparent 62%),
    radial-gradient(440px 320px at 82% 22%, rgba(142, 202, 255, 0.2), transparent 64%),
    radial-gradient(360px 260px at 68% 82%, rgba(255, 211, 138, 0.13), transparent 62%),
    conic-gradient(from 150deg at 50% 50%, transparent 0deg, rgba(255, 255, 255, 0.1) 36deg, transparent 86deg, rgba(143, 183, 255, 0.13) 146deg, transparent 230deg, rgba(157, 242, 208, 0.11) 292deg, transparent 360deg);
  filter: blur(18px) saturate(1.25);
  opacity: 0.88;
  transform: scale(1.05);
  animation: novaLiquidAura 16s ease-in-out infinite alternate;
}

.nova-live-demo::after {
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(118deg, transparent 0 34%, rgba(255, 255, 255, 0.18) 35%, transparent 38% 100%),
    linear-gradient(126deg, transparent 0 64%, rgba(157, 242, 208, 0.28) 65%, transparent 67% 100%),
    linear-gradient(72deg, transparent 0 72%, rgba(142, 202, 255, 0.2) 73%, transparent 75% 100%),
    radial-gradient(circle at 12% 30%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.8px),
    radial-gradient(circle at 22% 70%, rgba(157, 242, 208, 0.75) 0 1px, transparent 1.8px),
    radial-gradient(circle at 38% 18%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.8px),
    radial-gradient(circle at 54% 78%, rgba(142, 202, 255, 0.75) 0 1px, transparent 1.8px),
    radial-gradient(circle at 74% 34%, rgba(255, 211, 138, 0.65) 0 1px, transparent 1.8px),
    radial-gradient(circle at 88% 64%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.8px);
  background-size:
    280% 100%,
    240% 100%,
    210% 100%,
    260px 180px,
    310px 230px,
    240px 210px,
    300px 220px,
    280px 240px,
    260px 190px;
  mix-blend-mode: screen;
  opacity: 0.46;
  animation: novaStarField 14s linear infinite, novaShootingLines 7s ease-in-out infinite;
}

.nova-live-demo .launcher,
.nova-live-demo .settings-panel,
.nova-live-demo .toast {
  z-index: 2;
}

.nova-live-demo .launcher {
  animation: novaLauncherGlow 10s ease-in-out infinite alternate;
}

.nova-live-demo .launcher::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.14), transparent 18% 76%, rgba(143, 183, 255, 0.09)),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.12), transparent 28%);
  content: "";
  opacity: 0.58;
  mix-blend-mode: screen;
}

.nova-live-demo[data-theme="midnight"] {
  --launcher-top: rgba(17, 24, 39, 0.98);
  --launcher-bottom: rgba(4, 8, 18, 0.98);
  --line-hot: rgba(143, 183, 255, 0.52);
}

.nova-live-demo[data-theme="matte"] {
  --launcher-top: rgba(24, 24, 24, 0.98);
  --launcher-bottom: rgba(8, 8, 8, 0.98);
  --line-hot: rgba(220, 226, 235, 0.42);
}

.nova-live-demo.density-compact {
  --tile-size: 104px;
  --tile-min-height: 102px;
  --tile-gap: 5px;
}

.nova-live-demo.density-large {
  --tile-size: 128px;
  --tile-min-height: 124px;
  --tile-gap: 9px;
}

.nova-live-demo .launcher {
  position: relative;
  display: grid;
  grid-template-rows: 34px auto auto 1fr 42px;
  width: min(860px, 100%);
  height: 650px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.07), transparent 28%),
    linear-gradient(180deg, var(--launcher-top), var(--launcher-bottom));
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.68);
  color: var(--text);
  backdrop-filter: blur(28px);
}

.nova-live-demo .launcher.is-ai-mode {
  grid-template-rows: auto minmax(0, 1fr);
  background:
    radial-gradient(circle at 50% 42%, rgba(143, 183, 255, 0.12), transparent 34%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(180deg, var(--launcher-top), var(--launcher-bottom));
}

.nova-live-demo .launcher.is-ai-mode .windowbar,
.nova-live-demo .launcher.is-ai-mode .toolbar,
.nova-live-demo .launcher.is-ai-mode .bottombar,
.nova-live-demo .launcher.is-ai-mode .sections,
.nova-live-demo .launcher.is-ai-mode .calc-card,
.nova-live-demo .launcher.is-ai-mode .time-card,
.nova-live-demo .launcher.is-ai-mode .web-card {
  display: none;
}

.nova-live-demo .launcher.is-ai-mode .content {
  display: grid;
  min-height: 0;
  padding: 0 18px;
  background: transparent;
}

.nova-live-demo .windowbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 12px;
}

.nova-live-demo .window-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nova-live-demo .mark {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 6px;
  background: #d7dde7;
  color: #0b0d10;
  font-size: 11px;
  font-weight: 900;
}

.nova-live-demo .searchbar {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 18px 22px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.12);
}

.nova-live-demo .search-glyph {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid #dce2eb;
  border-radius: 50%;
}

.nova-live-demo .search-glyph::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: #dce2eb;
  content: "";
  transform: rotate(45deg);
}

.nova-live-demo .launcher.is-ai-mode .searchbar {
  border-bottom-color: var(--line);
  background:
    linear-gradient(90deg, rgba(143, 183, 255, 0.12), transparent 42%),
    rgba(0, 0, 0, 0.16);
}

.nova-live-demo .launcher.is-ai-mode .search-glyph {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
}

.nova-live-demo .launcher.is-ai-mode .search-glyph::after {
  display: none;
}

.nova-live-demo .launcher.is-ai-mode .search-glyph::before {
  color: var(--text);
  content: "\2190";
  font-size: 16px;
  font-weight: 900;
}

.nova-live-demo .searchbar input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 20px;
  font-weight: 520;
}

.nova-live-demo .searchbar input::placeholder {
  color: #838b98;
}

.nova-live-demo .ai-provider-button {
  display: none;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.nova-live-demo .launcher.is-ai-mode .ai-provider-button {
  display: inline-grid;
}

.nova-live-demo .ai-provider-button span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.nova-live-demo .ai-provider-button strong {
  font-size: 12px;
  font-weight: 850;
}

.nova-live-demo .toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}

.nova-live-demo .status {
  display: inline-flex;
  align-items: center;
  min-width: 155px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.nova-live-demo .tabs {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 6px;
}

.nova-live-demo .tab {
  height: 30px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.nova-live-demo .tab:hover,
.nova-live-demo .tab.is-active {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
}

.nova-live-demo .tab.is-active {
  box-shadow: 0 0 24px rgba(143, 183, 255, 0.08);
  animation: demoActiveControlGlow 3.4s ease-in-out infinite;
}

.nova-live-demo .refresh,
.nova-live-demo .settings-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.nova-live-demo .content {
  min-height: 0;
  overflow: hidden auto;
  padding: 18px 22px 14px;
  scrollbar-color: #3c424d transparent;
  scrollbar-width: thin;
}

.nova-live-demo .sections {
  display: grid;
  gap: 22px;
}

.nova-live-demo .mock-section {
  display: grid;
  gap: 10px;
}

.nova-live-demo .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nova-live-demo .section-count {
  color: var(--dim);
  font-size: 11px;
}

.nova-live-demo .tile-grid {
  display: grid;
  grid-template-columns: repeat(6, var(--tile-size));
  justify-content: center;
  gap: 10px;
}

.nova-live-demo .tile {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: var(--tile-gap);
  min-width: 0;
  min-height: var(--tile-min-height);
  padding: 11px 8px 9px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--tile-idle);
  color: var(--text);
  text-align: center;
}

.nova-live-demo .tile:hover,
.nova-live-demo .tile.is-selected {
  border-color: var(--line-hot);
  background: var(--tile-selected);
}

.nova-live-demo .tile.is-selected {
  box-shadow:
    inset 0 0 0 1px rgba(157, 242, 208, 0.18),
    0 18px 42px rgba(0, 0, 0, 0.18);
}

.nova-live-demo .tile.is-selected::before {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #9df2d0;
  box-shadow: 0 0 18px rgba(157, 242, 208, 0.66);
  content: "";
}

.nova-live-demo .tile {
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nova-live-demo .tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.nova-live-demo .tile.is-selected .tile-icon,
.nova-live-demo .tile:hover .tile-icon {
  animation: demoIconGlow 2.8s ease-in-out infinite;
}

.nova-live-demo .tile-icon {
  position: relative;
  display: grid;
  width: var(--tile-icon-size);
  height: var(--tile-icon-size);
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  background:
    linear-gradient(135deg, var(--icon-a, rgba(143, 183, 255, 0.26)), var(--icon-b, rgba(255, 255, 255, 0.07))),
    rgba(255, 255, 255, 0.07);
  color: #eef3fb;
  font-size: 13px;
  font-weight: 850;
}

.nova-live-demo .tile-icon::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.28) 44%, transparent 52% 100%);
  content: "";
  opacity: 0;
  transform: translateX(-80%);
  transition: opacity 160ms ease;
}

.nova-live-demo .tile:hover .tile-icon::after,
.nova-live-demo .tile.is-selected .tile-icon::after {
  opacity: 1;
  animation: demoIconSweep 1.8s ease-in-out infinite;
}

.nova-live-demo .tile-label,
.nova-live-demo .tile-source {
  display: -webkit-box;
  overflow: hidden;
  width: 100%;
  -webkit-box-orient: vertical;
}

.nova-live-demo .tile-label {
  min-height: 2.35em;
  color: #edf1f6;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.18;
  -webkit-line-clamp: 2;
}

.nova-live-demo .tile-source {
  color: var(--dim);
  font-size: 10px;
  line-height: 1.15;
  -webkit-line-clamp: 1;
}

.nova-live-demo .answer-card {
  display: grid;
  width: 100%;
  gap: 9px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  text-align: left;
}

.nova-live-demo .answer-kicker {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.nova-live-demo .answer-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  font-size: 24px;
  text-align: center;
}

.nova-live-demo .answer-card small {
  color: var(--muted);
}

.nova-live-demo .ai-panel {
  position: relative;
  display: grid;
  min-height: 510px;
  grid-template-rows: auto 1fr;
  gap: 12px;
  padding: 14px 0 54px;
}

.nova-live-demo .ai-panel[hidden] {
  display: none;
}

.nova-live-demo .ai-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.nova-live-demo .ai-panel-header button,
.nova-live-demo .ai-conversations-header button {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

.nova-live-demo .ai-workspace {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
}

.nova-live-demo .ai-conversations,
.nova-live-demo .ai-messages {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
}

.nova-live-demo .ai-conversations {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.nova-live-demo .ai-conversations-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.nova-live-demo .ai-conversation-list {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 10px;
}

.nova-live-demo .ai-conversation {
  display: grid;
  gap: 3px;
  min-height: 48px;
  padding: 9px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.nova-live-demo .ai-conversation.is-active {
  border-color: var(--line-hot);
  background: rgba(143, 183, 255, 0.12);
}

.nova-live-demo .ai-conversation small {
  color: var(--dim);
}

.nova-live-demo .ai-messages {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding: 14px;
}

.nova-live-demo .ai-message {
  display: grid;
  gap: 8px;
  max-width: 78%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
}

.nova-live-demo .ai-message.user {
  justify-self: end;
  background: rgba(143, 183, 255, 0.16);
}

.nova-live-demo .ai-message strong {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.nova-live-demo .ai-message p {
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.nova-live-demo .ai-limit {
  position: absolute;
  right: 0;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
}

.nova-live-demo .ai-limit i {
  width: 32px;
  height: 32px;
  border: 4px solid rgba(255, 255, 255, 0.18);
  border-top-color: #fff;
  border-radius: 50%;
}

.nova-live-demo .bottombar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--muted);
  font-size: 12px;
}

.nova-live-demo .bottombar-hints,
.nova-live-demo .ai-bottombar-hints,
.nova-live-demo .shortcut-keys {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nova-live-demo .launcher.is-ai-mode .bottombar-hints {
  display: none;
}

.nova-live-demo .launcher:not(.is-ai-mode) .ai-bottombar-hints {
  display: none;
}

.nova-live-demo kbd {
  display: inline-grid;
  min-width: 23px;
  height: 21px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #dce2eb;
  font-size: 11px;
  font-weight: 800;
}

.nova-live-demo .settings-panel {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 5;
  display: grid;
  grid-template-columns: 206px minmax(0, 1fr);
  width: min(820px, calc(100% - 44px));
  height: 610px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.07), transparent 32%),
    linear-gradient(180deg, var(--launcher-top), var(--launcher-bottom));
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.7);
  color: var(--text);
  transform: translate(-50%, -50%);
}

.nova-live-demo .settings-panel[hidden] {
  display: none;
}

.nova-live-demo .settings-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 12px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.18);
}

.nova-live-demo .settings-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.nova-live-demo .settings-brand div,
.nova-live-demo .settings-nav-item {
  display: grid;
  gap: 3px;
}

.nova-live-demo .settings-brand span,
.nova-live-demo .settings-nav-item small,
.nova-live-demo .settings-header span {
  color: var(--muted);
  font-size: 11px;
}

.nova-live-demo .settings-nav-item {
  min-height: 58px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.nova-live-demo .settings-nav-item:hover,
.nova-live-demo .settings-nav-item.is-active {
  border-color: var(--line-hot);
  background: rgba(143, 183, 255, 0.12);
}

.nova-live-demo .settings-main {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 0;
}

.nova-live-demo .settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.nova-live-demo .settings-header div {
  display: grid;
  gap: 4px;
}

.nova-live-demo .settings-close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-size: 20px;
}

.nova-live-demo .settings-page {
  display: none;
  min-height: 0;
  overflow: auto;
  padding: 18px 20px 22px;
  scrollbar-color: #3c424d transparent;
  scrollbar-width: thin;
}

.nova-live-demo .settings-page.is-active {
  display: grid;
  align-content: start;
  gap: 14px;
}

.nova-live-demo .settings-block {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024)),
    rgba(0, 0, 0, 0.12);
}

.nova-live-demo .settings-block h2 {
  margin: 0;
  font-size: 15px;
}

.nova-live-demo .settings-block p {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.nova-live-demo .swatch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.nova-live-demo .swatch-tile {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  height: 52px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
}

.nova-live-demo .swatch-tile span {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: var(--swatch);
}

.nova-live-demo .swatch-tile:hover,
.nova-live-demo .swatch-tile.is-selected,
.nova-live-demo .segmented button:hover,
.nova-live-demo .segmented button.is-selected,
.nova-live-demo .language-option:hover,
.nova-live-demo .language-option.is-selected,
.nova-live-demo .language-system-button:hover,
.nova-live-demo .language-system-button.is-selected {
  border-color: var(--line-hot);
  background: rgba(143, 183, 255, 0.12);
}

.nova-live-demo .setting-row {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.nova-live-demo .setting-row label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nova-live-demo .setting-row input[type="range"] {
  width: 100%;
  accent-color: #8fb7ff;
}

.nova-live-demo .segmented {
  display: flex;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.nova-live-demo .segmented button {
  height: 28px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

.nova-live-demo .segmented button.is-selected {
  color: var(--text);
}

.nova-live-demo .shortcut-list {
  display: grid;
  gap: 8px;
}

.nova-live-demo .shortcut-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.13);
  color: var(--text);
  font-size: 12px;
}

.nova-live-demo .shortcut-list button {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 6px 9px;
}

.nova-live-demo .language-system-button,
.nova-live-demo .language-search {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font-size: 12px;
}

.nova-live-demo .language-system-button {
  font-weight: 800;
}

.nova-live-demo .language-search {
  padding: 0 12px;
  outline: 0;
}

.nova-live-demo .language-list {
  display: grid;
  gap: 8px;
  max-height: 250px;
  overflow: auto;
  padding-right: 4px;
}

.nova-live-demo .language-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.13);
  color: var(--text);
  text-align: left;
}

.nova-live-demo .language-option span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.nova-live-demo .language-option strong,
.nova-live-demo .language-option small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nova-live-demo .language-option small {
  color: var(--muted);
  font-size: 11px;
}

.nova-live-demo .language-option em {
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  text-align: right;
}

.nova-live-demo .toast {
  position: absolute;
  left: 50%;
  bottom: 44px;
  z-index: 8;
  max-width: 560px;
  padding: 10px 13px;
  border: 1px solid var(--line-hot);
  border-radius: 11px;
  background: rgba(12, 15, 19, 0.97);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  color: var(--text);
  font-size: 13px;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nova-live-demo .toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1040px) {
  .nova-live-demo .tile-grid {
    grid-template-columns: repeat(4, var(--tile-size));
  }

  .nova-live-demo .launcher {
    height: 700px;
  }
}

@media (max-width: 760px) {
  .nova-live-demo {
    min-height: 700px;
    padding: 14px;
  }

  .nova-live-demo .launcher {
    height: 650px;
  }

  .nova-live-demo .searchbar {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .nova-live-demo .searchbar .shortcut-keys {
    display: none;
  }

  .nova-live-demo .status,
  .nova-live-demo .bottombar-hints {
    display: none;
  }

  .nova-live-demo .tile-grid {
    grid-template-columns: repeat(3, var(--tile-size));
  }

  .nova-live-demo .settings-panel {
    grid-template-columns: 1fr;
    height: 640px;
  }

  .nova-live-demo .settings-sidebar {
    display: none;
  }
}

@media (max-width: 520px) {
  .nova-live-demo .tile-grid {
    grid-template-columns: repeat(2, var(--tile-size));
  }

  .nova-live-demo .tabs {
    overflow-x: auto;
  }
}

@keyframes novaLiquidAura {
  0% {
    background-position: 0% 0%, 100% 10%, 50% 100%, 0% 50%;
    transform: scale(1.04) rotate(0deg);
  }

  50% {
    background-position: 28% 12%, 70% 34%, 56% 72%, 52% 48%;
    transform: scale(1.08) rotate(1.4deg);
  }

  100% {
    background-position: 64% 22%, 34% 52%, 82% 46%, 100% 52%;
    transform: scale(1.06) rotate(-1deg);
  }
}

@keyframes siteAmbientShift {
  0% {
    background-position: 0% 0%, 100% 20%, 0 0;
  }

  50% {
    background-position: 34% 16%, 64% 42%, 0 0;
  }

  100% {
    background-position: 100% 30%, 20% 72%, 0 0;
  }
}

@keyframes siteGridDrift {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: 64px 64px, -64px 64px;
  }
}

@keyframes siteColorWash {
  0% {
    transform: translate3d(-3%, -2%, 0) rotate(0deg) scale(1);
    opacity: 0.72;
  }

  45% {
    transform: translate3d(2%, 1%, 0) rotate(3deg) scale(1.04);
    opacity: 0.92;
  }

  100% {
    transform: translate3d(4%, -1%, 0) rotate(-2deg) scale(1.03);
    opacity: 0.78;
  }
}

@keyframes heroColorBreath {
  0% {
    background-position: 0% 20%, 100% 60%, -120% 0;
    opacity: 0.42;
  }

  50% {
    background-position: 42% 12%, 62% 84%, 40% 0;
    opacity: 0.66;
  }

  100% {
    background-position: 100% 36%, 10% 42%, 160% 0;
    opacity: 0.5;
  }
}

@keyframes heroShineSweep {
  0%,
  24% {
    filter: blur(0);
  }

  42% {
    filter: blur(0.4px);
  }

  100% {
    filter: blur(0);
  }
}

@keyframes heroParticlesDrift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0, -160% 0;
  }

  100% {
    background-position: 220px -220px, -250px 250px, 280px -280px, -300px 300px, 160% 0;
  }
}

@keyframes heroMeteorSweep {
  0%,
  18%,
  100% {
    opacity: 0.26;
  }

  8%,
  62% {
    opacity: 0.52;
  }
}

@keyframes previewFloat {
  0%,
  100% {
    transform: translateY(-16px);
  }

  50% {
    transform: translateY(-26px);
  }
}

@keyframes previewLiquidSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }

  100% {
    transform: rotate(360deg) scale(1.05);
  }
}

@keyframes orbPulse {
  0%,
  100% {
    box-shadow: 0 0 0 6px rgba(157, 242, 208, 0.08), 0 0 0 rgba(157, 242, 208, 0);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(157, 242, 208, 0.1), 0 0 28px rgba(157, 242, 208, 0.38);
  }
}

@keyframes activeRowBreath {
  0%,
  100% {
    background: rgba(157, 242, 208, 0.11);
  }

  50% {
    background: rgba(142, 202, 255, 0.14);
  }
}

@keyframes demoActiveControlGlow {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(143, 183, 255, 0.08);
  }

  50% {
    box-shadow: 0 0 28px rgba(157, 242, 208, 0.13);
  }
}

@keyframes demoIconGlow {
  0%,
  100% {
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 0 0 rgba(143, 183, 255, 0);
  }

  50% {
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.28), 0 0 28px rgba(143, 183, 255, 0.18);
  }
}

@keyframes demoIconSweep {
  0% {
    transform: translateX(-90%);
  }

  55%,
  100% {
    transform: translateX(90%);
  }
}

@keyframes novaStarField {
  0% {
    background-position:
      -140% 0,
      140% 0,
      -90% 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0;
  }

  100% {
    background-position:
      180% 0,
      -160% 0,
      140% 0,
      260px -180px,
      -310px 230px,
      240px 210px,
      -300px -220px,
      280px -240px,
      -260px 190px;
  }
}

@keyframes novaShootingLines {
  0%,
  18%,
  100% {
    opacity: 0.34;
    filter: blur(0);
  }

  8% {
    opacity: 0.68;
    filter: blur(0.2px);
  }

  62% {
    opacity: 0.52;
  }
}

@keyframes novaDemoHue {
  0% {
    border-color: rgba(255, 255, 255, 0.12);
  }

  35% {
    border-color: rgba(157, 242, 208, 0.24);
  }

  70% {
    border-color: rgba(142, 202, 255, 0.24);
  }

  100% {
    border-color: rgba(255, 211, 138, 0.18);
  }
}

@keyframes novaLauncherGlow {
  0% {
    box-shadow:
      0 32px 110px rgba(0, 0, 0, 0.68),
      0 0 0 rgba(157, 242, 208, 0);
  }

  50% {
    box-shadow:
      0 32px 110px rgba(0, 0, 0, 0.68),
      0 0 46px rgba(143, 183, 255, 0.16);
  }

  100% {
    box-shadow:
      0 32px 110px rgba(0, 0, 0, 0.68),
      0 0 58px rgba(157, 242, 208, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  body::before,
  body::after,
  .hero::before,
  .hero::after,
  .floating-preview,
  .floating-preview::before,
  .preview-search span,
  .demo-orb,
  .preview-row.active,
  .nova-live-demo,
  .nova-live-demo::before,
  .nova-live-demo::after,
  .nova-live-demo .launcher,
  .nova-live-demo .tab.is-active,
  .nova-live-demo .tile.is-selected .tile-icon,
  .nova-live-demo .tile:hover .tile-icon,
  .nova-live-demo .tile:hover .tile-icon::after,
  .nova-live-demo .tile.is-selected .tile-icon::after {
    animation: none;
  }
}
