/* Hero */
.hero {
  min-height: 790px;
  padding-top: 72px;
  padding-bottom: 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 89% 26%, rgba(93, 208, 226, 0.22), transparent 31%),
    radial-gradient(circle at 11% 88%, rgba(131, 146, 239, 0.14), transparent 31%),
    linear-gradient(180deg, #fbfdfe 0%, #f5fbfc 58%, #f8fbfc 100%);
}

.hero__aurora,
.final-cta__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(52px);
  pointer-events: none;
}

.hero__aurora--one {
  top: 70px;
  right: -120px;
  width: 440px;
  height: 440px;
  background: rgba(78, 202, 221, 0.16);
}

.hero__aurora--two {
  bottom: -130px;
  left: -70px;
  width: 390px;
  height: 390px;
  background: rgba(121, 137, 238, 0.11);
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.26;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 119, 143, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 119, 143, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 32%, transparent 92%);
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  align-items: center;
  gap: 42px;
}

.hero__copy {
  max-width: 590px;
  padding: 36px 0 20px;
}

.hero__title {
  max-width: 590px;
  margin-bottom: 22px;
  font-size: clamp(3.35rem, 5vw, 4.85rem);
  letter-spacing: -0.055em;
}

.hero__title span {
  display: block;
}

.hero__lead {
  max-width: 590px;
  margin-bottom: 30px;
  color: var(--ink-600);
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.62;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero__proof {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  border: 1px solid rgba(197, 217, 225, 0.88);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.proof-item {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.proof-item strong {
  color: var(--brand-800);
  font-size: 1.25rem;
}

.proof-item span {
  color: var(--ink-500);
  font-size: 0.72rem;
}

.proof-divider {
  width: 1px;
  height: 22px;
  background: var(--line);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(25, 166, 193, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit--one {
  top: 34px;
  left: 20px;
  width: 520px;
  height: 420px;
  transform: rotate(8deg);
}

.hero-orbit--two {
  top: 112px;
  left: -5px;
  width: 600px;
  height: 335px;
  transform: rotate(-8deg);
}

.operation-window {
  position: absolute;
  z-index: 3;
  top: 80px;
  right: 8px;
  width: min(100%, 548px);
  overflow: hidden;
  border: 1px solid rgba(195, 214, 222, 0.96);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
  transform: rotate(0.6deg);
  transform-style: preserve-3d;
  will-change: transform;
}

.operation-window__body {
  min-height: 397px;
  display: grid;
  grid-template-columns: 42px 1fr;
  background: linear-gradient(180deg, rgba(246, 250, 252, 0.9), #fff);
}

.operation-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-right: 1px solid var(--line);
  background: rgba(247, 250, 251, 0.9);
}

.mini-logo {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 7px;
  background: var(--brand-700);
}

.mini-logo span {
  width: 9px;
  height: 9px;
  border: 1.5px solid #fff;
  border-radius: 2px;
}

.side-dot {
  width: 17px;
  height: 17px;
  border-radius: 6px;
  background: #e7eef1;
}

.side-dot--active {
  border: 1px solid #a7dfe8;
  background: var(--brand-100);
}

.operation-main {
  padding: 19px 20px 18px;
}

.operation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.operation-head h3 {
  margin: 0;
  font-size: 1.16rem;
}

.market-badge {
  padding: 6px 10px;
  border-radius: 9px;
  font-size: 0.7rem;
  font-weight: 800;
}

.market-badge--ozon {
  background: #edf2ff;
  color: #356bf4;
}

.assembly-progress {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: start;
  margin-bottom: 18px;
}

.assembly-progress > i {
  height: 1px;
  margin-top: 11px;
  background: var(--line);
}

.assembly-step {
  min-width: 48px;
  display: grid;
  justify-items: center;
  gap: 4px;
}

.assembly-step span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-400);
  font-size: 0.62rem;
  font-weight: 800;
}

.assembly-step small {
  color: var(--ink-400);
  font-size: 0.51rem;
}

.assembly-step.is-done span {
  border-color: var(--green-600);
  background: var(--green-600);
  color: #fff;
}

.assembly-step.is-active span {
  border-color: var(--brand-500);
  color: var(--brand-800);
  box-shadow: 0 0 0 4px rgba(10, 155, 183, 0.1);
}

.scan-panel {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 13px;
  border: 1px solid #cde7ed;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #f1fbfc);
  box-shadow: 0 7px 16px rgba(28, 91, 110, 0.06);
}

.product-thumb {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: #f0eaff;
}

.product-cap {
  position: absolute;
  top: 9px;
  width: 19px;
  height: 8px;
  border-radius: 4px 4px 2px 2px;
  background: #7256bd;
}

.product-body {
  width: 25px;
  height: 34px;
  margin-top: 6px;
  border: 1px solid #dfd3f5;
  border-radius: 7px 7px 9px 9px;
  background: #fbf9ff;
}

.scan-panel__caption {
  display: block;
  color: var(--ink-500);
  font-size: 0.62rem;
}

.scan-panel__content > strong {
  display: block;
  margin: 2px 0 8px;
  color: var(--ink-900);
  font-size: 0.75rem;
}

.scan-input {
  position: relative;
  height: 31px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  padding: 0 10px;
  border: 1px solid #93d7e3;
  border-radius: 8px;
  background: #f5fdff;
  color: var(--brand-700);
}

.scan-input svg {
  width: 14px;
  height: 14px;
}

.scan-input span {
  color: var(--ink-500);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.58rem;
}

.scan-beam {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 28%;
  width: 2px;
  border-radius: 99px;
  background: #f552b3;
  box-shadow: 0 0 9px rgba(245, 82, 179, 0.7);
  animation: beamHorizontal 2.8s ease-in-out infinite;
}

.event-stack {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}

.event-row {
  min-height: 43px;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid #e6edef;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  opacity: 0.58;
  transform: translateY(5px);
  animation: eventResolve 560ms var(--ease-spring) forwards;
  animation-delay: var(--event-delay, 0s);
}

.event-row.is-complete {
  opacity: 1;
}

.event-icon {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.68rem;
  font-weight: 900;
}

.event-row div {
  min-width: 0;
  display: grid;
}

.event-row strong {
  color: var(--ink-700);
  font-size: 0.64rem;
}

.event-row small,
.event-time {
  color: var(--ink-400);
  font-size: 0.52rem;
}

@keyframes eventResolve {
  to { opacity: 1; transform: translateY(0); }
}

.floating-card,
.warehouse-float,
.preview-float,
.expiry-card,
.mark-card {
  border: 1px solid rgba(207, 222, 228, 0.95);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(15px);
}

.floating-card {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 14px;
  animation: floatSoft 5.4s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
}

.floating-card small,
.floating-card strong {
  display: block;
  white-space: nowrap;
}

.floating-card small {
  color: var(--ink-400);
  font-size: 0.5rem;
}

.floating-card strong {
  color: var(--ink-800);
  font-size: 0.67rem;
}

.floating-card__icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--brand-100);
  color: var(--brand-700);
}

.floating-card__icon svg {
  width: 16px;
  height: 16px;
}

.floating-card__icon--success { background: var(--green-100); color: var(--green-700); }
.floating-card__icon--warm { background: var(--amber-100); color: var(--amber-700); }

.floating-card--scan {
  top: 38px;
  right: -12px;
  animation-delay: -1.6s;
}

.floating-card--stock {
  top: 206px;
  right: -32px;
  animation-delay: -3.8s;
}

.floating-card--labels {
  right: 360px;
  bottom: 27px;
  transform: rotate(-4deg);
  animation-delay: -2.2s;
}

.floating-card--box {
  right: 5px;
  bottom: 17px;
  animation-delay: -4.1s;
}

.floating-card .status-chip {
  margin-left: 4px;
  padding: 5px 7px;
  color: var(--brand-800);
  font-size: 0.5rem;
}

.mini-label {
  width: 35px;
  height: 32px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.mini-label span {
  color: #356bf4;
  font-size: 0.38rem;
  font-weight: 900;
}

.mini-label i {
  width: 24px;
  height: 7px;
  background: repeating-linear-gradient(90deg, #101828 0 1px, transparent 1px 3px);
}

.mini-label--product {
  margin-left: -5px;
  transform: rotate(4deg);
}

.mini-matrix,
.mark-card__matrix {
  background:
    linear-gradient(90deg, #101828 50%, transparent 50%) 0 0 / 6px 6px,
    linear-gradient(#101828 50%, transparent 50%) 0 0 / 6px 6px;
}

.mini-matrix {
  width: 19px;
  height: 19px;
}

.hero__logos {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
  color: var(--ink-500);
  font-size: 0.74rem;
}

.market-word {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-700);
  font-weight: 750;
}

.market-word i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 900;
}

.market-word--wb i { background: linear-gradient(135deg, #9a35ea, #e836ad); }
.market-word--ozon i { background: #316cf4; }
.market-word--mark i { background: var(--brand-700); }

/* Comparison */
.comparison-section {
  overflow: hidden;
  background: linear-gradient(180deg, #f4fafb 0%, #edf7f9 100%);
}

.comparison-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background: radial-gradient(circle at 50% 10%, rgba(95, 207, 224, 0.16), transparent 31%);
}

.comparison-section .container {
  position: relative;
  z-index: 1;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.comparison-card {
  position: relative;
  min-height: 510px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.comparison-card--before {
  border-color: #f0d8de;
}

.comparison-card--after {
  border-color: #bfe4dc;
  background: linear-gradient(145deg, #fff 0%, #f4fcf9 100%);
}

.comparison-card__glow {
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(41, 195, 155, 0.12);
  filter: blur(35px);
}

.comparison-card__top,
.comparison-card__foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.comparison-card__top {
  margin-bottom: 24px;
}

.comparison-card__top > strong {
  color: var(--ink-800);
}

.comparison-label {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
}

.comparison-label--danger { background: var(--red-100); color: var(--red-700); }
.comparison-label--success { background: var(--green-100); color: var(--green-700); }

.manual-list {
  display: grid;
  gap: 9px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.manual-list li {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #f0e1e4;
  border-radius: 11px;
  background: #fffafa;
  color: var(--ink-600);
  font-size: 0.8rem;
}

.manual-list li span {
  color: #d98695;
  font-size: 0.65rem;
  font-weight: 800;
}

.single-action {
  position: relative;
  z-index: 1;
  min-height: 178px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid #c7e7df;
  border-radius: 18px;
  background: linear-gradient(145deg, #f8fffd, #eaf8f4);
}

.single-action__scanner {
  position: relative;
  width: 118px;
  height: 92px;
  display: grid;
  place-items: center;
}

.scanner-corner {
  position: absolute;
  width: 23px;
  height: 23px;
  border-color: var(--brand-600);
  border-style: solid;
}

.scanner-corner--one { top: 0; left: 0; border-width: 3px 0 0 3px; border-radius: 8px 0 0 0; }
.scanner-corner--two { top: 0; right: 0; border-width: 3px 3px 0 0; border-radius: 0 8px 0 0; }
.scanner-corner--three { bottom: 0; right: 0; border-width: 0 3px 3px 0; border-radius: 0 0 8px 0; }
.scanner-corner--four { bottom: 0; left: 0; border-width: 0 0 3px 3px; border-radius: 0 0 0 8px; }

.single-action__code {
  width: 64px;
  height: 52px;
  display: flex;
  align-items: stretch;
  gap: 3px;
  padding: 4px;
  background: #fff;
}

.single-action__code i {
  flex: 1;
  background: var(--ink-900);
}

.single-action__code i:nth-child(2n) { flex: 0.5; }
.single-action__code i:nth-child(3n) { flex: 1.4; }

.single-action__beam {
  position: absolute;
  right: 4px;
  left: 4px;
  height: 2px;
  border-radius: 99px;
  background: #f14fa8;
  box-shadow: 0 0 12px rgba(241, 79, 168, 0.75);
  animation: scanLine 2.2s ease-in-out infinite;
}

.single-action__text {
  margin-top: 12px;
  text-align: center;
}

.single-action__text small,
.single-action__text strong {
  display: block;
}

.single-action__text small {
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 750;
}

.single-action__text strong {
  color: var(--ink-900);
}

.auto-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 24px;
}

.auto-actions span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #dceee9;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink-600);
  font-size: 0.75rem;
}

.auto-actions i {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.65rem;
  font-style: normal;
}

.comparison-card__foot {
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 12px;
}

.comparison-card__foot span { font-size: 0.75rem; }
.comparison-card__foot strong { font-size: 1.1rem; }
.comparison-card__foot--danger { background: var(--red-100); color: var(--red-700); }
.comparison-card__foot--success { background: var(--green-100); color: var(--green-700); }

/* Feature cards */
.feature-section {
  background: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 278px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #fbfdfe);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color var(--duration-base) ease, box-shadow var(--duration-base) ease;
}

.feature-card:hover {
  border-color: #c6dce4;
  box-shadow: var(--shadow-md);
}

.feature-card--wide {
  grid-column: span 2;
  min-height: 268px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(180px, 0.7fr);
  align-items: start;
  gap: 18px;
}

.feature-card h3 {
  margin-top: 12px;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.91rem;
}

.feature-kicker {
  display: block;
  color: var(--brand-700);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.feature-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 20px;
}

.feature-chip-row span {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--ink-600);
  font-size: 0.65rem;
  font-weight: 700;
}

.box-visual,
.document-visual {
  align-self: center;
  justify-self: end;
}

.box-visual {
  position: relative;
  width: 185px;
  height: 145px;
}

.box-visual__package {
  position: absolute;
  top: 18px;
  left: 48px;
  width: 88px;
  height: 78px;
  border: 1px solid #e7b761;
  border-radius: 13px;
  background: linear-gradient(145deg, #ffecc8, #f7c86d);
  box-shadow: 0 18px 30px rgba(190, 124, 22, 0.18);
  transform: rotate(-4deg);
}

.box-visual__package::before {
  content: "";
  position: absolute;
  top: 0;
  left: 39px;
  width: 10px;
  height: 100%;
  background: rgba(159, 93, 16, 0.16);
}

.box-visual__package span,
.box-visual__package i {
  position: absolute;
  display: block;
}

.box-visual__package span {
  top: 14px;
  right: 14px;
  width: 24px;
  height: 16px;
  border: 1px solid rgba(126, 76, 16, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
}

.box-visual__status {
  position: absolute;
  right: 0;
  bottom: 9px;
  padding: 9px 11px;
  border: 1px solid #cce8df;
  border-radius: 11px;
  background: #fff;
  color: var(--green-700);
  box-shadow: var(--shadow-sm);
  font-size: 0.66rem;
  font-weight: 750;
}

.box-visual__status i {
  font-style: normal;
}

.dual-labels {
  position: relative;
  height: 74px;
  margin-top: auto;
}

.dual-labels span {
  position: absolute;
  bottom: 0;
  width: 86px;
  height: 58px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, #172134 0 2px, transparent 2px 5px) 13px 31px / 58px 12px no-repeat,
    #fff;
  box-shadow: var(--shadow-sm);
}

.dual-labels span:first-child { left: 22px; transform: rotate(-6deg); }
.dual-labels span:last-child { left: 82px; transform: rotate(5deg); }

.route-visual {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 22px;
}

.route-visual > i {
  width: 100%;
  height: 2px;
  position: absolute;
  right: 0;
  bottom: 40px;
  left: 0;
  opacity: 0.12;
  background: var(--brand-600);
}

.route-visual span {
  position: relative;
  z-index: 1;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border: 1px solid #b8dfe7;
  border-radius: 10px;
  background: #fff;
  color: var(--brand-800);
  font-size: 0.7rem;
  font-weight: 800;
}

.route-visual b {
  height: 1px;
  flex: 1;
  background: repeating-linear-gradient(90deg, #8bcbd7 0 4px, transparent 4px 8px);
}

.stock-bars {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding-top: 22px;
}

.stock-bars span {
  width: var(--w);
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-600), #76d0df);
  box-shadow: inset 0 0 0 1px rgba(6, 116, 140, 0.08);
}

.document-visual {
  display: flex;
  align-items: center;
  gap: 14px;
}

.document-sheet {
  width: 92px;
  height: 116px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 20px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transform: rotate(-4deg);
}

.document-sheet span {
  height: 6px;
  border-radius: 999px;
  background: #dce7eb;
}

.document-sheet span:nth-child(2) { width: 76%; }
.document-sheet span:nth-child(3) { width: 90%; }
.document-sheet span:nth-child(4) { width: 55%; }

.document-arrow {
  color: var(--brand-600);
  font-size: 1.45rem;
}

.document-stock {
  width: 98px;
  height: 98px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid #cbe9df;
  border-radius: 22px;
  background: var(--green-100);
  color: var(--green-700);
  box-shadow: var(--shadow-sm);
  transform: rotate(3deg);
}

.document-stock strong { font-size: 1.45rem; }
.document-stock small { font-size: 0.68rem; }

/* Workflow */
.workflow-section {
  background: linear-gradient(180deg, #f2f9fa, #f9fcfd);
}

.workflow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.workflow-grid::before {
  content: "";
  position: absolute;
  top: 38px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a9dbe4 12%, #a9dbe4 88%, transparent);
}

.workflow-card {
  position: relative;
  min-height: 385px;
  padding: 25px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.workflow-card__number {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #dce6ea;
  font-size: 1.8rem;
  font-weight: 850;
}

.workflow-card__icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid #c5e6ec;
  border-radius: 14px;
  background: var(--brand-100);
  color: var(--brand-700);
  box-shadow: 0 0 0 8px rgba(241, 249, 251, 0.9);
}

.workflow-card__icon svg {
  width: 22px;
  height: 22px;
}

.workflow-card h3 {
  font-size: 1.2rem;
}

.workflow-card > p {
  min-height: 84px;
  font-size: 0.83rem;
}

.market-connect {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.market-connect__item {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.market-connect__item i {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 900;
}

.market-connect__item--wb i { background: linear-gradient(135deg, #9b34e8, #e83cb3); }
.market-connect__item--ozon i { background: #316cf4; }
.market-connect__item b { font-size: 0.66rem; }
.market-connect__item small { color: var(--green-700); font-size: 0.52rem; }

.sync-visual {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.sync-visual span {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
}

.sync-visual span::after {
  content: "";
  grid-column: 1 / -1;
  width: var(--p);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-600), #5fcada);
}

.sync-visual b { font-size: 0.62rem; }
.sync-visual small { color: var(--green-700); font-size: 0.52rem; }

.workflow-scan {
  position: relative;
  height: 126px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid #c8e6ec;
  border-radius: 13px;
  background: linear-gradient(145deg, #f4fbfc, #fff);
}

.workflow-scan__code {
  width: 68px;
  height: 68px;
  background:
    linear-gradient(90deg, var(--ink-900) 50%, transparent 50%) 0 0 / 10px 10px,
    linear-gradient(var(--ink-900) 50%, transparent 50%) 0 0 / 10px 10px;
}

.workflow-scan > span {
  position: absolute;
  right: 18px;
  left: 18px;
  height: 2px;
  background: #f052aa;
  box-shadow: 0 0 10px rgba(240, 82, 170, 0.65);
  animation: scanLine 2.2s ease-in-out infinite;
}

.workflow-scan > i {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  font-size: 0.72rem;
  font-style: normal;
}

.status-timeline {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.status-timeline span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-400);
  font-size: 0.64rem;
}

.status-timeline i {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 0.56rem;
  font-style: normal;
}

.status-timeline .is-done { color: var(--green-700); }
.status-timeline .is-done i { border-color: var(--green-600); background: var(--green-100); }
.status-timeline .is-active { color: var(--brand-800); }
.status-timeline .is-active i { border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(10, 155, 183, 0.1); }
.status-timeline .is-active i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-600); }

/* Scan story */
.scan-story-section {
  overflow: hidden;
  background: #fff;
}

.scan-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: 78px;
}

.scan-story__copy h2 {
  max-width: 560px;
}

.scan-story__copy > p {
  max-width: 560px;
  font-size: 1.02rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 27px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-700);
  font-weight: 630;
}

.check-list li span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.7rem;
  font-weight: 900;
}

.check-list--soft li {
  align-items: flex-start;
  font-weight: 560;
}

.scan-demo {
  position: relative;
  min-height: 548px;
  display: grid;
  place-items: center;
}

.scan-demo__glow,
.marking-visual__glow,
.product-preview__glow {
  position: absolute;
  border-radius: 50%;
  background: rgba(58, 191, 213, 0.16);
  filter: blur(55px);
}

.scan-demo__glow {
  width: 410px;
  height: 410px;
}

.scan-demo__window {
  position: relative;
  z-index: 1;
  width: min(100%, 492px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
}

.scan-demo__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 21px;
}

.scan-demo__header strong {
  display: block;
  color: var(--ink-900);
}

.scan-demo__product {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 13px;
  background: var(--surface-soft);
}

.scan-demo__image {
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f0eaff;
}

.scan-demo__image span {
  width: 25px;
  height: 35px;
  border: 1px solid #d9c9f2;
  border-radius: 7px 7px 9px 9px;
  background: #fff;
}

.scan-demo__product strong,
.scan-demo__product small {
  display: block;
}

.scan-demo__product strong { color: var(--ink-800); font-size: 0.82rem; }
.scan-demo__product small { color: var(--ink-500); font-size: 0.66rem; }

.scan-demo__input {
  display: block;
  margin-bottom: 14px;
}

.scan-demo__input > span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-600);
  font-size: 0.68rem;
  font-weight: 700;
}

.scan-demo__input > div {
  position: relative;
  height: 49px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  padding: 0 13px;
  border: 1px solid #9ad9e4;
  border-radius: 11px;
  background: #f3fcfd;
}

.scan-demo__input svg {
  width: 18px;
  height: 18px;
  color: var(--brand-700);
}

.scan-demo__input b {
  color: var(--ink-600);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
}

.scan-demo__input i {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 25%;
  width: 2px;
  border-radius: 99px;
  background: #f052aa;
  box-shadow: 0 0 10px rgba(240, 82, 170, 0.7);
  opacity: 0;
}

.scan-demo.is-running .scan-demo__input i {
  animation: beamHorizontal 1.7s ease-in-out forwards;
}

.scan-demo__result-list {
  display: grid;
  gap: 8px;
}

.scan-demo__result-list > div {
  min-height: 49px;
  display: grid;
  grid-template-columns: 23px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #e4ecef;
  border-radius: 11px;
  background: #fff;
  opacity: 0.38;
  transform: translateY(7px);
  transition: opacity 360ms ease, transform 360ms var(--ease-spring), border-color 360ms ease, background 360ms ease;
}

.scan-demo__result-list > div.is-complete {
  opacity: 1;
  transform: translateY(0);
  border-color: #d8eee8;
  background: #fbfffd;
}

.scan-demo__result-list > div > span {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.scan-demo__result-list > div.is-complete > span {
  border-color: var(--green-600);
  background: var(--green-100);
}

.scan-demo__result-list > div.is-complete > span::after {
  content: "✓";
  color: var(--green-700);
  font-size: 0.62rem;
  font-weight: 900;
}

.scan-demo__result-list div div {
  display: grid;
}

.scan-demo__result-list strong { color: var(--ink-700); font-size: 0.68rem; }
.scan-demo__result-list small,
.scan-demo__result-list b { color: var(--ink-400); font-size: 0.55rem; }

.scan-demo__toast {
  position: absolute;
  z-index: 3;
  right: -12px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid #c7e7df;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-float);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 420ms ease, transform 420ms var(--ease-spring);
}

.scan-demo__toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scan-demo__toast > i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  font-style: normal;
}

.scan-demo__toast span { display: grid; }
.scan-demo__toast strong { color: var(--ink-800); font-size: 0.7rem; }
.scan-demo__toast small { color: var(--ink-500); font-size: 0.55rem; }

/* Warehouse */
.warehouse-section {
  overflow: hidden;
  background: linear-gradient(180deg, #eef8fa, #f8fbfc);
}

.warehouse-layout {
  display: grid;
  grid-template-columns: minmax(520px, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 76px;
}

.warehouse-visual {
  position: relative;
  min-height: 540px;
  perspective: 1100px;
}

.warehouse-visual__backdrop {
  position: absolute;
  inset: 50px 30px 40px;
  border-radius: 50%;
  background: rgba(70, 192, 211, 0.14);
  filter: blur(58px);
}

.inventory-window {
  position: absolute;
  z-index: 2;
  top: 55px;
  left: 18px;
  width: 510px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1deg);
}

.inventory-window__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.inventory-window__head strong { display: block; color: var(--ink-800); }
.inventory-window__head button {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-500);
  font-size: 0.55rem;
}

.inventory-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 16px;
}

.inventory-summary > div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.inventory-summary small,
.inventory-summary strong,
.inventory-summary i {
  display: block;
}

.inventory-summary small { color: var(--ink-500); font-size: 0.52rem; }
.inventory-summary strong { margin: 4px 0; color: var(--ink-900); font-size: 0.92rem; }
.inventory-summary i { color: var(--ink-400); font-size: 0.5rem; font-style: normal; }
.inventory-summary .trend--up { color: var(--green-700); }

.inventory-table {
  padding: 0 16px 16px;
}

.inventory-row {
  min-height: 45px;
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 0.65fr);
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--ink-600);
  font-size: 0.61rem;
}

.inventory-row--head {
  min-height: 34px;
  border-top: 0;
  color: var(--ink-400);
  font-weight: 750;
}

.inventory-row > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.inventory-row b {
  color: var(--ink-700);
  font-weight: 700;
}

.product-dot {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 7px;
}

.product-dot--one { background: #f0e7ff; }
.product-dot--two { background: #e5f4ff; }
.product-dot--three { background: #fff0e3; }

.warehouse-float {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 14px;
  animation: floatSoft 5.8s ease-in-out infinite;
}

.warehouse-float small,
.warehouse-float strong {
  display: block;
  white-space: nowrap;
}

.warehouse-float small { color: var(--ink-400); font-size: 0.54rem; }
.warehouse-float strong { color: var(--ink-800); font-size: 0.68rem; }
.warehouse-float > i { color: var(--green-700); font-style: normal; }

.warehouse-float--receipt { top: 12px; right: 12px; }
.warehouse-float--reserve { right: 0; bottom: 66px; animation-delay: -2.5s; }
.warehouse-float--route {
  bottom: 8px;
  left: 24px;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 6px 9px;
  animation-delay: -4.2s;
}

.warehouse-float--route span {
  color: var(--ink-700);
  font-size: 0.65rem;
  font-weight: 700;
}

.warehouse-float--route > small {
  grid-column: 1 / -1;
}

.warehouse-copy > p {
  font-size: 1.02rem;
}

.warehouse-points {
  display: grid;
  gap: 19px;
  margin-top: 30px;
}

.warehouse-points article {
  display: grid;
  grid-template-columns: 39px 1fr;
  gap: 13px;
}

.warehouse-points article > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid #bfe3ea;
  border-radius: 11px;
  background: var(--brand-100);
  color: var(--brand-800);
  font-size: 0.65rem;
  font-weight: 800;
}

.warehouse-points strong { color: var(--ink-800); }
.warehouse-points p { margin: 4px 0 0; font-size: 0.82rem; }

/* Marking */
.marking-section {
  overflow: hidden;
  background: #fff;
}

.marking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: 74px;
}

.marking-note {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  margin-top: 26px;
  padding: 14px;
  border: 1px solid #f0d99f;
  border-radius: 13px;
  background: #fffaf0;
}

.marking-note > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--amber-100);
  color: var(--amber-700);
  font-weight: 900;
}

.marking-note p {
  margin: 0;
  font-size: 0.78rem;
}

.marking-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.marking-visual__glow {
  width: 410px;
  height: 410px;
  background: rgba(112, 142, 236, 0.12);
}

.status-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
}

.status-card--main {
  position: relative;
  z-index: 2;
  width: min(100%, 490px);
  padding: 23px;
}

.status-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 19px;
}

.status-card__head strong { display: block; color: var(--ink-800); }

.marking-timeline {
  position: relative;
  display: grid;
  gap: 9px;
}

.marking-timeline::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 13px;
  width: 1px;
  background: var(--line);
}

.marking-timeline > div {
  position: relative;
  z-index: 1;
  min-height: 57px;
  display: grid;
  grid-template-columns: 27px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  opacity: 0.55;
}

.marking-timeline > div.is-complete,
.marking-timeline > div.is-active {
  opacity: 1;
}

.marking-timeline > div > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  font-size: 0.68rem;
  font-weight: 900;
}

.marking-timeline > div.is-complete > span {
  border-color: var(--green-600);
  background: var(--green-100);
  color: var(--green-700);
}

.marking-timeline > div.is-active {
  border-color: #b6e0e7;
  background: #f5fcfd;
}

.marking-timeline > div.is-active > span {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(10, 155, 183, 0.1);
}

.marking-timeline > div.is-active > span::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-600);
}

