/* Sellerts landing — subtle 2026 polish on original main.css layout */

:root {
  --st-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --st-ease-spring: cubic-bezier(0.34, 1.2, 0.64, 1);
  --st-duration: 0.85s;
  --st-bg-blue: rgba(52, 120, 246, 0.14);
  --st-bg-cyan: rgba(184, 224, 247, 0.18);
  --st-bg-violet: rgba(196, 181, 228, 0.12);
  --st-bg-warm: rgba(228, 213, 245, 0.1);
}

/* ── Ambient hero background (blurred light orbs) ── */
.st-bg-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(
    168deg,
    #f8faff 0%,
    #ffffff 38%,
    #faf8fc 72%,
    #ffffff 100%
  );
}

.st-bg-ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform, opacity;
}

.st-bg-ambient__orb--1 {
  width: min(52vw, 560px);
  height: min(52vw, 560px);
  top: -8%;
  right: 8%;
  background: radial-gradient(circle, var(--st-bg-cyan) 0%, transparent 68%);
  animation: st-orb-drift-1 28s ease-in-out infinite;
}

.st-bg-ambient__orb--2 {
  width: min(44vw, 480px);
  height: min(44vw, 480px);
  top: 18%;
  left: -6%;
  background: radial-gradient(circle, var(--st-bg-blue) 0%, transparent 70%);
  animation: st-orb-drift-2 34s ease-in-out infinite;
}

.st-bg-ambient__orb--3 {
  width: min(38vw, 420px);
  height: min(38vw, 420px);
  top: 42%;
  right: -4%;
  background: radial-gradient(circle, var(--st-bg-violet) 0%, transparent 72%);
  animation: st-orb-drift-3 26s ease-in-out infinite;
}

.st-bg-ambient__orb--4 {
  width: min(32vw, 360px);
  height: min(32vw, 360px);
  top: 8%;
  left: 32%;
  background: radial-gradient(circle, var(--st-bg-warm) 0%, transparent 75%);
  animation: st-orb-flare 22s ease-in-out infinite;
}

@keyframes st-orb-drift-1 {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.72;
  }
  40% {
    transform: translate3d(-28px, 36px, 0) scale(1.06);
    opacity: 0.9;
  }
  70% {
    transform: translate3d(18px, -22px, 0) scale(0.96);
    opacity: 0.58;
  }
}

@keyframes st-orb-drift-2 {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.62;
  }
  35% {
    transform: translate3d(42px, 24px, 0) scale(1.04);
    opacity: 0.82;
  }
  65% {
    transform: translate3d(-16px, -30px, 0) scale(0.97);
    opacity: 0.5;
  }
}

@keyframes st-orb-drift-3 {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(-36px, -18px, 0) scale(1.08);
    opacity: 0.78;
  }
}

@keyframes st-orb-flare {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(0.92);
    opacity: 0.35;
  }
  25% {
    transform: translate3d(14px, -12px, 0) scale(1.02);
    opacity: 0.55;
  }
  55% {
    transform: translate3d(-10px, 16px, 0) scale(1.12);
    opacity: 0.68;
  }
  80% {
    transform: translate3d(6px, 4px, 0) scale(0.98);
    opacity: 0.42;
  }
}

html {
  scroll-behavior: smooth;
}

/* ── Hero load entrance (staggered) ── */
.st-hero-in {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  animation: st-hero-in var(--st-duration) var(--st-ease-out) forwards;
}

.st-hero-in--d1 { animation-delay: 0.08s; }
.st-hero-in--d2 { animation-delay: 0.2s; }
.st-hero-in--d3 { animation-delay: 0.34s; }

