/**
 * Homepage hero live-demo styles.
 *
 * @package Notifal
 * @since   1.3.0
 */

/* Contextual stat pill — shown only while a demo scenario is active */
.notifal-demo-stat-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 14;
  max-width: 200px;
  white-space: normal;
  text-align: left;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.notifal-demo-stat-pill.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.notifal-demo-stat-pill[hidden] {
  display: none !important;
  visibility: hidden !important;
}

/* Demo meta caption */
.hero-demo-meta {
  margin-top: var(--space-4);
  text-align: center;
}

.hero-demo-live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--clr-text-muted);
}

.hero-demo-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  animation: hero-live-pulse 2s ease infinite;
}

@keyframes hero-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero-demo-scenario {
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-primary);
  min-height: 1.2em;
  transition: opacity 0.25s ease;
}

/* In-browser demo viewport */
.hero-demo-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f7f2fb;
}

.hero-demo-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-demo-stage:not(.is-initialized) {
  background: #f7f2fb;
}

.hero-demo-page {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-demo-page-scroll {
  will-change: transform;
  /* Ensure enough scroll depth for the scroll-trigger demo */
  min-height: calc(100% + 360px);
  padding-bottom: 48px;
}

.hero-demo-store-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 14px;
  background: #1a0533;
  color: #fff;
}

.hero-demo-store-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-demo-store-nav {
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

/* Blog page */
.hero-demo-blog-hero {
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: #e8dff3;
}

.hero-demo-blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-demo-blog-body {
  padding: 16px 18px 48px;
  background: #fff;
}

.hero-demo-blog-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-primary);
  margin-bottom: 8px;
}

.hero-demo-blog-title {
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--clr-text-primary);
  margin-bottom: 14px;
}

.hero-demo-blog-line {
  height: 8px;
  border-radius: 4px;
  background: #ece6f2;
  margin-bottom: 8px;
}

.hero-demo-blog-line--short { width: 62%; }
.hero-demo-blog-line--medium { width: 84%; }

/* Product page */
.hero-demo-page-scroll--static {
  min-height: 100%;
  padding-bottom: 0;
}

.hero-demo-product {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 14px;
  padding: 14px;
  background: #fff;
  min-height: calc(100% - 36px);
}

.hero-demo-product__gallery {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #e8dff3 0%, #d4c4e8 48%, #c9b8e0 100%);
}

.hero-demo-product__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-demo-product__info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 4px;
}

.hero-demo-product__breadcrumb {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-text-muted);
}

.hero-demo-product__title {
  font-size: 0.92rem;
  line-height: 1.3;
  font-weight: 800;
  color: var(--clr-text-primary);
}

.hero-demo-product__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.64rem;
}

.hero-demo-product__stars {
  color: #f59e0b;
  letter-spacing: -0.04em;
}

.hero-demo-product__reviews {
  color: var(--clr-text-muted);
  font-weight: 500;
}

.hero-demo-product__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 2px;
}

.hero-demo-product__price-now {
  font-size: 1rem;
  font-weight: 800;
  color: var(--clr-primary-dark);
}

.hero-demo-product__atc {
  display: block;
  margin-top: 6px;
  padding: 9px 12px;
  border-radius: 9px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.hero-demo-product__bullets {
  margin: 6px 0 0;
  padding-left: 16px;
  font-size: 0.62rem;
  line-height: 1.5;
  color: var(--clr-text-secondary);
}

/* Category shop page */
.hero-demo-category {
  padding: 12px 12px 16px;
  background: #fff;
  min-height: calc(100% - 36px);
}

.hero-demo-category__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-demo-category__breadcrumb {
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-text-muted);
  margin-bottom: 2px;
}

.hero-demo-category__title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--clr-text-primary);
  line-height: 1.2;
}

.hero-demo-category__count {
  flex-shrink: 0;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3edf9;
}

.hero-demo-category__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.hero-demo-category__chip {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--clr-text-secondary);
  background: #f7f2fb;
  border: 1px solid #ece6f2;
}

.hero-demo-category__chip--active {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
}

.hero-demo-category__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-demo-category__card {
  border-radius: 10px;
  overflow: hidden;
  background: #faf7fd;
  border: 1px solid #ece6f2;
}

.hero-demo-category__thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(145deg, #e8dff3 0%, #d4c4e8 100%);
}

