/* Chat Sync Mod — deeper violet, smooth motion */
:root {
  --bg-root: #070518;
  --bg-elevated: #0e0a22;
  --bg-card: #15102c;
  --bg-card-hover: #1c1538;
  --creeper: #8b9cff;
  --creeper-bright: #b4bfff;
  --creeper-deep: #6366f1;
  --creeper-shadow: #3b2f6b;
  --sync: #d4b8ff;
  --sync-soft: rgba(168, 85, 247, 0.2);
  --sync-glow: rgba(196, 181, 253, 0.5);
  --text: #f0eef8;
  --text-muted: #9b95b8;
  --border: rgba(139, 92, 246, 0.28);
  --border-sync: rgba(196, 181, 253, 0.42);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Outfit", "Inter", system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --on-accent: #0a0618;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --reveal-duration: 1s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
      radial-gradient(ellipse 110% 90% at 50% -15%, rgba(168, 85, 247, 0.22), transparent 58%),
      radial-gradient(ellipse 55% 45% at 0% 55%, rgba(109, 40, 217, 0.14), transparent 50%),
      radial-gradient(ellipse 50% 42% at 100% 35%, rgba(139, 92, 246, 0.12), transparent 48%),
      radial-gradient(ellipse 80% 60% at 50% 110%, rgba(76, 29, 149, 0.18), transparent 55%);
    animation: ambientGlow 14s var(--ease-soft) infinite alternate;
  }

  @keyframes ambientGlow {
    0% {
      opacity: 0.82;
      transform: scale(1);
    }
    100% {
      opacity: 1;
      transform: scale(1.02);
    }
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-root);
  background-image:
    linear-gradient(180deg, rgba(22, 14, 48, 0.97) 0%, var(--bg-root) 50%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 7px,
      rgba(109, 40, 217, 0.04) 7px,
      rgba(109, 40, 217, 0.04) 8px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 7px,
      rgba(139, 92, 246, 0.045) 7px,
      rgba(139, 92, 246, 0.045) 8px
    ),
    radial-gradient(ellipse 125% 88% at 50% -24%, rgba(168, 85, 247, 0.2), transparent 56%),
    radial-gradient(ellipse 72% 58% at 100% 32%, rgba(99, 102, 241, 0.12), transparent 52%),
    radial-gradient(ellipse 55% 50% at 0% 70%, rgba(76, 29, 149, 0.1), transparent 48%);
  min-height: 100vh;
}

@media (prefers-reduced-motion: no-preference) {
  body {
    animation: bodyFadeIn 1.1s var(--ease-smooth) both;
  }

  @keyframes bodyFadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sync);
  text-decoration: none;
  transition: color 0.45s var(--ease-smooth);
}

a:hover {
  color: var(--creeper-bright);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 5, 24, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow:
    0 0 40px rgba(139, 92, 246, 0.1),
    0 1px 0 rgba(196, 181, 253, 0.1);
  transition:
    background 0.5s var(--ease-smooth),
    border-color 0.5s var(--ease-smooth),
    box-shadow 0.5s var(--ease-smooth);
}

@media (prefers-reduced-motion: no-preference) {
  header {
    animation: headerSlideDown 0.95s var(--ease-smooth) both;
  }

  @keyframes headerSlideDown {
    from {
      opacity: 0;
      transform: translateY(-14px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.navbar {
  padding: 0.85rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  background: none;
}

.logo-img {
  display: block;
  height: clamp(42px, 4.8vw, 54px);
  width: auto;
  max-width: min(200px, 46vw);
  object-fit: contain;
  object-position: left center;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 28px rgba(139, 92, 246, 0.22));
  -webkit-user-drag: none;
  user-select: none;
}

.logo-wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--creeper-bright), var(--sync));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 380px) {
  .logo-wordmark {
    max-width: 9rem;
  }
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.45s var(--ease-smooth);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--creeper-deep), var(--sync));
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-smooth);
}

.nav-links a:hover {
  color: var(--creeper-bright);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.lang-btn {
  padding: 0.4rem 0.65rem;
  border: none;
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.45s var(--ease-smooth), color 0.45s var(--ease-smooth);
}

.lang-btn.active {
  background: linear-gradient(180deg, var(--creeper-deep), var(--creeper-shadow));
  color: var(--text);
}

.lang-btn:not(.active):hover {
  color: var(--sync);
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  text-shadow: 0 0 56px rgba(168, 85, 247, 0.28);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--sync);
  font-weight: 600;
  margin: 0 0 1rem;
}

.hero-description {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 34rem;
}

