:root {
  --primary: #18a058;
  --primary-dark: #059669;
  --primary-light: #34d399;
  --primary-bg: #dcfce7;

  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --bg: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-green: #f0fdf4;
  --bg-dark: #0f172a;

  --border: #e2e8f0;
  --border-light: #f1f5f9;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Container */ .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

main {
  overflow-x: hidden;
}

/* Navbar */ .navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.navbar__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav__link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

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

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* Buttons */ .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn--primary {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  box-shadow: 0 4px 14px rgba(24, 160, 88, 0.25);
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(24, 160, 88, 0.35);
}

.btn--primary:active {
  transform: translateY(-1px) scale(0.99);
  box-shadow: 0 4px 14px rgba(24, 160, 88, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(24, 160, 88, 0.04);
  transform: translateY(-2px);
}

.btn--text {
  background: none;
  color: var(--text-secondary);
}

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

.btn--large {
  padding: 14px 28px;
  font-size: 16px;
}

/* Hero */ .hero {
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: var(--primary-dark);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text) 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero__features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 20px;
  font-size: 15px;
  color: var(--text-secondary);
}

.hero__links-label {
  font-weight: 500;
  color: var(--text-muted);
}

.hero__links-sep {
  color: var(--text-muted);
}

.hero__link {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}

.hero__link:hover {
  text-decoration-color: var(--primary);
}

.module-features {
  padding-bottom: 48px;
}

.module-features:not(:last-child) {
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border-light);
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--bg-tertiary);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===== CONVEYOR (solution visual) ===== */
.conveyor {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 280px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.conveyor__belt {
  position: relative;
  width: 100%;
  height: 150px;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Движущаяся текстура ленты */
.conveyor__belt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 28px,
    rgba(15, 23, 42, 0.06) 28px,
    rgba(15, 23, 42, 0.06) 30px
  );
  animation: beltMove 1.2s linear infinite;
}

@keyframes beltMove {
  from { transform: translateX(0); }
  to { transform: translateX(-30px); }
}

/* Коробки на ленте — едут справа налево */
.conveyor__box {
  position: absolute;
  bottom: 18px;
  width: 58px;
  height: 58px;
  background: linear-gradient(145deg, #d6a06a 0%, #b97f45 100%);
  border-radius: 6px;
  box-shadow:
    inset 0 -8px 0 rgba(0, 0, 0, 0.18),
    inset 0 0 0 2px rgba(255, 255, 255, 0.12),
    0 8px 16px rgba(15, 23, 42, 0.25);
  animation: boxRide 5s linear infinite;
}

.conveyor__box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 18px;
  height: 100%;
  margin-left: -9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.conveyor__box--1 { animation-delay: 0s; }
.conveyor__box--2 { animation-delay: -1.25s; }
.conveyor__box--3 { animation-delay: -2.5s; }
.conveyor__box--4 { animation-delay: -3.75s; }

@keyframes boxRide {
  0% { left: 100%; }
  100% { left: -70px; }
}

/* Ролики под лентой */
.conveyor__roller {
  position: absolute;
  bottom: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 2px solid #94a3b8;
  animation: rollerSpin 0.8s linear infinite;
}
.conveyor__roller--1 { left: 12%; }
.conveyor__roller--2 { left: 37%; }
.conveyor__roller--3 { left: 62%; }
.conveyor__roller--4 { left: 87%; }

@keyframes rollerSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.conveyor__roller::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 2px;
  margin: -1px 0 0 -35%;
  background: #64748b;
  border-radius: 2px;
}

/* Сканер сверху — «пикает» коробки */
.conveyor__scanner {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 56px;
  height: 56px;
  margin-left: -28px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.conveyor__scanner::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 4px;
  height: 14px;
  margin-left: -2px;
  background: var(--border);
}
.conveyor__scanner::after {
  content: "📦";
  font-size: 22px;
}