.hero-demo-category__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-demo-category__thumb--speaker {
  background: linear-gradient(145deg, #c4b5fd 0%, #7c3aed 100%);
}

.hero-demo-category__thumb--mic {
  background: linear-gradient(145deg, #ddd6fe 0%, #5b21b6 100%);
}

.hero-demo-category__name {
  padding: 7px 8px 2px;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--clr-text-primary);
}

.hero-demo-category__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 8px 8px;
  font-size: 0.58rem;
}

.hero-demo-category__stars {
  color: #f59e0b;
  letter-spacing: -0.05em;
}

.hero-demo-category__price {
  font-weight: 800;
  color: var(--clr-primary-dark);
}

/* Notification layer */
.hero-demo-notif-layer {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
}

.hero-demo-notif {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.hero-demo-notif[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.hero-demo-notif--marketplace .hero-demo-notif__card {
  display: none !important;
}

.hero-demo-notif--marketplace.hero-demo-notif--layout-popup {
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.hero-demo-notif--marketplace.hero-demo-notif--layout-popup .hero-demo-notif__backdrop {
  display: block;
}

.hero-demo-notif--marketplace.hero-demo-notif--layout-side {
  align-items: center;
  justify-content: flex-start;
  padding: 14px 0 14px 10px;
}

.hero-demo-notif--marketplace.hero-demo-notif--layout-side .hero-demo-notif__backdrop {
  display: none;
}

.hero-demo-notif--marketplace.hero-demo-notif--layout-side .hero-demo-notif__marketplace {
  max-width: min(58%, 210px);
}

.hero-demo-notif--marketplace.hero-demo-notif--layout-bar {
  align-items: flex-start;
  justify-content: center;
  padding: 0;
}

.hero-demo-notif--marketplace.hero-demo-notif--layout-bar .hero-demo-notif__backdrop {
  display: none;
}

.hero-demo-notif--marketplace.hero-demo-notif--layout-toast {
  align-items: flex-end;
  justify-content: flex-start;
  padding: 12px;
}

.hero-demo-notif--marketplace.hero-demo-notif--layout-toast .hero-demo-notif__backdrop {
  display: none;
}

.hero-demo-notif--marketplace.hero-demo-notif--layout-toast .hero-demo-notif__marketplace {
  max-width: min(78%, 260px);
}

.hero-demo-notif__marketplace {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: min(94%, 340px);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  line-height: 0;
}

.hero-demo-notif--marketplace.hero-demo-notif--layout-bar .hero-demo-notif__marketplace {
  width: 100%;
  max-width: 100%;
}

.hero-demo-notif__marketplace[hidden] {
  display: none !important;
}

.hero-demo-notif__marketplace-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 0;
  background: transparent;
}

.hero-demo-notif__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 5, 51, 0.42);
  backdrop-filter: blur(2px);
}

.hero-demo-notif__card {
  position: relative;
  z-index: 1;
  width: min(100%, 300px);
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(26, 5, 51, 0.22), 0 0 0 1px rgba(123, 44, 191, 0.08);
}

.hero-demo-notif__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--clr-text-muted);
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-demo-notif__media {
  position: relative;
  min-height: 100%;
  background: #f3e8ff;
}

.hero-demo-notif__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-demo-notif__badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-demo-notif__content {
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.hero-demo-notif__eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-primary);
}

.hero-demo-notif__title {
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--clr-text-primary);
}

.hero-demo-notif__desc {
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--clr-text-secondary);
}

.hero-demo-notif__field input {
  width: 100%;
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 0.68rem;
  color: var(--clr-text-muted);
  background: #faf7fd;
}

