/* Platform — Storefront page (unified growth palette: cyan → sky → periwinkle) */

.platform-storefront-page {
  --accent: #0ea5e9;
  --accent-bright: #22d3ee;
  --accent-teal: #22d3ee;
  --accent-purple: #818cf8;
  --accent-hover: #6366f1;
  --accent-soft: rgba(34, 211, 238, 0.1);
  --accent-border: rgba(129, 140, 248, 0.22);
  --gradient: linear-gradient(135deg, #22d3ee 0%, #38bdf8 48%, #818cf8 100%);
  --gradient-soft: linear-gradient(135deg, rgba(34, 211, 238, 0.12) 0%, rgba(129, 140, 248, 0.1) 100%);

  --ps-ink: var(--ink);
  --ps-grey: var(--muted-60);
  --ps-border: var(--surface);
  --ps-surface: var(--off-white);
  --ps-max: 72rem;
  --ps-section-y: clamp(3.75rem, 7vw, 5.5rem);
  --ps-accent: var(--accent);
  --ps-accent-bright: var(--accent-bright);
  --ps-accent-purple: var(--accent-purple);
  --ps-accent-hover: var(--accent-hover);
  --ps-accent-soft: var(--accent-soft);
  --ps-accent-border: var(--accent-border);
  --ps-gradient: var(--gradient);
  --ps-gradient-soft: var(--gradient-soft);
  --ps-hero-wash: linear-gradient(180deg, #f8fafc 0%, #eff6ff 42%, #ffffff 100%);
  overflow-x: clip;
}

/* Growth CTAs in page content keep the gradient; header Request Demo stays black */
.platform-storefront-page main .btn-primary,
.platform-storefront-page .sales-enquiry-modal .btn-primary {
  background: var(--ps-gradient);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.28);
}

.platform-storefront-page main .btn-primary:hover,
.platform-storefront-page .sales-enquiry-modal .btn-primary:hover {
  background: linear-gradient(135deg, #22d3ee 0%, #818cf8 100%);
  filter: brightness(1.04);
  box-shadow: 0 14px 30px rgba(129, 140, 248, 0.32);
}

.platform-storefront-page .header-ctas .btn-primary,
.platform-storefront-page .mobile-nav .btn-primary,
.platform-storefront-page .footer-cta-actions .btn-primary {
  background: #000;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
  filter: none;
}

.platform-storefront-page .header-ctas .btn-primary:hover,
.platform-storefront-page .mobile-nav .btn-primary:hover,
.platform-storefront-page .footer-cta-actions .btn-primary:hover {
  background: #111;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.28);
  filter: none;
}

.platform-storefront-page .ps-feature__label,
.platform-storefront-page .ps-compare__eyebrow,
.platform-storefront-page .ps-connected__eyebrow,
.platform-storefront-page .ps-india__eyebrow {
  background: var(--ps-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* —— Section 1: Hero —— */

.ps-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.75rem, 5.5vw, 4.25rem) 0 0;
  text-align: center;
  background: var(--white);
}

.ps-hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -5%, rgba(34, 211, 238, 0.11) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 90% 10%, rgba(129, 140, 248, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 8% 30%, rgba(14, 165, 233, 0.06) 0%, transparent 50%);
}

.ps-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
}

.ps-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: ps-orb-drift 14s ease-in-out infinite;
}

.ps-hero__orb--a {
  width: 18rem;
  height: 18rem;
  top: -4rem;
  left: 8%;
  background: rgba(34, 211, 238, 0.22);
}

.ps-hero__orb--b {
  width: 14rem;
  height: 14rem;
  top: 10%;
  right: 6%;
  background: rgba(129, 140, 248, 0.2);
  animation-delay: -4s;
}

.ps-hero__orb--c {
  width: 12rem;
  height: 12rem;
  top: 42%;
  left: 42%;
  background: rgba(14, 165, 233, 0.12);
  animation-delay: -8s;
}

.ps-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5rem;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
  z-index: 2;
}

.ps-hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--ps-max), 92vw);
  margin-inline: auto;
}

.ps-hero__copy {
  max-width: 48rem;
  margin: 0 auto 2.25rem;
}

.ps-hero.is-ready .ps-hero__copy > * {
  animation: ps-hero-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ps-hero.is-ready .ps-hero__copy > *:nth-child(1) { animation-delay: 0.05s; }
.ps-hero.is-ready .ps-hero__copy > *:nth-child(2) { animation-delay: 0.12s; }
.ps-hero.is-ready .ps-hero__copy > *:nth-child(3) { animation-delay: 0.18s; }
.ps-hero.is-ready .ps-hero__copy > *:nth-child(4) { animation-delay: 0.24s; }
.ps-hero.is-ready .ps-hero__copy > *:nth-child(5) { animation-delay: 0.3s; }

.ps-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0.32rem 0.75rem 0.32rem 0.55rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--ps-accent-border);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ps-hero__eyebrow-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: ps-live-pulse 1.8s ease-out infinite;
}

.ps-hero__title {
  max-width: 52rem;
  margin: 0 auto 1.25rem;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ps-ink);
  text-wrap: balance;
}

.ps-hero__lead {
  max-width: 38rem;
  margin: 0 auto 1.75rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ps-grey);
}

.ps-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ps-hero__trust {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(100, 116, 139, 0.9);
}

.ps-hero__visual-wrap {
  position: relative;
  max-width: 58rem;
  margin: 0.5rem auto 0;
  padding-bottom: 0;
}

.ps-hero.is-ready .ps-hero__visual-wrap {
  animation: ps-hero-visual-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.ps-hero__visual-glow {
  position: absolute;
  inset: 8% 5% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(34, 211, 238, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(129, 140, 248, 0.16), transparent 65%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.ps-hero__visual-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5.5rem;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
  z-index: 3;
}

/* Browser frame */

.ps-browser {
  position: relative;
  z-index: 1;
  text-align: left;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.ps-browser--hero {
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 40px rgba(15, 23, 42, 0.08),
    0 40px 80px rgba(14, 165, 233, 0.1);
  transform: perspective(1200px) rotateX(2.5deg);
  transform-origin: center top;
}

.ps-browser__chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(180deg, #fbfcfd, #f3f6f9);
  border-bottom: 1px solid var(--ps-border);
}

.ps-browser__dots {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.ps-browser__dots span {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: #cbd5e1;
}

.ps-browser__dots span:nth-child(1) { background: #f87171; }
.ps-browser__dots span:nth-child(2) { background: #fbbf24; }
.ps-browser__dots span:nth-child(3) { background: #4ade80; }

.ps-browser__url {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.6875rem;
  color: var(--ps-grey);
  background: #fff;
  border: 1px solid var(--ps-border);
  border-radius: 6px;
}

.ps-browser__url svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.ps-browser__live {
  display: none;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  padding: 0.2rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f766e;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 999px;
}

.ps-browser__live span {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #10b981;
  animation: ps-live-pulse 1.8s ease-out infinite;
}

@media (min-width: 640px) {
  .ps-browser__live {
    display: inline-flex;
  }
}

.ps-browser__body {
  padding: 0;
}

.ps-dash__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--ps-border);
  background: #fafbfc;
}

.ps-dash__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ps-dash__brand img {
  width: 1.5rem;
  height: 1.5rem;
}

.ps-dash__brand strong {
  font-size: 0.8125rem;
  color: var(--ps-ink);
}

.ps-dash__metrics {
  display: flex;
  gap: 1.25rem;
}

.ps-dash__metric span {
  display: block;
  font-size: 0.625rem;
  color: var(--ps-grey);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ps-dash__metric strong {
  font-size: 0.9375rem;
  color: var(--ps-ink);
  font-variant-numeric: tabular-nums;
}

.ps-dash__metric--accent strong {
  color: var(--accent);
}

.ps-dash__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  border-bottom: 1px solid var(--ps-border);
  background: #fff;
}

.ps-dash__tab {
  padding: 0.35rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ps-grey);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.ps-dash__tab--active {
  color: var(--accent);
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.2);
}

.ps-dash__store {
  padding: 1rem 1.25rem 1.25rem;
}

.ps-dash__store-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.ps-dash__store-head h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ps-ink);
}

.ps-dash__store-head span {
  font-size: 0.6875rem;
  color: var(--ps-grey);
  white-space: nowrap;
}

.ps-dash__products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.ps-dash__product {
  min-width: 0;
}

.ps-dash__product img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--ps-surface);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.ps-hero.is-ready .ps-dash__product img {
  animation: ps-product-float 5s ease-in-out infinite;
}

.ps-hero.is-ready .ps-dash__product:nth-child(2) img { animation-delay: 0.4s; }
.ps-hero.is-ready .ps-dash__product:nth-child(3) img { animation-delay: 0.8s; }

.ps-dash__product p {
  margin: 0.45rem 0 0;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ps-ink);
}

