/* Platform — Engage page */

.platform-engage-page .eg-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);
}

.eg-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-engage-page .eg-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-engage-page .eg-hero {
  text-align: left;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}

.platform-engage-page .eg-hero::after {
  display: none;
}

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

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

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

@media (min-width: 960px) {
  .eg-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);
  }
}

.platform-engage-page .eg-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);
}

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

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

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

.platform-engage-page .eg-hero__actions {
  justify-content: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

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

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

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

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

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

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

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

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

.eg-we-mark {
  display: inline-grid !important;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #64748b;
  background: #e2e8f0;
}

/* —— Compare table (Engage) —— */

.platform-engage-page .eg-compare-wrap {
  max-width: 60rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 18px 40px rgba(15, 23, 42, 0.06);
}

.platform-engage-page .eg-compare-table {
  min-width: 42rem;
}

.platform-engage-page .eg-compare-table thead th {
  padding: 1.05rem 1.2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

.platform-engage-page .eg-compare-table .ps-compare__th-sg {
  position: relative;
  color: #0ea5e9 !important;
  background:
    linear-gradient(180deg, rgba(14, 165, 233, 0.14) 0%, rgba(14, 165, 233, 0.08) 100%) !important;
  border-left: 1px solid rgba(14, 165, 233, 0.22);
  border-right: 1px solid rgba(14, 165, 233, 0.22);
  border-top: none;
  border-top-right-radius: 0;
  box-shadow: inset 0 3px 0 #0ea5e9;
}

.platform-engage-page .eg-compare-brand {
  align-items: flex-start;
  gap: 0.6rem;
}

.platform-engage-page .eg-compare-brand__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.platform-engage-page .eg-compare-brand__meta em {
  font-style: normal;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0ea5e9;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
}

.platform-engage-page .eg-compare-table th,
.platform-engage-page .eg-compare-table td {
  padding: 0.95rem 1.15rem;
  border-bottom-color: #eef2f7;
}

.platform-engage-page .eg-compare-table tbody tr {
  transition: background 0.2s ease;
}

.platform-engage-page .eg-compare-table tbody tr:hover th,
.platform-engage-page .eg-compare-table tbody tr:hover td:not(.ps-compare__sg) {
  background: rgba(248, 250, 252, 0.85);
}

.platform-engage-page .eg-compare-table tbody tr:hover td.ps-compare__sg {
  background: rgba(14, 165, 233, 0.09);
}

.platform-engage-page .eg-compare-table tbody td.ps-compare__sg {
  background: rgba(14, 165, 233, 0.055);
  border-left: 1px solid rgba(14, 165, 233, 0.18);
  border-right: 1px solid rgba(14, 165, 233, 0.18);
}

.platform-engage-page .eg-compare-table tbody tr:last-child td.ps-compare__sg {
  border-bottom: 1px solid rgba(14, 165, 233, 0.18);
  border-bottom-right-radius: 19px;
}

.platform-engage-page .eg-compare-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
}

.platform-engage-page .eg-compare-icon--channels {
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.12);
}

.platform-engage-page .eg-compare-icon--journey {
  color: #818cf8;
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.12);
}

.platform-engage-page .eg-compare-icon--crm {
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.12);
}

.platform-engage-page .eg-compare-icon--cart {
  color: #ea580c;
  background: rgba(234, 88, 12, 0.1);
  border-color: rgba(234, 88, 12, 0.12);
}

.platform-engage-page .eg-compare-icon--web {
  color: var(--accent);
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.12);
}

.platform-engage-page .eg-compare-icon--catalog {
  color: #818cf8;
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.12);
}

.platform-engage-page .eg-compare-alt {
  display: inline-block;
  max-width: 100%;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.platform-engage-page .eg-compare-table .ps-compare__check {
  width: 1.4rem;
  height: 1.4rem;
  background: linear-gradient(145deg, #22d3ee, #0ea5e9);
  color: #fff;
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.25);
}

.platform-engage-page .eg-compare-table .ps-compare__win-text strong {
  color: #0ea5e9;
}

.platform-engage-page .eg-compare-footnote {
  margin-top: 0.35rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.06);
  color: #64748b;
}

.platform-engage-page .eg-compare-footnote svg {
  color: #0ea5e9;
}

@media (max-width: 720px) {
  .platform-engage-page .eg-compare-brand__meta em {
    display: none;
  }

  .platform-engage-page .eg-compare-alt {
    padding: 0.28rem 0.5rem;
    font-size: 0.75rem;
  }
}

/* —— Floating journey visual —— */

.eg-float {
  width: 100%;
}

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

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

.eg-float__ring {
  position: absolute;
  top: 12%;
  right: 4%;
  width: min(88%, 22rem);
  height: min(78%, 24rem);
  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: eg-ring-breathe 6s ease-in-out infinite;
}

.eg-float-rev {
  position: absolute;
  top: 1.1rem;
  right: 0.35rem;
  z-index: 3;
  width: 9.5rem;
  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);
}

.eg-float-rev.is-pulse {
  animation: eg-rev-pulse 0.55s ease;
}

.eg-float-rev__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;
}

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

.eg-float-rev em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #059669;
}

.eg-float-card {
  position: relative;
  z-index: 2;
  width: min(100%, 19.5rem);
  margin: 2.5rem auto 0 0.5rem;
  padding: 1rem 1rem 0.95rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  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);
}

.eg-float-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.eg-float-card__label {
  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);
}