.marking-timeline div div { display: grid; }
.marking-timeline strong { color: var(--ink-700); font-size: 0.7rem; }
.marking-timeline small,
.marking-timeline time { color: var(--ink-400); font-size: 0.56rem; }

.expiry-card,
.mark-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 15px;
}

.expiry-card {
  top: 25px;
  right: -12px;
  padding: 12px 14px;
  animation: floatSoft 6s ease-in-out infinite;
}

.expiry-card__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--amber-100);
  color: var(--amber-700);
  font-weight: 900;
}

.expiry-card div,
.mark-card div { display: grid; }
.expiry-card small,
.mark-card small { color: var(--ink-400); font-size: 0.53rem; }
.expiry-card strong,
.mark-card strong { color: var(--ink-800); font-size: 0.68rem; }
.expiry-card span,
.mark-card span { color: var(--ink-500); font-size: 0.52rem; }

.mark-card {
  bottom: 17px;
  left: -18px;
  padding: 12px;
  animation: floatSoft 5.4s ease-in-out -2.6s infinite;
}

.mark-card__matrix {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
}

/* Product preview */
.product-section {
  overflow: hidden;
  background: linear-gradient(180deg, #f2f9fa, #f8fbfc);
}

.product-preview {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.product-preview__glow {
  width: 760px;
  height: 380px;
}

.product-preview__window {
  position: relative;
  z-index: 2;
  width: min(100%, 1030px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: rotateX(1deg);
  transform-style: preserve-3d;
  will-change: transform;
}

.product-preview__window img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.preview-float {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 14px;
  animation: floatSoft 5.6s ease-in-out infinite;
}

.preview-float > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--green-100);
  color: var(--green-700);
  font-weight: 900;
}

.preview-float div { display: grid; }
.preview-float small { color: var(--ink-400); font-size: 0.54rem; }
.preview-float strong { color: var(--ink-800); font-size: 0.68rem; }
.preview-float--one { bottom: 35px; left: 5%; }
.preview-float--two { top: 35px; right: 4%; animation-delay: -2.4s; }
.preview-float--two > span { background: var(--brand-100); color: var(--brand-800); }

/* Marketplaces */
.marketplaces-section {
  background: #fff;
}

.marketplace-cards {
  max-width: 870px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-inline: auto;
}

.marketplace-card {
  position: relative;
  min-height: 270px;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-content: start;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: linear-gradient(145deg, #fff, #fbfdfe);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
}

.marketplace-logo {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-weight: 900;
}

.marketplace-logo--wb { background: linear-gradient(135deg, #9639eb, #ec3dae); }
.marketplace-logo--ozon { background: #316cf4; }

.marketplace-card h3 {
  margin-bottom: 8px;
}

.marketplace-card ul {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.marketplace-card li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-600);
  font-size: 0.84rem;
}

.marketplace-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-700);
  font-weight: 900;
}

/* Pricing */
.pricing-section {
  overflow: hidden;
  background: linear-gradient(180deg, #eef8fa, #f8fbfc);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: start;
  gap: 24px;
}

.pricing-calculator {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
}

.pricing-calculator__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 25px;
}

.pricing-calculator__head h3 {
  margin: 0;
}

.volume-value {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
}

.volume-value strong {
  color: var(--brand-800);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.volume-value span {
  color: var(--ink-500);
  font-size: 0.86rem;
}

.range-wrap {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.range-wrap input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 24px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.range-wrap input::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: #dce9ed;
}

.range-wrap input::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: #dce9ed;
}

.range-wrap input::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -8px;
  appearance: none;
  -webkit-appearance: none;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--brand-600);
  box-shadow: 0 0 0 1px #86cad6, 0 5px 12px rgba(7, 136, 165, 0.22);
}