@keyframes st-hero-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.promo-left__title-accent {
  display: inline;
  background: linear-gradient(120deg, #2563eb 0%, #7c3aed 52%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Globe decor — gentle fade-in + float */
.top-decor {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  animation: st-decor-in 1.1s var(--st-ease-out) 0.15s forwards;
  will-change: transform;
}

@keyframes st-decor-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ── Scroll-triggered reveals ── */
.st-reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity var(--st-duration) var(--st-ease-out),
    transform var(--st-duration) var(--st-ease-out);
  will-change: opacity, transform;
}

.st-reveal.st-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.st-reveal--left {
  transform: translate3d(-32px, 0, 0);
}

.st-reveal--left.st-visible {
  transform: translate3d(0, 0, 0);
}

.st-reveal--right {
  transform: translate3d(32px, 0, 0);
}

.st-reveal--right.st-visible {
  transform: translate3d(0, 0, 0);
}

.st-reveal--scale {
  transform: scale(0.96);
}

.st-reveal--scale.st-visible {
  transform: scale(1);
}

/* Stagger children inside a group */
.st-reveal-group .st-reveal:nth-child(1) { transition-delay: 0s; }
.st-reveal-group .st-reveal:nth-child(2) { transition-delay: 0.08s; }
.st-reveal-group .st-reveal:nth-child(3) { transition-delay: 0.16s; }
.st-reveal-group .st-reveal:nth-child(4) { transition-delay: 0.24s; }

/* ── Header entrance + scroll state ── */
.site-header {
  opacity: 0;
  transform: translate3d(0, -12px, 0);
  animation: st-header-in 0.7s var(--st-ease-out) 0.05s forwards;
  transition:
    box-shadow 0.35s var(--st-ease-out),
    border-color 0.35s var(--st-ease-out);
}

@keyframes st-header-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.site-header.st-header--scrolled {
  box-shadow: 0 4px 24px rgba(17, 36, 62, 0.08);
}

/* ── Button polish ── */
.button-blue {
  transition:
    background 0.3s ease,
    box-shadow 0.35s var(--st-ease-out),
    transform 0.35s var(--st-ease-spring);
}

.button-blue:hover {
  transform: translate3d(0, -2px, 0);
}

.button-blue:active {
  transform: translate3d(0, 0, 0);
  transition-duration: 0.1s;
}

/* Feature images — subtle lift on reveal */
.sellerts-row__img.st-visible {
  transition:
    opacity var(--st-duration) var(--st-ease-out),
    transform var(--st-duration) var(--st-ease-out),
    box-shadow 0.4s var(--st-ease-out);
}

.sellerts-row__img.st-visible:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 16px 48px rgba(17, 36, 62, 0.14);
}

/* Stats block — spring scale */
.whyus-right__percent.st-visible {
  transition:
    opacity var(--st-duration) var(--st-ease-out),
    transform 1s var(--st-ease-spring);
}

/* Footer columns stagger */
.site-footer > .container > .sf-inner.st-reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.site-footer .sf-inner.st-reveal-group .sf-col {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.7s var(--st-ease-out),
    transform 0.7s var(--st-ease-out);
}