.eg-float-card__head strong {
  display: block;
  font-size: 0.9375rem;
  letter-spacing: -0.025em;
  color: var(--ps-ink, #0f172a);
  line-height: 1.25;
}

.eg-float-card__live {
  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: #059669;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.14);
  white-space: nowrap;
  flex-shrink: 0;
}

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

.eg-float-steps {
  position: relative;
  margin: 0;
  padding: 0 0 0 0.15rem;
  list-style: none;
}

.eg-float-steps::before {
  content: '';
  position: absolute;
  left: 0.72rem;
  top: 0.85rem;
  bottom: 0.85rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.35), rgba(16, 185, 129, 0.25));
  opacity: 0.55;
}

.eg-float-step {
  position: relative;
  display: grid;
  grid-template-columns: 1.45rem 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.45rem 0.55rem 0.45rem 0;
  border-radius: 12px;
  transition: background 0.35s ease, transform 0.35s ease;
}

.eg-float-step + .eg-float-step {
  margin-top: 0.15rem;
}

.eg-float-step.is-active {
  background: rgba(14, 165, 233, 0.07);
  transform: translateX(2px);
}

.eg-float-step.is-done .eg-float-step__dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.eg-float-step__dot {
  position: relative;
  z-index: 1;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.2rem;
  margin-left: 0.3rem;
  border-radius: 50%;
  background: #e2e8f0;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.eg-float-step.is-active .eg-float-step__dot {
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  box-shadow: 0 0 0 5px rgba(14, 165, 233, 0.16);
  transform: scale(1.12);
}

.eg-float-step--win.is-active .eg-float-step__dot,
.eg-float-step--win.is-done .eg-float-step__dot {
  background: linear-gradient(145deg, #059669, #34d399);
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.16);
}

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

.eg-float-step.is-active em {
  color: var(--accent);
}

.eg-float-step--win.is-active em {
  color: #059669;
}

.eg-float-step strong {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.8125rem;
  letter-spacing: -0.02em;
  color: var(--ps-ink, #0f172a);
}

.eg-float-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.eg-float-channels span {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.eg-float-channels span.is-on {
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.12);
  transform: translateY(-1px);
}

.eg-float-msg {
  position: absolute;
  right: 0;
  bottom: 1.4rem;
  z-index: 4;
  width: min(100%, 15.5rem);
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: linear-gradient(160deg, #22d3ee 0%, #38bdf8 50%, #818cf8 100%);
  color: #fff;
  box-shadow:
    0 16px 40px rgba(14, 165, 233, 0.32),
    0 4px 12px rgba(15, 23, 42, 0.12);
  transform-origin: bottom right;
}

.eg-float-msg.is-email {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
}

.eg-float-msg.is-wa {
  background: linear-gradient(160deg, #047857 0%, #10b981 100%);
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.3);
}

.eg-float-msg.is-win {
  background: linear-gradient(160deg, #0ea5e9 0%, #22d3ee 100%);
}

.eg-float-msg__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.eg-float-msg__badge {
  display: inline-flex;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.16);
}

.eg-float-msg__to {
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.eg-float-msg p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.96);
}

.eg-float-msg.is-swap .eg-float-msg__badge,
.eg-float-msg.is-swap .eg-float-msg__to,
.eg-float-msg.is-swap p {
  animation: eg-msg-fade 0.35s ease;
}

@keyframes eg-msg-fade {
  from { opacity: 0.25; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

.ps-hero.is-ready .eg-float-msg {
  animation: ps-mock-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both, eg-float-bob 6.5s ease-in-out 1s infinite reverse;
}

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

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

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

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

  .eg-float-card {
    width: 100%;
    margin: 0;
  }

  .eg-float-msg {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 0.85rem;
    animation: none !important;
  }

  .eg-float__ring {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  .eg-float__ring,
  .eg-float-rev,
  .eg-float-msg,
  .eg-float-card__live i,
  .ps-hero.is-ready .eg-float-card,
  .ps-hero.is-ready .eg-float-rev,
  .ps-hero.is-ready .eg-float-msg {
    animation: none;
  }

  .eg-float-step.is-active {
    transform: none;
  }
}

/* —— Omnichannel — premium phone scene —— */

.eg-channels-feat {
  position: relative;
  overflow: hidden;
}

.eg-channels-feat::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 18% 45%, rgba(14, 165, 233, 0.08), transparent 65%),
    radial-gradient(ellipse 40% 45% at 85% 30%, rgba(34, 211, 238, 0.06), transparent 60%);
}

.eg-channels-feat__grid {
  position: relative;
  z-index: 1;
  align-items: center;
}

.eg-channels-feat__copy .ps-feature__title {
  max-width: 14ch;
}

.eg-channels-feat__points {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.eg-channels-feat__points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
}

.eg-channels-feat__points li::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
  flex-shrink: 0;
}

.eg-omni {
  position: relative;
  max-width: 30rem;
  margin-inline: auto;
  min-height: clamp(30rem, 54vw, 36rem);
  padding: 0.5rem 0.35rem 1.5rem;
  perspective: 900px;
}

.eg-omni__glow {
  position: absolute;
  inset: 6% 2% 10%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.3), transparent 68%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
}

.eg-omni__mesh {
  position: absolute;
  inset: 10% 8% 18%;
  z-index: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(14, 165, 233, 0.18) 0.8px, transparent 0.8px);
  background-size: 16px 16px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  pointer-events: none;
}

