/* RealStore landing hero — lightweight cinematic depth without runtime dependencies */
body.platform-clean-v3 .hero {
  min-height: calc(100svh - 74px);
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1rem, 5vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  color: var(--rs-ink);
  background:
    radial-gradient(circle at 16% 20%, rgba(var(--rs-primary-rgb, 37, 99, 235), 0.12), transparent 30%),
    radial-gradient(circle at 84% 76%, rgba(20, 184, 166, 0.09), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 58%, #ffffff 100%);
}

body.platform-clean-v3 .hero::before {
  content: "";
  position: absolute;
  inset: 8% auto auto 50%;
  width: min(940px, 92vw);
  height: min(620px, 70vw);
  transform: translateX(-50%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.82;
  filter: blur(1px);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.42) 34%, transparent 68%),
    conic-gradient(from 120deg at 50% 50%, rgba(var(--rs-primary-rgb, 37, 99, 235), 0.09), transparent 30%, rgba(20, 184, 166, 0.07), transparent 66%);
  mask-image: radial-gradient(ellipse at center, #000 0%, rgba(0, 0, 0, 0.78) 50%, transparent 76%);
}

body.platform-clean-v3 .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
}

.hero-cinematic-paths {
  position: absolute;
  inset: -18% -16%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.88;
  mask-image: radial-gradient(ellipse at center, #000 10%, rgba(0, 0, 0, 0.76) 52%, transparent 84%);
}

.hero-cinematic-paths span {
  --path-rotation: -7deg;
  --path-shift: 0px;
  position: absolute;
  left: -8%;
  width: 116%;
  height: 52%;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 50%;
  transform: translate3d(var(--path-shift), 0, 0) rotate(var(--path-rotation));
  box-shadow:
    0 0 42px rgba(var(--rs-primary-rgb, 37, 99, 235), 0.035),
    inset 0 0 34px rgba(20, 184, 166, 0.025);
  animation: realstore-path-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-cinematic-paths span:nth-child(1) {
  top: 5%;
  --path-rotation: -9deg;
  animation-duration: 22s;
}

.hero-cinematic-paths span:nth-child(2) {
  top: 16%;
  --path-rotation: -6deg;
  border-color: rgba(var(--rs-primary-rgb, 37, 99, 235), 0.13);
  animation-delay: -7s;
}

.hero-cinematic-paths span:nth-child(3) {
  top: 28%;
  --path-rotation: -3deg;
  animation-duration: 25s;
  animation-delay: -12s;
}

.hero-cinematic-paths span:nth-child(4) {
  top: 42%;
  --path-rotation: 4deg;
  border-color: rgba(20, 184, 166, 0.12);
  animation-duration: 20s;
  animation-delay: -5s;
}

.hero-cinematic-paths span:nth-child(5) {
  top: 55%;
  --path-rotation: 7deg;
  animation-duration: 24s;
  animation-delay: -15s;
}

.hero-cinematic-paths span:nth-child(6) {
  top: 68%;
  --path-rotation: 10deg;
  border-color: rgba(var(--rs-primary-rgb, 37, 99, 235), 0.1);
  animation-duration: 27s;
  animation-delay: -9s;
}

body.platform-clean-v3 .hero-copy {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  margin-inline: auto;
  text-align: center;
}

body.platform-clean-v3 .hero h1 {
  margin: 0;
  color: var(--rs-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(4.8rem, 10vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  font-weight: 900;
  text-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
  background: linear-gradient(180deg, #0f2747 0%, #2463ba 62%, #0f766e 116%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.platform-clean-v3 .hero-lead {
  max-width: 920px;
  margin: clamp(1.2rem, 2.7vw, 2rem) auto 0;
  color: var(--rs-ink);
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 850;
}

body.platform-clean-v3 .hero-text {
  max-width: 720px;
  margin: 1rem auto 1.45rem;
  color: var(--rs-muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}

body.platform-clean-v3 .hero-actions {
  justify-content: center;
}

body.platform-clean-v3 .hero-vision {
  width: min(760px, 100%);
  margin: 1.35rem auto 0;
  color: var(--rs-ink-soft);
}

body.platform-clean-v3 .hero-vision strong {
  color: #0f766e;
  border-inline-start-color: #14b8a6;
}

body.platform-clean-v3 .hero-vision span {
  color: var(--rs-ink-soft);
}

body.platform-clean-v3 .trust-list {
  justify-content: center;
  margin-top: 1.25rem;
  color: var(--rs-ink-soft);
}

body.platform-clean-v3 .trust-list li {
  min-height: 42px;
  color: var(--rs-ink-soft);
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(16px);
}

body.platform-clean-v3 .trust-list i {
  color: #0d9488;
}

body.platform-clean-v3 .platform-proof-section {
  width: min(1180px, calc(100% - 2rem));
  margin: clamp(3.5rem, 8vw, 7rem) auto;
  padding: clamp(1.4rem, 4vw, 3.25rem);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 12%, rgba(20, 184, 166, 0.1), transparent 26%),
    radial-gradient(circle at 85% 86%, rgba(var(--rs-primary-rgb, 37, 99, 235), 0.1), transparent 30%),
    #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

body.platform-clean-v3 .platform-proof-head {
  max-width: 760px;
  margin-inline: auto;
}

.platform-proof-eyebrow {
  margin: 0 0 0.55rem;
  color: #0f766e;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.platform-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
}

.platform-metric-card {
  min-height: 188px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.platform-metric-icon,
.store-carousel-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  box-shadow: 0 9px 18px rgba(13, 148, 136, 0.2);
}

.platform-metric-card:nth-child(2) .platform-metric-icon {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.platform-sales-card .platform-metric-icon {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.platform-metric-card > span:not(.platform-metric-icon) {
  margin-top: 1rem;
  color: var(--rs-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.platform-metric-card strong {
  margin-top: 0.2rem;
  color: var(--rs-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.95rem, 3vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.platform-metric-card small {
  margin-top: auto;
  padding-top: 0.8rem;
  color: var(--rs-muted);
  font-size: 0.78rem;
}

.store-showcase {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.6rem, 4vw, 2.5rem);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.store-showcase-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: 0.25rem;
}

.store-showcase-heading h3 {
  margin: 0;
  color: var(--rs-ink);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
}

.store-showcase-note {
  color: var(--rs-muted);
  font-size: 0.84rem;
  white-space: nowrap;
}

.store-showcase-note.success { color: #0f766e; }
.store-showcase-note.error { color: #b45309; }

.store-carousel {
  position: relative;
  margin-top: 1.35rem;
  overflow: hidden;
  border-radius: 20px;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.store-carousel-track {
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 0.35rem;
  display: flex;
  gap: 1rem;
  list-style: none;
  animation: realstore-store-carousel 38s linear infinite;
}

.store-carousel:hover .store-carousel-track,
.store-carousel:focus-within .store-carousel-track {
  animation-play-state: paused;
}

.store-carousel-card {
  width: min(310px, 76vw);
  flex: 0 0 auto;
}

.store-carousel-link {
  min-height: 148px;
  height: 100%;
  padding: 1rem;
  display: flex;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.store-carousel-link:hover,
.store-carousel-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(20, 184, 166, 0.55);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.11);
  outline: none;
}

.store-carousel-content {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.store-carousel-content strong {
  overflow: hidden;
  max-width: 100%;
  color: var(--rs-ink);
  font-size: 1.02rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-carousel-content > span:not(.store-carousel-action) {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 0.35rem;
  color: var(--rs-muted);
  font-size: 0.86rem;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.store-carousel-action {
  margin-top: auto;
  padding-top: 0.55rem;
  color: #0f766e;
  font-size: 0.8rem;
  font-weight: 800;
}

.store-carousel-empty {
  width: 100%;
  padding: 1rem;
  color: var(--rs-muted);
  text-align: center;
}

.store-carousel-track.is-empty {
  animation: none;
}

@keyframes realstore-store-carousel {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

@keyframes realstore-path-drift {
  from {
    transform: translate3d(-12px, -4px, 0) rotate(var(--path-rotation));
  }
  to {
    transform: translate3d(18px, 8px, 0) rotate(var(--path-rotation));
  }
}

@media (max-width: 720px) {
  body.platform-clean-v3 .hero {
    min-height: auto;
    padding: 3.5rem 1rem 3rem;
  }

  body.platform-clean-v3 .hero h1 {
    font-size: clamp(3.35rem, 18vw, 5rem);
    letter-spacing: -0.06em;
  }

  body.platform-clean-v3 .hero-lead {
    margin-top: 1rem;
    font-size: clamp(1.45rem, 7.4vw, 2rem);
  }

  body.platform-clean-v3 .hero-text {
    margin-top: 0.8rem;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  body.platform-clean-v3 .hero-vision {
    text-align: start;
  }

  body.platform-clean-v3 .trust-list {
    text-align: start;
  }

  .hero-cinematic-paths {
    inset: -8% -72%;
    opacity: 0.65;
  }

  body.platform-clean-v3 .hero::after {
    background-size: 48px 48px;
    opacity: 0.24;
  }

  body.platform-clean-v3 .platform-proof-section {
    width: min(100% - 1rem, 1180px);
    margin-block: 3.5rem;
    border-radius: 24px;
  }

  .platform-metrics {
    grid-template-columns: 1fr;
  }

  .platform-metric-card {
    min-height: 154px;
  }

  .store-showcase-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-showcase-note {
    white-space: normal;
  }

  .store-carousel-track {
    animation-duration: 28s;
  }
}

@media (max-width: 380px) {
  body.platform-clean-v3 .hero {
    padding-inline: 0.75rem;
  }

  body.platform-clean-v3 .hero h1 {
    font-size: clamp(3rem, 17vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cinematic-paths span {
    animation: none;
  }

  .store-carousel {
    overflow-x: auto;
    mask-image: none;
  }

  .store-carousel-track {
    width: auto;
    animation: none;
  }

  .store-carousel-track .store-carousel-card.is-duplicate {
    display: none;
  }
}
