/* v4 — слайд = весь экран, отступы от краёв viewport */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}

:root {
  --edge-left: 80px;
  --text-zone: 42%;
}

.deck-scroll {
  height: 100vh;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
}

.slide-port {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  background: #f7fbf8;
}

.slide {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* Обложка: фон на весь экран, текст по центру */
.slide--cover {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide__cover-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide__cover-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.slide__cover-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 70% 60% at 50% 48%,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(247, 251, 248, 0.35) 45%,
      rgba(247, 251, 248, 0.15) 100%
    ),
    linear-gradient(
      180deg,
      rgba(247, 251, 248, 0.2) 0%,
      transparent 30%,
      transparent 70%,
      rgba(247, 251, 248, 0.35) 100%
    );
}

.slide__cover-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: min(820px, 78vw);
  padding: 0 32px;
}

.slide__cover-title {
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: clamp(20px, 3vh, 32px);
}

.slide__cover-slogan {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.slide__footer--cover {
  left: 0;
  right: 0;
  justify-content: center;
  z-index: 3;
}

/* Текст: ровно 80px от ЛЕВОГО края экрана */
.slide__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--text-zone);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 28px 80px var(--edge-left);
}

/* Картинка: от зоны текста до ПРАВОГО края экрана, без отступа */
.slide__visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--text-zone);
  z-index: 1;
  overflow: hidden;
}

.slide__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.slide__visual-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(247, 251, 248, 1) 0%,
    rgba(247, 251, 248, 0.5) 14%,
    transparent 32%
  );
}

.slide__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(16px, 2vh, 24px);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slide__label-dot {
  width: 6px;
  height: 6px;
  border-radius: 1px;
}

.slide__title {
  font-size: clamp(36px, 3.8vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: clamp(10px, 1.2vh, 16px);
}

.slide__subtitle {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.35;
  margin-bottom: clamp(14px, 1.8vh, 22px);
}

.slide__tagline {
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.52;
  padding-top: clamp(14px, 1.8vh, 22px);
  border-top: 1px solid transparent;
}

.slide__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(16px, 2vh, 24px);
}

.slide__feature {
  font-size: clamp(13px, 1vw, 14px);
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 4px;
}

.slide__brand {
  position: absolute;
  top: clamp(32px, 4vh, 44px);
  left: var(--edge-left);
  z-index: 5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.slide--problem {
  --text-zone: 46%;
}

.slide--problem .slide__panel {
  padding-top: clamp(80px, 10vh, 100px);
  justify-content: center;
}

.slide--problem .slide__title {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.22;
  margin-bottom: clamp(18px, 2.2vh, 26px);
}

.slide--problem .pain-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vh, 14px);
  margin-bottom: clamp(16px, 2vh, 22px);
}

.slide--problem .pain-row {
  padding: clamp(12px, 1.3vw, 16px) clamp(14px, 1.3vw, 18px);
  border-radius: 6px;
  border: 1px solid transparent;
}

.slide--problem .pain-row__head {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.slide--problem .pain-row__text {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.45;
}

.slide--problem .slide__callout {
  padding: clamp(12px, 1.2vw, 14px) clamp(14px, 1.2vw, 16px);
  border-radius: 6px;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.45;
}

.slide--inner .slide__panel {
  padding-top: clamp(80px, 10vh, 100px);
}

.slide--inner .slide__title {
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.2;
  margin-bottom: clamp(16px, 2vh, 22px);
}

.pillar-list {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vh, 12px);
  margin-bottom: clamp(12px, 1.5vh, 18px);
}

.pillar {
  padding: clamp(10px, 1.2vw, 14px);
  border-radius: 6px;
  border: 1px solid transparent;
}

.pillar__title {
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 600;
  margin-bottom: 4px;
}

.pillar__text {
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.4;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vh, 10px);
  margin-bottom: clamp(12px, 1.5vh, 16px);
}

.step {
  padding: clamp(10px, 1.2vw, 12px);
  border-radius: 6px;
  border: 1px solid transparent;
}

.step__num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.step__title {
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 600;
  margin-bottom: 6px;
}

.step__items {
  list-style: none;
}

.step__items li {
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.4;
  padding-left: 10px;
  position: relative;
  margin-bottom: 3px;
}

.step__items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.roadmap-list {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vh, 10px);
  margin-bottom: clamp(14px, 1.8vh, 20px);
}

.roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(10px, 1.2vw, 12px);
  border-radius: 6px;
  border: 1px solid transparent;
}

.roadmap-item__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.35em;
}

.roadmap-item__title {
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 600;
  margin-bottom: 2px;
}

.roadmap-item__text {
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.4;
}

.slide__closing {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.5;
  font-style: italic;
  padding-top: clamp(12px, 1.5vh, 16px);
  border-top: 1px solid transparent;
}

.slide__footer {
  position: absolute;
  bottom: clamp(28px, 4vh, 44px);
  left: var(--edge-left);
  right: var(--edge-left);
  z-index: 5;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.slide__meta,
.slide__slide-num {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.slide__slide-num {
  font-weight: 500;
}

@media print {
  .slide-port { break-after: page; }
}
