/* VIDEO MODE */
#mode-video {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--app-bg);
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
#video-frame {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.video-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  pointer-events: none;
}
.video-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* CONTROLS */
.video-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  padding: 10px 20px;
  border-radius: 40px;
  border: 1px solid var(--app-border);
  z-index: 100;
}
.vc-btn {
  background: none;
  border: none;
  color: var(--app-text);
  cursor: pointer;
  font-size: 18px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--ease);
}
.vc-btn:hover {
  background: var(--app-surface-3);
}
.vc-btn.play-pause {
  font-size: 22px;
}
.vc-progress {
  display: flex;
  gap: 6px;
  align-items: center;
}
.vc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--app-border);
  transition: var(--ease);
  cursor: pointer;
}
.vc-dot.active {
  background: var(--app-accent);
  width: 18px;
  border-radius: 3px;
}
.vc-time {
  font-size: 12px;
  color: var(--app-text-2);
  min-width: 40px;
}

/* SLIDE: INTRO */
.slide-intro {
  background:
    radial-gradient(
      ellipse at 60% 40%,
      rgba(108, 99, 255, 0.15),
      transparent 60%
    ),
    linear-gradient(135deg, #0a0a0f, #13131a);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}
.slide-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(108, 99, 255, 0.4);
  border-radius: 20px;
  font-size: 13px;
  color: var(--app-accent);
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease 0.2s both;
}
.slide-intro-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 16px;
  animation: fadeUp 0.6s ease 0.4s both;
}
.slide-intro-sub {
  font-size: clamp(14px, 2vw, 18px);
  color: var(--app-text-2);
  max-width: 500px;
  line-height: 1.6;
  animation: fadeUp 0.6s ease 0.6s both;
}

/* SLIDE: LANDING */
.slide-landing {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
}
.slide-landing::-webkit-scrollbar {
  display: none;
}
.lp-hero {
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}
.lp-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}
.lp-hero-title {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.lp-hero-sub {
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
  opacity: 0.75;
}
.lp-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.lp-btn-primary {
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}
.lp-btn-secondary {
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid;
  cursor: pointer;
  background: transparent;
  font-family: var(--font);
}
.lp-features {
  padding: 60px;
}
.lp-features-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.lp-features-sub {
  text-align: center;
  opacity: 0.6;
  font-size: 15px;
  margin-bottom: 40px;
}
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-feature-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid;
}
.lp-feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}
.lp-feature-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.lp-feature-desc {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.6;
}
.lp-cta {
  padding: 60px;
  text-align: center;
}
.lp-cta-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.lp-cta-sub {
  font-size: 15px;
  opacity: 0.7;
  margin-bottom: 32px;
}
.lp-cta-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}
.lp-cta-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 14px;
  font-family: var(--font);
  outline: none;
}

/* SLIDE: ZOOM */
.slide-zoom {
  width: 100%;
  height: 100%;
  background: var(--app-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  gap: 32px;
}
.zoom-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--app-text-3);
}
.zoom-content {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

/* SLIDE: OUTRO */
.slide-outro {
  background: linear-gradient(135deg, var(--app-bg), var(--app-surface));
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}
.outro-name {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1px;
  margin: 16px 0 8px;
}
.outro-version {
  font-size: 15px;
  color: var(--app-text-2);
  margin-bottom: 32px;
}
.outro-credit {
  font-size: 13px;
  color: var(--app-text-3);
}
.outro-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.outro-chip {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--app-border);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bandeau indicateur pour la slide landing */
.slide-landing {
  position: relative; /* déjà là, juste vérifier */
}

.slide-landing-badge {
  position: fixed; /* ou absolute si fixed ne marche pas */
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(108, 99, 255, 0.5);
  color: #6c63ff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
  pointer-events: none;
}
