:root {
  --bg-deep: #141517;
  --bg: #1a1b1e;
  --bg-raised: #202124;
  --surface: #292a2d;
  --surface-2: #35363a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e8eaed;
  --text-2: #b1b6bc;
  --text-3: #80868b;
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --accent-soft: rgba(56, 189, 248, 0.14);
  --accent-line: rgba(56, 189, 248, 0.32);
  --accent-glow: rgba(56, 189, 248, 0.28);
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.14);
  --green-line: rgba(52, 211, 153, 0.32);
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.14);
  --amber-line: rgba(251, 191, 36, 0.32);
  --on-accent: #06131c;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-card: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 2px 8px rgba(0, 0, 0, 0.25), 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 6px 22px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container: 1120px;
  --container-narrow: 760px;
  --nav-height: 72px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

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

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: #7dd3fc;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

code,
kbd {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.86em;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  padding: 1px 6px;
}

kbd {
  border-bottom-width: 2px;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.gradient-text {
  background: linear-gradient(135deg, #7dd3fc 0%, var(--accent) 45%, var(--accent-strong) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  font-weight: 700;
}

.btn-primary:hover {
  color: var(--on-accent);
  box-shadow: 0 8px 26px var(--accent-glow);
}

.btn-soft {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent-line);
}

.btn-soft:hover {
  color: var(--accent);
  background: rgba(56, 189, 248, 0.22);
  border-color: rgba(56, 189, 248, 0.55);
}

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--surface-2);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 27, 30, 0.78);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--nav-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.brand-name span {
  color: var(--accent);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
}

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

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

.section {
  position: relative;
  padding: 96px 0;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09) 22%, rgba(255, 255, 255, 0.09) 78%, transparent);
}

.section-alt {
  background:
    radial-gradient(900px 480px at 80% 0%, rgba(56, 189, 248, 0.07), transparent 70%),
    var(--bg-deep);
}

.section-head {
  max-width: 660px;
  margin: 0 auto 52px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 700;
}

.section-subtitle {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--text-2);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 72px) 0 96px;
  background:
    radial-gradient(1100px 560px at 50% -12%, rgba(56, 189, 248, 0.17), transparent 66%),
    radial-gradient(680px 420px at 90% 30%, rgba(52, 211, 153, 0.06), transparent 70%),
    linear-gradient(180deg, #1e1f22 0%, var(--bg) 55%, var(--bg-deep) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(820px 480px at 50% 30%, #000 0%, transparent 72%);
  mask-image: radial-gradient(820px 480px at 50% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}

.hero-badge i {
  color: var(--green);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-tagline {
  margin-top: 10px;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 500;
  color: var(--text);
}

.hero-lead {
  margin-top: 18px;
  max-width: 540px;
  font-size: 1.08rem;
  color: var(--text-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 28px;
  font-size: 0.92rem;
  color: var(--text-3);
}

.hero-platforms span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-2);
}

.demo {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: #0b0c0e;
  box-shadow: var(--shadow-card), 0 30px 80px rgba(56, 189, 248, 0.1);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  text-align: left;
  user-select: none;
}

.demo-scene {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 72% 38%, rgba(251, 191, 36, 0.28), transparent 70%),
    radial-gradient(50% 60% at 22% 30%, rgba(56, 189, 248, 0.22), transparent 70%),
    linear-gradient(180deg, #1d2733 0%, #11161d 60%, #07090c 100%);
}

.demo-scene::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
}

.demo-label {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-2);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.demo-stack {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}

.demo-popup {
  width: min(250px, 80%);
  padding: 10px 14px;
  font-family: Arial, sans-serif;
  color: #fff;
  background: rgba(20, 20, 20, 0.95);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transform: translateX(12%);
  animation: demoPop 0.6s var(--ease) 0.9s both;
}

.demo-popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: bold;
}

.demo-popup-head i {
  color: var(--accent);
  font-size: 14px;
}