.eg-omni__ring {
  position: absolute;
  top: 6%;
  left: 10%;
  right: 10%;
  bottom: 16%;
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 233, 0.16);
  box-shadow:
    inset 0 0 50px rgba(14, 165, 233, 0.05),
    0 0 60px rgba(34, 211, 238, 0.1);
  pointer-events: none;
  z-index: 0;
  animation: eg-omni-breathe 6s ease-in-out infinite;
}

.eg-omni-stat {
  position: absolute;
  top: 0.35rem;
  right: 0;
  z-index: 5;
  width: 10.25rem;
  padding: 0.85rem 0.9rem 0.8rem;
  border-radius: 18px;
  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 20px 44px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
  animation: eg-omni-float 5.5s ease-in-out infinite;
}

.eg-omni-stat.is-pulse {
  animation: eg-omni-pulse 0.55s ease;
}

.eg-omni-stat__label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.eg-omni-stat strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.5rem;
  letter-spacing: -0.045em;
  background: linear-gradient(120deg, #22d3ee, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eg-omni-stat em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #059669;
}

.eg-omni-stat__bar {
  margin-top: 0.65rem;
  height: 0.3rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  overflow: hidden;
}

.eg-omni-stat__bar i {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee, #818cf8);
  transition: width 0.5s ease;
}

.eg-omni-side {
  position: absolute;
  top: 7.5rem;
  left: 0;
  z-index: 4;
  width: 10.5rem;
  padding: 0.75rem 0.8rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
  transform: rotate(-3deg);
  animation: eg-omni-side-float 6.5s ease-in-out infinite;
}

.eg-omni-side.is-swap {
  animation: eg-omni-side-in 0.4s ease;
}

.eg-omni-side__ch {
  display: inline-flex;
  margin-bottom: 0.35rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
}

