/* Solution: brands & marketplace sellers — motion + layout (scroll reveal from feature-motion.js) */

@keyframes cd-sol-float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Hero stack: X-offset + float (one transform chain so float keyframes do not wipe stagger) */
@keyframes cd-sol-float-stack {
  0%,
  100% {
    transform: translate3d(var(--cd-sol-stack-nudge, 0), 0, 0);
  }
  50% {
    transform: translate3d(var(--cd-sol-stack-nudge, 0), -6px, 0);
  }
}

@keyframes cd-sol-hub-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}

@keyframes cd-sol-chip-drift {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(3px, -4px) rotate(0.8deg);
  }
  66% {
    transform: translate(-2px, 3px) rotate(-0.6deg);
  }
}

@keyframes cd-sol-track-grow {
  from {
    transform: scaleX(0.15);
    opacity: 0.35;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes cd-sol-step-pop {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes cd-sol-shine-pass {
  0% {
    transform: translateX(-120%) skewX(-10deg);
    opacity: 0;
  }
  35% {
    opacity: 0.2;
  }
  100% {
    transform: translateX(180%) skewX(-10deg);
    opacity: 0;
  }
}

.solution-sellers-lp .cd-sol-hero-stack {
  min-height: 380px;
  padding: 0.5rem 0 2rem;
}

@media (min-width: 992px) {
  .solution-sellers-lp .cd-sol-hero-stack {
    min-height: 440px;
  }
}

.solution-sellers-lp .cd-sol-hub {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 4.5rem;
  height: 4.5rem;
  z-index: 2;
  pointer-events: none;
}

.solution-sellers-lp .cd-sol-hub__ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(0, 113, 227, 0.22);
  animation: cd-sol-hub-pulse 3.2s ease-in-out infinite;
}

.solution-sellers-lp .cd-sol-hub__core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #0071e3, #0077ed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow:
    0 8px 28px rgba(0, 113, 227, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.solution-sellers-lp .cd-sol-stack-card {
  position: relative;
  z-index: 1;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
}

.solution-sellers-lp .cd-sol-stack-card--1 {
  --cd-sol-stack-nudge: -8%;
  animation: cd-sol-float-stack 5.5s ease-in-out 0s infinite both;
  margin-bottom: -0.85rem;
  z-index: 3;
}

.solution-sellers-lp .cd-sol-stack-card--2 {
  --cd-sol-stack-nudge: 11%;
  animation: cd-sol-float-stack 6s ease-in-out 0.4s infinite both;
  margin-bottom: -0.85rem;
  z-index: 2;
}

.solution-sellers-lp .cd-sol-stack-card--3 {
  --cd-sol-stack-nudge: -4%;
  animation: cd-sol-float-stack 5s ease-in-out 0.8s infinite both;
  z-index: 4;
}

@media (min-width: 992px) {
  .solution-sellers-lp .cd-sol-stack-card--1 {
    --cd-sol-stack-nudge: -12%;
  }

  .solution-sellers-lp .cd-sol-stack-card--2 {
    --cd-sol-stack-nudge: 14%;
  }

  .solution-sellers-lp .cd-sol-stack-card--3 {
    --cd-sol-stack-nudge: -6%;
  }
}

.solution-sellers-lp .cd-sol-mini-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.12);
  overflow: hidden;
}

.solution-sellers-lp .cd-sol-mini-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, #0071e3, #34c759);
  animation: cd-sol-track-grow 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.solution-sellers-lp .cd-sol-mini-bar--accent::after {
  background: linear-gradient(90deg, #34c759, #0071e3);
}

.solution-sellers-lp .cd-sol-orbit-chips {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.solution-sellers-lp .cd-sol-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 14px rgba(0, 40, 100, 0.08);
  color: var(--cd-apple-text-secondary, #6e6e73);
  animation: cd-sol-chip-drift 7s ease-in-out infinite;
}

.solution-sellers-lp .cd-sol-chip__logo {
  display: block;
  width: auto;
  height: 1.05rem;
  max-width: 2.5rem;
  object-fit: contain;
  object-position: center;
}

.solution-sellers-lp .cd-sol-chip__logo--bol {
  height: 0.72rem;
  max-width: 2.75rem;
}

.solution-sellers-lp .cd-sol-chip__logo--woo {
  max-width: 3.1rem;
  height: 0.9rem;
}

.solution-sellers-lp .cd-sol-chip--1 {
  left: 4%;
  top: 10%;
  animation-delay: 0s;
}
.solution-sellers-lp .cd-sol-chip--2 {
  right: 2%;
  top: 18%;
  animation-delay: 0.5s;
}
.solution-sellers-lp .cd-sol-chip--3 {
  left: 8%;
  bottom: 12%;
  animation-delay: 1s;
}
.solution-sellers-lp .cd-sol-chip--4 {
  right: 10%;
  bottom: 20%;
  animation-delay: 1.4s;
}

.solution-sellers-lp .cd-sol-journey__track {
  display: none;
}

@media (min-width: 992px) {
  .solution-sellers-lp .cd-sol-journey__track {
    display: block;
    position: absolute;
    left: 8%;
    right: 8%;
    top: 1.85rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 113, 227, 0.15), rgba(52, 199, 89, 0.25), rgba(0, 113, 227, 0.15));
    transform-origin: left center;
    animation: cd-sol-track-grow 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

.solution-sellers-lp .cd-sol-step__num {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #0071e3, #0077ed);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  line-height: 2.75rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.25);
  position: relative;
  z-index: 1;
}

main.solution-sellers-lp section.cd-reveal--visible .cd-sol-step__num {
  animation: cd-sol-step-pop 0.55s cubic-bezier(0.34, 1.02, 0.68, 1) both;
}

main.solution-sellers-lp section.cd-reveal--visible .cd-sol-journey .col-6:nth-child(1) .cd-sol-step__num {
  animation-delay: 0.05s;
}
main.solution-sellers-lp section.cd-reveal--visible .cd-sol-journey .col-6:nth-child(2) .cd-sol-step__num {
  animation-delay: 0.12s;
}
main.solution-sellers-lp section.cd-reveal--visible .cd-sol-journey .col-6:nth-child(3) .cd-sol-step__num {
  animation-delay: 0.19s;
}
main.solution-sellers-lp section.cd-reveal--visible .cd-sol-journey .col-6:nth-child(4) .cd-sol-step__num {
  animation-delay: 0.26s;
}

.solution-sellers-lp .cd-sol-compare {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.solution-sellers-lp .cd-sol-compare:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 40, 100, 0.08);
}

.solution-sellers-lp .cd-sol-compare--pain {
  background: linear-gradient(165deg, rgba(255, 245, 245, 0.9) 0%, #fff 50%);
  border-color: rgba(220, 53, 69, 0.12) !important;
}

.solution-sellers-lp .cd-sol-compare--gain {
  background: linear-gradient(165deg, rgba(240, 253, 244, 0.85) 0%, #fff 55%);
  border-color: rgba(52, 199, 89, 0.18) !important;
}

.solution-sellers-lp .cd-sol-bento-cell {
  border-radius: var(--cd-apple-radius-lg, 18px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.85);
  padding: 1.35rem 1.25rem;
  height: 100%;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.25s ease;
}

.solution-sellers-lp .cd-sol-bento-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 40, 100, 0.08);
  border-color: rgba(0, 113, 227, 0.2);
}

.solution-sellers-lp .cd-sol-channel-label {
  letter-spacing: 0.1em;
}

.solution-sellers-lp .home-chip {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.12);
  color: var(--cd-apple-text, #1d1d1f);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.solution-sellers-lp .home-chip:hover {
  transform: translateY(-2px);
  background: rgba(0, 113, 227, 0.14);
}

.solution-sellers-lp .cd-sol-chip-more {
  border-style: dashed;
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}

.solution-sellers-lp .cd-sol-channel-row .home-chip:nth-child(odd) {
  animation: cd-sol-float-y 4.5s ease-in-out infinite;
}
.solution-sellers-lp .cd-sol-channel-row .home-chip:nth-child(even) {
  animation: cd-sol-float-y 5s ease-in-out infinite 0.3s;
}

.solution-sellers-lp .cd-sol-glass-panel {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.solution-sellers-lp .cd-sol-glass-panel__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
  animation: cd-sol-shine-pass 6s ease-in-out infinite;
  pointer-events: none;
}

.solution-sellers-lp .cd-sol-cta {
  position: relative;
  overflow: hidden;
}

.solution-sellers-lp .cd-sol-cta::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent 45%);
  animation: cd-sol-hub-pulse 10s ease-in-out infinite;
  pointer-events: none;
}