.range-wrap input::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--brand-600);
  box-shadow: 0 0 0 1px #86cad6, 0 5px 12px rgba(7, 136, 165, 0.22);
}

.range-fill {
  position: absolute;
  z-index: 1;
  left: 0;
  width: 28.57%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-700), #55c6d8);
  pointer-events: none;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 26px;
  color: var(--ink-400);
  font-size: 0.62rem;
}

.price-summary {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.price-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 15px;
  background: #fff;
}

.price-summary small { color: var(--ink-500); }
.price-summary strong { color: var(--ink-800); }
.price-summary em { color: var(--ink-400); font-size: 0.68rem; font-style: normal; font-weight: 500; }

.price-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px;
  border-radius: 15px;
  background: linear-gradient(135deg, #eaf9fb, #edf7ff);
}

.price-total small,
.price-total strong { display: block; }
.price-total small { color: var(--ink-500); font-size: 0.7rem; }
.price-total strong { color: var(--brand-800); font-size: 1.55rem; }

.tier-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tier-card {
  position: relative;
  min-height: 195px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  transition: border-color var(--duration-base) ease, box-shadow var(--duration-base) ease, transform var(--duration-base) var(--ease-spring);
}

.tier-card.is-active {
  border-color: var(--brand-500);
  box-shadow: 0 15px 32px rgba(7, 136, 165, 0.14);
  transform: translateY(-4px);
}