.hero-features {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.hero-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-feature-item svg {
  flex-shrink: 0;
  color: var(--creeper);
  margin-top: 2px;
}

.hero-compatibility {
  font-size: 0.85rem;
  color: var(--sync);
  opacity: 0.9;
  margin: 0 0 1.5rem;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.btn-primary,
.btn-fabric-api,
.btn-plan,
.btn-fix-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition:
    transform 0.4s var(--ease-smooth),
    box-shadow 0.45s var(--ease-smooth),
    filter 0.45s var(--ease-smooth),
    border-color 0.45s var(--ease-smooth),
    background 0.45s var(--ease-smooth);
}

.btn-primary {
  background: linear-gradient(145deg, var(--creeper-bright), var(--creeper-deep));
  color: var(--on-accent);
  box-shadow:
    0 4px 28px rgba(99, 102, 241, 0.38),
    0 0 32px rgba(168, 85, 247, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    0 10px 36px rgba(139, 92, 246, 0.32),
    0 4px 28px rgba(99, 102, 241, 0.45);
}

.btn-fabric-api {
  background: transparent;
  color: var(--sync);
  border: 2px solid var(--border-sync);
  box-shadow: 0 0 20px var(--sync-soft);
}

.btn-fabric-api:hover {
  background: var(--sync-soft);
  border-color: var(--sync);
}

.btn-microtext {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 28rem;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(192, 132, 252, 0.28), rgba(99, 102, 241, 0.2));
  z-index: -1;
  filter: blur(12px);
  opacity: 0.7;
}

.hero-image {
  border-radius: 16px;
  border: 2px solid var(--border);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(168, 85, 247, 0.2);
  transition: transform 0.7s var(--ease-smooth), box-shadow 0.7s var(--ease-smooth);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-image:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow:
      0 20px 56px rgba(0, 0, 0, 0.5),
      0 0 48px rgba(139, 92, 246, 0.22);
  }
}

/* Proximity */
.proximity-showcase {
  padding: 4rem 0;
  background: linear-gradient(180deg, transparent, rgba(28, 16, 52, 0.62), transparent);
  border-block: 1px solid var(--border);
}

.proximity-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .proximity-content {
    grid-template-columns: 1fr;
  }
}

.proximity-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1rem;
  color: var(--text);
}

.proximity-title span {
  color: var(--creeper);
}

.proximity-description {
  color: var(--text-muted);
  margin: 0;
}

.showcase-visual {
  position: relative;
  min-height: 280px;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(139, 92, 246, 0.06);
}

.proximity-ring {
  position: absolute;
  border: 2px solid rgba(167, 139, 250, 0.28);
  border-radius: 50%;
  animation: pulse-ring 3s ease-in-out infinite;
}

.ring-1 {
  width: 120px;
  height: 120px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.ring-2 {
  width: 180px;
  height: 180px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0.4s;
  border-color: rgba(91, 156, 250, 0.22);
}

.ring-3 {
  width: 240px;
  height: 240px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0.8s;
}

.ring-right {
  width: 100px;
  height: 100px;
  right: 18%;
  top: 42%;
  transform: translate(50%, -50%);
  border-color: rgba(129, 140, 248, 0.4);
  animation: pulse-ring-offset 3s ease-in-out infinite 1s;
}

@keyframes pulse-ring {
  0%,
  100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.03);
  }
}

@keyframes pulse-ring-offset {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(50%, -50%) scale(1);
  }
  50% {
    opacity: 0.95;
    transform: translate(50%, -50%) scale(1.04);
  }
}

.player-center,
.player-right {
  position: absolute;
  width: 56px;
  height: 56px;
  color: var(--creeper);
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.player-right {
  right: 22%;
  top: 42%;
  transform: translateY(-50%);
  color: var(--sync);
}

.player-icon {
  position: absolute;
  width: 22px;
  height: 22px;
  bottom: -4px;
  right: -4px;
  color: var(--sync);
}

.waveform {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
}

.wave-bar {
  width: 5px;
  background: linear-gradient(180deg, var(--sync), var(--creeper-deep));
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1) {
  height: 18px;
  animation-delay: 0s;
}
.wave-bar:nth-child(2) {
  height: 32px;
  animation-delay: 0.1s;
}
.wave-bar:nth-child(3) {
  height: 24px;
  animation-delay: 0.2s;
}
.wave-bar:nth-child(4) {
  height: 40px;
  animation-delay: 0.15s;
}
.wave-bar:nth-child(5) {
  height: 22px;
  animation-delay: 0.25s;
}
.wave-bar:nth-child(6) {
  height: 36px;
  animation-delay: 0.05s;
}
.wave-bar:nth-child(7) {
  height: 20px;
  animation-delay: 0.2s;
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.5);
    opacity: 0.6;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.waveform-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Video */
.video-section {
  padding: 4rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  text-align: center;
  margin: 0 0 2rem;
  color: var(--text);
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, var(--creeper), var(--sync));
  border-radius: 2px;
  box-shadow: 0 0 12px var(--sync-glow);
}

.video-container {
  max-width: 880px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.85s var(--ease-smooth), border-color 0.65s var(--ease-smooth);
}

.demo-video {
  width: 100%;
  display: block;
  background: #000;
}

