/* Сервис по автоматизации резки — Presentation Deck */

:root {
  --bg-dark: #0a0f0d;
  --bg-card: rgb(255 255 255 / 0.04);
  --bg-card-hover: rgb(255 255 255 / 0.07);
  --border: rgb(255 255 255 / 0.08);
  --border-strong: rgb(255 255 255 / 0.14);
  --text: #f0f4f2;
  --text-muted: rgb(240 244 242 / 0.65);
  --text-soft: rgb(240 244 242 / 0.4);
  --green: #3ad166;
  --green-dark: #2bb85a;
  --green-glow: rgb(58 209 102 / 0.35);
  --accent-blue: #60a5fa;
  --accent-amber: #fbbf24;
  --accent-purple: #a78bfa;
  --accent-red: #f87171;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --nav-height: 64px;
  --slide-pad: clamp(1.5rem, 4vw, 3rem);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  line-height: 1.5;
  color: var(--text);
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  background: var(--bg-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background effects */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgb(58 209 102 / 0.12), transparent 50%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgb(43 184 90 / 0.08), transparent 50%),
    radial-gradient(ellipse 40% 30% at 60% 30%, rgb(96 165 250 / 0.05), transparent 50%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

/* Navigation */
.deck-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-height);
  padding: 0 var(--slide-pad);
  background: rgb(10 15 13 / 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.deck-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.72rem, 1.8vw, 0.88rem);
  letter-spacing: -0.01em;
  max-width: min(280px, 42vw);
  line-height: 1.25;
}

.deck-nav__logo {
  width: 28px;
  height: 28px;
}

.deck-nav__dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.deck-nav__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.15);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.deck-nav__dot:hover {
  background: rgb(255 255 255 / 0.35);
}

.deck-nav__dot.is-active {
  background: var(--green);
  box-shadow: 0 0 12px var(--green-glow);
  transform: scale(1.25);
}

.deck-nav__counter {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
  min-width: 3rem;
  text-align: right;
}

/* Slides */
.deck {
  position: relative;
  z-index: 1;
}

.slide {
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 1.5rem) var(--slide-pad) 2rem;
  position: relative;
}

.slide__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.slide__inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.slide__inner--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slide__header--center {
  text-align: center;
  margin-bottom: 2.5rem;
}

.slide__header--center h2 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Typography */
.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.gradient-text {
  background: linear-gradient(135deg, var(--green) 0%, #86efac 50%, var(--green-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide__desc {
  margin: 0 0 1.5rem;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.65;
}

.slide__desc--center {
  margin-left: auto;
  margin-right: auto;
}

.slide__note {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  color: var(--text-soft);
  font-style: italic;
}

/* Hero */
.slide--hero .slide__inner {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgb(58 209 102 / 0.1);
  border: 1px solid rgb(58 209 102 / 0.25);
  color: #86efac;
}

.hero__visual {
  position: relative;
}

.hero__glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, var(--green-glow), transparent 60%);
  filter: blur(60px);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-soft);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* Mock browser / dashboard */
.mock-browser {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #f0f0f0;
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.3),
    0 24px 80px rgb(0 0 0 / 0.5),
    0 0 60px rgb(58 209 102 / 0.08);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.mock-browser:hover {
  transform: perspective(1200px) rotateY(-1deg) rotateX(0.5deg);
}

.mock-browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1rem;
  background: #e8e8e8;
  border-bottom: 1px solid #d0d0d0;
}

.mock-browser__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
}

.mock-browser__bar span:nth-child(1) {
  background: #ff5f57;
}
.mock-browser__bar span:nth-child(2) {
  background: #febc2e;
}
.mock-browser__bar span:nth-child(3) {
  background: #28c840;
}

.mock-browser__url {
  flex: 1;
  margin-left: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  background: #fff;
  font-size: 0.72rem;
  color: #8a8a8a;
  text-align: center;
}

.mock-browser__body {
  padding: 1rem;
  background: #f0f0f0;
}

.mock-dash__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.mock-dash__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.mock-btn-green {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.35rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #3ad166, #2bb85a);
  color: #0d3d14;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgb(58 209 102 / 0.35);
}