.tier-card__badge {
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--brand-700);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
}

.tier-card__range {
  display: block;
  min-height: 36px;
  color: var(--ink-600);
  font-size: 0.68rem;
  font-weight: 700;
}

.tier-card > div {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 14px 0 10px;
}

.tier-card strong {
  color: var(--brand-800);
  font-size: 1.75rem;
  letter-spacing: -0.035em;
}

.tier-card small { color: var(--ink-500); font-size: 0.62rem; }
.tier-card p { margin: 0; font-size: 0.72rem; }

.pricing-footnote {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 27px;
  color: var(--green-700);
  font-size: 0.75rem;
  font-weight: 650;
}

/* FAQ */
.faq-section {
  background: #fff;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(520px, 1.25fr);
  align-items: start;
  gap: 76px;
}

.faq-copy {
  position: sticky;
  top: 130px;
}

.faq-copy p {
  max-width: 390px;
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.accordion-item > button {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: var(--ink-800);
  cursor: pointer;
  text-align: left;
  font-weight: 720;
}

.accordion-item > button i {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.accordion-item > button i::before,
.accordion-item > button i::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 5px;
  width: 12px;
  height: 2px;
  border-radius: 99px;
  background: var(--ink-500);
  transition: transform var(--duration-base) var(--ease-spring);
}

.accordion-item > button i::after {
  transform: rotate(90deg);
}

.accordion-item.is-open > button i::after {
  transform: rotate(0);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-base) var(--ease-standard);
}

