/* ═══════════════════════════════════════════════════════════
   ILLAMA BOT — Page de vente (pré-connexion)
   ═══════════════════════════════════════════════════════════ */

/* Override style.css #login-screen — scroll document natif (pas conteneur fixe) */
#login-screen.sale {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  min-height: 100vh;
  height: auto !important;
  padding: 0 !important;
  overflow: visible !important;
  background: #04020c !important;
  background-image: none !important;
  animation: none;
  z-index: 1;
}

/* Masquage prioritaire — doit battre #login-screen.sale quand on est connecté */
#login-screen.sale.hidden,
body:not(.sale-active) #login-screen {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Panel admin — jamais visible sur la page de vente */
body.sale-active #app,
body.sale-active .app-frame {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.sale-active {
  scroll-behavior: smooth;
}

body.sale-active {
  overflow-x: hidden;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100vh;
}

body.sale-active.sale-modal-open {
  overflow: hidden !important;
}

.sale {
  --sale-bg: #04020c;
  --sale-surface: rgba(255, 255, 255, 0.04);
  --sale-border: rgba(255, 255, 255, 0.09);
  --sale-text: #f5f2ff;
  --sale-muted: #9b92b5;
  --sale-purple: #8b5cf6;
  --sale-violet: #a78bfa;
  --sale-cyan: #22d3ee;
  --sale-radius: 20px;
  --sale-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sale-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: visible;
  background: var(--sale-bg);
  color: var(--sale-text);
  font-family: 'Outfit', system-ui, sans-serif;
}

body.sale-active .mesh-bg { opacity: 0.35; }

.sale.hidden {
  display: none !important;
  pointer-events: none !important;
}

.sale-wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.sale-body {
  display: block;
  width: 100%;
}

.sale-body > section,
.sale-header,
.sale-footer {
  width: 100%;
  box-sizing: border-box;
}

/* Progress */
.sale-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 300;
  background: rgba(255, 255, 255, 0.05);
}

.sale-progress__bar {
  height: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--sale-purple), var(--sale-cyan));
}

/* Reveal — animation visuelle uniquement, jamais de blocage clics/scroll */
.sale.sale-anim-ready [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--sale-ease), transform 0.7s var(--sale-ease);
}

.sale.sale-anim-ready [data-reveal].is-visible,
.sale [data-reveal] {
  opacity: 1;
  transform: none;
}

body.sale-active .sale-body,
body.sale-active .sale-header,
body.sale-active .sale-footer {
  pointer-events: auto;
}

/* Menus flottants du panel — ne doivent jamais recouvrir la page vente */
body.sale-active > .dd-menu-floating,
body.sale-active > .custom-select-menu {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Header */
.sale-header {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  padding: 1rem 1.25rem;
  transition: padding 0.35s var(--sale-ease);
}

.sale-header.is-scrolled { padding-top: 0.65rem; padding-bottom: 0.65rem; }

.sale-header__shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(920px, 100%);
  margin-inline: auto;
  padding: 0.55rem 0.65rem 0.55rem 1rem;
  background: rgba(8, 4, 20, 0.75);
  border: 1px solid var(--sale-border);
  border-radius: 99px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  transition: background 0.35s, box-shadow 0.35s;
}

.sale-header.is-scrolled .sale-header__shell {
  background: rgba(6, 3, 16, 0.92);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}

.sale-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--sale-text);
  flex-shrink: 0;
}

.sale-brand__icon {
  display: block;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.4));
  overflow: hidden;
}

.sale-brand__text {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.sale-nav {
  display: flex;
  gap: 0.15rem;
}

.sale-nav a {
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--sale-muted);
  text-decoration: none;
  border-radius: 99px;
  transition: color 0.2s, background 0.2s;
}

.sale-nav a:hover,
.sale-nav a.is-active {
  color: var(--sale-text);
  background: rgba(139, 92, 246, 0.18);
}

.sale-header__end { position: relative; flex-shrink: 0; }

.sale-dots {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--sale-border);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s var(--sale-spring), background 0.2s;
}

.sale-dots:hover,
.sale-dots.is-open {
  background: rgba(139, 92, 246, 0.2);
  transform: scale(1.06);
}

.sale-dots i {
  display: block;
  width: 4px;
  height: 4px;
  margin: 0 auto;
  background: var(--sale-text);
  border-radius: 50%;
}

.sale-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  padding: 0.35rem;
  background: rgba(10, 6, 22, 0.98);
  border: 1px solid var(--sale-border);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  animation: salePop 0.28s var(--sale-spring);
}

@keyframes salePop {
  from { opacity: 0; transform: translateY(-8px) scale(0.95); }
  to { opacity: 1; transform: none; }
}

.sale-dropdown.hidden { display: none; }