.hero-demo-notif__cta {
  display: block;
  text-align: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.hero-demo-notif__fine {
  font-size: 0.6rem;
  color: var(--clr-text-muted);
  line-height: 1.3;
}

/* Built-in top urgency bar (increase-sales scenario) */
.hero-demo-notif--bar {
  align-items: flex-start;
  justify-content: center;
  padding: 0;
}

.hero-demo-notif--bar .hero-demo-notif__backdrop {
  display: none;
}

.hero-demo-notif--bar .hero-demo-notif__card {
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  box-shadow: 0 8px 28px rgba(26, 5, 51, 0.18);
}

.hero-demo-flash-bar {
  display: block;
  background: linear-gradient(90deg, #3c096c 0%, #7b2cbf 52%, #9d4edd 100%);
  color: #fff;
  overflow: hidden;
}

.hero-demo-flash-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  min-height: 42px;
}

.hero-demo-flash-bar__pulse {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #fbbf24;
  animation: hero-flash-pulse 1.4s ease infinite;
}

@keyframes hero-flash-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-demo-flash-bar__icon {
  flex-shrink: 0;
  font-size: 0.9rem;
  line-height: 1;
}

.hero-demo-flash-bar__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero-demo-flash-bar__headline {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.hero-demo-flash-bar__sub {
  display: block;
  font-size: 0.58rem;
  font-weight: 500;
  opacity: 0.88;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-demo-flash-bar__countdown {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.hero-demo-flash-bar__code {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px dashed rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-demo-flash-bar__cta {
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 8px;
  background: #fff;
  color: var(--clr-primary-dark);
  font-size: 0.62rem;
  font-weight: 800;
  white-space: nowrap;
}

.hero-demo-flash-bar__close {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-demo-flash-bar__progress {
  height: 3px;
  background: rgba(0, 0, 0, 0.2);
}

.hero-demo-flash-bar__progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

@keyframes hero-flash-progress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Built-in social proof toast stack (build-trust scenario) */
.hero-demo-notif--toast {
  align-items: flex-end;
  justify-content: flex-start;
  padding: 10px 8px 12px 10px;
}

.hero-demo-notif--toast .hero-demo-notif__backdrop {
  display: none;
}

.hero-demo-notif--toast .hero-demo-notif__card {
  width: min(94%, 272px);
  max-width: 272px;
  min-height: 78px;
  display: block;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.hero-demo-social-toast {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding: 10px 28px 10px 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow:
    0 14px 36px rgba(26, 5, 51, 0.16),
    0 0 0 1px rgba(123, 44, 191, 0.07);
  overflow: hidden;
}

.hero-demo-social-toast::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #7b2cbf, #c77dff);
}

.hero-demo-social-toast--review::before {
  background: linear-gradient(180deg, #f59e0b, #fbbf24);
}

.hero-demo-social-toast--live::before {
  background: linear-gradient(180deg, #ef4444, #f97316);
}

.hero-demo-social-toast[hidden] {
  display: none !important;
}

.hero-demo-social-toast__close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  color: var(--clr-text-muted);
  background: #f7f2fb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-demo-social-toast__thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3e8ff;
  flex-shrink: 0;
  align-self: center;
}

.hero-demo-social-toast__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-demo-social-toast__thumb--review,
.hero-demo-social-toast__thumb--live {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: linear-gradient(145deg, #fef3c7, #fde68a);
}

.hero-demo-social-toast__thumb--live {
  background: linear-gradient(145deg, #fee2e2, #fecaca);
}

.hero-demo-social-toast__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-demo-social-toast__line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.64rem;
  line-height: 1.35;
  color: var(--clr-text-primary);
}

.hero-demo-social-toast__avatar {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7b2cbf, #3c096c);
  color: #fff;
  font-size: 0.5rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.hero-demo-social-toast__avatar--review {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.hero-demo-social-toast__purchase {
  font-size: 0.6rem;
  line-height: 1.4;
  color: var(--clr-text-secondary);
}

.hero-demo-social-toast__purchase strong {
  color: var(--clr-text-primary);
}

.hero-demo-social-toast__stars {
  color: #f59e0b;
  letter-spacing: -0.06em;
}

.hero-demo-social-toast__footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.54rem;
  font-weight: 600;
  color: var(--clr-text-muted);
}

.hero-demo-social-toast__live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  animation: hero-social-live-pulse 2s ease infinite;
  flex-shrink: 0;
}

.hero-demo-social-toast__live--hot {
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45);
  animation-name: hero-social-hot-pulse;
}

@keyframes hero-social-live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

@keyframes hero-social-hot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
  50% { box-shadow: 0 0 0 5px rgba(239, 68, 68, 0); }
}

.hero-demo-social-toast__verified {
  padding: 1px 5px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.5rem;
  font-weight: 700;
}

/* Built-in exit-intent cart recovery modal (prevent-cart-abandonment scenario) */
.hero-demo-notif--exit {
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.hero-demo-exit-modal {
  width: min(100%, 268px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 14px 14px;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 22px 52px rgba(26, 5, 51, 0.24), 0 0 0 1px rgba(123, 44, 191, 0.08);
}

.hero-demo-exit-modal__badge {
  align-self: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero-demo-exit-modal__title {
  font-size: 0.88rem;
  line-height: 1.3;
  font-weight: 800;
  color: var(--clr-text-primary);
}

.hero-demo-exit-modal__subtitle {
  font-size: 0.62rem;
  line-height: 1.45;
  color: var(--clr-text-secondary);
  margin-top: -4px;
}

.hero-demo-exit-modal__product {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #faf7fd;
  border: 1px solid #ece6f2;
  text-align: left;
}

.hero-demo-exit-modal__thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3e8ff;
}

.hero-demo-exit-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-demo-exit-modal__product-info {
  min-width: 0;
}

.hero-demo-exit-modal__product-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--clr-text-primary);
  line-height: 1.3;
}

.hero-demo-exit-modal__product-qty {
  font-size: 0.58rem;
  color: var(--clr-text-muted);
  margin-top: 2px;
}

.hero-demo-exit-modal__offer {
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f3e8ff 0%, #ede4f7 100%);
  border: 1px solid #e5d0f5;
}

.hero-demo-exit-modal__offer-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-demo-exit-modal__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.hero-demo-exit-modal__price-old {
  font-size: 0.68rem;
  color: var(--clr-text-muted);
  text-decoration: line-through;
}

.hero-demo-exit-modal__price-new {
  font-size: 1rem;
  font-weight: 800;
  color: var(--clr-primary-dark);
}

.hero-demo-exit-modal__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.58rem;
  color: var(--clr-text-muted);
}

.hero-demo-exit-modal__timer strong {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.72rem;
  font-weight: 800;
  color: #dc2626;
  letter-spacing: 0.04em;
}

.hero-demo-exit-modal__actions {
  display: flex;
  gap: 8px;
}

.hero-demo-exit-modal__cta {
  flex: 1;
  padding: 9px 10px;
  border-radius: 9px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  text-align: center;
}

.hero-demo-exit-modal__ghost {
  flex: 1;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid var(--clr-border);
  color: var(--clr-text-secondary);
  font-size: 0.66rem;
  font-weight: 600;
  text-align: center;
  background: #fff;
}

.hero-demo-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 20;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@media (max-width: 1023px) {
  .notifal-demo-stat-pill {
    right: 8px;
    top: 8px;
    max-width: 170px;
    font-size: 0.7rem;
  }

  .hero-demo-notif__card {
    grid-template-columns: 84px 1fr;
    width: min(100%, 270px);
  }

  .hero-demo-product {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .hero-demo-product__gallery {
    max-height: 140px;
    aspect-ratio: auto;
  }

  .hero-demo-flash-bar__sub {
    font-size: 0.52rem;
  }

  .hero-demo-flash-bar__code {
    display: none;
  }

  .hero-demo-flash-bar__cta {
    display: none;
  }

  .hero-demo-category__filters {
    display: none;
  }

  .hero-demo-category__name {
    font-size: 0.58rem;
  }

  .hero-demo-notif--toast .hero-demo-notif__card {
    width: min(96%, 240px);
  }

  .hero-demo-social-toast {
    grid-template-columns: 38px 1fr;
    gap: 8px;
    padding-right: 24px;
  }

  .hero-demo-social-toast__thumb {
    width: 38px;
    height: 38px;
  }

  .hero-demo-exit-modal {
    width: min(100%, 240px);
    padding: 14px 12px 12px;
  }

  .hero-demo-exit-modal__actions {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .hero-demo-notif {
    padding: 10px;
  }

  .hero-demo-notif__card {
    grid-template-columns: 1fr;
    width: min(100%, 240px);
  }

  .hero-demo-notif__media {
    aspect-ratio: 16 / 7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .notifal-demo-stat-pill.is-visible,
  .hero-demo-live-dot {
    animation: none;
  }

  .hero-demo-page-scroll {
    will-change: auto;
  }

  .hero-demo-flash-bar__pulse,
  .hero-demo-flash-bar__progress-fill {
    animation: none;
  }

  .hero-demo-social-toast__live {
    animation: none;
  }
}