/* Луч сканера — мигает при прохождении коробки */
.conveyor__scan-line {
  position: absolute;
  top: 86px;
  left: 50%;
  width: 2px;
  height: 70px;
  margin-left: -1px;
  background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
  opacity: 0;
  animation: scanBeep 1.25s ease-in-out infinite;
  z-index: 1;
}

@keyframes scanBeep {
  0%, 100% { opacity: 0; }
  45%, 55% { opacity: 0.9; }
}

.conveyor__label {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 3;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.pricing-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--highlight {
  border: 2px solid var(--primary);
  box-shadow: 0 10px 30px rgba(24, 160, 88, 0.18);
  transform: scale(1.03);
}
.pricing-card--highlight:hover {
  transform: scale(1.03) translateY(-5px);
}

.pricing-card__ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 10px rgba(24, 160, 88, 0.3);
}

.pricing-card__tag {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  min-height: 18px;
}

.pricing-card__tokens {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

.pricing-card__tokens-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: -4px;
}

.pricing-card__price {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 8px;
}

.pricing-card__per {
  font-size: 13px;
  color: var(--text-secondary);
}

.pricing-card__btn {
  margin-top: 12px;
  width: 100%;
}

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 12px;
}

.pricing-order {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== GUIDED CARDS ===== */
.guided-card {
  text-align: left;
}

.guided-card .feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  font-size: 26px;
  margin-bottom: 16px;
}