.site-footer .sf-inner.st-visible .sf-col,
.site-footer .sf-inner.st-reveal-group:not(.st-reveal) .sf-col {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.sf-inner.st-visible .sf-col:nth-child(1) { transition-delay: 0s; }
.sf-inner.st-visible .sf-col:nth-child(2) { transition-delay: 0.07s; }
.sf-inner.st-visible .sf-col:nth-child(3) { transition-delay: 0.14s; }
.sf-inner.st-visible .sf-col:nth-child(4) { transition-delay: 0.21s; }

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

  .st-hero-in,
  .top-decor,
  .site-header,
  .st-reveal,
  .sf-inner.st-reveal-group .sf-col {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .button-blue:hover,
  .button-blue:active {
    transform: none;
  }

  .top-decor {
    will-change: auto;
  }

  .st-bg-ambient__orb {
    animation: none !important;
    will-change: auto;
  }

  .st-bg-ambient__orb--1 { opacity: 0.65; }
  .st-bg-ambient__orb--2 { opacity: 0.55; }
  .st-bg-ambient__orb--3 { opacity: 0.48; }
  .st-bg-ambient__orb--4 { opacity: 0.38; }
}

html {
  height: auto !important;
  min-height: 100%;
  padding: 0 !important;
}

body {
  overflow-x: clip;
  position: relative;
  background: transparent;
  min-height: 100%;
  height: auto !important;
}

body > .header-placeholder,
body > .site-header,
body > .main,
body > .site-footer {
  position: relative;
  z-index: 1;
}

.main {
  overflow: visible;
  position: relative;
  flex-grow: 0 !important;
  min-height: 0 !important;
  flex-shrink: 0;
}

/* Globe decor — restore original hero graphic (main.css hides below 1260px) */
@media screen and (min-width: 1261px) {
  .top-decor {
    display: block !important;
    position: absolute;
    right: 0;
    top: 61px;
    max-width: min(52vw, 720px);
    height: auto;
    pointer-events: none;
    z-index: 1;
  }
}

@media screen and (min-width: 951px) and (max-width: 1260px) {
  @keyframes st-decor-in {
    to {
      opacity: 0.92;
      transform: translate3d(0, 0, 0);
    }
  }

  .top-decor {
    display: block !important;
    position: absolute;
    right: -24px;
    top: 72px;
    max-width: 42vw;
    height: auto;
    pointer-events: none;
    z-index: 0;
  }
}

/* Header: logo left, nav center, auth right */
@media screen and (min-width: 951px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(17, 36, 62, 0.06);
  }

  .header-placeholder {
    height: 0;
    padding: 0;
  }

  .site-header .header-container {
    display: grid;
    grid-template-columns: 176px 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-header .menu {
    margin-left: 0;
    flex-grow: 0;
    justify-self: center;
  }

  .site-header .header-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
}

/* Buttons: inline width, subtle depth */
.button-blue {
  box-shadow: 0 1px 2px rgba(52, 120, 246, 0.18);
}

.button-blue:hover {
  box-shadow: 0 4px 14px rgba(52, 120, 246, 0.26);
}

.button-blue--start,
.button-blue--mt40,
.button-blue--mt56,
.button-blue--signup {
  display: inline-flex;
  width: auto;
  max-width: 100%;
}

/* Feature screenshots */
.sellerts-row__img {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(17, 36, 62, 0.1);
}

/* ── ЮKassa payments block ── */
.collect {
  margin-top: 100px !important;
  margin-bottom: 0;
}

.collect-text {
  font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1.2 !important;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.collect-yk {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.collect-yk__card {
  width: 100%;
  max-width: 640px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  background: linear-gradient(165deg, #ffffff 0%, #f8faff 55%, #f3f6fc 100%);
  border: 1px solid rgba(17, 36, 62, 0.08);
  border-radius: 24px;
  box-shadow:
    0 2px 8px rgba(17, 36, 62, 0.04),
    0 16px 48px rgba(52, 120, 246, 0.08);
  transition:
    opacity var(--st-duration) var(--st-ease-out),
    transform var(--st-duration) var(--st-ease-out),
    box-shadow 0.4s var(--st-ease-out);
}

.collect-yk__card.st-visible:hover {
  box-shadow:
    0 4px 12px rgba(17, 36, 62, 0.06),
    0 24px 56px rgba(52, 120, 246, 0.12);
}

.collect-yk__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 0.5rem 0;
}

.collect-yk__logo {
  display: block;
  width: min(220px, 72vw);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.collect-yk__lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 600;
  color: #11243e;
  line-height: 1.45;
  margin: 0 0 0.5rem;
}

.collect-yk__desc {
  font-size: clamp(0.9375rem, 1.8vw, 1rem);
  font-weight: 400;
  color: rgba(17, 36, 62, 0.68);
  line-height: 1.55;
  margin: 0;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.collect-yk__methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  max-width: 720px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.collect-yk__method {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #11243e;
  background: #ffffff;
  border: 1px solid rgba(17, 36, 62, 0.1);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(17, 36, 62, 0.04);
  transition:
    opacity 0.7s var(--st-ease-out),
    transform 0.7s var(--st-ease-out),
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.collect-yk__methods .collect-yk__method.st-visible:hover {
  border-color: rgba(52, 120, 246, 0.35);
  background: rgba(52, 120, 246, 0.04);
  box-shadow: 0 4px 14px rgba(52, 120, 246, 0.12);
  transform: translate3d(0, -2px, 0);
}

.collect-yk__methods .st-reveal:nth-child(1) { transition-delay: 0s; }
.collect-yk__methods .st-reveal:nth-child(2) { transition-delay: 0.06s; }
.collect-yk__methods .st-reveal:nth-child(3) { transition-delay: 0.12s; }
.collect-yk__methods .st-reveal:nth-child(4) { transition-delay: 0.18s; }
.collect-yk__methods .st-reveal:nth-child(5) { transition-delay: 0.24s; }
.collect-yk__methods .st-reveal:nth-child(6) { transition-delay: 0.3s; }

@media (max-width: 600px) {
  .collect {
    margin-top: 84px !important;
  }

  .collect-yk {
    margin-top: 1.75rem;
    gap: 1.25rem;
  }

  .collect-yk__card {
    border-radius: 20px;
  }

  .collect-yk__method {
    font-size: 0.875rem;
    padding: 0.5rem 0.875rem;
  }
}

/* ══ Footer — premium dark, unified with landing ══ */
.site-footer {
  margin-top: clamp(1.5rem, 3vw, 2rem) !important;
  margin-bottom: 0 !important;
  background: linear-gradient(168deg, #0d1829 0%, #081323 48%, #060f1a 100%) !important;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  isolation: isolate;
  display: flow-root;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(52, 120, 246, 0.35) 50%,
    transparent 100%
  );
  pointer-events: none;
}

.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: min(50vw, 420px);
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(52, 120, 246, 0.07) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.site-footer .sf-inner {
  display: grid !important;
  grid-template-columns: minmax(180px, 1.35fr) repeat(3, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: start;
  padding: clamp(3rem, 5.5vw, 4.25rem) 0 clamp(2rem, 4vw, 2.75rem) !important;
  margin-left: 0 !important;
  flex-wrap: unset !important;
  justify-content: unset !important;
  position: relative;
  z-index: 1;
}

.site-footer .sf-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 0 !important;
  margin-top: 0 !important;
  width: auto !important;
  order: unset !important;
}

.site-footer .sf-col--brand {
  gap: 0;
}

.site-footer .sf-logo {
  display: inline-flex;
  margin-bottom: 1.125rem;
  line-height: 0;
  transition: opacity 0.25s var(--st-ease-out);
}

.site-footer .sf-logo:hover {
  opacity: 0.88;
}

.site-footer .sf-logo img {
  height: 36px;
  width: auto;
  min-width: 0 !important;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.site-footer .sf-copyright {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.36);
  max-width: 24ch;
  margin: 0;
}

.site-footer .sf-col__name {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem !important;
  line-height: 1.3;
}

.site-footer .sf-col__item {
  display: inline-block;
  font-size: 0.9375rem !important;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.76) !important;
  text-decoration: none;
  margin-bottom: 0.5rem !important;
  padding: 0.125rem 0;
  transition:
    color 0.22s var(--st-ease-out),
    transform 0.22s var(--st-ease-out);
}

.site-footer .sf-col__item:last-child {
  margin-bottom: 0 !important;
}

.site-footer .sf-col__item:hover {
  color: #fff !important;
  transform: translate3d(3px, 0, 0);
}

.site-footer .sf-col__item:focus-visible {
  outline: 2px solid rgba(52, 120, 246, 0.55);
  outline-offset: 3px;
  border-radius: 4px;
  color: #fff !important;
}

@media screen and (max-width: 950px) {
  .site-footer .sf-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .site-footer .sf-col--brand {
    grid-column: 1 / -1;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media screen and (max-width: 600px) {
  .site-footer {
    margin-top: clamp(1.25rem, 4vw, 1.75rem) !important;
  }

  .site-footer .sf-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-top: 2.5rem !important;
  }

  .site-footer .sf-col__item {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0;
  }
}

/* Header logo sizing */
.header-logo {
  width: auto !important;
  height: auto !important;
}

.header-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}