.eg-omni-side strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.eg-omni-side p {
  margin: 0.3rem 0 0;
  font-size: 0.625rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.eg-omni-phone {
  position: relative;
  z-index: 3;
  width: min(100%, 16rem);
  margin: 2.4rem auto 0;
  transform: rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
}

.eg-omni.is-inview .eg-omni-phone {
  animation: eg-omni-phone-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eg-omni-phone__bezel {
  padding: 0.45rem;
  border-radius: 32px;
  background:
    linear-gradient(145deg, #1e293b 0%, #0f172a 45%, #020617 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 28px 60px rgba(15, 23, 42, 0.35),
    0 48px 90px rgba(14, 165, 233, 0.14);
}

.eg-omni-phone__island {
  width: 5.25rem;
  height: 1.15rem;
  margin: 0.35rem auto 0.55rem;
  border-radius: 999px;
  background: #020617;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.eg-omni-phone__screen {
  display: flex;
  flex-direction: column;
  min-height: 21rem;
  padding: 0.55rem 0.65rem 0.7rem;
  border-radius: 26px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  overflow: hidden;
}

.eg-omni-phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.55rem;
  padding: 0 0.2rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5625rem;
  font-weight: 500;
  color: #64748b;
}

.eg-omni-phone__signal {
  width: 1.1rem;
  height: 0.55rem;
  border-radius: 2px;
  background:
    linear-gradient(90deg, #94a3b8 0 22%, transparent 22% 28%, #94a3b8 28% 50%, transparent 50% 56%, #64748b 56% 78%, transparent 78% 84%, #0f172a 84% 100%);
}

.eg-omni-phone__bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.eg-omni-phone__avatar {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  box-shadow: 0 8px 16px rgba(14, 165, 233, 0.28);
  flex-shrink: 0;
}

.eg-omni-phone__bar > div {
  min-width: 0;
  flex: 1;
}

.eg-omni-phone__bar strong {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.eg-omni-phone__bar em {
  display: block;
  margin-top: 0.05rem;
  font-style: normal;
  font-size: 0.625rem;
  color: #64748b;
}

.eg-omni-phone__live {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  flex-shrink: 0;
}

.eg-omni-phone__live i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #10b981;
  animation: ps-live-pulse 1.8s ease-out infinite;
}

.eg-omni-thread {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  min-height: 11rem;
}

.eg-omni-bubble {
  max-width: 92%;
  padding: 0.7rem 0.8rem;
  border-radius: 16px;
  font-size: 0.75rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.eg-omni-bubble--in {
  align-self: flex-start;
  background: #e2e8f0;
  color: #334155;
  border-bottom-left-radius: 5px;
}

.eg-omni-bubble--out {
  align-self: flex-end;
  color: #fff;
  border-bottom-right-radius: 5px;
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.24);
}

.eg-omni-bubble--out.is-email {
  background: linear-gradient(145deg, #0f172a, #1e293b);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24);
}

.eg-omni-bubble--out.is-sms {
  background: linear-gradient(145deg, #22d3ee, #818cf8);
}

.eg-omni-bubble--out.is-wa {
  background: linear-gradient(145deg, #047857, #10b981);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.26);
}

.eg-omni-bubble--out.is-push {
  background: linear-gradient(145deg, #92400e, #f59e0b);
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.26);
}

.eg-omni-bubble--out.is-web {
  background: linear-gradient(145deg, #22d3ee, #818cf8);
}

.eg-omni-bubble--out.is-swap {
  animation: eg-omni-bubble-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.eg-omni-bubble__tag {
  display: inline-flex;
  margin-bottom: 0.3rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.18);
}

.eg-omni-bubble--out p {
  margin: 0;
}

.eg-omni-bubble--out time {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.5625rem;
  color: rgba(255, 255, 255, 0.7);
}

.eg-omni-typing {
  align-self: flex-end;
  display: inline-flex;
  gap: 0.28rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.1);
}

.eg-omni-typing span {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #0ea5e9;
  opacity: 0.35;
  animation: eg-omni-dot 1s ease-in-out infinite;
}

.eg-omni-typing span:nth-child(2) { animation-delay: 0.15s; }
.eg-omni-typing span:nth-child(3) { animation-delay: 0.3s; }

.eg-omni-phone__composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding: 0.4rem 0.4rem 0.4rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
  font-size: 0.6875rem;
  color: #94a3b8;
}

.eg-omni-phone__composer i {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  box-shadow: 0 6px 14px rgba(14, 165, 233, 0.3);
}

.eg-omni-dock {
  position: absolute;
  left: 50%;
  bottom: 2.85rem;
  z-index: 5;
  display: flex;
  gap: 0.3rem;
  transform: translateX(-50%);
  padding: 0.4rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  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.12);
  backdrop-filter: blur(14px);
  width: max-content;
  max-width: calc(100% - 0.5rem);
}

.eg-omni-dock__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 3.35rem;
  padding: 0.4rem 0.35rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  cursor: default;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.eg-omni-dock__item.is-active {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.12);
  transform: translateY(-3px);
}

.eg-omni-dock__icon {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 9px;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
}

.eg-omni-dock__item[data-ch="wa"] .eg-omni-dock__icon { color: #059669; background: rgba(16, 185, 129, 0.12); }
.eg-omni-dock__item[data-ch="sms"] .eg-omni-dock__icon { color: #0284c7; background: rgba(14, 165, 233, 0.12); }
.eg-omni-dock__item[data-ch="push"] .eg-omni-dock__icon { color: #d97706; background: rgba(245, 158, 11, 0.12); }
.eg-omni-dock__item[data-ch="email"] .eg-omni-dock__icon { color: #0f172a; background: rgba(15, 23, 42, 0.08); }

.eg-omni-dock__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
}

.eg-omni-dock__meta em {
  font-style: normal;
  font-size: 0.5rem;
  font-weight: 600;
  color: #94a3b8;
}

.eg-omni-dock__meta strong {
  font-size: 0.625rem;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.eg-omni-proof {
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transform: translateX(-50%);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #0ea5e9;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(14, 165, 233, 0.16);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.14);
  white-space: nowrap;
}

.eg-omni-proof i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #22d3ee;
  animation: ps-live-pulse 1.8s ease-out infinite;
}

.eg-omni-proof.is-live {
  color: #059669;
  border-color: rgba(16, 185, 129, 0.2);
}

.eg-omni-proof.is-live i {
  background: #10b981;
}

@keyframes eg-omni-breathe {
  0%, 100% { transform: scale(1); opacity: 0.65; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes eg-omni-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

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

@keyframes eg-omni-bubble-in {
  from { opacity: 0.25; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes eg-omni-side-in {
  from { opacity: 0.3; transform: rotate(-3deg) translateY(8px); }
  to { opacity: 1; transform: rotate(-3deg) translateY(0); }
}

@keyframes eg-omni-side-float {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-7px); }
}

@keyframes eg-omni-phone-in {
  from { opacity: 0; transform: rotateY(-8deg) rotateX(4deg) translateY(18px) scale(0.96); }
  to { opacity: 1; transform: rotateY(-8deg) rotateX(4deg) translateY(0) scale(1); }
}

@keyframes eg-omni-dot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

@media (max-width: 720px) {
  .eg-omni-side {
    display: none;
  }
}

@media (max-width: 560px) {
  .eg-omni {
    min-height: 0;
    padding: 0;
    perspective: none;
  }

  .eg-omni__ring,
  .eg-omni__mesh {
    display: none;
  }

  .eg-omni-stat {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-bottom: 0.75rem;
    animation: none;
  }

  .eg-omni-phone {
    margin-top: 0;
    transform: none;
  }

  .eg-omni-dock {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: none;
    margin-top: 0.85rem;
    justify-content: space-between;
  }

  .eg-omni-proof {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: max-content;
    max-width: 100%;
    margin: 0.75rem auto 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eg-omni__ring,
  .eg-omni-stat,
  .eg-omni-side,
  .eg-omni-proof i,
  .eg-omni-phone__live i,
  .eg-omni-typing span,
  .eg-omni.is-inview .eg-omni-phone,
  .eg-omni-bubble--out.is-swap,
  .eg-omni-dock__item.is-active {
    animation: none;
    transform: none;
  }

  .eg-omni-phone {
    transform: none;
  }
}

/* —— Shared premium feature panels —— */

.eg-panel {
  position: relative;
  max-width: 34rem;
  margin-inline: auto;
}

.eg-panel__glow {
  position: absolute;
  inset: 8% 4% -6%;
  z-index: 0;
  border-radius: 40%;
  background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.18), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.eg-panel__glow--alt {
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.16), transparent 70%);
}

.eg-panel__card {
  position: relative;
  z-index: 1;
  padding: 1rem 1.05rem 1.05rem;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 80% 45% at 100% 0%, rgba(14, 165, 233, 0.05), transparent 55%),
    #fff;
  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);
}

.eg-panel.is-inview .eg-panel__card {
  animation: ps-mock-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eg-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}

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

.eg-panel__head strong {
  display: block;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  color: var(--ps-ink, #0f172a);
}

.eg-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  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.14);
  white-space: nowrap;
}

.eg-panel__badge i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #22d3ee;
  animation: ps-live-pulse 1.8s ease-out infinite;
}

/* —— Journey flow —— */

.eg-journey-demo {
  max-width: 38rem;
  margin-inline: auto;
}

.eg-journey-stage {
  position: relative;
  z-index: 1;
}

.eg-journey-board {
  padding-bottom: 0;
  overflow: hidden;
}

.eg-journey-board__head {
  margin-bottom: 0.75rem;
}

.eg-journey-board__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.eg-journey-board__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.16);
}

.eg-journey-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.eg-journey-toolbar span {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.eg-journey-toolbar span.is-active {
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.18);
}

.eg-journey-canvas {
  position: relative;
  padding: 0.85rem 0.75rem 0.95rem;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(14, 165, 233, 0.08), transparent 60%),
    #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.eg-journey-canvas__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 80% 75% at 50% 45%, #000 30%, transparent 85%);
  pointer-events: none;
}