.sale-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--sale-text);
  background: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.sale-dropdown__item:hover { background: rgba(139, 92, 246, 0.15); }

/* Hero */
.sale-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0 5rem;
}

.sale-hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent);
  pointer-events: none;
}

.sale-hero__grid-bg::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  width: 600px;
  height: 400px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  animation: saleGlow 8s ease-in-out infinite;
}

@keyframes saleGlow {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.sale-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.sale-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sale-cyan);
  margin-bottom: 1.25rem;
}

.sale-kicker--muted { color: var(--sale-muted); }

.sale-kicker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sale-cyan);
  box-shadow: 0 0 10px var(--sale-cyan);
  animation: saleBlink 2s ease infinite;
}

@keyframes saleBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.sale-hero__title {
  font-size: clamp(2.35rem, 5.5vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
  margin-bottom: 1.15rem;
}

.sale-hero__accent {
  background: linear-gradient(135deg, #fff 10%, var(--sale-violet) 45%, var(--sale-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sale-hero__desc {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--sale-muted);
  max-width: 480px;
  margin-bottom: 2rem;
}

.sale-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.sale-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--sale-spring), box-shadow 0.25s, background 0.25s;
}

.sale-btn--fill {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.4);
}

.sale-btn--fill:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(124, 58, 237, 0.5);
}

.sale-btn--line {
  color: var(--sale-text);
  background: transparent;
  border: 1px solid var(--sale-border);
}

.sale-btn--line:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

.sale-btn--lg { padding: 1rem 2rem; font-size: 1rem; }

.sale-metrics {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sale-metrics li {
  display: flex;
  flex-direction: column;
}

.sale-metrics strong {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--sale-violet), var(--sale-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sale-metrics span {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sale-muted);
  margin-top: 0.3rem;
}

/* Showcase */
.sale-showcase {
  position: relative;
  height: 400px;
}

.sale-showcase__panel {
  position: absolute;
  top: 8%;
  left: 0;
  width: 58%;
  background: rgba(12, 8, 28, 0.95);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: saleFloatA 6s ease-in-out infinite;
  z-index: 2;
}

.sale-showcase__discord {
  position: absolute;
  bottom: 5%;
  right: 0;
  width: 62%;
  padding: 1rem;
  background: #1a1625;
  border: 1px solid var(--sale-border);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  animation: saleFloatB 6s ease-in-out 0.5s infinite;
  z-index: 1;
}

@keyframes saleFloatA {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
}

@keyframes saleFloatB {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-8px) rotate(-0.5deg); }
}

.sale-showcase__chrome {
  display: flex;
  gap: 6px;
  padding: 0.6rem 0.85rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--sale-border);
}

.sale-showcase__chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.sale-showcase__chrome span:nth-child(1) { background: #f87171; }
.sale-showcase__chrome span:nth-child(2) { background: #fbbf24; }
.sale-showcase__chrome span:nth-child(3) { background: #34d399; }

.sale-showcase__body { padding: 0.85rem 1rem 1rem; }

.sale-showcase__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sale-showcase__row em { font-style: normal; }

.sale-showcase__row .sale-toggle {
  margin-left: auto;
  width: 32px;
  height: 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

.sale-showcase__row .sale-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s;
}

.sale-showcase__row .sale-toggle.on { background: var(--sale-purple); }
.sale-showcase__row .sale-toggle.on::after { transform: translateX(14px); }

.sale-showcase__save {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--sale-purple), #6d28d9);
  border: none;
  border-radius: 8px;
  cursor: default;
  animation: saleSavePulse 2.5s ease infinite;
}

@keyframes saleSavePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(139, 92, 246, 0); }
}

.sale-showcase__channel {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--sale-muted);
  margin-bottom: 0.65rem;
}

.sale-showcase__msg {
  display: flex;
  gap: 0.55rem;
  font-size: 0.72rem;
  line-height: 1.45;
}

.sale-showcase__avatar {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 50%;
  flex-shrink: 0;
}

.sale-showcase__msg b { display: block; color: var(--sale-violet); margin-bottom: 0.15rem; }
.sale-showcase__msg i { font-style: normal; color: var(--sale-cyan); }

.sale-showcase__badge {
  position: absolute;
  padding: 0.45rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(10, 6, 22, 0.95);
  border: 1px solid var(--sale-border);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  z-index: 3;
}

.sale-showcase__badge--a { top: 0; right: 15%; animation: saleFloatA 5s ease-in-out infinite; }
.sale-showcase__badge--b { bottom: 28%; left: 5%; animation: saleFloatB 5.5s ease-in-out 0.3s infinite; }

.sale-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--sale-muted);
  animation: saleBounce 2.2s ease infinite;
}

@keyframes saleBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* Sections */
.sale-section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.sale-section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 0.65rem;
}

