/* ── Overlay ──────────────────────────────────────────────────────────── */

.pres-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.pres-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

/* ── Progress bar ─────────────────────────────────────────────────────── */

.pres-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 20;
}

.pres-progress-fill {
  height: 100%;
  width: 0%;
  background: rgba(255, 255, 255, 0.8);
}

/* ── Close button ─────────────────────────────────────────────────────── */

.pres-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 20;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.pres-close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ── Slides wrapper ───────────────────────────────────────────────────── */

.pres-slides {
  position: absolute;
  inset: 0;
}

/* ── Individual slide ─────────────────────────────────────────────────── */

.pres-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.pres-slide.is-active {
  opacity: 1;
}

/* ── PHOTO layout ─────────────────────────────────────────────────────── */

.pres-slide--photo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pres-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.07);
  transition: transform 9s cubic-bezier(0.1, 0, 0.25, 1);
}

.pres-slide.is-active .pres-slide__bg {
  transform: scale(1);
}

.pres-slide__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.1) 35%,
    rgba(0, 0, 0, 0.72) 78%,
    rgba(0, 0, 0, 0.92) 100%
  );
}

.pres-slide--photo .pres-slide__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 0 2rem 6.5rem;
  text-align: center;
}

/* ── SCREENSHOT layout ────────────────────────────────────────────────── */

.pres-slide--screenshot {
  background: #030608;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem 5.5rem;
  gap: 1.75rem;
}

.pres-slide__img-wrap {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 56vh;
}

.pres-slide__img-wrap img {
  display: block;
  max-height: 56vh;
  max-width: min(92vw, 1140px);
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.pres-slide.is-active .pres-slide__img-wrap img {
  opacity: 1;
  transform: translateY(0);
}

.pres-slide--screenshot .pres-slide__content {
  text-align: center;
  max-width: 700px;
  flex-shrink: 0;
}

/* ── Text (shared) ────────────────────────────────────────────────────── */

.pres-eyebrow,
.pres-headline,
.pres-sub {
  opacity: 0;
  transform: translateY(20px);
}

.pres-slide.is-active .pres-eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.65s 0.32s ease,
    transform 0.65s 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.pres-slide.is-active .pres-headline {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.65s 0.48s ease,
    transform 0.65s 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.pres-slide.is-active .pres-sub {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.65s 0.62s ease,
    transform 0.65s 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.pres-eyebrow {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.55rem;
}

.pres-headline {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(1.75rem, 4.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 0.8rem;
}

.pres-sub {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(0.85rem, 1.7vw, 1.1rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

/* ── Navigation ───────────────────────────────────────────────────────── */

.pres-nav {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.pres-nav__dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

.pres-nav__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.pres-nav__dot.is-active {
  background: #fff;
  transform: scale(1.55);
}

.pres-nav__arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pres-nav__arrow:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

/* ── Impression card ──────────────────────────────────────────────────── */

.card--interactive {
  cursor: pointer;
}

.card--interactive:hover {
  border-color: #6b46c1;
  box-shadow: 0 0 18px rgba(107, 70, 193, 0.18);
}