.ps-dash__product em {
  display: block;
  margin-top: 0.1rem;
  font-style: normal;
  font-size: 0.625rem;
  color: var(--ps-grey);
}

.ps-dash__product--ai {
  display: flex;
}

.ps-dash__ai-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.2rem;
  width: 100%;
  aspect-ratio: 1;
  padding: 0.75rem;
  border-radius: 10px;
  background:
    linear-gradient(160deg, rgba(14, 165, 233, 0.12), rgba(129, 140, 248, 0.1) 55%, #f8fafc);
  border: 1px dashed rgba(14, 165, 233, 0.3);
}

.ps-dash__ai-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: auto;
  border-radius: 8px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.85);
}

.ps-dash__ai-card strong {
  font-size: 0.75rem;
  color: var(--ps-ink);
}

.ps-dash__ai-card em {
  font-style: normal;
  font-size: 0.625rem;
  color: var(--accent);
  font-weight: 600;
}

@keyframes ps-orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, 18px) scale(1.08); }
}

@keyframes ps-hero-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ps-hero-visual-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .ps-hero__orb,
  .ps-hero__eyebrow-dot,
  .ps-browser__live span,
  .ps-hero.is-ready .ps-hero__copy > *,
  .ps-hero.is-ready .ps-hero__visual-wrap,
  .ps-hero.is-ready .ps-dash__product img {
    animation: none;
  }

  .ps-browser--hero {
    transform: none;
  }
}

/* —— Section 2: Stats —— */

.ps-stats {
  background: var(--white);
  border-top: 1px solid var(--ps-border);
  border-bottom: 1px solid var(--ps-border);
}

.ps-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: min(var(--ps-max), 92vw);
  margin-inline: auto;
}

@media (min-width: 900px) {
  .ps-stats__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.ps-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.35rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--ps-border);
}

@media (min-width: 900px) {
  .ps-stat {
    border-bottom: none;
    border-right: 1px solid var(--ps-border);
  }

  .ps-stat:last-child {
    border-right: none;
  }
}

@media (max-width: 899px) {
  .ps-stat:nth-child(odd) {
    border-right: 1px solid var(--ps-border);
  }

  .ps-stat:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

.ps-stat__icon {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  line-height: 1;
}

.ps-stat__label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ps-ink);
}

.ps-stat__desc {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--ps-grey);
}

/* —— Sections 3–8: Zig-zag features —— */

.ps-feature {
  padding: var(--ps-section-y) 0;
}

.ps-feature__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: center;
  width: min(var(--ps-max), 92vw);
  margin-inline: auto;
}

@media (min-width: 960px) {
  .ps-feature__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.75rem, 4vw, 4rem);
    align-items: center;
  }

  .ps-feature--reverse .ps-feature__visual {
    order: 2;
  }

  .ps-feature--reverse .ps-feature__copy {
    order: 1;
  }

  .ps-feature--flip .ps-feature__visual {
    order: 1;
  }

  .ps-feature--flip .ps-feature__copy {
    order: 2;
  }
}

.ps-feature__visual {
  position: relative;
  min-width: 0;
  width: 100%;
}

.ps-feature__copy {
  min-width: 0;
  max-width: 34rem;
}

@media (min-width: 960px) {
  .ps-feature:not(.ps-feature--reverse) .ps-feature__copy {
    justify-self: start;
    padding-left: 0.25rem;
  }

  .ps-feature--reverse .ps-feature__copy {
    justify-self: end;
    text-align: left;
    padding-right: 0.25rem;
  }
}

.ps-feature__label {
  display: block;
  margin-bottom: 0.75rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.ps-feature__title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ps-ink);
  text-wrap: balance;
}

.ps-feature__body {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ps-grey);
  max-width: 32rem;
}

.ps-feature__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 16rem;
  padding: 2rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: #94a3b8;
  background: var(--ps-surface);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

/* Feature section UI mocks */

.ps-mock {
  background: var(--ps-surface);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  font-size: 0.75rem;
  color: var(--ps-ink);
}

.ps-mock--store {
  background: #fff;
  position: relative;
  z-index: 1;
}

.ps-mock--store-live {
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px rgba(15, 23, 42, 0.08),
    0 28px 64px rgba(14, 165, 233, 0.08);
}

.ps-store-demo {
  position: relative;
  max-width: 36rem;
  margin-inline: auto;
}

.ps-store-demo__glow {
  position: absolute;
  inset: -8% -4% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 60% 55% at 30% 40%, rgba(34, 211, 238, 0.18), transparent 70%),
    radial-gradient(ellipse 50% 45% at 80% 20%, rgba(129, 140, 248, 0.12), transparent 65%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
  animation: ps-glow-breathe 6s ease-in-out infinite;
}

.ps-mock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(180deg, #fbfcfd 0%, #f6f8fa 100%);
  border-bottom: 1px solid var(--ps-border);
}

.ps-mock__brand {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ps-ink);
}

.ps-mock__nav {
  display: none;
  gap: 0.85rem;
  font-size: 0.6875rem;
  color: var(--ps-grey);
}

.ps-mock__nav-active {
  color: var(--ps-ink);
  font-weight: 600;
}

@media (min-width: 640px) {
  .ps-mock__nav {
    display: flex;
  }
}

.ps-mock__icons {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ps-grey);
}

.ps-mock__cart {
  position: relative;
  display: inline-flex;
}