.eg-flow {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.eg-flow--board {
  max-width: 22rem;
  margin-inline: auto;
}

.eg-flow__node {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  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.03);
  opacity: 0.45;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.eg-flow__node.is-done,
.eg-flow__node.is-active {
  opacity: 1;
  transform: none;
}

.eg-flow__node.is-done {
  border-color: rgba(14, 165, 233, 0.16);
}

.eg-flow__node.is-active {
  background: #fff;
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow:
    0 0 0 3px rgba(14, 165, 233, 0.08),
    0 12px 28px rgba(14, 165, 233, 0.14);
  transform: translateY(-1px);
}

.eg-flow__node--win.is-active {
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.12), #fff 60%);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow:
    0 0 0 3px rgba(16, 185, 129, 0.08),
    0 12px 28px rgba(16, 185, 129, 0.14);
}

.eg-flow__icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
}

.eg-flow__icon--mail { color: #818cf8; background: rgba(99, 102, 241, 0.12); }
.eg-flow__icon--wa { color: #059669; background: rgba(16, 185, 129, 0.12); }
.eg-flow__icon--win { color: #059669; background: rgba(16, 185, 129, 0.14); }

.eg-flow__body {
  min-width: 0;
}

.eg-flow__node em {
  display: block;
  font-style: normal;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.eg-flow__node.is-active em { color: var(--accent); }
.eg-flow__node--win.is-active em { color: #059669; }

.eg-flow__node strong {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.8125rem;
  letter-spacing: -0.02em;
  color: var(--ps-ink, #0f172a);
}

.eg-flow__stat {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: #94a3b8;
}

.eg-flow__node.is-active .eg-flow__stat {
  color: #0ea5e9;
}

.eg-flow__node--win.is-active .eg-flow__stat {
  color: #059669;
}

.eg-flow__wire {
  position: relative;
  width: 2px;
  height: 0.75rem;
  margin: 0.15rem auto;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
  overflow: hidden;
}

.eg-flow__wire i {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0ea5e9, #22d3ee);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}

.eg-flow__node.is-done + .eg-flow__wire i,
.eg-flow__branch:has(.is-done) + .eg-flow__wire i,
.eg-flow__node.is-active + .eg-flow__wire i,
.eg-flow__split:has(+ .eg-flow__branch .is-active) + .eg-flow__branch + .eg-flow__wire i {
  transform: scaleY(1);
}

.eg-flow__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  height: 0.55rem;
  margin: 0 1.25rem -0.05rem;
  position: relative;
}

.eg-flow__split::before {
  content: '';
  position: absolute;
  left: 25%;
  right: 25%;
  top: 0;
  height: 2px;
  background: rgba(148, 163, 184, 0.4);
}

.eg-flow__split span {
  position: relative;
  justify-self: center;
  width: 2px;
  height: 100%;
  background: rgba(148, 163, 184, 0.4);
}

.eg-flow__branch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.eg-journey-board__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.75rem -1.05rem 0;
  padding: 0.7rem 1.05rem 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
}

.eg-journey-board__footer span:first-child.is-tick {
  color: #0ea5e9;
}

.eg-journey-board__pulse {
  width: 0.45rem;
  height: 0.45rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
  animation: eg-an-pulse 1.8s ease-in-out infinite;
}

.eg-journey-float {
  position: absolute;
  top: -0.45rem;
  right: -0.2rem;
  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);
}

.eg-panel.is-inview .eg-journey-float {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: eg-an-float 5.5s ease-in-out 0.55s infinite;
}

.eg-journey-float__dot {
  width: 0.55rem;
  height: 0.55rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
}

.eg-journey-float strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ps-ink, #0f172a);
}

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

@media (max-width: 560px) {
  .eg-journey-float {
    right: 0.35rem;
    top: -0.2rem;
  }

  .eg-flow__stat {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eg-panel.is-inview .eg-journey-float,
  .eg-journey-board__pulse {
    animation: none;
  }

  .eg-panel.is-inview .eg-journey-float {
    opacity: 1;
    transform: none;
  }
}

/* —— Segments —— */

.eg-seg-demo {
  max-width: 38rem;
  margin-inline: auto;
}

.eg-seg-stage {
  position: relative;
  z-index: 1;
}

.eg-seg-board {
  padding-bottom: 0;
  overflow: hidden;
}

.eg-seg-board__head {
  margin-bottom: 0.75rem;
}

.eg-seg-board__live {
  gap: 0.35rem;
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.18);
}

.eg-seg-board__live i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: eg-an-pulse 1.8s ease-in-out infinite;
}

.eg-seg-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.eg-seg-filters button {
  appearance: none;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: default;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.eg-seg-filters button.is-active {
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.2);
}

.eg-seg-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.1) 0%, rgba(34, 211, 238, 0.05) 50%, rgba(248, 250, 252, 0.95) 100%);
  border: 1px solid rgba(14, 165, 233, 0.12);
}