[data-theme="dark"] .guided-card .feature-card__icon {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero background decorations */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(24, 160, 88, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(24, 160, 88, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* ===== PRODUCT WINDOW (hero) — современный дашборд с glass blur ===== */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-window {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 32px 64px -12px rgba(15, 23, 42, 0.15),
    0 0 80px -20px rgba(24, 160, 88, 0.2);
  overflow: hidden;
  animation: windowFloat 6s ease-in-out infinite;
}

@keyframes windowFloat {
  0%, 100% { transform: translateY(0px) rotateX(1deg); }
  50% { transform: translateY(-12px) rotateX(1deg); }
}

.product-window__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(241, 245, 249, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.product-window__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.product-window__dot--red { background: #ff5f57; }
.product-window__dot--yellow { background: #ffbd2e; }
.product-window__dot--green { background: #28c840; }

.product-window__url {
  margin-left: 12px;
  font-size: 11px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.6);
  padding: 2px 12px;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.product-window__body {
  display: grid;
  grid-template-columns: 52px 1fr;
  min-height: 340px;
}

/* Sidebar */
.product-window__sidebar {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pw-sidebar__logo {
  color: #18a058;
  margin-bottom: 12px;
  padding: 6px;
  background: rgba(24, 160, 88, 0.15);
  border-radius: 8px;
}

.pw-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.pw-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.pw-nav-item--active {
  background: rgba(24, 160, 88, 0.2);
  color: #18a058;
}

.pw-nav-item:not(.pw-nav-item--active):hover {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

/* Content area */
.product-window__content {
  padding: 16px;
  background: rgba(248, 250, 252, 0.5);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.pw-content__header {
  display: flex;
  gap: 10px;
}

.pw-stat {
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  padding: 10px 12px;
  flex: 1;
}

.pw-stat--accent {
  background: linear-gradient(135deg, rgba(24, 160, 88, 0.08) 0%, rgba(24, 160, 88, 0.04) 100%);
  border-color: rgba(24, 160, 88, 0.2);
}

.pw-stat__value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.pw-stat--accent .pw-stat__value {
  color: #18a058;
}

.pw-stat__label {
  display: block;
  font-size: 9px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pw-content__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  flex: 1;
}

/* Cards */
.pw-card {
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pw-card--wide {
  grid-column: span 1;
}

.pw-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pw-card__title {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
}

.pw-card__badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pw-card__badge--green {
  background: rgba(24, 160, 88, 0.12);
  color: #18a058;
}

.pw-card__badge--yellow {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

/* Scan rows */
.pw-card__rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pw-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(241, 245, 249, 0.6);
  transition: all 0.2s;
}

.pw-row--active {
  background: rgba(24, 160, 88, 0.06);
  border: 1px solid rgba(24, 160, 88, 0.15);
}

.pw-row__code {
  font-size: 10px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: #334155;
}

.pw-row__status {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pw-row__status--done {
  background: rgba(24, 160, 88, 0.15);
  color: #18a058;
}

.pw-row__status--scan {
  background: rgba(24, 160, 88, 0.15);
  color: #18a058;
  animation: statusPulse 1.5s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

/* Chart bars */
.pw-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  flex: 1;
  padding: 8px 0 4px;
}

.pw-chart-bar {
  flex: 1;
  background: linear-gradient(180deg, rgba(148, 163, 184, 0.4) 0%, rgba(148, 163, 184, 0.15) 100%);
  border-radius: 4px 4px 0 0;
  transition: height 0.3s ease;
}

.pw-chart-bar--accent {
  background: linear-gradient(180deg, #18a058 0%, rgba(24, 160, 88, 0.3) 100%);
}

/* Scan beam overlay */
.product-window__scan-beam {
  position: absolute;
  top: 0;
  left: 52px;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(24, 160, 88, 0.6) 50%, transparent 100%);
  animation: beamScan 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes beamScan {
  0% { top: 60px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Background glow */
.hero__visual-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(24, 160, 88, 0.25) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

[data-theme="dark"] .product-window {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(51, 65, 85, 0.5);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.3),
    0 32px 64px -12px rgba(0, 0, 0, 0.4),
    0 0 80px -20px rgba(24, 160, 88, 0.15);
}

[data-theme="dark"] .product-window__chrome {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .product-window__url {
  background: rgba(30, 41, 59, 0.8);
  color: #94a3b8;
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .product-window__content {
  background: rgba(15, 23, 42, 0.3);
}

[data-theme="dark"] .pw-stat {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .pw-stat__value { color: #f1f5f9; }
[data-theme="dark"] .pw-card {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .pw-card__title { color: #f1f5f9; }
[data-theme="dark"] .pw-row { background: rgba(15, 23, 42, 0.5); }
[data-theme="dark"] .pw-row__code { color: #94a3b8; }
[data-theme="dark"] .pw-chart-bar {
  background: linear-gradient(180deg, rgba(51, 65, 85, 0.6) 0%, rgba(51, 65, 85, 0.2) 100%);
}
[data-theme="dark"] .pw-chart-bar--accent {
  background: linear-gradient(180deg, #18a058 0%, rgba(24, 160, 88, 0.4) 100%);
}

/* Stats */ .stats {
  max-width: 1280px;
  margin: 40px auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.stat-card__value {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.stat-card__label {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Section backgrounds */
.section {
  padding: 80px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.section--alt {
  background: var(--bg-secondary);
  margin: 0;
  max-width: 100%;
}

.section--green {
  background: var(--bg-green);
  margin: 0;
  max-width: 100%;
}

.section--dark {
  background: var(--bg-dark);
  margin: 0;
  max-width: 100%;
}

.section--white {
  background: white;
  margin: 0;
  max-width: 100%;
}

/* Section decorations */
.section--dark .section__header h2 {
  background: none;
  -webkit-text-fill-color: white;
  color: white;
}

.section--dark .section__header h2,
.section--dark .text-secondary {
  color: #94a3b8;
}

.section--dark p,
.section--dark .feature-card__desc,
.section--dark .process-step__title,
.section--dark .process-step__desc {
  color: #94a3b8;
}

.section--dark .feature-card {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(51, 65, 85, 0.5);
}

.section--dark .feature-card__title {
  color: #f1f5f9;
}

.section--dark .faq-item {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(51, 65, 85, 0.5);
}

.section--dark .faq-item__question {
  color: #e2e8f0;
}

.section--dark .faq-item__answer {
  color: #94a3b8;
}

.section--dark .faq-item__question::after {
  color: #64748b;
}

[data-theme="dark"] {
  --text: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --bg: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --bg-green: #0d2e1a;
  --bg-dark: #070d17;
  --border: #1e293b;
  --border-light: #1e293b;
}

[data-theme="dark"] .section--white {
  background: var(--bg);
}

[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.8);
  border-bottom-color: var(--border-light);
}

[data-theme="dark"] .hero__title {
  background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .badge {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: var(--primary-light);
}

[data-theme="dark"] .feature-badge {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}

[data-theme="dark"] .btn--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

[data-theme="dark"] .btn--outline:hover {
  background: var(--bg-tertiary);
  border-color: var(--primary);
  color: var(--primary);
}

[data-theme="dark"] .stat-card {
  background: var(--bg-secondary);
}

[data-theme="dark"] .dashboard-preview__body {
  background: var(--bg-secondary);
}

[data-theme="dark"] .preview-card {
  background: var(--bg-tertiary);
}

[data-theme="dark"] .process-step__title {
  color: var(--text);
}

[data-theme="dark"] .process-step__desc {
  color: var(--text-secondary);
}

[data-theme="dark"] .card,
[data-theme="dark"] .pain-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .stat-card {
  background: var(--bg-secondary);
  border-color: var(--border);
}

[data-theme="dark"] .card__title,
[data-theme="dark"] .feature-card__title,
[data-theme="dark"] .pain-card__text,
[data-theme="dark"] .faq-item__question {
  color: var(--text);
}

[data-theme="dark"] .card__desc,
[data-theme="dark"] .feature-card__desc,
[data-theme="dark"] .faq-item__answer,
[data-theme="dark"] .stat-card__label,
[data-theme="dark"] .lead,
[data-theme="dark"] .check-list li,
[data-theme="dark"] .cta__subtitle {
  color: var(--text-secondary);
}

[data-theme="dark"] .phone-mockup__screen {
  background: var(--bg-secondary);
}

[data-theme="dark"] .app-content {
  background: var(--bg-tertiary);
}

/* Conveyor dark theme */
[data-theme="dark"] .conveyor__belt {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-color: var(--border);
}
[data-theme="dark"] .conveyor__box {
  background: linear-gradient(145deg, #8a6440 0%, #5e4326 100%);
  box-shadow:
    inset 0 -6px 0 rgba(0, 0, 0, 0.35),
    0 8px 16px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .conveyor__roller {
  background: #334155;
  border-color: #475569;
}
[data-theme="dark"] .conveyor__scanner {
  background: var(--bg-tertiary);
  border-color: var(--border);
}
[data-theme="dark"] .conveyor__label {
  color: var(--primary-light);
}

/* Pricing dark theme */
[data-theme="dark"] .pricing-card {
  background: var(--bg-secondary);
  border-color: var(--border);
}
[data-theme="dark"] .pricing-card--highlight {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-color: var(--primary);
}
[data-theme="dark"] .pricing-note,
[data-theme="dark"] .pricing-order {
  color: var(--text-muted);
}

/* ===== ECOSYSTEM INSERT (variant B only) ===== */
.ecosystem-insert {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
}

.ecosystem-insert__eyebrow {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.ecosystem-insert__title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ecosystem-insert__body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.section--green .section__header h2,
.section--green .section__header p {
  color: #064e3b;
}

.section--green .section__header h2 {
  background: none;
  -webkit-text-fill-color: #064e3b;
}

.section--green .text-secondary {
  color: #065f46;
}

.section--green .pain-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(24, 160, 88, 0.2);
}

.section--green .pain-card__text {
  color: #064e3b;
}

.section--green .pain-card:hover {
  background: rgba(24, 160, 88, 0.1);
}

.section--green .pain-card:hover .pain-card__text {
  color: #064e3b;
}

[data-theme="dark"] .section--dark .section__header h2,
[data-theme="dark"] .section--dark .section__header p {
  color: #94a3b8;
}

[data-theme="dark"] .section--dark .section__header h2 {
  background: none;
  -webkit-text-fill-color: white;
  color: white;
}

[data-theme="dark"] .section--green .section__header h2 {
  color: #f1f5f9;
  background: none;
  -webkit-text-fill-color: #f1f5f9;
}

[data-theme="dark"] .section--green .section__header p,
[data-theme="dark"] .section--green .text-secondary {
  color: #94a3b8;
}

[data-theme="dark"] .section--green .pain-card {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(51, 65, 85, 0.5);
}

[data-theme="dark"] .section--green .pain-card__text {
  color: #e2e8f0;
}

[data-theme="dark"] .section--green .pain-card:hover {
  background: rgba(24, 160, 88, 0.1);
}

[data-theme="dark"] .cta__title {
  color: white;
  background: none;
  -webkit-text-fill-color: white;
}

[data-theme="dark"] .cta__subtitle {
  color: #94a3b8;
}

[data-theme="dark"] .section--dark .cta__title {
  background: none;
  -webkit-text-fill-color: white;
}

[data-theme="dark"] .section--dark .cta__subtitle {
  color: #94a3b8;
}

/* SVG icons */
.icon-svg { display: inline-flex; align-items: center; justify-content: center; width: 1.25em; height: 1.25em; }
.icon-svg svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.5; fill: none; }

.product-window__sidebar .icon-svg { width: 20px; height: 20px; }
.pw-sidebar__logo .icon-svg { width: 22px; height: 22px; color: #18a058; }
.pw-row__status .icon-svg { width: 14px; height: 14px; }

.card__icon,
.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(24, 160, 88, 0.1);
  margin-bottom: 16px;
}
.card__icon svg,
.feature-card__icon svg { width: 28px; height: 28px; color: var(--primary); }

.pain-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(24, 160, 88, 0.1);
}
.pain-card__icon svg { width: 20px; height: 20px; color: var(--primary); }
[data-theme="dark"] .pain-card__icon svg { color: var(--primary-light); }

/* Hover lift animations */
.card--hover {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.card--hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(24, 160, 88, 0.15);
  border-color: rgba(24, 160, 88, 0.3);
}

.feature-card {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.feature-card__title { font-size: 24px; margin-bottom: 4px; }
.feature-card__desc { font-size: 14px; line-height: 1.5; color: var(--text-secondary); }
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.12);
}

.pain-card {
  transition: transform 0.25s ease, background 0.25s ease;
}
.pain-card:hover {
  transform: translateX(6px);
  background: rgba(24, 160, 88, 0.06);
  border-color: rgba(24, 160, 88, 0.2);
}
.pain-card:hover .pain-card__text {
  color: #064e3b;
}

.stat-card {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.12);
}

.pricing-card {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.12);
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__links {
    justify-content: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__features {
    justify-content: center;
  }

.hero__visual {
  order: -1;
  max-width: 600px;
  width: 90%;
  margin: 0 auto;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

  .stats {
    margin-top: 40px;
    margin-bottom: 60px;
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 60px 24px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
    gap: 32px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

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

  .btn--large {
    width: 100%;
    justify-content: center;
  }

  .stats {
    grid-template-columns: 1fr;
    margin-top: 24px;
    margin-bottom: 48px;
  }

  .stat-card {
    padding: 24px;
  }

  .stat-card__value {
    font-size: 36px;
  }

  .section {
    padding: 48px 20px;
  }

  .section__header {
    margin-bottom: 32px;
  }

  .module-features {
    padding-bottom: 32px;
  }

  .module-features:not(:last-child) {
    margin-bottom: 32px;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* Конвейер компактнее на мобильных */
  .conveyor {
    max-width: 320px;
    height: 200px;
  }
  .conveyor__belt {
    height: 120px;
  }
  .conveyor__box {
    width: 46px;
    height: 46px;
  }
  .conveyor__scanner {
    width: 44px;
    height: 44px;
  }

  /* Вихрь компактнее на мобильных */
  .hero__visual {
    transform: scale(0.78);
    min-height: 320px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 32px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__links {
    font-size: 14px;
    gap: 4px 10px;
  }

  .badge {
    font-size: 12px;
    padding: 4px 10px;
  }

  .stat-card__value {
    font-size: 28px;
  }

  .grid--4 {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    transform: scale(0.62);
    min-height: 260px;
  }
}