.accordion-panel > p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 18px;
  font-size: 0.86rem;
}

.accordion-item.is-open {
  border-color: #b9dfe7;
  box-shadow: var(--shadow-sm);
}

.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-item.is-open .accordion-panel > p {
  padding-bottom: 18px;
}

/* Final CTA */
.final-cta-section {
  padding-top: 54px;
  padding-bottom: 84px;
  background: linear-gradient(180deg, #fff, #f4fafb);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 76px 44px;
  border-radius: 28px;
  background: linear-gradient(135deg, #087f98 0%, #0693af 48%, #315cbd 115%);
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 62px rgba(4, 98, 121, 0.25);
}

.final-cta__aurora--one {
  top: -120px;
  right: 3%;
  width: 360px;
  height: 360px;
  background: rgba(93, 219, 235, 0.28);
}

.final-cta__aurora--two {
  bottom: -170px;
  left: 0;
  width: 420px;
  height: 420px;
  background: rgba(103, 83, 219, 0.25);
}

.final-cta > *:not(.final-cta__aurora) {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  max-width: 780px;
  margin-inline: auto;
  color: #fff;
}

.final-cta h2 span {
  color: #d7f8fc;
}

.final-cta > p {
  max-width: 650px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.78);
}

.final-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 19px;
}

.final-cta > small {
  color: rgba(255, 255, 255, 0.68);
}