.sale-section-head p {
  color: var(--sale-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0;
}

.sale-flow {
  padding: 6rem 0;
  border-top: 1px solid var(--sale-border);
}

.sale-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sale-step {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--sale-surface);
  border: 1px solid var(--sale-border);
  border-radius: var(--sale-radius);
  transition: transform 0.35s var(--sale-spring), border-color 0.35s;
  overflow: hidden;
  min-height: 0;
}

.sale-step:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.35);
}

.sale-step__n {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--sale-cyan);
  margin-bottom: 0.85rem;
}

.sale-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.sale-step p {
  font-size: 0.85rem;
  color: var(--sale-muted);
  line-height: 1.6;
  margin: 0;
}

/* Modules tabs */
.sale-modules {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.04) 50%, transparent);
}

.sale-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
}

.sale-tabs__btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--sale-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--sale-border);
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.25s var(--sale-spring);
}

.sale-tabs__btn:hover {
  color: var(--sale-text);
  border-color: rgba(139, 92, 246, 0.35);
}

.sale-tabs__btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.5), rgba(34, 211, 238, 0.15));
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
}

.sale-mod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.sale-mod-grid.hidden { display: none; }

.sale-mod {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  text-align: left;
  font-family: inherit;
  color: inherit;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--sale-border);
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.3s var(--sale-spring), border-color 0.3s, box-shadow 0.3s;
}

.sale-mod:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15);
}

.sale-mod.is-highlight {
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(139, 92, 246, 0.1);
}

.sale-mod__icon { font-size: 1.5rem; flex-shrink: 0; }

.sale-mod__body { flex: 1; min-width: 0; }

.sale-mod__body strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.sale-mod__body span {
  display: block;
  font-size: 0.75rem;
  color: var(--sale-muted);
  line-height: 1.35;
}

.sale-mod__go {
  font-size: 1rem;
  color: var(--sale-purple);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s var(--sale-spring);
}

.sale-mod:hover .sale-mod__go {
  opacity: 1;
  transform: none;
}

/* Demo */
.sale-demo {
  padding: 4rem 0 6rem;
}

.sale-demo__frame {
  padding: 3px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(34, 211, 238, 0.3));
  border-radius: calc(var(--sale-radius) + 3px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.sale-demo__inner .dash-how-section {
  margin: 0;
  border: none;
  background: rgba(6, 3, 16, 0.98);
  border-radius: var(--sale-radius);
  padding: 1.5rem !important;
}

.sale-demo__inner .dash-how-head {
  margin-bottom: 1rem;
}

.sale-demo__inner .dash-how-section--compact .dash-how-grid {
  display: block !important;
  gap: 0 !important;
}

.sale-demo__inner .dash-how-section--compact .dash-how-head {
  margin-bottom: 0.75rem;
}

.sale-demo__inner .dash-how-section--compact .demo-module-picker {
  margin-bottom: 1rem;
  position: relative;
  z-index: 5;
  pointer-events: auto !important;
  flex-wrap: wrap;
  overflow: visible;
  gap: 0.35rem;
}

.sale-demo__inner .demo-module-chip-icon {
  font-size: 0.82rem;
}

.sale-demo__inner .demo-module-chip {
  flex-shrink: 1;
  padding: 0.35rem 0.55rem;
  font-size: 0.68rem;
  cursor: pointer;
  pointer-events: auto !important;
  position: relative;
  z-index: 1;
}

.sale-demo__inner .dash-demo-stage {
  min-height: 420px;
  isolation: isolate;
  contain: layout paint;
}

.sale-demo__inner .dash-demo-scenes {
  min-height: 400px;
  overflow: hidden;
  pointer-events: none;
}

.sale-demo__inner .dash-demo-scene.is-active .dash-demo-live__head {
  pointer-events: auto;
  position: relative;
  z-index: 3;
}

/* Démo live — affichage enrichi */
.dash-how-section--compact .dash-demo-live__head {
  margin-bottom: 0.85rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(34, 211, 238, 0.06));
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 14px;
}

.dash-demo-live__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.dash-demo-live__timer {
  height: 3px;
  margin-bottom: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.dash-demo-live__timer-bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #8b5cf6, #22d3ee);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.45);
  animation: demoStepProgress var(--demo-cycle-ms, 4s) linear forwards;
}

@keyframes demoStepProgress {
  from { width: 0%; }
  to { width: 100%; }
}

.dash-demo-live__step {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sale-cyan, #22d3ee);
}