.mock-btn-green__icon {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.25);
  font-size: 1rem;
  line-height: 1;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.mock-stat {
  padding: 0.65rem 0.5rem;
  border-radius: 10px;
  background: #fff;
  border-left: 3px solid;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mock-stat--blue {
  border-color: #3b82f6;
}
.mock-stat--amber {
  border-color: #f59e0b;
}
.mock-stat--green {
  border-color: #22c55e;
}
.mock-stat--purple {
  border-color: #8b5cf6;
}

.mock-stat__val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.mock-stat__lbl {
  font-size: 0.58rem;
  font-weight: 600;
  color: #8a8a8a;
  line-height: 1.2;
}

.mock-table-preview {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.mock-table-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 0.8fr;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.72rem;
  color: #1a1a1a;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
}

.mock-table-row--head {
  background: #f7f7f7;
  font-weight: 600;
  color: #5c5c5c;
  font-size: 0.65rem;
}

.mock-table-row:last-child {
  border-bottom: none;
}

.pill {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  text-align: center;
}

.pill--ok {
  background: #dcfce7;
  color: #166534;
}
.pill--warn {
  background: #ffedd5;
  color: #9a3412;
}
.pill--progress {
  background: #dbeafe;
  color: #1d4ed8;
}

/* Value cards */
.value-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
}

.value-card--problem {
  border-color: rgb(248 113 113 / 0.2);
}

.value-card--solution {
  border-color: rgb(58 209 102 / 0.25);
  background: rgb(58 209 102 / 0.06);
}

.value-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: var(--text-soft);
}

.value-card--solution .value-card__label {
  color: var(--green);
}

.value-metrics {
  display: flex;
  gap: 1.5rem;
}

.value-metric span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.value-metric small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.value-metric--bad span {
  color: var(--accent-red);
}
.value-metric--good span {
  color: var(--green);
}

/* Feature list */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-list__icon {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--green);
  opacity: 0.7;
  padding-top: 0.15rem;
}

.feature-list strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.feature-list p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.product-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s;
}

.product-card:hover {
  border-color: rgb(58 209 102 / 0.3);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.product-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgb(58 209 102 / 0.12);
  color: var(--green);
  margin-bottom: 1rem;
}

.product-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.product-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}

.product-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Mock scheme — визуализация раскладки */
.scheme-visual {
  position: relative;
}

.scheme-visual__glow {
  position: absolute;
  inset: -12% -8%;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, rgb(58 209 102 / 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.mock-scheme {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  border: 1px solid rgb(255 255 255 / 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  overflow: hidden;
  box-shadow:
    0 32px 80px rgb(0 0 0 / 0.45),
    0 0 0 1px rgb(255 255 255 / 0.06) inset;
}

.mock-scheme__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: linear-gradient(180deg, #fff 0%, #f3f4f6 100%);
  border-bottom: 1px solid #e5e7eb;
}

.mock-scheme__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.mock-scheme__title strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.mock-scheme__title small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: #6b7280;
}

.mock-scheme__app-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgb(43 184 90 / 0.35);
}

.mock-scheme__app-icon svg {
  width: 18px;
  height: 18px;
}

.mock-scheme__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.mock-scheme__zoom {
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: #eef0f3;
  font-size: 0.68rem;
  font-weight: 700;
  color: #4b5563;
}

.mock-scheme__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  padding: 0.65rem 1.1rem;
  background: #fafbfc;
  border-bottom: 1px solid #eceef2;
}

.mock-scheme__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #6b7280;
}

.mock-scheme__swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.mock-scheme__swatch--piece {
  width: 22px;
  background: linear-gradient(
    90deg,
    #40916c 0% 20%,
    #457b9d 20% 40%,
    #8b6914 40% 60%,
    #a0522d 60% 80%,
    #7b2cbf 80% 100%
  );
  border: 1px solid rgb(255 255 255 / 0.55);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.06);
}

.mock-scheme__swatch--kerf {
  background: #fff;
  border: 1px dashed #c4c4c4;
}

.mock-scheme__swatch--scrap {
  background: repeating-linear-gradient(45deg, #f0f0f0, #f0f0f0 3px, #e0e0e0 3px, #e0e0e0 6px);
  border: 1px solid #d0d0d0;
}

.mock-scheme__canvas {
  position: relative;
  padding: 0.85rem 1rem 1.25rem;
  background: radial-gradient(circle at 50% 0%, rgb(58 209 102 / 0.06), transparent 55%), #f5f6f8;
}

.mock-scheme__svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(17 24 39 / 0.08);
}

.mock-scheme__callout {
  position: absolute;
  right: 1.35rem;
  top: 1.35rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 170px;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgb(17 24 39 / 0.92);
  color: #fff;
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.22);
  backdrop-filter: blur(8px);
  animation: scheme-callout-float 4s ease-in-out infinite;
}

.mock-scheme__callout-dot {
  width: 8px;
  height: 8px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgb(58 209 102 / 0.25);
  flex-shrink: 0;
}

.mock-scheme__callout strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.mock-scheme__callout span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.62rem;
  color: rgb(255 255 255 / 0.72);
  line-height: 1.35;
}

@keyframes scheme-callout-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.mock-scheme__footer {
  padding: 0.85rem 1.1rem 1rem;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

.mock-scheme__stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.85rem;
}