.ps-mock__cart-badge {
  position: absolute;
  top: -0.45rem;
  right: -0.55rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5625rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ps-mock__cart-badge.is-visible {
  opacity: 1;
  transform: scale(1);
}

.ps-mock__cart-badge.is-bump {
  animation: ps-badge-bump 0.45s ease;
}

.ps-mock__body {
  padding: 1rem;
}

.ps-mock__body--split {
  display: grid;
  gap: 1rem;
}

@media (min-width: 520px) {
  .ps-mock__body--split {
    grid-template-columns: 1fr 1.05fr;
    gap: 1.15rem;
    padding: 1.15rem;
  }
}

.ps-mock__gallery {
  min-width: 0;
}

.ps-mock__stage {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 50% 35%, #ffffff 0%, #f1f5f9 55%, #e8eef5 100%);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.ps-mock__live-pill {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0f766e;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 118, 110, 0.15);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.ps-mock__live-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: ps-live-pulse 1.8s ease-out infinite;
}

.ps-mock__img-stack {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.ps-mock__product-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.ps-mock__img-stack .ps-mock__product-img.is-active {
  opacity: 1;
  transform: scale(1);
  animation: ps-img-float 5.5s ease-in-out infinite;
}

.ps-mock__thumbs {
  display: flex;
  gap: 0.4rem;
  padding: 0.55rem 0.65rem 0.7rem;
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(15, 23, 42, 0.04);
}

.ps-mock__thumb {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1.5px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: default;
  opacity: 0.7;
  transition: border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.ps-mock__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-mock__thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
}

.ps-mock__details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ps-mock__collection {
  margin: 0 0 0.3rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.ps-mock__product-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ps-ink);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ps-mock__product-title.is-swap {
  opacity: 0;
  transform: translateY(4px);
}

.ps-mock__rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
  font-size: 0.6875rem;
  color: #94a3b8;
}

.ps-mock__stars {
  color: #f59e0b;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

.ps-mock__product-price {
  margin: 0 0 0.85rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
}

.ps-mock__product-price s {
  margin-left: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
}

.ps-mock__variants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.ps-mock__variant {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem 0.35rem 0.4rem;
  font-size: 0.6875rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--ps-grey);
  background: #fff;
  border: 1px solid var(--ps-border);
  border-radius: 999px;
  cursor: default;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.ps-mock__swatch {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--swatch, #cbd5e1);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.ps-mock__variant.is-active,
.ps-mock__variant--active {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.06);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.ps-mock__pincode {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.ps-mock__pincode input {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.7rem;
  font-size: 0.75rem;
  font-family: inherit;
  border: 1px solid var(--ps-border);
  border-radius: 8px;
  background: #fff;
  color: var(--ps-ink);
}

.ps-mock__pincode.is-focus input {
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.ps-mock__check-btn {
  position: relative;
  min-width: 4.25rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--white);
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: default;
  overflow: hidden;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ps-mock__check-btn.is-loading .ps-mock__check-label {
  opacity: 0;
}

.ps-mock__check-btn.is-loading .ps-mock__check-spinner {
  opacity: 1;
}

.ps-mock__check-btn.is-press {
  transform: scale(0.96);
}

.ps-mock__check-spinner {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: ps-spin 0.7s linear infinite;
}

.ps-mock__delivery {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0 0 0.9rem;
  min-height: 1.1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.4;
  color: #0f766e;
}

.ps-mock--store-live .ps-mock__delivery {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.ps-mock--store-live .ps-mock__delivery.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ps-mock__delivery svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.ps-mock__cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.7rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(180deg, #22d3ee 0%, #0ea5e9 55%, #818cf8 100%);
  border: none;
  border-radius: 10px;
  cursor: default;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.28);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ps-mock__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  transform: translateX(-120%);
}

.ps-mock__cta.is-shine::after {
  animation: ps-cta-shine 0.85s ease;
}

.ps-mock__cta.is-press {
  transform: scale(0.98);
}

.ps-mock__cta.is-added {
  background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 100%);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.28);
}

.ps-mock__cta-done {
  display: none;
}

.ps-mock__cta.is-added .ps-mock__cta-label {
  display: none;
}

.ps-mock__cta.is-added .ps-mock__cta-done {
  display: inline;
}

.ps-mock__footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.15rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ps-border);
  font-size: 0.625rem;
  color: #94a3b8;
}

.ps-store-demo.is-inview .ps-mock--store-live {
  animation: ps-mock-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ps-glow-breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes ps-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes ps-img-float {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.02) translateY(-4px); }
}

@keyframes ps-badge-bump {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.35); }
  70% { transform: scale(0.92); }
}

@keyframes ps-spin {
  to { transform: rotate(360deg); }
}

@keyframes ps-cta-shine {
  to { transform: translateX(120%); }
}

@keyframes ps-mock-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ps-store-demo__glow,
  .ps-mock__live-dot,
  .ps-mock__img-stack .ps-mock__product-img.is-active,
  .ps-store-demo.is-inview .ps-mock--store-live {
    animation: none;
  }

  .ps-mock__product-img {
    transition: none;
  }

  .ps-mock--store-live .ps-mock__delivery {
    opacity: 1;
    transform: none;
  }
}

/* Admin panel mock */

.ps-mock__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--ps-border);
}

.ps-mock--admin .ps-mock__toolbar,
.ps-mock:not(.ps-mock--store):not(.ps-mock--dual) .ps-mock__toolbar {
  background: #fff;
}

.ps-mock__toolbar-title {
  font-size: 0.8125rem;
  font-weight: 600;
}

.ps-mock__toolbar-badge {
  padding: 0.2rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(14, 165, 233, 0.1);
  border-radius: 999px;
}

.ps-mock__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.6875rem;
}

.ps-mock__table th,
.ps-mock__table td {
  padding: 0.55rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--ps-border);
}

.ps-mock__table th {
  font-weight: 600;
  color: var(--ps-grey);
  background: #fff;
}

.ps-mock__table tr:last-child td {
  border-bottom: none;
}

.ps-mock__tag {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-size: 0.625rem;
  font-weight: 600;
  border-radius: 4px;
}

.ps-mock__tag--green {
  color: var(--accent-hover);
  background: var(--ps-accent-soft);
}

.ps-mock__tag--blue {
  color: var(--accent);
  background: var(--ps-accent-soft);
}

.ps-mock__tag--amber {
  color: var(--accent-purple);
  background: rgba(129, 140, 248, 0.12);
}

/* Checkout mock */

.ps-mock__checkout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--ps-border);
}

.ps-mock__checkout-row:last-child {
  border-bottom: none;
}

.ps-mock__pay-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.ps-mock__pay-opt {
  padding: 0.65rem;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  border: 1px solid var(--ps-border);
  border-radius: 8px;
  background: #fff;
}

.ps-mock__pay-opt--active {
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.06);
  color: var(--accent);
}

.ps-mock__discount {
  display: flex;
  gap: 0.35rem;
  margin: 0.85rem 0;
}

.ps-mock__discount input {
  flex: 1;
  padding: 0.45rem 0.65rem;
  font-size: 0.6875rem;
  font-family: inherit;
  border: 1px dashed var(--accent);
  border-radius: 6px;
  background: rgba(14, 165, 233, 0.04);
}

.ps-mock__summary {
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--ps-border);
  border-radius: 8px;
}

.ps-mock__summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 0.6875rem;
  color: var(--ps-grey);
}

.ps-mock__summary-row--total {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--ps-border);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ps-ink);
}

/* Customer + POS split mock */

.ps-mock--dual {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--ps-surface);
}

@media (min-width: 520px) {
  .ps-mock--dual {
    grid-template-columns: 1fr 1fr;
  }
}

.ps-mock__panel {
  padding: 0.85rem;
  background: #fff;
  border: 1px solid var(--ps-border);
  border-radius: 10px;
}

.ps-mock__panel-head {
  margin-bottom: 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ps-grey);
}

.ps-mock__profile {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.ps-mock__avatar {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}

.ps-mock__profile-name {
  font-size: 0.8125rem;
  font-weight: 700;
}

.ps-mock__profile-meta {
  font-size: 0.625rem;
  color: var(--ps-grey);
}

.ps-mock__stat-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.6875rem;
  border-bottom: 1px solid #f1f5f9;
}

.ps-mock__pos-item {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.6875rem;
  border-bottom: 1px solid #f1f5f9;
}

/* —— Shared feature demos (catalog → customers) —— */

.ps-feat-demo {
  position: relative;
  max-width: 36rem;
  margin-inline: auto;
}

.ps-feat-demo__glow {
  position: absolute;
  inset: -8% -4% auto;
  height: 65%;
  background:
    radial-gradient(ellipse 55% 50% at 25% 40%, rgba(34, 211, 238, 0.16), transparent 70%),
    radial-gradient(ellipse 45% 40% at 85% 15%, rgba(129, 140, 248, 0.1), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
  animation: ps-glow-breathe 6s ease-in-out infinite;
}

.ps-feat-demo__glow--alt {
  background:
    radial-gradient(ellipse 55% 50% at 70% 30%, rgba(34, 211, 238, 0.14), transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 60%, rgba(16, 185, 129, 0.08), transparent 65%);
}

.ps-mock--live {
  position: relative;
  z-index: 1;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px rgba(15, 23, 42, 0.07),
    0 24px 56px rgba(14, 165, 233, 0.06);
}

.ps-feat-demo.is-inview .ps-mock--live {
  animation: ps-mock-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ps-mock__toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.ps-mock__toolbar-thumb {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.ps-mock__toolbar-sub {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.625rem;
  font-weight: 500;
  color: #94a3b8;
}

.ps-mock__toolbar-badge--sim {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ps-mock__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.65rem 1rem 0;
}

.ps-mock__chip {
  padding: 0.2rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(14, 165, 233, 0.08);
  border-radius: 999px;
}

.ps-mock__chip--soft {
  color: #64748b;
  background: #f1f5f9;
}

.ps-mock__table--rich {
  margin-top: 0.35rem;
}

.ps-mock__table--rich tbody tr {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.ps-mock__table--rich tbody tr.is-active {
  background: rgba(14, 165, 233, 0.06);
  box-shadow: inset 3px 0 0 var(--accent);
}

.ps-mock__var-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--ps-ink);
}

.ps-mock__stock {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.3s ease;
}

.ps-mock__stock.is-low {
  color: #d97706;
}

.ps-mock__stock.is-bump {
  animation: ps-badge-bump 0.45s ease;
}

.ps-mock__footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #64748b;
  background: #f8fafc;
  border-top: 1px solid var(--ps-border);
}

.ps-mock__pulse-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: ps-live-pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}