.eg-seg-hero__main span {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.eg-seg-hero__main strong {
  display: block;
  margin: 0.2rem 0 0.15rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ps-ink, #0f172a);
}

.eg-seg-hero__main em {
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #64748b;
}

.eg-seg-hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.eg-seg-hero__stats div {
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.eg-seg-hero__stats span {
  display: block;
  font-size: 0.5625rem;
  font-weight: 500;
  color: #94a3b8;
}

.eg-seg-hero__stats strong {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0ea5e9;
  font-variant-numeric: tabular-nums;
}

.eg-seg {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.eg-seg__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto auto;
  gap: 0.12rem 0.7rem;
  align-items: center;
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.eg-seg__item.is-active {
  background: #fff;
  border-color: rgba(14, 165, 233, 0.28);
  box-shadow:
    0 0 0 3px rgba(14, 165, 233, 0.07),
    0 12px 28px rgba(14, 165, 233, 0.1);
  transform: translateY(-1px);
}

.eg-seg__mark {
  grid-row: 1 / span 3;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.65rem;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.14);
}

.eg-seg__mark--gold {
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.14);
}

.eg-seg__mark--risk {
  color: #b45309;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.16);
}

.eg-seg__mark--cart {
  color: #047857;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.14);
}

.eg-seg__mark--new {
  color: #475569;
  background: rgba(71, 85, 105, 0.08);
  border-color: rgba(71, 85, 105, 0.14);
}

.eg-seg__item.is-active .eg-seg__mark {
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.08);
}

.eg-seg__copy {
  min-width: 0;
}

.eg-seg__item strong {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: -0.02em;
  color: var(--ps-ink, #0f172a);
}

.eg-seg__item .eg-seg__copy span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.625rem;
  color: #64748b;
}

.eg-seg__item > em {
  grid-row: 1;
  grid-column: 3;
  align-self: start;
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-align: right;
}

.eg-seg__bar {
  grid-column: 2 / span 2;
  height: 0.28rem;
  margin-top: 0.25rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  overflow: hidden;
}

.eg-seg__bar i {
  display: block;
  height: 100%;
  width: var(--p, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee, #818cf8);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.eg-seg__item.is-active .eg-seg__bar i,
.eg-panel.is-inview .eg-seg__bar i {
  transform: scaleX(1);
}

.eg-seg__action {
  grid-column: 2 / span 2;
  margin-top: 0.2rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: #94a3b8;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.eg-seg__item.is-active .eg-seg__action {
  opacity: 1;
  transform: none;
  color: #0ea5e9;
}

.eg-seg-board__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.75rem -1.05rem 0;
  padding: 0.7rem 1.05rem 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
}

.eg-seg-board__footer span:first-child.is-tick {
  color: #0ea5e9;
}

.eg-seg-board__pulse {
  width: 0.45rem;
  height: 0.45rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
  animation: eg-an-pulse 1.8s ease-in-out infinite;
}

.eg-seg-float {
  position: absolute;
  top: -0.45rem;
  right: -0.2rem;
  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);
}

.eg-panel.is-inview .eg-seg-float {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: eg-an-float 5.5s ease-in-out 0.55s infinite;
}

.eg-seg-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);
}

.eg-seg-float strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ps-ink, #0f172a);
}

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

@media (max-width: 560px) {
  .eg-seg-hero {
    grid-template-columns: 1fr;
  }

  .eg-seg-float {
    right: 0.35rem;
    top: -0.2rem;
  }

  .eg-seg__action {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eg-panel.is-inview .eg-seg-float,
  .eg-seg-board__live i,
  .eg-seg-board__pulse {
    animation: none;
  }

  .eg-panel.is-inview .eg-seg-float {
    opacity: 1;
    transform: none;
  }
}

/* —— Triggers —— */

.eg-trig-demo {
  max-width: 38rem;
  margin-inline: auto;
}

.eg-trig-stage {
  position: relative;
  z-index: 1;
}

.eg-trig-board {
  overflow: hidden;
}

.eg-trig-board__head {
  margin-bottom: 0.75rem;
}

.eg-trig-board__live {
  gap: 0.35rem;
}

.eg-trig-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.eg-trig-filters span {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.eg-trig-filters span.is-active {
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.18);
}

.eg-trig-hero {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0.8rem 0.85rem;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.1) 0%, rgba(16, 185, 129, 0.06) 55%, rgba(248, 250, 252, 0.95) 100%);
  border: 1px solid rgba(14, 165, 233, 0.12);
}

.eg-trig-hero__label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.eg-trig-hero__event strong,
.eg-trig-hero__action strong {
  display: block;
  margin: 0.15rem 0 0.1rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ps-ink, #0f172a);
}