.demo-translation {
  margin-bottom: 6px;
  font-size: 16px;
  color: var(--accent);
}

.demo-entries {
  padding-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #ccc;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-entries em {
  margin-right: 4px;
  color: #999;
}

.demo-subtitle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: Arial, sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  font-weight: bold;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.demo-line-blurred {
  filter: blur(5px);
  opacity: 0.9;
}

.demo-selected {
  color: var(--accent);
}

.demo-controls {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.demo-progress {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent) 0 38%, rgba(255, 255, 255, 0.25) 38% 100%);
}

.grid {
  display: grid;
  gap: 20px;
}

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

.card {
  height: 100%;
  padding: 26px;
  background: linear-gradient(180deg, var(--surface) 0%, #25262a 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-hover);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  color: #fff;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-2);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  font-size: 1.2rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
}

.card-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.card-row .card-icon {
  margin-bottom: 0;
}

.card-row h3 {
  margin-bottom: 6px;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step {
  position: relative;
  text-align: center;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 50%;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-2);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s var(--ease);
}

.faq-item[open],
.faq-item:hover {
  border-color: var(--accent-line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 1.02rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}

.faq-item[open] summary::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.faq-item p {
  padding: 0 22px 20px;
  font-size: 0.95rem;
  color: var(--text-2);
}

.cta {
  text-align: center;
  background:
    radial-gradient(900px 420px at 50% 120%, rgba(52, 211, 153, 0.12), transparent 66%),
    linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(56, 189, 248, 0.05) 46%, rgba(52, 211, 153, 0.08) 100%),
    var(--bg-raised);
}

.cta .section-subtitle {
  margin-bottom: 34px;
}

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

.site-footer {
  position: relative;
  padding: 56px 0 40px;
  text-align: center;
  color: var(--text-3);
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 18px 0 26px;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  color: var(--text-2);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-note {
  margin-top: 26px;
  font-size: 0.85rem;
}

.page {
  min-height: 100vh;
  padding: calc(var(--nav-height) + 56px) 0 88px;
  background:
    radial-gradient(1000px 520px at 50% -6%, rgba(56, 189, 248, 0.13), transparent 64%),
    var(--bg);
}

.page-header {
  margin-bottom: 44px;
  text-align: center;
}

.page-logo {
  width: 84px;
  height: 84px;
  margin-bottom: 20px;
  filter: drop-shadow(0 12px 24px var(--accent-glow));
}

.page-title {
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 700;
}

.page-subtitle {
  max-width: 520px;
  margin: 12px auto 0;
  font-size: 1.05rem;
  color: var(--text-2);
}

.page-section-title {
  margin: 44px 0 18px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
}

.page-footer-note {
  margin-top: 48px;
  text-align: center;
  color: var(--text-3);
}

.prose h2 {
  margin: 36px 0 12px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.prose p,
.prose li {
  color: var(--text-2);
}

.prose p + p {
  margin-top: 12px;
}

.prose ul {
  margin: 12px 0;
  padding-left: 22px;
}

.prose li + li {
  margin-top: 6px;
}

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

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 100vh;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(900px 480px at 50% 20%, rgba(56, 189, 248, 0.12), transparent 64%),
    var(--bg);
}

.not-found h1 {
  font-size: 5rem;
  font-weight: 700;
}

.not-found p {
  margin-bottom: 20px;
  color: var(--text-2);
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease) forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.25s;
}

.delay-3 {
  animation-delay: 0.4s;
}

.delay-4 {
  animation-delay: 0.55s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes demoPop {
  from {
    opacity: 0;
    transform: translate(12%, 10px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateX(12%);
  }
}

.sl-support-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.sl-support-modal[hidden] {
  display: none;
}

.sl-support-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.16s var(--ease);
}

.sl-support-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px;
  background:
    radial-gradient(600px 300px at 20% -10%, rgba(56, 189, 248, 0.1), transparent 70%),
    var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: popIn 0.18s var(--ease);
}

.sl-support-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.sl-support-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.sl-support-title span {
  color: var(--accent);
}

.sl-support-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.sl-support-close:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--accent-line);
}