.ps-mock__cart-lines {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.ps-mock__cart-line {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.45rem;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 10px;
}

.ps-mock__cart-line img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 7px;
  object-fit: cover;
}

.ps-mock__cart-line strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ps-ink);
  line-height: 1.25;
}

.ps-mock__cart-line span {
  font-size: 0.625rem;
  color: #94a3b8;
}

.ps-mock__cart-line em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ps-ink);
}

.ps-mock__pay-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.ps-mock__pay-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.65rem 0.7rem;
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--ps-grey);
  border: 1px solid var(--ps-border);
  border-radius: 10px;
  background: #fff;
  cursor: default;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.ps-mock__pay-icon {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.ps-mock__pay-opt.is-active,
.ps-mock__pay-opt--active {
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.06);
  color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.ps-mock__pay-opt.is-active .ps-mock__pay-icon {
  color: var(--accent);
}

.ps-mock__ship-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.ps-mock__ship-opt {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0.65rem;
  text-align: left;
  font-family: inherit;
  border: 1px solid var(--ps-border);
  border-radius: 10px;
  background: #fff;
  cursor: default;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.ps-mock__ship-opt strong {
  font-size: 0.75rem;
  color: var(--ps-ink);
}

.ps-mock__ship-opt span {
  font-size: 0.625rem;
  color: #94a3b8;
}

.ps-mock__ship-opt.is-active {
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.05);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.08);
}

.ps-mock__discount {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0.5rem 0.7rem;
  border: 1px dashed rgba(14, 165, 233, 0.35);
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.04);
}

.ps-mock__discount-code {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
}

.ps-mock__discount-label {
  font-size: 0.6875rem;
  color: #64748b;
}

.ps-mock__discount.is-flash {
  animation: ps-discount-flash 0.6s ease;
}

.ps-mock__summary [data-ps-co-total],
.ps-mock__summary [data-ps-co-ship-amt],
.ps-mock__summary [data-ps-co-disc] {
  transition: transform 0.25s ease, color 0.25s ease;
}

.ps-mock__summary .is-tick {
  animation: ps-badge-bump 0.4s ease;
  color: var(--accent);
}

.ps-mock__sim-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0.75rem 1rem 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.6875rem;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.06), rgba(129, 140, 248, 0.05));
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: 10px;
}

.ps-mock__sim-bar span {
  color: #94a3b8;
}

.ps-mock__sim-bar strong {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--ps-ink);
  min-width: 3.5rem;
}

.ps-mock__sim-bar em {
  font-style: normal;
  font-weight: 600;
  color: #0f766e;
  margin-left: auto;
}

.ps-mock__sim-bar.is-swap em,
.ps-mock__sim-bar.is-swap strong {
  animation: ps-text-swap 0.45s ease;
}

.ps-mock__kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.75rem 1rem 0;
}

.ps-mock__kpi {
  padding: 0.65rem 0.75rem;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 10px;
}

.ps-mock__kpi span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.625rem;
  color: #94a3b8;
}

.ps-mock__kpi strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ps-ink);
  font-variant-numeric: tabular-nums;
}

.ps-mock__kpi strong.is-tick {
  animation: ps-badge-bump 0.4s ease;
  color: var(--accent);
}

.ps-mock__code {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(14, 165, 233, 0.08);
  border-radius: 5px;
}

.ps-mock__bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  height: 3.25rem;
  padding: 0.65rem 1rem 0.85rem;
}

.ps-mock__bar-chart span {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #22d3ee 0%, var(--accent) 100%);
  transform-origin: bottom;
  transform: scaleY(0.15);
  opacity: 0.45;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.ps-feat-demo.is-inview .ps-mock__bar-chart span {
  transform: scaleY(1);
  opacity: 1;
}

.ps-feat-demo.is-inview .ps-mock__bar-chart span:nth-child(2) {
  transition-delay: 0.08s;
}

.ps-feat-demo.is-inview .ps-mock__bar-chart span:nth-child(3) {
  transition-delay: 0.16s;
}

.ps-mock__bar-chart span.is-active {
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.25);
  opacity: 1;
}

/* —— Discounts: coupon-ticket performance board —— */

.ps-disc-demo {
  max-width: 38rem;
}

.ps-disc-stage {
  position: relative;
  z-index: 1;
}

.ps-disc-board .ps-mock__toolbar {
  border-radius: 12px 12px 0 0;
}

.ps-disc-board__icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  color: var(--accent);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.16);
  border-radius: 9px;
}

.ps-disc-kpis {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr;
  gap: 0.55rem;
  padding: 0.85rem 1rem 0.25rem;
}

.ps-disc-kpi {
  padding: 0.65rem 0.75rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 10px;
}

.ps-disc-kpi span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.625rem;
  font-weight: 500;
  color: #94a3b8;
}

.ps-disc-kpi strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ps-ink);
  font-variant-numeric: tabular-nums;
}

.ps-disc-kpi strong.is-tick {
  animation: ps-badge-bump 0.4s ease;
  color: var(--accent);
}

.ps-disc-kpi--spark {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ps-disc-spark {
  display: flex;
  align-items: flex-end;
  gap: 0.3rem;
  height: 1.65rem;
  margin-top: 0.15rem;
}

.ps-disc-spark i {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, #22d3ee 0%, var(--accent) 100%);
  transform-origin: bottom;
  transform: scaleY(0.2);
  opacity: 0.45;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, box-shadow 0.3s ease;
}

.ps-feat-demo.is-inview .ps-disc-spark i {
  transform: scaleY(1);
  opacity: 1;
}

.ps-feat-demo.is-inview .ps-disc-spark i:nth-child(2) { transition-delay: 0.07s; }
.ps-feat-demo.is-inview .ps-disc-spark i:nth-child(3) { transition-delay: 0.14s; }

.ps-disc-spark i.is-active {
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.28);
  opacity: 1;
}

.ps-disc-tickets {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.75rem 1rem 0.35rem;
}