.eg-trig-hero__event em,
.eg-trig-hero__action em {
  display: block;
  font-style: normal;
  font-size: 0.625rem;
  font-weight: 500;
  color: #64748b;
}

.eg-trig-hero__action strong {
  color: #0ea5e9;
}

.eg-trig-hero__arrow {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  color: #0ea5e9;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(14, 165, 233, 0.16);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.12);
}

.eg-trig {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.eg-trig__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.1rem 0.65rem;
  align-items: center;
  padding: 0.65rem 0.7rem;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid transparent;
  opacity: 0.5;
  transition: opacity 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.eg-trig__row.is-active {
  opacity: 1;
  background: #fff;
  border-color: rgba(14, 165, 233, 0.28);
  box-shadow:
    0 0 0 3px rgba(14, 165, 233, 0.07),
    0 10px 24px rgba(14, 165, 233, 0.1);
  transform: translateY(-1px);
}

.eg-trig__icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 10px;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
}

.eg-trig__icon--order { color: #059669; background: rgba(16, 185, 129, 0.12); }
.eg-trig__icon--browse { color: #0284c7; background: rgba(14, 165, 233, 0.12); }
.eg-trig__icon--seg { color: #b45309; background: rgba(245, 158, 11, 0.12); }

.eg-trig__copy {
  min-width: 0;
}

.eg-trig__row strong {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: -0.02em;
  color: var(--ps-ink, #0f172a);
}

.eg-trig__row .eg-trig__copy span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.625rem;
  color: #64748b;
}

.eg-trig__row > em {
  grid-row: 1;
  grid-column: 3;
  align-self: start;
  font-style: normal;
  font-size: 0.5625rem;
  font-weight: 600;
  color: #94a3b8;
}

.eg-trig__pipe {
  grid-column: 2 / span 2;
  margin-top: 0.15rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: #94a3b8;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.eg-trig__row.is-active .eg-trig__pipe {
  opacity: 1;
  transform: none;
  color: #0ea5e9;
}

.eg-trig__toast {
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(145deg, #047857, #10b981);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.25);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.eg-trig__toast.is-visible {
  opacity: 1;
  transform: none;
}

.eg-trig-float {
  position: absolute;
  top: -0.45rem;
  right: -0.2rem;
  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);
}

.eg-panel.is-inview .eg-trig-float {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: eg-an-float 5.5s ease-in-out 0.55s infinite;
}

.eg-trig-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);
}

.eg-trig-float strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ps-ink, #0f172a);
}

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