/* Stagger grid children when section is revealed */
main.solution-sellers-lp section.cd-reveal--visible .cd-sol-stagger > .col,
main.solution-sellers-lp section.cd-reveal--visible .cd-sol-stagger > [class*="col-"] {
  animation: cd-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

main.solution-sellers-lp section.cd-reveal--visible .cd-sol-stagger > .col:nth-child(1),
main.solution-sellers-lp section.cd-reveal--visible .cd-sol-stagger > [class*="col-"]:nth-child(1) {
  animation-delay: 0.04s;
}
main.solution-sellers-lp section.cd-reveal--visible .cd-sol-stagger > .col:nth-child(2),
main.solution-sellers-lp section.cd-reveal--visible .cd-sol-stagger > [class*="col-"]:nth-child(2) {
  animation-delay: 0.1s;
}
main.solution-sellers-lp section.cd-reveal--visible .cd-sol-stagger > .col:nth-child(3),
main.solution-sellers-lp section.cd-reveal--visible .cd-sol-stagger > [class*="col-"]:nth-child(3) {
  animation-delay: 0.16s;
}
main.solution-sellers-lp section.cd-reveal--visible .cd-sol-stagger > .col:nth-child(4),
main.solution-sellers-lp section.cd-reveal--visible .cd-sol-stagger > [class*="col-"]:nth-child(4) {
  animation-delay: 0.22s;
}

main.solution-sellers-lp section.cd-reveal--visible .cd-sol-rise-card {
  animation: cd-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

main.solution-sellers-lp section.cd-reveal--visible .cd-sol-bento .col-md-6:nth-child(1) .cd-sol-bento-cell {
  animation: cd-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.02s backwards;
}
main.solution-sellers-lp section.cd-reveal--visible .cd-sol-bento .col-md-6:nth-child(2) .cd-sol-bento-cell {
  animation: cd-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.08s backwards;
}
main.solution-sellers-lp section.cd-reveal--visible .cd-sol-bento .col-md-6:nth-child(3) .cd-sol-bento-cell {
  animation: cd-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.14s backwards;
}
main.solution-sellers-lp section.cd-reveal--visible .cd-sol-bento .col-md-6:nth-child(4) .cd-sol-bento-cell {
  animation: cd-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s backwards;
}
main.solution-sellers-lp section.cd-reveal--visible .cd-sol-bento .col-md-6:nth-child(5) .cd-sol-bento-cell {
  animation: cd-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.26s backwards;
}
main.solution-sellers-lp section.cd-reveal--visible .cd-sol-bento .col-md-6:nth-child(6) .cd-sol-bento-cell {
  animation: cd-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.32s backwards;
}

main.solution-sellers-lp section.cd-reveal--visible .cd-sol-hero-copy {
  animation: cd-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.05s backwards;
}

@media (prefers-reduced-motion: reduce) {
  .solution-sellers-lp .cd-sol-stack-card,
  .solution-sellers-lp .cd-sol-chip,
  .solution-sellers-lp .cd-sol-hub__ring,
  .solution-sellers-lp .cd-sol-channel-row .home-chip,
  .solution-sellers-lp .cd-sol-glass-panel__shine,
  .solution-sellers-lp .cd-sol-cta::before {
    animation: none !important;
  }

  .solution-sellers-lp .cd-sol-stack-card--1,
  .solution-sellers-lp .cd-sol-stack-card--2,
  .solution-sellers-lp .cd-sol-stack-card--3 {
    transform: translate3d(var(--cd-sol-stack-nudge, 0), 0, 0);
  }

  .solution-sellers-lp .cd-sol-mini-bar::after,
  .solution-sellers-lp .cd-sol-journey__track {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .solution-sellers-lp .cd-sol-outcome-card:hover {
    transform: none;
  }

  main.solution-sellers-lp section.cd-reveal--visible .cd-sol-stagger > .col,
  main.solution-sellers-lp section.cd-reveal--visible .cd-sol-stagger > [class*="col-"],
  main.solution-sellers-lp section.cd-reveal--visible .cd-sol-rise-card,
  main.solution-sellers-lp section.cd-reveal--visible .cd-sol-bento .cd-sol-bento-cell,
  main.solution-sellers-lp section.cd-reveal--visible .cd-sol-hero-copy,
  main.solution-sellers-lp section.cd-reveal--visible .cd-sol-step__num {
    animation: none !important;
  }
}

/* ——— Outcomes: three-pillar cards (PIM / inventory / orders) ——— */
.solution-sellers-lp .cd-sol-outcomes {
  background: linear-gradient(180deg, #f5f7fb 0%, #eef2f7 45%, #f8fafc 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}
.solution-sellers-lp .cd-sol-outcomes__deco {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 113, 227, 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000, transparent 78%);
  pointer-events: none;
}
.solution-sellers-lp .cd-sol-outcomes__lead {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  color: #64748b !important;
  line-height: 1.55;
}
.solution-sellers-lp .cd-sol-outcome-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 0.2rem 1rem rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.solution-sellers-lp .cd-sol-outcome-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0.9;
  pointer-events: none;
  border-radius: 1rem 1rem 0 0;
}
.solution-sellers-lp .cd-sol-outcome-card--blue::after {
  background: linear-gradient(90deg, #0071e3, #38bdf8);
}
.solution-sellers-lp .cd-sol-outcome-card--emerald::after {
  background: linear-gradient(90deg, #059669, #34d399);
}
.solution-sellers-lp .cd-sol-outcome-card--amber::after {
  background: linear-gradient(90deg, #d97706, #fbbf24);
}
.solution-sellers-lp .cd-sol-outcome-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.75rem 2.5rem rgba(15, 23, 42, 0.1);
  border-color: rgba(0, 113, 227, 0.12);
}
.solution-sellers-lp .cd-sol-outcome-card--emerald:hover {
  border-color: rgba(5, 150, 105, 0.18);
}
.solution-sellers-lp .cd-sol-outcome-card--amber:hover {
  border-color: rgba(217, 119, 6, 0.2);
}
.solution-sellers-lp .cd-sol-outcome-card__top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.15rem 0.95rem 1.15rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}
.solution-sellers-lp .cd-sol-outcome-card--blue .cd-sol-outcome-card__top {
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}
.solution-sellers-lp .cd-sol-outcome-card--emerald .cd-sol-outcome-card__top {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}
.solution-sellers-lp .cd-sol-outcome-card--amber .cd-sol-outcome-card__top {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(255, 255, 255, 0) 100%);
}
.solution-sellers-lp .cd-sol-outcome-card__icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0.2rem 0.55rem rgba(0, 0, 0, 0.12);
}
.solution-sellers-lp .cd-sol-outcome-card--blue .cd-sol-outcome-card__icon {
  background: linear-gradient(145deg, #0ea5e9, #0071e3);
}
.solution-sellers-lp .cd-sol-outcome-card--emerald .cd-sol-outcome-card__icon {
  background: linear-gradient(145deg, #34d399, #059669);
}
.solution-sellers-lp .cd-sol-outcome-card--amber .cd-sol-outcome-card__icon {
  background: linear-gradient(145deg, #fbbf24, #d97706);
}
.solution-sellers-lp .cd-sol-outcome-card__title {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #0f172a;
  margin: 0;
  text-align: left;
  flex: 1;
  min-width: 0;
}
.solution-sellers-lp .cd-sol-outcome-card__content {
  padding: 1.05rem 1.2rem 1.25rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.solution-sellers-lp .cd-sol-outcome-card__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4b5563;
}
.solution-sellers-lp .cd-sol-outcome-card__text .link-primary {
  font-weight: 500;
}
@media (min-width: 768px) {
  .solution-sellers-lp .cd-sol-outcome-card__title {
    font-size: 1.05rem;
  }
}