.sl-support-close svg {
  width: 15px;
  height: 15px;
}

.sl-support-text {
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-2);
}

.sl-support-lead {
  color: var(--text);
}

.sl-support-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sl-support-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}

.sl-support-option:hover {
  color: var(--text);
  background: var(--surface-2);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.sl-support-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
}

.sl-support-icon svg {
  width: 18px;
  height: 18px;
}

.sl-support-github:hover {
  border-color: var(--accent-line);
}

.sl-support-coffee .sl-support-icon {
  color: var(--green);
  background: var(--green-soft);
  border-color: var(--green-line);
}

.sl-support-coffee:hover {
  border-color: var(--green-line);
}

.sl-support-review .sl-support-icon {
  color: var(--amber);
  background: var(--amber-soft);
  border-color: var(--amber-line);
}

.sl-support-review:hover {
  border-color: var(--amber-line);
}

.sl-support-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.sl-support-name {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.sl-support-desc {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-2);
}

.sl-support-arrow {
  display: flex;
  flex-shrink: 0;
  color: var(--text-3);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.sl-support-arrow svg {
  width: 15px;
  height: 15px;
}

.sl-support-option:hover .sl-support-arrow {
  color: var(--text);
  transform: translate(2px, -2px);
}

.fb-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
}

.fb-widget-fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  border: none;
  border-radius: 50%;
  box-shadow: 0 6px 18px var(--accent-glow);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.fb-widget-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(56, 189, 248, 0.4);
}

.fb-widget-fab svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: transform 0.25s var(--ease);
}

.fb-widget-fab.fb-open svg {
  transform: rotate(90deg);
}

.fb-widget-popup {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 340px;
  padding: 24px 20px 20px;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.fb-widget-popup.fb-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.fb-widget-title {
  margin-bottom: 4px;
  font-size: 1.1rem;
  font-weight: 700;
}

.fb-widget-subtitle {
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-2);
}

.fb-widget-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.fb-widget-card + .fb-widget-card {
  margin-top: 10px;
}

.fb-widget-card:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--accent-line);
  transform: translateY(-1px);
}

.fb-widget-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  border: 1px solid transparent;
}

.fb-widget-icon svg {
  width: 18px;
  height: 18px;
}

.fb-feature {
  color: var(--amber);
  background: var(--amber-soft);
  border-color: var(--amber-line);
}

.fb-bug {
  color: #f87171;
  background: rgba(248, 113, 113, 0.14);
  border-color: rgba(248, 113, 113, 0.32);
}

.fb-feedback {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent-line);
}

.fb-uninstall {
  color: var(--text-2);
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.fb-widget-card-text {
  display: flex;
  flex-direction: column;
}

.fb-widget-card-text span {
  font-size: 0.9rem;
  font-weight: 600;
}

.fb-widget-card-text small {
  font-size: 0.76rem;
  color: var(--text-3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-platforms {
    justify-content: center;
  }

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

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hide-sm {
    display: none;
  }

  .brand-sub {
    display: none;
  }

  .card-row {
    flex-direction: column;
    gap: 14px;
  }

  .demo {
    aspect-ratio: 4 / 3.4;
  }

  .sl-support-modal {
    padding: 16px;
  }

  .sl-support-card {
    padding: 22px 18px;
  }

  .fb-widget {
    right: 16px;
    bottom: 16px;
  }

  .fb-widget-popup {
    width: calc(100vw - 32px);
  }
}

@media (max-height: 560px) {
  .sl-support-modal {
    padding: 12px;
  }

  .sl-support-card {
    padding: 18px;
  }

  .sl-support-text {
    margin-bottom: 12px;
  }

  .sl-support-option {
    padding: 11px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
}