@media (max-width: 560px) {
  .eg-trig-hero {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .eg-trig-hero__arrow {
    justify-self: start;
    transform: rotate(90deg);
  }

  .eg-trig-float {
    right: 0.35rem;
    top: -0.2rem;
  }

  .eg-trig__pipe {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eg-panel.is-inview .eg-trig-float {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* —— Personalization —— */

.eg-site {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.eg-site__chrome {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.7rem;
  background: #f1f5f9;
}

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

.eg-site__chrome span:nth-child(1) { background: #f87171; }
.eg-site__chrome span:nth-child(2) { background: #fbbf24; }
.eg-site__chrome span:nth-child(3) { background: #34d399; }

.eg-site__chrome em {
  margin-left: 0.4rem;
  font-style: normal;
  font-size: 0.5625rem;
  color: #94a3b8;
}

.eg-site__page {
  position: relative;
  min-height: 12.5rem;
  padding: 0.75rem;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(14, 165, 233, 0.08), transparent 55%),
    #f8fafc;
}

.eg-site__hero {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-height: 8.5rem;
}

.eg-site__hero img {
  width: 100%;
  height: 8.5rem;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.eg-site__hero-copy {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  color: #fff;
  text-shadow: 0 8px 20px rgba(15, 23, 42, 0.45);
}

.eg-site__hero-copy span {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

.eg-site__hero-copy strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
}

.eg-site__popup {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  width: min(72%, 11.5rem);
  padding: 0.8rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.eg-site__popup.is-visible {
  opacity: 1;
  transform: none;
}

.eg-site__popup-tag {
  display: inline-flex;
  margin-bottom: 0.35rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(14, 165, 233, 0.1);
}

.eg-site__popup strong {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.eg-site__popup p {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: #64748b;
}

.eg-site__popup-cta {
  display: inline-flex;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #22d3ee, #818cf8);
  box-shadow: 0 8px 18px rgba(14, 165, 233, 0.28);
}

/* —— Analytics —— */

.eg-an-demo {
  max-width: 38rem;
  margin-inline: auto;
}

.eg-an-stage {
  position: relative;
  z-index: 1;
}

.eg-an-board {
  padding-bottom: 0;
}

.eg-an-board__live {
  gap: 0.35rem;
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.18);
}

.eg-an-board__live i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: eg-an-pulse 1.8s ease-in-out infinite;
}

.eg-an-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.1) 0%, rgba(34, 211, 238, 0.05) 48%, rgba(248, 250, 252, 0.95) 100%);
  border: 1px solid rgba(14, 165, 233, 0.12);
}

.eg-an-hero__main span {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.eg-an-hero__main strong {
  display: block;
  margin: 0.2rem 0 0.15rem;
  font-size: clamp(1.55rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, #22d3ee, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eg-an-hero__main em {
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #059669;
}

.eg-an-hero__spark {
  height: 2.5rem;
  opacity: 0.95;
}

.eg-an-hero__spark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.eg-an-spark__fill {
  fill: rgba(14, 165, 233, 0.14);
}

.eg-an-spark__line {
  stroke: #0ea5e9;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
}

.eg-panel.is-inview .eg-an-spark__line {
  animation: eg-an-draw 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.eg-an-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 480px) {
  .eg-an-kpis {
    grid-template-columns: repeat(4, 1fr);
  }
}

.eg-an-kpi {
  padding: 0.65rem 0.6rem;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.eg-an-kpi.is-tick {
  border-color: rgba(14, 165, 233, 0.2);
  transform: translateY(-1px);
}

.eg-an-kpi span {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.eg-an-kpi strong {
  display: block;
  margin: 0.2rem 0 0.1rem;
  font-size: 1rem;
  letter-spacing: -0.03em;
  color: var(--ps-ink, #0f172a);
  font-variant-numeric: tabular-nums;
}

.eg-an-kpi em {
  font-style: normal;
  font-size: 0.5625rem;
  font-weight: 600;
  color: #059669;
}

.eg-an-kpi--accent {
  background: linear-gradient(160deg, rgba(14, 165, 233, 0.1), rgba(34, 211, 238, 0.06));
  border-color: rgba(14, 165, 233, 0.14);
}

.eg-an-kpi--accent strong {
  background: linear-gradient(120deg, #22d3ee, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eg-an-split {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.15rem;
}

@media (min-width: 560px) {
  .eg-an-split {
    grid-template-columns: 1fr 1.05fr;
    gap: 0.75rem;
    align-items: stretch;
  }
}

.eg-an-channels,
.eg-an-funnel {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.eg-an-channels__head,
.eg-an-funnel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.eg-an-channels__head span,
.eg-an-funnel__head span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.eg-an-channels__head em,
.eg-an-funnel__head em {
  font-style: normal;
  font-size: 0.625rem;
  font-weight: 600;
  color: #64748b;
}

.eg-an-channel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.eg-an-channel.is-active {
  background: #fff;
  border-color: rgba(14, 165, 233, 0.18);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.08);
  transform: translateY(-1px);
}

.eg-an-channel__icon {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 8px;
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.1);
}

.eg-an-channel__icon--email {
  color: #818cf8;
  background: rgba(99, 102, 241, 0.12);
}

.eg-an-channel__icon--sms {
  color: #0ea5e9;
  background: rgba(14, 165, 233, 0.12);
}

.eg-an-channel__meta strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ps-ink, #0f172a);
}

.eg-an-channel__meta span {
  display: block;
  font-size: 0.5625rem;
  color: #94a3b8;
}

.eg-an-channel b {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ps-ink, #0f172a);
  font-variant-numeric: tabular-nums;
}

.eg-an-funnel {
  gap: 0.45rem;
}

.eg-an-funnel__row {
  display: grid;
  grid-template-columns: 4.1rem 1fr auto;
  gap: 0.45rem;
  align-items: center;
  padding: 0.2rem 0.15rem;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.eg-an-funnel__row.is-active {
  background: rgba(255, 255, 255, 0.85);
}

.eg-an-funnel__row span {
  font-size: 0.6875rem;
  color: #64748b;
}

.eg-an-funnel__row strong {
  font-size: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--ps-ink, #0f172a);
  font-variant-numeric: tabular-nums;
}

.eg-an-funnel__track {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  overflow: hidden;
}

.eg-an-funnel__track i {
  display: block;
  height: 100%;
  width: var(--w, 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee, #818cf8);
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.eg-an-funnel__row--win .eg-an-funnel__track i {
  background: linear-gradient(90deg, #059669, #34d399);
}

.eg-panel.is-inview .eg-an-funnel__track i {
  transform: scaleX(1);
}

.eg-an-funnel__row.is-active .eg-an-funnel__track {
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.12);
}

.eg-an-board__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.75rem -1.05rem 0;
  padding: 0.7rem 1.05rem 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
}

.eg-an-board__footer span:first-child.is-tick {
  color: #0ea5e9;
}

.eg-an-board__pulse {
  width: 0.45rem;
  height: 0.45rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
  animation: eg-an-pulse 1.8s ease-in-out infinite;
}

.eg-an-float {
  position: absolute;
  top: -0.55rem;
  right: -0.25rem;
  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);
}

.eg-panel.is-inview .eg-an-float {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: eg-an-float 5.5s ease-in-out 0.55s infinite;
}

.eg-an-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);
}

.eg-an-float strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ps-ink, #0f172a);
}

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

@keyframes eg-an-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes eg-an-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.92); }
}

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

@media (max-width: 560px) {
  .eg-an-hero {
    grid-template-columns: 1fr;
  }

  .eg-an-float {
    right: 0.35rem;
    top: -0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eg-panel.is-inview .eg-panel__card,
  .eg-panel__badge i,
  .eg-site__popup,
  .eg-trig__toast,
  .eg-seg__bar i,
  .eg-an-funnel__track i {
    animation: none;
    transition: none;
    transform: none;
  }

  .eg-panel.is-inview .eg-an-spark__line,
  .eg-panel.is-inview .eg-an-float,
  .eg-an-board__live i,
  .eg-an-board__pulse {
    animation: none;
  }

  .eg-panel.is-inview .eg-an-float {
    opacity: 1;
    transform: none;
  }

  .eg-an-spark__line {
    stroke-dashoffset: 0;
  }
}