.ps-disc-ticket {
  display: grid;
  grid-template-columns: 5.1rem minmax(0, 1fr);
  min-height: 4.35rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ps-disc-ticket.is-active {
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow:
    0 0 0 1px rgba(14, 165, 233, 0.12),
    0 10px 28px rgba(14, 165, 233, 0.12);
  transform: translateY(-1px);
}

.ps-disc-ticket__stub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.65rem 0.4rem;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0.7rem, transparent 5px, #0ea5e9 5.5px),
    radial-gradient(circle at 100% calc(100% - 0.7rem), transparent 5px, #0ea5e9 5.5px),
    linear-gradient(160deg, #22d3ee 0%, #38bdf8 55%, #0ea5e9 100%);
  text-align: center;
}

.ps-disc-ticket:nth-child(2) .ps-disc-ticket__stub {
  background:
    radial-gradient(circle at 100% 0.7rem, transparent 5px, #38bdf8 5.5px),
    radial-gradient(circle at 100% calc(100% - 0.7rem), transparent 5px, #38bdf8 5.5px),
    linear-gradient(160deg, #38bdf8 0%, #0ea5e9 55%, #0284c7 100%);
}

.ps-disc-ticket:nth-child(3) .ps-disc-ticket__stub {
  background:
    radial-gradient(circle at 100% 0.7rem, transparent 5px, #818cf8 5.5px),
    radial-gradient(circle at 100% calc(100% - 0.7rem), transparent 5px, #818cf8 5.5px),
    linear-gradient(160deg, #818cf8 0%, #818cf8 55%, #818cf8 100%);
}

.ps-disc-ticket__stub::after {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  right: -1px;
  width: 0;
  border-right: 1.5px dashed rgba(255, 255, 255, 0.45);
}

.ps-disc-ticket__stub em {
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.ps-disc-ticket__stub span {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.ps-disc-ticket__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.65rem 0.8rem 0.7rem;
  background:
    radial-gradient(circle at 0 0.7rem, transparent 5px, #fff 5.5px),
    radial-gradient(circle at 0 calc(100% - 0.7rem), transparent 5px, #fff 5.5px);
}

.ps-disc-ticket__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ps-disc-ticket__code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ps-ink);
}

.ps-disc-ticket__rank {
  font-size: 0.625rem;
  font-weight: 700;
  color: #94a3b8;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: #f1f5f9;
}

.ps-disc-ticket.is-active .ps-disc-ticket__rank {
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.12);
}

.ps-disc-ticket__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.625rem;
  color: #94a3b8;
}

.ps-disc-ticket__stats b {
  font-weight: 700;
  color: #475569;
  font-variant-numeric: tabular-nums;
}

.ps-disc-ticket__meter {
  height: 4px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.ps-disc-ticket__meter i {
  display: block;
  width: var(--w, 40%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee, #0ea5e9);
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ps-feat-demo.is-inview .ps-disc-ticket__meter i {
  transform: scaleX(1);
}

.ps-feat-demo.is-inview .ps-disc-ticket:nth-child(2) .ps-disc-ticket__meter i { transition-delay: 0.08s; }
.ps-feat-demo.is-inview .ps-disc-ticket:nth-child(3) .ps-disc-ticket__meter i { transition-delay: 0.16s; }

.ps-disc-ticket.is-active .ps-disc-ticket__meter i {
  background: linear-gradient(90deg, #22d3ee, #818cf8);
}

.ps-disc-board__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.25rem;
  padding: 0.7rem 1rem 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.ps-disc-board__hint {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
  transition: color 0.3s ease;
}

.ps-disc-board__hint.is-tick {
  color: #0ea5e9;
  animation: ps-badge-bump 0.4s ease;
}

.ps-disc-float {
  position: absolute;
  top: -0.65rem;
  right: -0.35rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 11.5rem;
  padding: 0.55rem 0.75rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 28px rgba(15, 23, 42, 0.1);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ps-feat-demo.is-inview .ps-disc-float {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: ps-disc-float 5.5s ease-in-out 0.6s infinite;
}

.ps-disc-float__dot {
  width: 0.55rem;
  height: 0.55rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

.ps-disc-float strong {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ps-ink);
}

.ps-disc-float em {
  display: block;
  margin-top: 0.1rem;
  font-style: normal;
  font-size: 0.625rem;
  font-weight: 500;
  color: #94a3b8;
}

@keyframes ps-disc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 640px) {
  .ps-disc-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .ps-disc-kpi--spark {
    grid-column: 1 / -1;
  }

  .ps-disc-ticket {
    grid-template-columns: 4.35rem minmax(0, 1fr);
  }

  .ps-disc-float {
    right: 0.35rem;
    top: -0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ps-feat-demo.is-inview .ps-disc-float {
    animation: none;
  }

  .ps-feat-demo.is-inview .ps-disc-spark i,
  .ps-feat-demo.is-inview .ps-disc-ticket__meter i {
    transform: none;
    opacity: 1;
  }
}

.ps-mock__vip {
  color: #d97706;
  font-weight: 700;
}

.ps-mock__sync-toast {
  margin-top: 0.65rem;
  padding: 0.4rem 0.55rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: #0f766e;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ps-mock__sync-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ps-mock__pos-item.is-enter {
  opacity: 0;
  transform: translateX(8px);
}

.ps-feat-demo.is-inview .ps-mock__pos-item.is-enter {
  animation: ps-pos-enter 0.45s ease forwards;
}

.ps-feat-demo.is-inview .ps-mock__pos-item.is-enter:nth-child(2) { animation-delay: 0.08s; }
.ps-feat-demo.is-inview .ps-mock__pos-item.is-enter:nth-child(3) { animation-delay: 0.16s; }
.ps-feat-demo.is-inview .ps-mock__pos-item.is-enter:nth-child(4) { animation-delay: 0.24s; }

.ps-mock__pos-total {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e5e7eb;
}

.ps-mock__cta--pos {
  margin-top: 0.75rem;
}

.ps-mock__stat-row strong.is-tick {
  animation: ps-badge-bump 0.4s ease;
  color: var(--accent);
}

@keyframes ps-discount-flash {
  0%, 100% { background: rgba(14, 165, 233, 0.04); }
  50% { background: rgba(14, 165, 233, 0.14); }
}

@keyframes ps-text-swap {
  0% { opacity: 0.3; transform: translateY(3px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes ps-pos-enter {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ps-feat-demo__glow,
  .ps-feat-demo.is-inview .ps-mock--live,
  .ps-mock__pulse-dot,
  .ps-feat-demo.is-inview .ps-mock__pos-item.is-enter {
    animation: none;
  }

  .ps-feat-demo.is-inview .ps-mock__bar-chart span,
  .ps-mock__pos-item.is-enter,
  .ps-mock__sync-toast {
    opacity: 1;
    transform: none;
  }
}

.ps-feature--alt {
  background: var(--ps-surface);
}

/* —— AI Theme Builder mock (chat + live preview) —— */

.ps-mock--theme {
  overflow: hidden;
}

.ps-feat-demo:has(.ps-mock--theme) {
  max-width: 42rem;
}

.ps-mock__ai-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  color: var(--accent);
  background: rgba(14, 165, 233, 0.12);
  flex-shrink: 0;
}

.ps-theme__split {
  display: grid;
  gap: 0;
  min-height: 22rem;
}

@media (min-width: 560px) {
  .ps-theme__split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
}

.ps-theme__chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.75rem;
  border-bottom: 1px solid #eef2f7;
  background: #fbfcfd;
}

@media (min-width: 560px) {
  .ps-theme__chat {
    border-bottom: none;
    border-right: 1px solid #eef2f7;
  }
}

.ps-theme__thread {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  min-height: 9.5rem;
  max-height: 12.5rem;
  overflow: hidden;
  margin-bottom: 0.65rem;
  padding-right: 0.15rem;
}

.ps-theme__msg {
  max-width: 95%;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ps-theme__msg.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ps-theme__msg--user {
  align-self: flex-end;
  color: #fff;
  background: linear-gradient(180deg, #22d3ee 0%, #0ea5e9 55%, #818cf8 100%);
  border-bottom-right-radius: 4px;
}

.ps-theme__msg--ai {
  align-self: flex-start;
  color: var(--ps-ink);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.ps-theme__msg--ai.is-typing {
  min-width: 3.5rem;
}

.ps-theme__msg-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

.ps-theme__msg p {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.45;
}

.ps-theme__typing {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.15rem 0;
}

.ps-theme__typing i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #94a3b8;
  animation: ps-typing-dot 1s ease-in-out infinite;
}

.ps-theme__typing i:nth-child(2) { animation-delay: 0.15s; }
.ps-theme__typing i:nth-child(3) { animation-delay: 0.3s; }

.ps-theme__composer {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  padding: 0.45rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.ps-theme__composer.is-focus {
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.ps-theme__composer-box {
  flex: 1;
  min-width: 0;
  min-height: 2.4rem;
  max-height: 4.5rem;
  padding: 0.4rem 0.35rem;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--ps-ink);
  overflow: hidden;
}

.ps-theme__caret {
  display: inline-block;
  width: 1.5px;
  height: 0.85em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: var(--accent);
  animation: ps-caret-blink 1s steps(1) infinite;
}

.ps-theme__send {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: default;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ps-theme__send.is-press {
  transform: scale(0.94);
}

.ps-theme__send.is-loading .ps-theme__send-icon {
  opacity: 0;
}

.ps-theme__send.is-loading .ps-theme__send-spin {
  opacity: 1;
}

.ps-theme__send-spin {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: ps-spin 0.7s linear infinite;
}

.ps-theme__hints {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.5rem;
}

.ps-theme__hints span {
  padding: 0.2rem 0.45rem;
  font-size: 0.5625rem;
  font-weight: 600;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  opacity: 0.55;
  transition: opacity 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.ps-theme__hints span.is-active {
  opacity: 1;
  color: var(--accent);
  border-color: rgba(14, 165, 233, 0.35);
  background: rgba(14, 165, 233, 0.06);
}

.ps-theme__preview {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.75rem;
  background: #fff;
}

.ps-theme__preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.ps-theme__preview-head em {
  font-style: normal;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  background: rgba(14, 165, 233, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.ps-theme__browser {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  flex: 1;
}

.ps-theme__chrome {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.65rem;
  background: #f8fafc;
  border-bottom: 1px solid #eef2f7;
}

.ps-theme__chrome span {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #cbd5e1;
}

.ps-theme__chrome span:nth-child(1) { background: #f87171; }
.ps-theme__chrome span:nth-child(2) { background: #fbbf24; }
.ps-theme__chrome span:nth-child(3) { background: #4ade80; }

.ps-theme__chrome em {
  margin-left: 0.45rem;
  font-style: normal;
  font-size: 0.625rem;
  color: #94a3b8;
}

.ps-theme__canvas {
  --theme-accent: #c2410c;
  --theme-accent-soft: color-mix(in srgb, var(--theme-accent) 14%, #fff);
  --theme-tile-mix: 22%;
  --theme-hero-size: 0.8125rem;
  --theme-hero-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.65rem;
  background: #f1f5f9;
  min-height: 12.5rem;
  transition: background 0.4s ease;
}

.ps-theme__canvas[data-theme-mode="soft"] {
  --theme-tile-mix: 16%;
  --theme-hero-size: 0.8125rem;
  --theme-hero-weight: 600;
  background: #f7f4f1;
}

.ps-theme__canvas[data-theme-mode="bold"] {
  --theme-tile-mix: 42%;
  --theme-hero-size: 1.05rem;
  --theme-hero-weight: 800;
  background: color-mix(in srgb, var(--theme-accent) 8%, #faf5f2);
}

.ps-theme__canvas[data-theme-mode="trust"] {
  --theme-tile-mix: 28%;
  --theme-hero-size: 0.95rem;
  --theme-hero-weight: 700;
  background: #f6f3ef;
}

.ps-theme__canvas.is-updating {
  animation: ps-preview-flash 0.55s ease;
}

.ps-theme__block {
  position: relative;
  padding: 0.55rem 0.65rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  opacity: 0.35;
  transform: translateY(6px) scale(0.98);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background 0.35s ease, box-shadow 0.35s ease;
}

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

.ps-theme__block.is-active {
  border-color: color-mix(in srgb, var(--theme-accent) 45%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--theme-accent) 12%, transparent);
}

.ps-theme__block[hidden] {
  display: none !important;
}

.ps-theme__block-label {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.ps-theme__block--hero {
  background: linear-gradient(135deg, var(--theme-accent-soft), #fff 58%);
  min-height: 3.4rem;
}

.ps-theme__canvas[data-theme-mode="bold"] .ps-theme__block--hero {
  background: linear-gradient(145deg, color-mix(in srgb, var(--theme-accent) 28%, #fff) 0%, #fff7ed 45%, #fff 100%);
  border-color: color-mix(in srgb, var(--theme-accent) 22%, transparent);
  padding: 0.7rem 0.75rem;
}

.ps-theme__block--hero strong {
  display: block;
  font-size: var(--theme-hero-size);
  font-weight: var(--theme-hero-weight);
  color: var(--ps-ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
  transition: font-size 0.35s ease, letter-spacing 0.35s ease;
}

.ps-theme__canvas[data-theme-mode="bold"] .ps-theme__block--hero strong {
  letter-spacing: -0.045em;
}

.ps-theme__block--hero em {
  display: inline-flex;
  align-items: center;
  margin-top: 0.3rem;
  padding: 0.18rem 0.45rem;
  font-style: normal;
  font-size: 0.625rem;
  color: #fff;
  font-weight: 600;
  background: var(--theme-accent);
  border-radius: 999px;
  transition: background 0.35s ease, transform 0.35s ease;
}

.ps-theme__canvas[data-theme-mode="soft"] .ps-theme__block--hero em {
  color: var(--theme-accent);
  background: color-mix(in srgb, var(--theme-accent) 12%, #fff);
}

.ps-theme__canvas[data-theme-mode="bold"] .ps-theme__block--hero em {
  transform: scale(1.04);
  box-shadow: 0 4px 10px color-mix(in srgb, var(--theme-accent) 28%, transparent);
}

.ps-theme__tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.ps-theme__tiles i {
  display: block;
  aspect-ratio: 1;
  border-radius: 5px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--theme-accent) var(--theme-tile-mix), transparent), color-mix(in srgb, var(--theme-accent) calc(var(--theme-tile-mix) + 8%), transparent)),
    var(--img) center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
  transition: background 0.35s ease, filter 0.35s ease, transform 0.35s ease;
}

.ps-theme__canvas[data-theme-mode="bold"] .ps-theme__tiles i {
  filter: saturate(1.15) contrast(1.05);
  transform: scale(1.02);
}

.ps-theme__canvas[data-theme-mode="soft"] .ps-theme__tiles i {
  filter: saturate(0.9);
}

.ps-theme__block--trust {
  background: color-mix(in srgb, var(--theme-accent) 6%, #fff);
  border-style: dashed;
  border-color: color-mix(in srgb, var(--theme-accent) 25%, #e2e8f0);
}

.ps-theme__trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.ps-theme__trust-row span {
  padding: 0.18rem 0.4rem;
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--theme-accent);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--theme-accent) 18%, #e2e8f0);
  border-radius: 999px;
}

.ps-theme__block--story p {
  margin: 0;
  font-size: 0.6875rem;
  color: #64748b;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.ps-theme__canvas[data-theme-mode="trust"] .ps-theme__block--story p {
  color: #78716c;
  font-style: italic;
}

.ps-theme__palette {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  padding: 0.15rem 0 0;
}

.ps-theme__swatch {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--c);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
  opacity: 0.5;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ps-theme__swatch.is-active {
  opacity: 1;
  transform: scale(1.12);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.35);
}

@keyframes ps-caret-blink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes ps-typing-dot {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

@keyframes ps-preview-flash {
  0% { filter: brightness(1); }
  40% { filter: brightness(1.04); }
  100% { filter: brightness(1); }
}

@media (prefers-reduced-motion: reduce) {
  .ps-theme__caret,
  .ps-theme__typing i {
    animation: none;
  }

  .ps-theme__msg,
  .ps-theme__block {
    opacity: 1;
    transform: none;
  }
}

/* —— Section 9: Connected diagram —— */

.ps-connected {
  padding: var(--ps-section-y) 0;
  text-align: center;
  background: var(--white);
  border-top: 1px solid var(--ps-border);
}

.ps-connected__inner {
  width: min(52rem, 92vw);
  margin-inline: auto;
}

.ps-connected__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.ps-connected__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ps-ink);
}

.ps-connected__sub {
  margin: 0 0 2.5rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ps-grey);
}

.ps-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.35rem;
  margin-bottom: 1.25rem;
}

.ps-flow__pill {
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ps-ink);
  background: #fff;
  border: 1px solid var(--ps-border);
  border-radius: 8px;
  white-space: nowrap;
}

.ps-flow__pill--active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.ps-flow__arrow {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
}

.ps-connected__note {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ps-grey);
}

/* —— Section 10: India-first dark strip —— */

.ps-india {
  padding: var(--ps-section-y) 0;
  color: var(--white);
  background: var(--ink);
  text-align: center;
}

.ps-india__inner {
  width: min(var(--ps-max), 92vw);
  margin-inline: auto;
}

.ps-india__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.ps-india__title {
  max-width: 40rem;
  margin: 0 auto 2.25rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.ps-india__grid {
  display: grid;
  gap: 1.25rem;
  text-align: left;
  align-items: stretch;
}

@media (min-width: 768px) {
  .ps-india__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.ps-india__card {
  height: 100%;
  padding: 1.5rem 1.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.ps-india__card-icon {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.ps-india__card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.ps-india__card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* —— Section 12: Comparison table —— */

.ps-compare {
  padding: var(--ps-section-y) 0;
  background: var(--white);
  text-align: center;
}

.ps-compare__inner {
  width: min(var(--ps-max), 92vw);
  margin-inline: auto;
}

.ps-compare__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.ps-compare__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ps-ink);
}

.ps-compare__sub {
  max-width: 34rem;
  margin: 0 auto 2rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ps-grey);
}

.ps-compare__table-wrap {
  overflow-x: auto;
  max-width: 58rem;
  margin: 0 auto 1.25rem;
  text-align: left;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
  background: var(--white);
}

.ps-compare__table {
  width: 100%;
  min-width: 40rem;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
  table-layout: fixed;
}

.ps-compare__table th,
.ps-compare__table td {
  padding: 1.05rem 1.15rem;
  border-bottom: 1px solid #eef2f7;
  vertical-align: middle;
}

.ps-compare__table tbody tr:last-child th,
.ps-compare__table tbody tr:last-child td {
  border-bottom: none;
}

.ps-compare__table thead th {
  padding: 1.15rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.ps-compare__th-topic {
  width: 30%;
}

.ps-compare__th-shopify {
  width: 28%;
}

.ps-compare__th-sg {
  width: 42%;
  color: var(--accent) !important;
  background: rgba(14, 165, 233, 0.07) !important;
  border-left: 1px solid rgba(14, 165, 233, 0.18);
  border-right: 1px solid rgba(14, 165, 233, 0.18);
  border-top: 1px solid rgba(14, 165, 233, 0.18);
  border-top-right-radius: 15px;
}

.ps-compare__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.ps-compare__brand-logo {
  width: 1.25rem;
  height: 1.4rem;
  object-fit: contain;
  flex-shrink: 0;
}

.ps-compare__brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent);
  flex-shrink: 0;
}

.ps-compare__topic {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--ps-ink);
  text-align: left;
}

.ps-compare__topic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  flex-shrink: 0;
}

.ps-compare__topic-icon--orders {
  background: #ecfeff;
  color: var(--accent);
}

.ps-compare__topic-icon--customers {
  background: #ecfdf5;
  color: #059669;
}

.ps-compare__topic-icon--inventory {
  background: #f5f3ff;
  color: #818cf8;
}

.ps-compare__topic-icon--finance {
  background: #fff7ed;
  color: #ea580c;
}

.ps-compare__topic-icon--marketing {
  background: #fdf2f8;
  color: #db2777;
}

.ps-compare__topic-icon--checkout {
  background: #ecfeff;
  color: #0ea5e9;
}

.ps-compare__topic-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.ps-compare__topic-text strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ps-ink);
  line-height: 1.3;
}

.ps-compare__topic-text span {
  font-size: 0.8125rem;
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.35;
}

.ps-compare__table tbody td {
  color: #64748b;
  font-weight: 400;
  line-height: 1.45;
}

.ps-compare__table tbody td.ps-compare__sg {
  background: rgba(14, 165, 233, 0.05);
  border-left: 1px solid rgba(14, 165, 233, 0.16);
  border-right: 1px solid rgba(14, 165, 233, 0.16);
  color: var(--accent);
  font-weight: 500;
}

.ps-compare__table tbody tr:last-child td.ps-compare__sg {
  border-bottom: 1px solid rgba(14, 165, 233, 0.16);
  border-bottom-right-radius: 15px;
}

.ps-compare__win {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.ps-compare__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent);
  flex-shrink: 0;
}

.ps-compare__win-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.ps-compare__win-text strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0ea5e9;
  line-height: 1.3;
}

.ps-compare__win-text span {
  font-size: 0.8125rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.4;
}

.ps-compare__footnote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.8125rem;
  color: #94a3b8;
}

.ps-compare__footnote svg {
  flex-shrink: 0;
  color: #94a3b8;
}

@media (max-width: 720px) {
  .ps-compare__table {
    min-width: 36rem;
  }

  .ps-compare__table th,
  .ps-compare__table td {
    padding: 0.9rem 0.85rem;
  }

  .ps-compare__win-text span {
    display: none;
  }
}

/* —— Section 13: Final CTA —— */

.ps-cta {
  padding: var(--ps-section-y) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 55% 70% at 18% 50%, rgba(34, 211, 238, 0.07), transparent 58%),
    radial-gradient(ellipse 45% 60% at 82% 40%, rgba(129, 140, 248, 0.06), transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(224, 242, 254, 0.45), transparent 62%),
    var(--off-white);
}

.ps-cta__inner {
  width: min(40rem, 92vw);
  margin-inline: auto;
}

.ps-cta__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ps-ink);
}

.ps-cta__sub {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ps-grey);
}

.ps-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Ghost button */

.ps-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-h);
  padding: 0 1.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--accent-hover);
  text-decoration: none;
  background: var(--white);
  border: 1px solid rgba(14, 165, 233, 0.35);
  border-radius: var(--btn-r);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ps-btn-ghost:hover {
  background: var(--ps-accent-soft);
  border-color: var(--accent);
}

@media (max-width: 640px) {
  .ps-dash__products {
    grid-template-columns: repeat(2, 1fr);
  }

  .ps-flow__arrow {
    display: none;
  }

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

  .ps-feature {
    padding: clamp(3rem, 10vw, 4rem) 0;
  }

  .ps-feature__copy {
    max-width: none;
  }

  .ps-feature__body {
    font-size: 1rem;
  }

  .ps-hero__actions,
  .ps-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .ps-hero__actions .btn,
  .ps-hero__actions .ps-btn-ghost,
  .ps-cta__actions .btn,
  .ps-cta__actions .ps-btn-ghost {
    width: 100%;
    max-width: 20rem;
  }

  .ps-stat {
    padding: 1.15rem 0.75rem;
  }
}


/* —— Storefront premium hero (floating PDP) —— */

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .sf-hero__atmosphere {
  background:
    radial-gradient(ellipse 70% 50% at 12% 18%, rgba(14, 165, 233, 0.14) 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 12%, rgba(34, 211, 238, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 70% 70%, rgba(14, 165, 233, 0.07) 0%, transparent 60%),
    var(--ps-hero-wash);
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .sf-hero .ps-hero__orb--b {
  background: rgba(34, 211, 238, 0.18);
}

.sf-hero__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.55) 48%, transparent 56%);
  opacity: 0.35;
  mix-blend-mode: soft-light;
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .sf-hero .ps-hero__grid {
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 75% 65% at 70% 35%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 70% 35%, #000 15%, transparent 72%);
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .sf-hero {
  text-align: left;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .sf-hero::after {
  display: none;
}

.sf-hero__inner {
  display: grid;
  gap: clamp(2.25rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 960px) {
  .sf-hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(2.75rem, 5vw, 4.5rem);
  }
}

.sf-hero__copy {
  position: relative;
  max-width: 34rem;
  margin: 0;
}

@media (min-width: 960px) {
  .sf-hero__copy::before {
    content: '';
    position: absolute;
    left: -1.25rem;
    top: 0.35rem;
    bottom: 0.35rem;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.55), rgba(34, 211, 238, 0.15), transparent);
  }
}

.sf-hero__eyebrow {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(14, 165, 233, 0.22);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(14, 165, 233, 0.06);
}

.sf-hero__title {
  margin-left: 0;
  margin-right: 0;
  max-width: 13ch;
  font-size: clamp(2.35rem, 4.6vw, 3.55rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.sf-hero__title-accent {
  background: linear-gradient(105deg, #0f172a 0%, #0ea5e9 50%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sf-hero__lead {
  margin-left: 0;
  margin-right: 0;
  max-width: 31rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #64748b;
}

.sf-hero__actions {
  justify-content: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.sf-hero__actions .btn-primary {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

.sf-hero__actions .ps-btn-ghost {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.65);
}

.sf-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: #94a3b8;
}

.sf-hero__trust li {
  display: inline-flex;
  align-items: center;
}

.sf-hero__trust li:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 0.65rem;
  border-radius: 50%;
  background: #cbd5e1;
}

.sf-hero__visual {
  position: relative;
  max-width: 30rem;
  margin: 0;
  width: 100%;
  justify-self: end;
}

@media (max-width: 959px) {
  .sf-hero__visual {
    max-width: 24rem;
    margin-inline: auto;
    justify-self: center;
  }

  .sf-hero__copy::before {
    display: none;
  }

  .platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .sf-hero__actions {
    align-items: stretch;
  }

  .platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .sf-hero__actions .btn,
  .platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .sf-hero__actions .ps-btn-ghost {
    width: 100%;
    max-width: none;
  }
}

.sf-float {
  width: 100%;
}

.sf-float__stage {
  position: relative;
  min-height: clamp(26rem, 48vw, 32rem);
  padding: 1rem 0.35rem 1.25rem;
  overflow: visible;
  box-sizing: border-box;
}

.sf-float__glow {
  position: absolute;
  inset: 8% 0% 10% 6%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.24), transparent 68%);
  filter: blur(28px);
  pointer-events: none;
}

.sf-float__ring {
  position: absolute;
  top: 10%;
  right: 2%;
  width: min(90%, 22rem);
  height: min(80%, 25rem);
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 233, 0.12);
  box-shadow:
    inset 0 0 40px rgba(14, 165, 233, 0.04),
    0 0 60px rgba(34, 211, 238, 0.08);
  pointer-events: none;
  animation: sf-ring-breathe 6s ease-in-out infinite;
}

.sf-float-kpi {
  position: absolute;
  top: 0.85rem;
  right: 0.15rem;
  z-index: 3;
  width: 9.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 40px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(12px);
}

.sf-float-kpi.is-pulse {
  animation: sf-kpi-pulse 0.55s ease;
}

.sf-float-kpi__label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #94a3b8;
}

.sf-float-kpi strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #22d3ee, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sf-float-kpi em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  font-size: 0.625rem;
  font-weight: 600;
  color: #64748b;
}

.sf-float-pdp {
  position: relative;
  z-index: 2;
  width: min(100%, 18.5rem);
  margin: 2.75rem auto 0 0.35rem;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 24px 56px rgba(15, 23, 42, 0.1),
    0 40px 80px rgba(14, 165, 233, 0.08);
  backdrop-filter: blur(14px);
}

.sf-float-pdp__media {
  position: relative;
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  background: #f1f5f9;
}

.sf-float-pdp__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.45s ease, transform 0.6s ease;
}

.sf-float-pdp.is-swap .sf-float-pdp__media img {
  animation: sf-img-swap 0.5s ease;
}

.sf-float-pdp__live {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  color: #0ea5e9;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(14, 165, 233, 0.14);
  backdrop-filter: blur(8px);
}

.sf-float-pdp__live i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #10b981;
  animation: ps-live-pulse 1.8s ease-out infinite;
}

.sf-float-pdp__body {
  padding: 0.95rem 1rem 1.05rem;
}

.sf-float-pdp__collection {
  display: block;
  margin-bottom: 0.2rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.sf-float-pdp__body strong {
  display: block;
  font-size: 1.0625rem;
  letter-spacing: -0.03em;
  color: var(--ps-ink);
  line-height: 1.2;
}

.sf-float-pdp__price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0.4rem 0 0.7rem;
}

.sf-float-pdp__price span {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ps-ink);
}

.sf-float-pdp__price s {
  font-size: 0.8125rem;
  color: #94a3b8;
}

.sf-float-pdp__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.sf-float-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.12);
}