.video-caption {
  max-width: 720px;
  margin: 1.5rem auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About */
.about {
  padding: 4rem 0;
  background: rgba(18, 12, 42, 0.55);
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition:
    border-color 0.5s var(--ease-smooth),
    background 0.5s var(--ease-smooth),
    transform 0.5s var(--ease-smooth),
    box-shadow 0.5s var(--ease-smooth);
}

.about-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-sync);
  transform: translateY(-2px);
}

.card-icon {
  color: var(--creeper);
  margin-bottom: 1rem;
}

.about-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
}

.about-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Plans */
.download {
  padding: 4rem 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.55s var(--ease-smooth),
    box-shadow 0.55s var(--ease-smooth),
    transform 0.55s var(--ease-smooth);
}

.plan-card:hover {
  border-color: rgba(196, 181, 253, 0.5);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.25),
    0 14px 42px rgba(76, 29, 149, 0.2),
    0 0 36px rgba(139, 92, 246, 0.14);
  transform: translateY(-4px);
}

.plan-featured {
  border-color: rgba(196, 181, 253, 0.42);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.2),
    0 14px 48px rgba(91, 33, 182, 0.16);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 1.25rem;
  background: linear-gradient(135deg, #a78bfa, #6d28d9);
  color: var(--on-accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plan-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.plan-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--creeper);
  margin: 0.5rem 0 0;
}

.plan-price .plan-price-amount {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.plan-price .plan-price-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem;
}

.plan-period-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.plan-featured .plan-header .plan-period-selector {
  margin-top: 0.85rem;
}

.plan-featured .plan-header .plan-price {
  margin-top: 1rem;
}

.period-btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.45s var(--ease-smooth),
    color 0.45s var(--ease-smooth),
    background 0.45s var(--ease-smooth),
    box-shadow 0.45s var(--ease-smooth);
}

.period-btn:hover {
  border-color: rgba(196, 181, 253, 0.55);
  color: var(--creeper-bright);
  background: rgba(109, 40, 217, 0.14);
}

.period-btn.active {
  border-color: var(--creeper);
  color: var(--creeper-bright);
  background: rgba(99, 102, 241, 0.18);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.22);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1 1 auto;
}

.plan-features li {
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.plan-features li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--sync);
}

.btn-plan {
  width: 100%;
  border: none;
}

.btn-plan-free {
  background: var(--bg-elevated);
  color: var(--creeper);
  border: 2px solid var(--border);
}

.btn-plan-free:hover {
  border-color: var(--creeper);
  background: rgba(37, 99, 235, 0.1);
}

.btn-plan-paid {
  background: linear-gradient(145deg, #a78bfa, #5b21b6);
  color: #f5f3ff;
}

.btn-plan-paid:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.32);
}

.plan-file-info {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Fix */
.fix-section {
  padding: 4rem 0;
  background: rgba(14, 10, 36, 0.58);
  border-top: 1px solid var(--border);
}

.section-description {
  text-align: center;
  max-width: 640px;
  margin: -1rem auto 2.5rem;
  color: var(--text-muted);
}

.fix-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .fix-content {
    grid-template-columns: 1fr;
  }
}

.fix-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.fix-card-solution {
  border-color: var(--border-sync);
}

.fix-icon {
  color: var(--creeper);
  margin-bottom: 1rem;
}

.fix-icon-success {
  color: var(--sync);
}

.fix-card h3,
.fix-card h4 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
  color: var(--text);
}

.fix-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.fix-list li {
  margin-bottom: 0.5rem;
}

.fix-solution-text {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.fix-info {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.fix-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.fix-info-item svg {
  flex-shrink: 0;
  color: var(--creeper);
  margin-top: 2px;
}

.fix-steps {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
}

.fix-steps li {
  margin-bottom: 0.4rem;
}

.btn-fix-download {
  background: linear-gradient(145deg, var(--creeper-bright), var(--creeper-deep));
  color: var(--on-accent);
  width: 100%;
  max-width: 360px;
  transition:
    transform 0.4s var(--ease-smooth),
    filter 0.45s var(--ease-smooth),
    box-shadow 0.45s var(--ease-smooth);
}

.btn-fix-download:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(139, 92, 246, 0.35);
}

.fix-version {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */
footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--bg-root);
}

footer p {
  margin: 0.35rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer .container p:first-child {
  color: var(--text);
  font-weight: 600;
}

.footer-note {
  font-size: 0.82rem !important;
}

.domain-badge {
  display: inline-block;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--sync);
  letter-spacing: 0.02em;
}

/* Scroll-triggered fade / rise */
@media (prefers-reduced-motion: no-preference) {
  .reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition:
      opacity var(--reveal-duration) var(--ease-smooth),
      transform var(--reveal-duration) var(--ease-smooth);
    will-change: opacity, transform;
  }

  .reveal-section.is-visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
  }

  .reveal-section.is-visible .video-container {
    box-shadow:
      0 20px 56px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(168, 85, 247, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  html::before {
    animation: none !important;
    opacity: 1 !important;
  }

  body {
    animation: none !important;
  }

  header {
    animation: none !important;
  }

  .reveal-section {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