.mock-scheme__stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.mock-scheme__stat-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.mock-scheme__stat-val--accent {
  color: var(--green-dark);
}

.mock-scheme__stat-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mock-scheme__meter-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7280;
}

.mock-scheme__meter-label strong {
  color: var(--green-dark);
  font-weight: 800;
}

.mock-scheme__meter-track {
  height: 8px;
  border-radius: 999px;
  background: #eceff3;
  overflow: hidden;
}

.mock-scheme__meter-fill {
  width: 92%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  box-shadow: 0 0 12px rgb(58 209 102 / 0.45);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}

.slide.is-visible .mock-scheme__meter-fill {
  transform: scaleX(1);
}

.slide.is-visible .mock-scheme__svg g[filter] rect {
  animation: scheme-piece-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.slide.is-visible .mock-scheme__svg g[filter] rect:nth-child(1) {
  animation-delay: 0.2s;
}
.slide.is-visible .mock-scheme__svg g[filter] rect:nth-child(2) {
  animation-delay: 0.28s;
}
.slide.is-visible .mock-scheme__svg g[filter] rect:nth-child(3) {
  animation-delay: 0.36s;
}
.slide.is-visible .mock-scheme__svg g[filter] rect:nth-child(4) {
  animation-delay: 0.44s;
}
.slide.is-visible .mock-scheme__svg g[filter] rect:nth-child(5) {
  animation-delay: 0.52s;
}

@keyframes scheme-piece-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .mock-scheme__callout {
    position: static;
    margin-top: 0.75rem;
    max-width: none;
    animation: none;
  }

  .mock-scheme__stats {
    gap: 1rem;
  }
}

/* Check list */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.check {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: rgb(58 209 102 / 0.15);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Workflow */
.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.workflow__line {
  position: absolute;
  top: 1.75rem;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), rgb(58 209 102 / 0.2));
  z-index: 0;
}

.workflow__step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.5rem;
}

.workflow__num {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #0d3d14;
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 4px 20px var(--green-glow);
}

.workflow__step h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.workflow__step p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Integration flow */
.integration-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.integration-node {
  width: 100%;
  max-width: 320px;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
}

.integration-node--selsup {
  border-color: rgb(96 165 250 / 0.3);
  background: rgb(96 165 250 / 0.06);
}

.integration-node--core {
  border-color: rgb(58 209 102 / 0.35);
  background: rgb(58 209 102 / 0.08);
  box-shadow: 0 0 40px rgb(58 209 102 / 0.1);
}

.integration-node--market {
  border-color: rgb(167 139 250 / 0.25);
}

.integration-node__logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--accent-blue);
  margin-bottom: 0.25rem;
}

.integration-node__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.5rem;
}

.integration-node strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.integration-node small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.integration-arrow {
  color: var(--text-soft);
  opacity: 0.5;
}

.integration-arrow svg {
  width: 48px;
  height: 20px;
}

.integration-arrow--down svg {
  width: 20px;
  height: 48px;
}

.marketplace-tags {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.marketplace-tags span {
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgb(167 139 250 / 0.15);
  color: #c4b5fd;
}

.integration-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.integration-badge--live {
  background: rgb(58 209 102 / 0.12);
  border: 1px solid rgb(58 209 102 / 0.3);
  color: #86efac;
}

.integration-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* Integrations grid */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.int-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
  transition:
    border-color 0.25s,
    transform 0.25s;
}

.int-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.int-card__logo {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.int-card__logo--wb {
  background: linear-gradient(135deg, #cb11ab, #481173);
  color: #fff;
}
.int-card__logo--1c {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #1a1a1a;
}
.int-card__logo--ozon {
  background: linear-gradient(135deg, #005bff, #00a2ff);
  color: #fff;
}
.int-card__logo--api {
  background: linear-gradient(135deg, #374151, #6b7280);
  color: #fff;
}

.int-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.int-card p {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.int-card__status {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  background: rgb(255 255 255 / 0.06);
  color: var(--text-soft);
  border: 1px solid var(--border);
}

/* Warehouse */
.warehouse-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.wh-feat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 0.85rem;
  font-weight: 600;
}

.wh-feat svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--green);
  flex-shrink: 0;
}

.mock-warehouse {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.4);
}

.mock-warehouse__scan {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border-bottom: 1px solid #e0e0e0;
}

.qr-placeholder {
  width: 72px;
  height: 72px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  border: 2px solid #1a1a1a;
  color: #1a1a1a;
}

.qr-placeholder svg {
  width: 100%;
  height: 100%;
}

.mock-warehouse__scan-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mock-warehouse__scan-text strong {
  font-size: 0.95rem;
  color: #1a1a1a;
}

.mock-warehouse__scan-text span {
  font-size: 0.78rem;
  color: #5c5c5c;
}

.mock-warehouse__list {
  padding: 0.5rem 0;
}

.mock-wh-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  padding: 0.65rem 1.25rem;
  font-size: 0.78rem;
  color: #1a1a1a;
  border-bottom: 1px solid #f0f0f0;
}

