/* ═══════════════════════════════════════════════════
   WORLD-CLASS HERO & HEADER (wx-*) — Bilik Dəftəri
   ═══════════════════════════════════════════════════ */

/* ── Header ── */
.wx-header {
  position: sticky; top: 0; z-index: 90;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
  background: transparent; border-bottom: 1px solid transparent;
}
.wx-header.is-scrolled {
  background: color-mix(in srgb, var(--color-lp-nav-bg, rgba(3,7,18,.82)) 78%, transparent);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: color-mix(in srgb, var(--color-lp-border, rgba(129,140,248,.18)) 80%, transparent);
  box-shadow: 0 12px 40px -28px rgba(15,23,42,.55);
}
.wx-header-bar {
  margin: 0 auto; max-width: 72rem; min-height: 4.25rem;
  display: flex; align-items: center; gap: .75rem;
  padding: 0 1rem;
}
@media (min-width: 640px) { .wx-header-bar { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .wx-header-bar { padding: 0 2rem; } }

.wx-brand {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; color: var(--color-lp-heading, #fff); min-width: 0;
}
.wx-brand-text { font-size: 1.05rem; font-weight: 800; letter-spacing: -.03em; }
.wx-brand-text span {
  background: linear-gradient(120deg, #818cf8, #22d3ee 50%, #fbbf24);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.wx-nav {
  display: none; flex: 1; justify-content: center; align-items: center;
  gap: .15rem; position: relative;
}
@media (min-width: 1024px) { .wx-nav { display: flex; } }
.wx-nav-pill {
  position: absolute; left: 0; top: 50%; height: 2.2rem;
  border-radius: 999px; pointer-events: none;
  background: rgba(99,102,241,.14);
  border: 1px solid rgba(129,140,248,.22);
  transform: translate3d(0,-50%,0) scaleX(.6); opacity: 0;
  transition: transform .28s cubic-bezier(.22,1,.36,1), width .28s cubic-bezier(.22,1,.36,1), opacity .2s ease, left .28s cubic-bezier(.22,1,.36,1);
  will-change: transform, left, width;
}
.wx-nav-pill.is-on { opacity: 1; }
.wx-nav-item { position: relative; }
.wx-nav-link {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center;
  border: 0; background: transparent; cursor: pointer;
  padding: .55rem .9rem; border-radius: 999px;
  font-size: .875rem; font-weight: 600;
  color: var(--color-lp-muted, #94a3b8);
  text-decoration: none; transition: color .2s ease;
}
.wx-nav-link:hover, .wx-nav-link.is-active, .wx-nav-item.is-open > .wx-nav-link {
  color: var(--color-lp-heading, #fff);
}
.wx-nav-link::after {
  content: ''; position: absolute; left: 18%; right: 18%; bottom: 6px;
  height: 2px; border-radius: 999px;
  background: linear-gradient(90deg, #6366f1, #22d3ee);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s cubic-bezier(.22,1,.36,1);
}
.wx-nav-link:hover::after, .wx-nav-link.is-active::after { transform: scaleX(1); }

.wx-mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(560px, 70vw); padding: 1rem;
  border-radius: 1.25rem;
  border: 1px solid var(--color-lp-border, rgba(129,140,248,.2));
  background: color-mix(in srgb, var(--color-lp-nav-bg, rgba(3,7,18,.92)) 92%, transparent);
  backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 24px 60px -28px rgba(0,0,0,.55);
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease, transform .28s cubic-bezier(.22,1,.36,1);
  z-index: 20;
}
.wx-nav-item.is-open .wx-mega {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
  display: block;
}
.wx-mega[hidden] { display: none !important; }
.wx-nav-item.is-open .wx-mega:not([hidden]) { display: block; }
.wx-mega-grid { display: grid; grid-template-columns: 1fr; gap: .5rem; }
@media (min-width: 640px) { .wx-mega-grid { grid-template-columns: 1fr 1fr; } }
.wx-mega-card {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: .75rem; row-gap: .15rem;
  padding: .85rem; border-radius: 1rem; text-decoration: none;
  border: 1px solid transparent; color: var(--color-lp-heading, #fff);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.wx-mega-card:hover {
  background: rgba(99,102,241,.1);
  border-color: rgba(129,140,248,.25);
}
.wx-mega-icon { grid-row: span 2; font-size: 1.25rem; line-height: 1; margin-top: .1rem; }
.wx-mega-title { font-size: .9rem; font-weight: 700; }
.wx-mega-desc { font-size: .75rem; color: var(--color-lp-muted, #94a3b8); }

.wx-actions { margin-left: auto; display: flex; align-items: center; gap: .4rem; }
.wx-icon-btn {
  display: inline-flex; width: 2.4rem; height: 2.4rem; align-items: center; justify-content: center;
  border-radius: .8rem; border: 1px solid transparent; background: transparent;
  color: var(--color-lp-muted, #94a3b8); cursor: pointer; transition: .2s ease;
}
.wx-icon-btn:hover {
  color: var(--color-lp-heading, #fff);
  border-color: var(--color-lp-border, rgba(129,140,248,.25));
  background: rgba(99,102,241,.08);
}
.wx-lang {
  display: none; padding: .35rem .55rem; border-radius: .6rem;
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  text-decoration: none; color: var(--color-lp-muted, #94a3b8);
  border: 1px solid transparent;
}
@media (min-width: 640px) { .wx-lang { display: inline-flex; } }
.wx-lang:hover { color: var(--color-lp-heading, #fff); border-color: var(--color-lp-border, rgba(129,140,248,.25)); }
.wx-link-login {
  display: none; padding: .45rem .7rem; font-size: .85rem; font-weight: 700;
  text-decoration: none; color: var(--color-lp-muted, #94a3b8);
}
@media (min-width: 768px) { .wx-link-login { display: inline-flex; } }
.wx-nav-link:focus-visible,
.wx-icon-btn:focus-visible,
.wx-cta:focus-visible,
.wx-btn:focus-visible,
.wx-lang:focus-visible,
.wx-link-login:focus-visible,
.wx-mega-card:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 2px;
}
.wx-cta {
  display: none; align-items: center; justify-content: center;
  padding: .55rem 1rem; border-radius: .85rem; font-size: .85rem; font-weight: 700;
  color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #4f46e5, #0891b2);
  box-shadow: 0 10px 28px -12px rgba(79,70,229,.65);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
@media (min-width: 1024px) { .wx-cta { display: inline-flex; } }
.wx-cta:hover { filter: brightness(1.06); box-shadow: 0 14px 34px -12px rgba(8,145,178,.55); }
.wx-cta-block { display: flex !important; width: 100%; margin-top: .5rem; }

.wx-burger { display: inline-flex; order: -1; }
@media (min-width: 1024px) { .wx-burger { display: none; } }
.wx-burger span { position: relative; display: block; width: 1rem; height: .875rem; }
.wx-burger i {
  position: absolute; left: 0; display: block; width: 100%; height: 2px; border-radius: 999px;
  background: currentColor; transition: .28s ease;
}
.wx-burger i:nth-child(1) { top: 0; }
.wx-burger i:nth-child(2) { top: 50%; margin-top: -1px; }
.wx-burger i:nth-child(3) { bottom: 0; }
.wx-header.is-open .wx-burger i:nth-child(1) { top: 50%; margin-top: -1px; transform: rotate(45deg); }
.wx-header.is-open .wx-burger i:nth-child(2) { opacity: 0; }
.wx-header.is-open .wx-burger i:nth-child(3) { top: 50%; bottom: auto; margin-top: -1px; transform: rotate(-45deg); }

.wx-mobile {
  border-top: 1px solid var(--color-lp-border, rgba(129,140,248,.18));
  background: color-mix(in srgb, var(--color-lp-nav-bg, rgba(3,7,18,.95)) 94%, transparent);
  backdrop-filter: blur(18px);
}
.wx-mobile-inner { margin: 0 auto; max-width: 72rem; padding: 1rem; display: flex; flex-direction: column; gap: .2rem; }
.wx-mobile-label { margin: .6rem 0 .2rem; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--color-lp-muted, #94a3b8); }
.wx-mobile-link {
  border-radius: .75rem; padding: .75rem; font-size: .9rem; font-weight: 650;
  text-decoration: none; color: var(--color-lp-heading, #fff);
}
.wx-mobile-link:hover { background: rgba(99,102,241,.1); }

@media (max-width: 1023px) {
  .wx-header-bar { display: grid; grid-template-columns: 2.5rem 1fr auto; }
  .wx-brand { justify-self: center; }
  .wx-actions { justify-self: end; margin-left: 0; }
}

/* ── Hero ── */
.wx-hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: stretch; overflow: hidden; isolation: isolate;
}
.wx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.wx-layer { position: absolute; inset: 0; will-change: transform; }
.wx-aurora {
  position: absolute; border-radius: 9999px; filter: blur(90px); opacity: .55;
  will-change: transform; animation: wxAurora 20s ease-in-out infinite;
}
.wx-aurora-a {
  width: min(52vw,560px); height: min(52vw,560px); top: -12%; left: -8%;
  background: radial-gradient(circle, rgba(99,102,241,.5), transparent 70%);
}
.wx-aurora-b {
  width: min(44vw,480px); height: min(44vw,480px); right: -10%; top: 12%;
  background: radial-gradient(circle, rgba(34,211,238,.35), transparent 70%);
  animation-delay: -7s;
}
.wx-aurora-c {
  width: min(38vw,400px); height: min(38vw,400px); left: 30%; bottom: -14%;
  background: radial-gradient(circle, rgba(251,191,36,.22), transparent 70%);
  animation-delay: -12s;
}
@keyframes wxAurora {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(4%,-5%,0) scale(1.08); }
}
.wx-mesh {
  position: absolute; inset: 0; opacity: .28;
  background-image:
    linear-gradient(rgba(148,163,184,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 35%, #000 15%, transparent 75%);
}
.wx-stars {
  position: absolute; inset: 0; opacity: .55;
  background-image: radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.5px 1.5px at 70% 20%, rgba(255,255,255,.4), transparent),
    radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,.35), transparent),
    radial-gradient(1.5px 1.5px at 85% 60%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,.3), transparent);
  animation: wxStars 12s ease-in-out infinite;
}
@keyframes wxStars { 0%,100% { opacity: .4; } 50% { opacity: .7; } }
.wx-noise {
  position: absolute; inset: 0; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wx-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.wx-starrain {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}
.wx-shell {
  position: relative; z-index: 10; margin: 0 auto; width: 100%; max-width: 72rem;
  display: flex; flex-direction: column; justify-content: center;
  padding: 1.5rem 1rem 2rem;
  min-height: calc(100vh - 4.25rem); min-height: calc(100dvh - 4.25rem);
  /* Scroll fade/blur removed — content must stay sharp after first paint */
  opacity: 1 !important;
  filter: none !important;
}
@media (min-width: 640px) { .wx-shell { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .wx-shell { padding-left: 2rem; padding-right: 2rem; } }

.wx-grid {
  display: grid; align-items: center; gap: 2.25rem;
}
@media (min-width: 1024px) { .wx-grid { grid-template-columns: 1.05fr .95fr; gap: 2rem; } }

.wx-copy { position: relative; z-index: 2; max-width: 38rem; }
.wx-eyebrow {
  margin: 0 0 1.15rem; display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .85rem; border-radius: 999px; font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: #a5b4fc; border: 1px solid rgba(129,140,248,.28);
  background: rgba(99,102,241,.1);
}
.wx-live {
  width: .5rem; height: .5rem; border-radius: 999px; background: #34d399;
  box-shadow: 0 0 12px rgba(52,211,153,.8); animation: wxPulse 1.5s ease-in-out infinite;
}
@keyframes wxPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.8); } }

.wx-title {
  margin: 0; font-weight: 800; letter-spacing: -.05em; line-height: 1.02;
  color: var(--color-lp-heading, #fff);
  font-size: clamp(2.5rem, 7vw, 4.6rem);
}
.wx-title-brand { display: block; }
.wx-rotator {
  display: block; margin-top: .4rem; min-height: 1.15em; perspective: 900px;
}
.wx-rotator-frame {
  position: relative; display: block; min-height: 1.15em; overflow: hidden;
}
.wx-rotator-line {
  display: block; width: 100%;
  background: linear-gradient(115deg, #818cf8 0%, #22d3ee 42%, #fbbf24 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  will-change: transform, opacity, filter; transform-origin: 50% 60%;
}
.wx-rotator-line.is-in {
  opacity: 1; filter: blur(0); transform: translate3d(0,0,0) rotateX(0);
  transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1), filter .75s cubic-bezier(.22,1,.36,1);
}
.wx-rotator-line.is-out {
  position: absolute; left: 0; top: 0; width: 100%;
  opacity: 0; filter: blur(14px);
  transform: translate3d(0,-36%,0) rotateX(32deg) scale(.98);
  transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1), filter .55s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.wx-rotator-line.is-prep {
  opacity: 0; filter: blur(12px);
  transform: translate3d(0,34%,0) rotateX(-34deg) scale(.98);
  transition: none;
}

.wx-lead {
  margin: 1.25rem 0 0; max-width: 34rem;
  font-size: clamp(.98rem, 2.2vw, 1.15rem); line-height: 1.65;
  color: var(--color-lp-muted, #94a3b8);
}
.wx-ctas { margin-top: 1.85rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.wx-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.35rem; border-radius: 1rem; font-size: .9rem; font-weight: 700;
  text-decoration: none; will-change: transform;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, border-color .2s ease;
}
.wx-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #0ea5e9 55%, #4f46e5);
  background-size: 180% 180%;
  box-shadow: 0 14px 36px -14px rgba(79,70,229,.7);
}
.wx-btn-primary:hover {
  background-position: 100% 0; filter: brightness(1.06);
  box-shadow: 0 18px 44px -14px rgba(14,165,233,.55);
}
.wx-btn-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%);
}
.wx-btn-primary:hover .wx-btn-shine { animation: wxShine .9s ease; }
@keyframes wxShine { to { transform: translateX(120%); } }
.wx-btn-ghost {
  color: var(--color-lp-heading, #fff);
  border: 1px solid var(--color-lp-border, rgba(129,140,248,.28));
  background: color-mix(in srgb, var(--color-lp-glass, rgba(15,23,42,.45)) 80%, transparent);
  backdrop-filter: blur(12px);
}
.wx-btn-ghost:hover {
  border-color: rgba(99,102,241,.45);
  box-shadow: 0 12px 30px -18px rgba(99,102,241,.45);
}

/* Scene */
.wx-scene {
  position: relative; margin: 0 auto; width: 100%; max-width: 440px;
  min-height: 340px; display: flex; align-items: center; justify-content: center;
}
@media (min-width: 1024px) { .wx-scene { max-width: none; } }
.wx-scene-glass {
  position: relative; width: min(100%, 420px); aspect-ratio: 1;
  border-radius: 2rem;
  border: 1px solid color-mix(in srgb, var(--color-lp-border, rgba(129,140,248,.25)) 85%, transparent);
  background: linear-gradient(155deg, rgba(255,255,255,.12), rgba(255,255,255,.02));
  backdrop-filter: blur(20px) saturate(1.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 36px 90px -42px rgba(15,23,42,.65);
  overflow: hidden; transform-style: preserve-3d; will-change: transform;
}
html[data-theme='dark'] .wx-scene-glass {
  background: linear-gradient(155deg, rgba(99,102,241,.14), rgba(15,23,42,.4));
}
.wx-scene-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  z-index: 5; display: flex; flex-direction: column; align-items: center; gap: .55rem;
}
.wx-scene-badge {
  padding: .25rem .7rem; border-radius: 999px; font-size: 10px; font-weight: 800;
  letter-spacing: .08em; background: #FFD666; color: #1a1a1a;
  box-shadow: 0 8px 20px -8px rgba(251,191,36,.85);
}
.wx-neural {
  position: absolute; inset: 12%; border-radius: 999px; opacity: .35;
  background:
    radial-gradient(circle at 30% 40%, rgba(129,140,248,.35), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(34,211,238,.25), transparent 42%);
  animation: wxPulse 4s ease-in-out infinite;
}
.wx-orbit {
  position: absolute; left: 50%; top: 50%; border-radius: 9999px;
  border: 1px solid rgba(99,102,241,.18); transform: translate(-50%,-50%);
  pointer-events: none;
}
.wx-orbit-a { width: 56%; height: 56%; animation: wxSpin 26s linear infinite; }
.wx-orbit-b { width: 76%; height: 76%; border-style: dashed; opacity: .55; animation: wxSpin 40s linear infinite reverse; }
.wx-orbit-c { width: 94%; height: 94%; opacity: .28; animation: wxSpin 58s linear infinite; }
@keyframes wxSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.wx-node {
  --r: 38%;
  position: absolute; left: 50%; top: 50%;
  width: 2.7rem; height: 2.7rem; margin: -1.35rem 0 0 -1.35rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 1rem; z-index: 4; font-size: 1.05rem;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px -14px rgba(15,23,42,.5);
  will-change: transform;
  animation: wxNode 24s linear infinite;
  animation-delay: calc(var(--i) * -3s);
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
html[data-theme='light'] .wx-node {
  background: rgba(255,255,255,.78); border-color: rgba(148,163,184,.3);
}
.wx-node.is-near {
  border-color: rgba(129,140,248,.55);
  box-shadow: 0 0 24px rgba(99,102,241,.35);
  filter: drop-shadow(0 0 calc(8px * var(--near, 0)) rgba(99,102,241,.45));
}
.wx-node span {
  display: block;
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.wx-node.is-near span {
  transform: scale(calc(1 + 0.18 * var(--near, 0)));
}
.wx-ripple {
  position: absolute; border-radius: 999px; pointer-events: none;
  background: rgba(255,255,255,.35);
  transform: scale(0); animation: wxRipple .6s ease-out forwards;
}
@keyframes wxRipple { to { transform: scale(1); opacity: 0; } }
@keyframes wxNode {
  from { transform: rotate(calc(var(--i) * (360deg / var(--n)))) translate(var(--r)) rotate(calc(var(--i) * (-360deg / var(--n)))); }
  to { transform: rotate(calc(var(--i) * (360deg / var(--n)) + 360deg)) translate(var(--r)) rotate(calc(var(--i) * (-360deg / var(--n)) - 360deg)); }
}

/* Stats */
.wx-stats {
  margin-top: 2.25rem;
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem;
}
@media (min-width: 640px) { .wx-stats { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (min-width: 1024px) { .wx-stats { grid-template-columns: repeat(8, minmax(0,1fr)); } }
.wx-stat {
  border-radius: 1rem; border: 1px solid var(--color-lp-border, rgba(129,140,248,.2));
  padding: .85rem .7rem; text-align: center;
  background: color-mix(in srgb, var(--color-lp-glass, rgba(15,23,42,.5)) 88%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -22px rgba(15,23,42,.4);
  transition: transform .2s ease, border-color .2s ease;
}
.wx-stat:hover { border-color: rgba(99,102,241,.4); }
.wx-stat-value {
  margin: 0; font-size: clamp(1.05rem, 2.4vw, 1.35rem); font-weight: 800;
  letter-spacing: -.03em; color: var(--color-lp-heading, #fff);
}
.wx-stat-label {
  margin: .3rem 0 0; font-size: .65rem; font-weight: 650;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--color-lp-muted, #94a3b8);
}

.wx-scroll {
  margin-top: 1.75rem; display: flex; flex-direction: column; align-items: center; gap: .45rem;
  color: var(--color-lp-muted, #94a3b8);
}
.wx-scroll-label { font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.wx-scroll-mouse {
  position: relative; width: 22px; height: 34px; border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--color-lp-muted, #94a3b8) 55%, transparent);
}
.wx-scroll-dot {
  position: absolute; left: 50%; top: 7px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 999px; background: currentColor;
  animation: wxScrollDot 1.8s cubic-bezier(.22,1,.36,1) infinite;
}
@keyframes wxScrollDot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

@media (max-width: 1023px) {
  .wx-shell { padding-top: 1rem; }
  .wx-scene { order: -1; max-width: 280px; min-height: 260px; }
  .wx-title { font-size: clamp(2.15rem, 9vw, 2.9rem); }
  .wx-stats { margin-top: 1.5rem; }
}
@media (max-width: 480px) {
  .wx-scene { max-width: 240px; min-height: 220px; }
  .wx-node { width: 2.25rem; height: 2.25rem; margin: -1.125rem 0 0 -1.125rem; font-size: .9rem; }
  .wx-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .wx-aurora, .wx-orbit, .wx-node, .wx-live, .wx-scroll-dot, .wx-stars { animation: none !important; }
  .wx-rotator-line { filter: none !important; transition: none !important; transform: none !important; }
  .wx-particles, .wx-starrain { display: none !important; }
  .wx-nav-pill { display: none !important; }
}
@media (pointer: coarse) {
  .wx-starrain { display: none !important; }
}


/* ── Landing hero v12: conversion-focused product demo ── */
.wx-hero-v12 {
  min-height: calc(100vh - 68px);
  background: #f8faff;
  color: #0b1530;
}
html[data-theme="dark"] .wx-hero-v12 { background: #080d1d; color: #f8fafc; }
.wx-hero-v12 .wx-bg {
  background:
    linear-gradient(rgba(99,102,241,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.wx-v12-glow { position:absolute; border-radius:999px; filter:blur(80px); opacity:.35; }
.wx-v12-glow-a { width:34rem; height:34rem; left:-15rem; top:5rem; background:#dbeafe; }
.wx-v12-glow-b { width:32rem; height:32rem; right:-12rem; bottom:-8rem; background:#cffafe; }
.wx-v12-dots {
  position:absolute; inset:0; opacity:.35;
  background-image: radial-gradient(#818cf8 1.5px, transparent 1.5px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}
.wx-hero-v12 .wx-shell { position:relative; z-index:2; max-width:80rem; padding-top:clamp(3rem,7vh,6rem); }
.wx-hero-v12 .wx-grid { grid-template-columns:minmax(0,.9fr) minmax(32rem,1.1fr); gap:clamp(2rem,5vw,5rem); align-items:center; }
.wx-hero-v12 .wx-copy { max-width:38rem; }
.wx-hero-v12 .wx-eyebrow {
  color:#4f46e5; background:#eef2ff; border-color:#c7d2fe;
  box-shadow:none; letter-spacing:.14em;
}
.wx-hero-v12 .wx-title { color:#0b1530; text-shadow:none; }
html[data-theme="dark"] .wx-hero-v12 .wx-title { color:#f8fafc; }
.wx-v12-title { display:flex; flex-direction:column; font-size:clamp(2.75rem,5vw,5rem); line-height:1.02; letter-spacing:-.055em; }
.wx-v12-gradient {
  background:linear-gradient(100deg,#6366f1 0%,#0ea5e9 48%,#14b8a6 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.wx-hero-v12 .wx-lead { max-width:36rem; color:#53627b; font-size:clamp(1rem,1.35vw,1.2rem); line-height:1.75; }
html[data-theme="dark"] .wx-hero-v12 .wx-lead { color:#aebbd0; }
.wx-hero-v12 .wx-btn-primary { background:linear-gradient(105deg,#4f46e5,#06b6d4); box-shadow:0 16px 34px -18px rgba(37,99,235,.75); }
.wx-hero-v12 .wx-btn-ghost { color:#17213a; background:rgba(255,255,255,.86); border-color:#dbe3f1; }
html[data-theme="dark"] .wx-hero-v12 .wx-btn-ghost { color:#f8fafc; background:#111a30; border-color:#28334d; }

.wx-product-demo {
  position:relative; min-height:29rem; padding:2rem;
  border:1px solid rgba(148,163,184,.24); border-radius:2rem;
  background:rgba(255,255,255,.78); backdrop-filter:blur(20px);
  box-shadow:0 35px 80px -42px rgba(30,64,175,.42);
  overflow:hidden;
}
html[data-theme="dark"] .wx-product-demo { background:rgba(15,23,42,.78); border-color:rgba(129,140,248,.2); }
.wx-demo-steps { display:grid; grid-template-columns:1fr auto 1fr auto 1fr; align-items:start; gap:.65rem; }
.wx-demo-step { position:relative; display:flex; flex-direction:column; align-items:center; gap:.65rem; text-align:center; font-size:.76rem; color:#26324b; }
html[data-theme="dark"] .wx-demo-step { color:#dbe4f4; }
.wx-demo-number { position:absolute; top:-.65rem; right:calc(50% - 2.15rem); width:1.45rem; height:1.45rem; display:grid; place-items:center; border-radius:999px; background:#4f63ee; color:white; font-size:.7rem; }
.wx-demo-icon { width:4.35rem; height:4.35rem; display:grid; place-items:center; border-radius:1.25rem; background:linear-gradient(145deg,#eef2ff,#ecfeff); color:#5369f5; font-size:1.75rem; border:1px solid #e4eafb; }
.wx-demo-arrow { align-self:center; margin-top:1.3rem; color:#6477ef; font-size:1.4rem; }
.wx-demo-workspace { display:grid; grid-template-columns:1fr .8fr 1fr; gap:1rem; align-items:center; margin-top:2rem; }
.wx-demo-subjects,.wx-demo-result { padding:1rem; border-radius:1.15rem; background:#fff; border:1px solid #e7ecf5; box-shadow:0 15px 30px -26px #1e3a8a; }
html[data-theme="dark"] .wx-demo-subjects,html[data-theme="dark"] .wx-demo-result { background:#111a30; border-color:#28334d; }
.wx-demo-select { display:flex!important; justify-content:space-between; color:#17213a!important; font-weight:700; border:1px solid #dfe6f3; background:#fbfcff!important; }
.wx-demo-subjects>div { display:flex; gap:.55rem; padding:.55rem .65rem; border-radius:.65rem; color:#66748d; font-size:.76rem; }
.wx-demo-subjects .is-active { color:#344bd8; background:#eef2ff; }
.wx-demo-ai { display:flex; flex-direction:column; align-items:center; gap:1rem; }
.wx-demo-bot { width:5.4rem; height:5.4rem; display:grid; place-items:center; border-radius:2rem; background:linear-gradient(145deg,#172554,#4f46e5); color:#67e8f9; box-shadow:0 18px 34px -20px #312e81; animation:wxDemoFloat 3s ease-in-out infinite; }
.wx-demo-bot span { font-size:2rem; }
.wx-demo-bubble { position:relative; width:9rem; padding:.65rem; border-radius:.9rem; background:#fff; border:1px solid #dfe6f3; text-align:center; font-size:.7rem; color:#26324b; }
html[data-theme="dark"] .wx-demo-bubble { background:#17213a; color:#e2e8f0; border-color:#33405d; }
.wx-demo-result { display:flex; flex-direction:column; gap:.5rem; }
.wx-demo-result-label { font-size:.72rem; color:#64748b; font-weight:700; }
.wx-demo-result strong { font-size:2.1rem; line-height:1; color:#0f172a; }
html[data-theme="dark"] .wx-demo-result strong { color:#fff; }
.wx-demo-result>span:last-of-type { color:#64748b; font-size:.68rem; }
.wx-demo-progress { display:grid; grid-template-columns:1fr 2rem; align-items:center; gap:.45rem; height:.7rem; margin-top:.3rem; }
.wx-demo-progress:before { content:""; grid-column:1; grid-row:1; height:.42rem; border-radius:999px; background:#e9edf5; }
.wx-demo-progress i { grid-column:1; grid-row:1; display:block; width:var(--score); height:.42rem; border-radius:999px; background:linear-gradient(90deg,#6366f1,#14b8a6); }
.wx-demo-progress small { font-size:.62rem; color:#64748b; }
@keyframes wxDemoFloat { 50% { transform:translateY(-7px); } }

.wx-v12-stats { grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; margin-top:2.5rem; }
.wx-v12-stat { display:flex; align-items:center; gap:1rem; min-height:6.4rem; text-align:left; padding:1rem 1.25rem; background:rgba(255,255,255,.86); border-color:#e3e9f3; box-shadow:0 18px 36px -30px #1e3a8a; }
html[data-theme="dark"] .wx-v12-stat { background:rgba(15,23,42,.8); border-color:#28334d; }
.wx-stat-icon { flex:0 0 auto; width:2.8rem; height:2.8rem; display:grid; place-items:center; border-radius:.9rem; background:#eef2ff; color:#4f5ee8; font-size:1.25rem; }
.wx-v12-stat .wx-stat-value { color:#0f172a; }
html[data-theme="dark"] .wx-v12-stat .wx-stat-value { color:#f8fafc; }
.wx-v12-stat .wx-stat-label { color:#64748b; }
.wx-v12-scroll { position:static; display:flex; width:max-content; margin:1.7rem auto 1rem; flex-direction:column; align-items:center; gap:.15rem; color:#64748b; text-decoration:none; }
.wx-scroll-chevron { color:#4f5ee8; font-size:1.7rem; line-height:.8; animation:wxChevron 1.8s ease-in-out infinite; }
@keyframes wxChevron { 50% { transform:translateY(5px); } }

@media (max-width:1023px) {
  .wx-hero-v12 .wx-grid { grid-template-columns:1fr; }
  .wx-hero-v12 .wx-copy { max-width:46rem; text-align:center; margin:auto; }
  .wx-hero-v12 .wx-eyebrow,.wx-hero-v12 .wx-ctas { margin-left:auto; margin-right:auto; justify-content:center; }
  .wx-hero-v12 .wx-lead { margin-left:auto; margin-right:auto; }
  .wx-product-demo { max-width:46rem; width:100%; margin:auto; }
}
@media (max-width:767px) {
  .wx-hero-v12 .wx-shell { padding-top:2.5rem; }
  .wx-v12-title { font-size:clamp(2.35rem,12vw,3.6rem); }
  .wx-product-demo { min-height:0; padding:1.15rem; border-radius:1.4rem; }
  .wx-demo-steps { gap:.25rem; }
  .wx-demo-icon { width:3.25rem; height:3.25rem; font-size:1.25rem; }
  .wx-demo-number { right:calc(50% - 1.7rem); }
  .wx-demo-arrow { font-size:1rem; }
  .wx-demo-step b { font-size:.62rem; }
  .wx-demo-workspace { grid-template-columns:1fr 1fr; }
  .wx-demo-ai { display:none; }
  .wx-v12-stats { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:.6rem; }
  .wx-v12-stat { flex:0 0 78%; scroll-snap-align:center; }
}
@media (max-width:420px) {
  .wx-demo-workspace { grid-template-columns:1fr; }
  .wx-demo-result { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .wx-demo-bot,.wx-scroll-chevron { animation:none; }
}


/* ── Landing hero v13: approved full product preview ── */
.wx-hero-v13 .wx-grid{grid-template-columns:minmax(0,.88fr) minmax(35rem,1.12fr)}
.wx-role-pills{display:flex;gap:.55rem;margin-top:1.25rem;flex-wrap:wrap}
.wx-role-pills a{display:inline-flex;align-items:center;justify-content:center;min-width:7.25rem;padding:.65rem 1rem;border:1px solid #dce4f2;border-radius:.9rem;background:rgba(255,255,255,.88);color:#44516a;text-decoration:none;font-size:.82rem;font-weight:700;box-shadow:0 12px 25px -22px #1e3a8a}
.wx-role-pills a.is-active{color:#fff;border-color:transparent;background:linear-gradient(105deg,#3156ee,#08b7db);box-shadow:0 14px 28px -16px #2563eb}
.wx-free-note{margin:.75rem 0 0;color:#5e6d84;font-size:.78rem}.wx-free-note span{display:inline-grid;place-items:center;width:1.1rem;height:1.1rem;border-radius:50%;background:#12bf72;color:#fff;font-weight:900}
.wx-hero-v13 .wx-product-demo{min-height:31rem;padding:1.65rem}
.wx-demo-v13-workspace{display:grid;grid-template-columns:1fr .86fr;gap:.85rem;margin-top:1.45rem}
.wx-question-card,.wx-analysis-card{border:1px solid #e4eaf5;border-radius:1.15rem;background:#fff;padding:1rem;box-shadow:0 18px 36px -30px #1e3a8a;color:#17213a}
.wx-question-head,.wx-analysis-head{display:flex;justify-content:space-between;align-items:center;font-size:.76rem}.wx-question-head span,.wx-analysis-head span{color:#4860e9}
.wx-question-progress{height:.35rem;margin:.65rem 0 1rem;border-radius:99px;background:#e8edf6;overflow:hidden}.wx-question-progress i{display:block;width:50%;height:100%;background:linear-gradient(90deg,#4f63ee,#20aeea)}
.wx-question-card>p{min-height:2.7rem;margin:.3rem 0 .75rem;font-size:.82rem;font-weight:750}
.wx-answer{display:flex;align-items:center;gap:.55rem;margin:.45rem 0;padding:.45rem .55rem;border:1px solid #dde4f1;border-radius:.55rem;color:#526079;font-size:.72rem}.wx-answer b{display:grid;place-items:center;width:1.25rem;height:1.25rem;border-radius:50%;background:#edf1f8;color:#27344c}.wx-answer.is-selected{border-color:#5975f0;background:#f0f4ff;color:#233bba}.wx-answer.is-selected b{background:#4f68ed;color:#fff}
.wx-question-actions{display:flex;justify-content:space-between;align-items:center;margin-top:.75rem;font-size:.67rem;color:#5369e7}.wx-question-actions b{padding:.55rem .7rem;border-radius:.55rem;background:linear-gradient(100deg,#5b6ff2,#55a9f2);color:#fff}
.wx-analysis-head{margin-bottom:.9rem}.wx-score-row{display:grid;grid-template-columns:7rem 1fr;gap:.8rem;align-items:center}.wx-score-ring{width:6.6rem;height:6.6rem;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle closest-side,#fff 72%,transparent 73% 99%),conic-gradient(#11bda9 var(--demo-score,78%),#e7edf5 0)}.wx-score-ring strong{font-size:1.45rem}.wx-score-ring small{font-size:.55rem;color:#64748b}
.wx-score-meta{display:flex;flex-direction:column;gap:.65rem;font-size:.62rem;color:#64748b}.wx-score-meta b{color:#17213a}.wx-analysis-card h3{margin:1rem 0 .7rem;font-size:.78rem}
.wx-weak-row{display:grid;grid-template-columns:1.15fr .8fr 2rem;gap:.4rem;align-items:center;margin:.55rem 0;font-size:.58rem;color:#586780}.wx-weak-row i{height:.42rem;border-radius:99px;background:#e9edf5;overflow:hidden}.wx-weak-row em{display:block;height:100%;border-radius:99px}.wx-weak-row em.red{background:#ff5865}.wx-weak-row em.orange{background:#ffad54}.wx-weak-row em.blue{background:#4e8ff0}
.wx-live-update{position:relative;z-index:3;width:max-content;margin:1.15rem 0 -.85rem .6rem;padding:.45rem .8rem;border-radius:99px;background:#e8fff3;color:#11955c;font-size:.7rem;font-weight:800;box-shadow:0 10px 25px -18px #059669}
.wx-live-update span{margin-right:.35rem}
@media(max-width:1023px){.wx-hero-v13 .wx-grid{grid-template-columns:1fr}.wx-role-pills{justify-content:center}.wx-free-note{text-align:center}.wx-live-update{margin-left:auto;margin-right:auto}}
@media(max-width:640px){.wx-role-pills a{min-width:0;flex:1}.wx-demo-v13-workspace{grid-template-columns:1fr}.wx-analysis-card{display:none}.wx-hero-v13 .wx-product-demo{min-height:0}.wx-score-row{grid-template-columns:6rem 1fr}}
@media(prefers-reduced-motion:reduce){.wx-hero-v13 *{scroll-behavior:auto}}


/* ── Brand refresh and live-status spacing ── */
.bd-logo-image{display:block;border-radius:22%;object-fit:cover;box-shadow:0 6px 16px -10px rgba(15,23,42,.55)}
.wx-brand{gap:0}
.wx-live-update{margin:1.75rem 0 0 .75rem;padding:.55rem .95rem;line-height:1.25}
.wx-hero-v13 .wx-v12-stats{margin-top:1.35rem}
@media(max-width:1023px){.wx-live-update{margin:1.75rem auto 0}}


/* ── Dynamic demo and relaxed live-status spacing ── */
.wx-analysis-card{transition:opacity .22s ease,transform .22s ease}
.wx-analysis-card.is-updating{opacity:.72;transform:translateY(2px)}
.wx-score-ring{transition:background .45s ease}
.wx-weak-row em{transition:width .55s cubic-bezier(.22,1,.36,1)}
.wx-live-update{margin:2rem 0 0 .75rem;padding:.6rem 1rem}
.wx-hero-v13 .wx-v12-stats{margin-top:1.85rem}
@media(max-width:1023px){.wx-live-update{margin:2rem auto 0}}
@media(prefers-reduced-motion:reduce){.wx-analysis-card,.wx-score-ring,.wx-weak-row em{transition:none}}


/* ── Stat cards: prevent large live values from colliding ── */
.wx-hero-v13 .wx-v12-stats{column-gap:1.5rem;row-gap:1rem}
.wx-hero-v13 .wx-v12-stat{min-width:0;gap:.7rem;padding:1rem .9rem}
.wx-hero-v13 .wx-v12-stat .wx-stat-icon{width:2.5rem;height:2.5rem}
.wx-hero-v13 .wx-stat-content{min-width:0;flex:1}
.wx-hero-v13 .wx-v12-stat .wx-stat-value{font-size:clamp(1rem,1.35vw,1.22rem);line-height:1.15;letter-spacing:-.045em;white-space:nowrap;font-variant-numeric:tabular-nums}
.wx-hero-v13 .wx-v12-stat .wx-stat-label{line-height:1.3;overflow-wrap:anywhere}
@media(min-width:768px) and (max-width:1180px){.wx-hero-v13 .wx-v12-stats{column-gap:1rem}.wx-hero-v13 .wx-v12-stat{gap:.55rem;padding:.9rem .7rem}.wx-hero-v13 .wx-v12-stat .wx-stat-value{font-size:1rem}}


/* ── Keep V13 stats at four columns even when an older Vite bundle loads later ── */
@media(min-width:768px){
  .wx-hero-v13 .wx-stats.wx-v12-stats{
    display:grid!important;
    width:100%!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    column-gap:1.5rem!important;
  }
  .wx-hero-v13 .wx-v12-stat{
    display:flex;
    overflow:hidden;
  }
  .wx-hero-v13 .wx-v12-stat .wx-stat-value{
    font-size:clamp(1.05rem,1.45vw,1.3rem);
  }
}