/* Footer */
.site-footer {
  padding: 54px 0 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(0, 0.75fr));
  gap: 36px;
}

.footer-brand p {
  max-width: 270px;
  margin: 18px 0 0;
  font-size: 0.79rem;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-column > strong {
  margin-bottom: 5px;
  color: var(--ink-800);
  font-size: 0.8rem;
}

.footer-column a,
.footer-column span,
.footer-column button {
  width: max-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-500);
  cursor: pointer;
  font-size: 0.72rem;
  text-align: left;
}

.footer-column a:hover,
.footer-column button:hover {
  color: var(--brand-700);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-400);
  font-size: 0.66rem;
}

/* Pointer parallax offsets are applied with the independent translate property,
   so they compose with the cards' own floating animations and rotations. */
[data-parallax-layer] {
  translate: var(--parallax-x, 0px) var(--parallax-y, 0px);
  transition: translate 520ms var(--ease-spring);
}

[data-parallax-stage]:hover [data-parallax-layer] {
  transition-duration: 100ms;
}

/* Desktop hero tuning: keep the full primary scenario visible in the first viewport. */
@media (min-width: 1021px) {
  .hero__copy {
    padding-top: 0;
  }

  .hero__title {
    font-size: clamp(3.25rem, 4.55vw, 4.55rem);
  }

  .hero__actions .button--large {
    padding-inline: 19px;
  }
}