.mock-wh-row--active {
  background: #f0fdf4;
  font-weight: 600;
}

.mock-wh-row:last-child {
  border-bottom: none;
}

/* Contacts */
.slide--contacts {
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgb(58 209 102 / 0.08), transparent);
}

.contacts-primary {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
  justify-content: center;
  margin: 2.25rem 0 2rem;
  width: 100%;
  max-width: 920px;
}

.contact-primary {
  flex: 0 1 auto;
  min-width: min(100%, 340px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.75rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  color: var(--text);
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}

.contact-primary:hover {
  border-color: rgb(58 209 102 / 0.4);
  background: rgb(58 209 102 / 0.07);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgb(58 209 102 / 0.12);
}

.contact-primary svg {
  width: 2rem;
  height: 2rem;
  color: var(--green);
  margin-bottom: 0.25rem;
}

.contact-primary__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.contact-primary__value {
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.contact-primary--phone .contact-primary__value {
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  letter-spacing: -0.01em;
}

.contact-primary--email .contact-primary__value {
  font-size: clamp(1.15rem, 3vw, 1.55rem);
}

.contacts-legal {
  max-width: 640px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.contacts-company {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contacts-address {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.contacts-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.contacts-footer__logo {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Arrows */
.deck-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgb(10 15 13 / 0.8);
  backdrop-filter: blur(8px);
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.deck-arrow:hover {
  background: rgb(58 209 102 / 0.12);
  border-color: rgb(58 209 102 / 0.3);
  color: var(--green);
}

.deck-arrow svg {
  width: 20px;
  height: 20px;
}

.deck-arrow--prev {
  left: 1rem;
}

.deck-arrow--next {
  right: 1rem;
}

/* Animations on scroll */
.slide__text,
.slide__visual,
.slide__header,
.product-grid,
.killer-grid,
.modules-grid,
.pricing-layout,
.roi-table,
.workflow,
.integrations-grid {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.slide.is-visible .slide__text,
.slide.is-visible .slide__visual,
.slide.is-visible .slide__header,
.slide.is-visible .product-grid,
.slide.is-visible .killer-grid,
.slide.is-visible .modules-grid,
.slide.is-visible .pricing-layout,
.slide.is-visible .roi-table,
.slide.is-visible .workflow,
.slide.is-visible .integrations-grid {
  opacity: 1;
  transform: translateY(0);
}

.slide.is-visible .slide__visual {
  transition-delay: 0.15s;
}

.product-card,
.workflow__step,
.int-card {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.slide.is-visible .product-card,
.slide.is-visible .workflow__step,
.slide.is-visible .int-card {
  opacity: 1;
  transform: translateY(0);
}

.slide.is-visible .product-card:nth-child(1),
.slide.is-visible .workflow__step:nth-child(2),
.slide.is-visible .int-card:nth-child(1) {
  transition-delay: 0.1s;
}
.slide.is-visible .product-card:nth-child(2),
.slide.is-visible .workflow__step:nth-child(3),
.slide.is-visible .int-card:nth-child(2) {
  transition-delay: 0.2s;
}
.slide.is-visible .product-card:nth-child(3),
.slide.is-visible .workflow__step:nth-child(4),
.slide.is-visible .int-card:nth-child(3) {
  transition-delay: 0.3s;
}
.slide.is-visible .product-card:nth-child(4),
.slide.is-visible .workflow__step:nth-child(5),
.slide.is-visible .int-card:nth-child(4) {
  transition-delay: 0.4s;
}
.slide.is-visible .product-card:nth-child(5) {
  transition-delay: 0.5s;
}
.slide.is-visible .product-card:nth-child(6) {
  transition-delay: 0.6s;
}

/* Responsive */
@media (max-width: 1024px) {
  .slide--hero .slide__inner,
  .slide__inner--split {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .workflow__line {
    display: none;
  }

  .mock-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__visual {
    order: -1;
  }

  .mock-browser {
    transform: none;
  }
}

@media (max-width: 640px) {
  .deck-nav__dots {
    display: none;
  }

  .product-grid,
  .integrations-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

  .warehouse-features {
    grid-template-columns: 1fr;
  }

  .deck-arrow {
    display: none;
  }

  .value-metrics {
    flex-direction: column;
    gap: 0.75rem;
  }

  .contacts-primary {
    flex-direction: column;
    align-items: stretch;
  }

  .scroll-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