.dash-demo-live__pips {
  display: flex;
  gap: 0.35rem;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.dash-demo-live__pip {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--sale-muted, #9b92b5);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 1;
  transition: all 0.35s var(--sale-ease, ease);
}

.dash-demo-live__pip:hover:not(.is-active) {
  color: var(--sale-text, #f5f2ff);
  border-color: rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.12);
}

.dash-demo-live__pip:focus-visible {
  outline: 2px solid rgba(139, 92, 246, 0.7);
  outline-offset: 2px;
}

.dash-demo-live__pip.is-active {
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.45);
  transform: scale(1.1);
}

.dash-demo-live__caption {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sale-text, #f5f2ff);
  line-height: 1.35;
}

.dash-demo-live__hint {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: var(--sale-muted, #9b92b5);
  line-height: 1.45;
}

.dash-demo-live__body {
  position: relative;
}

.dash-mock-duo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: stretch;
}

.dash-mock-duo__tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9b92b5;
  margin-bottom: 0.45rem;
}

.dash-mock-duo__bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0 0.25rem;
  color: var(--sale-cyan, #22d3ee);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dash-mock-duo__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
  animation: saleDemoPulse 1.2s ease-in-out infinite;
}

@keyframes saleDemoPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

.dash-mock-solo {
  position: relative;
}

.dash-mock-solo .dash-mock-win,
.dash-mock-solo .dash-mock-discord--real {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(139, 92, 246, 0.15);
}

@media (max-width: 720px) {
  .dash-mock-duo {
    grid-template-columns: 1fr;
  }
  .dash-mock-duo__bridge {
    flex-direction: row;
    padding: 0.35rem 0;
  }
  .sale-demo__inner .dash-demo-stage { min-height: 360px; }
  .sale-demo__inner .dash-demo-scenes { min-height: 340px; }
}

/* Bento why */
.sale-why { padding: 6rem 0; }

.sale-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.sale-bento__card {
  padding: 1.65rem;
  background: var(--sale-surface);
  border: 1px solid var(--sale-border);
  border-radius: var(--sale-radius);
  transition: transform 0.35s var(--sale-spring), border-color 0.35s;
}

.sale-bento__card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.3);
}

.sale-bento__card--wide { grid-column: span 2; }

.sale-bento__icon { font-size: 1.75rem; display: block; margin-bottom: 0.85rem; }

.sale-bento__card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.sale-bento__card p {
  font-size: 0.85rem;
  color: var(--sale-muted);
  line-height: 1.6;
  margin: 0;
}

/* CTA */
.sale-cta { padding: 2rem 0 6rem; }

.sale-cta__box {
  text-align: center;
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(34, 211, 238, 0.06));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 24px;
}

.sale-cta__box h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.sale-cta__box p {
  color: var(--sale-muted);
  margin-bottom: 1.75rem;
}

/* Footer */
.sale-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--sale-border);
}

.sale-footer__inner {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--sale-muted);
}

/* Modal */
.sale-modal {
  position: fixed;
  inset: 0;
  z-index: 40000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.sale-modal.hidden {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.sale-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 12, 0.85);
  backdrop-filter: blur(14px);
}

.sale-modal__box {
  position: relative;
  width: 100%;
  max-width: 400px;
  animation: salePop 0.4s var(--sale-spring);
}

.sale-modal__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sale-muted);
  background: rgba(10, 6, 22, 0.98);
  border: 1px solid var(--sale-border);
  border-radius: 50%;
  cursor: pointer;
}

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

.sale-modal__card {
  padding: 2rem;
  background: rgba(10, 6, 22, 0.98);
  border: 1px solid var(--sale-border);
  border-radius: var(--sale-radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.sale-modal__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.sale-modal__logo .illama-logo {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.35));
}

.sale-modal__card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.sale-modal__sub {
  font-size: 0.88rem;
  color: var(--sale-muted);
  margin-bottom: 1.5rem;
}

.sale-modal__card .auth-form { text-align: left; }

/* Responsive */
@media (max-width: 960px) {
  .sale-hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .sale-hero__showcase { order: -1; }
  .sale-showcase { height: 320px; }
  .sale-steps { grid-template-columns: 1fr; }
  .sale-bento { grid-template-columns: 1fr; }
  .sale-bento__card--wide { grid-column: span 1; }
  .sale-mod-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .sale-nav { display: none; }
  .sale-header__shell { width: 100%; }
  .sale-hero { min-height: auto; padding: 1rem 0 4rem; }
  .sale-hero__btns { flex-direction: column; }
  .sale-btn { width: 100%; }
  .sale-metrics { gap: 1.5rem; }
  .sale-scroll-hint { display: none; }
  .sale-flow,
  .sale-modules,
  .sale-why { padding: 4rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sale [data-reveal] { opacity: 1; transform: none; transition: none; }
  .sale-showcase__panel,
  .sale-showcase__discord,
  .sale-showcase__badge,
  .sale-scroll-hint,
  .sale-showcase__save { animation: none !important; }
}