.sf-float-chip--cod {
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.14);
}

.sf-float-chip.is-flash {
  animation: sf-chip-flash 0.45s ease;
}

.sf-float-pdp__cta {
  width: 100%;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(145deg, #0f172a, #1e293b);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  cursor: default;
  transition: background 0.3s ease, transform 0.3s ease;
}

.sf-float-pdp__cta.is-added {
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  transform: scale(0.98);
}

.sf-float-toast {
  position: absolute;
  right: 0;
  bottom: 1.1rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: min(100%, 14.5rem);
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: linear-gradient(160deg, #22d3ee 0%, #38bdf8 50%, #818cf8 100%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(14, 165, 233, 0.3);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.sf-float-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sf-float-toast__icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.sf-float-toast strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: -0.01em;
}

.sf-float-toast em {
  display: block;
  margin-top: 0.1rem;
  font-style: normal;
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.8);
}

.ps-hero.is-ready .sf-float-pdp {
  animation: ps-mock-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ps-hero.is-ready .sf-float-kpi {
  animation: ps-mock-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both, sf-float-bob 5s ease-in-out 0.9s infinite;
}

@keyframes sf-float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes sf-ring-breathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.03); opacity: 1; }
}

@keyframes sf-kpi-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes sf-img-swap {
  0% { opacity: 0.4; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes sf-chip-flash {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.06); }
}