/* TRUE FBS approved layout refinements */
.feature-card--wide {
  grid-column: 1 / -1;
  min-height: 292px;
  grid-template-columns: 58px minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 28px;
  padding: 32px 38px;
}

.feature-card--wide > .feature-icon {
  align-self: start;
}

.feature-card--wide .feature-card__copy {
  align-self: center;
  max-width: 610px;
}

.feature-card--wide .feature-card__copy h3 {
  max-width: 560px;
}

.feature-card--wide .document-visual {
  justify-self: center;
  gap: 22px;
}

.feature-card--wide .document-sheet {
  width: 118px;
  height: 148px;
  padding: 26px 19px;
  border-radius: 17px;
}

.feature-card--wide .document-stock {
  width: 126px;
  height: 126px;
  border-radius: 28px;
}

.feature-card--wide .document-stock strong {
  font-size: 1.85rem;
}

.feature-card--wide .document-stock small {
  font-size: 0.76rem;
}

.feature-card--wide .document-arrow {
  font-size: 2rem;
}

.pricing-layout {
  grid-template-columns: minmax(0, 1.02fr) minmax(480px, 0.98fr);
  align-items: stretch;
  gap: 24px;
}

.pricing-calculator {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: 28px 30px;
}

.pricing-calculator .price-total {
  margin-top: auto;
}