@media (max-width: 520px) {
  .sf-float-kpi {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-bottom: 0.75rem;
    animation: none !important;
  }

  .sf-float-pdp {
    width: 100%;
    margin: 0;
  }

  .sf-float-toast {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 0.85rem;
    opacity: 1;
    transform: none;
  }

  .sf-float__ring {
    display: none;
  }

  .sf-float__stage {
    min-height: 0;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sf-float__ring,
  .sf-float-kpi,
  .sf-float-pdp__live i,
  .ps-hero.is-ready .sf-float-pdp,
  .ps-hero.is-ready .sf-float-kpi {
    animation: none;
  }
}

/* —— Premium polish: stats, mocks, flow, India —— */

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .ps-stats {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  border-color: rgba(15, 23, 42, 0.05);
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .ps-stat {
  padding: 1.5rem 1rem;
  transition: background 0.3s ease;
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .ps-stat:hover {
  background: rgba(14, 165, 233, 0.03);
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .ps-stat__icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0 auto 0.65rem;
  border-radius: 12px;
  color: var(--accent);
  background: rgba(14, 165, 233, 0.1);
  font-size: 0;
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .ps-mock--live,
.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .ps-mock--store-live,
.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .ps-mock--theme {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 20px 48px rgba(15, 23, 42, 0.08),
    0 40px 80px rgba(14, 165, 233, 0.07);
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .ps-feat-demo__glow {
  background:
    radial-gradient(ellipse 55% 50% at 25% 40%, rgba(14, 165, 233, 0.2), transparent 70%),
    radial-gradient(ellipse 45% 40% at 85% 15%, rgba(34, 211, 238, 0.14), transparent 65%);
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .ps-store-demo__glow {
  background:
    radial-gradient(ellipse 55% 50% at 30% 35%, rgba(14, 165, 233, 0.22), transparent 70%),
    radial-gradient(ellipse 45% 40% at 80% 20%, rgba(34, 211, 238, 0.14), transparent 65%);
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .ps-feature__label {
  color: var(--accent);
  letter-spacing: 0.06em;
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .ps-flow {
  gap: 0.35rem;
  align-items: center;
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .ps-flow__pill {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
  font-weight: 600;
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .ps-flow__pill--active {
  color: #fff;
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.28);
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .ps-flow__wire {
  position: relative;
  flex: 0 0 1.35rem;
  height: 2px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
  overflow: hidden;
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .ps-flow__wire i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #22d3ee, transparent);
  transform: translateX(-100%);
  animation: sf-wire-run 2.4s ease-in-out infinite;
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .ps-india__card-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  color: #67e8f9;
  background: rgba(34, 211, 238, 0.12);
  font-size: 0;
}

.platform-storefront-page:not(.platform-support-page):not(.platform-engage-page):not(.platform-crm-page) .ps-india__card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

@keyframes sf-wire-run {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