.tier-list {
  min-height: 520px;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tier-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border-radius: 21px;
}

.tier-card__range {
  min-height: 38px;
  font-size: 0.73rem;
}

.tier-card > div {
  margin: 16px 0 12px;
}

.tier-card strong {
  font-size: 2rem;
}

.tier-card p {
  margin-top: auto;
  font-size: 0.78rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
 * TRUE FBS approved section refinements
 * -------------------------------------------------------------------------- */
.feature-card--full {
  grid-column: 1 / -1;
  min-height: 300px;
  grid-template-columns: 64px minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 28px;
  padding: 34px 38px;
  background:
    radial-gradient(circle at 82% 28%, rgba(99, 193, 221, 0.13), transparent 34%),
    linear-gradient(145deg, #fff, #f8fcfe);
}

.feature-card--full > .feature-icon {
  align-self: start;
}

.feature-card--full .feature-card__copy {
  align-self: center;
  max-width: 620px;
}

.feature-card--full .feature-card__copy h3 {
  max-width: 560px;
  font-size: clamp(1.55rem, 2.3vw, 2.25rem);
  line-height: 1.08;
}

.feature-card--full .feature-card__copy p {
  max-width: 610px;
  font-size: 1rem;
  line-height: 1.65;
}

.feature-card--full .document-visual {
  justify-self: center;
  gap: 26px;
}

.feature-card--full .document-sheet {
  width: 126px;
  height: 154px;
  gap: 12px;
  padding: 27px 20px;
  border-radius: 17px;
  box-shadow: 0 22px 46px rgba(15, 49, 66, 0.14);
}

.feature-card--full .document-sheet span {
  height: 7px;
}

.feature-card--full .document-arrow {
  font-size: 2rem;
}

.feature-card--full .document-stock {
  width: 132px;
  height: 132px;
  border-radius: 30px;
  box-shadow: 0 22px 46px rgba(11, 149, 111, 0.14);
}

.feature-card--full .document-stock strong {
  font-size: 2rem;
}

.feature-card--full .document-stock small {
  font-size: 0.82rem;
}

.workflow-card:last-child h3 {
  max-width: 250px;
}

.marketplace-cards {
  max-width: 1040px;
}

.marketplace-card {
  min-height: 300px;
  padding: 32px;
}

.marketplace-card li {
  font-size: 0.94rem;
  line-height: 1.45;
}

.pricing-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  align-items: stretch;
  gap: 28px;
}

.pricing-calculator {
  height: 100%;
  padding: 27px 30px;
}

.pricing-calculator__head {
  margin-bottom: 20px;
}

.volume-value {
  margin-bottom: 20px;
}

.range-labels {
  margin-bottom: 22px;
}

.price-summary > div {
  padding-block: 13px;
}

.price-total {
  padding: 15px 17px;
}

.tier-list {
  height: 100%;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tier-card {
  min-height: 0;
  height: 100%;
  padding: 27px 25px;
  border-radius: 21px;
}

.tier-card__range {
  min-height: 42px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.tier-card > div {
  margin: 18px 0 13px;
}

.tier-card strong {
  font-size: 2.2rem;
}

.tier-card small {
  font-size: 0.68rem;
}

.tier-card p {
  font-size: 0.82rem;
  line-height: 1.5;
}
