/* ==========================================================================
   Yaigo — Home "wow" layer
   Loaded only on the home page, on top of style.css.
   ========================================================================== */

:root {
  --w-ink: #050B18;
  --w-ink-2: #0A1528;
  --w-ink-3: #111F3A;
  --w-line: rgba(255,255,255,0.09);
  --w-line-2: rgba(255,255,255,0.16);
  --w-text: #E8EEF9;
  --w-muted: #93A3BF;
  --w-green: #28D174;
  --w-blue: #1D70F4;
  --w-cyan: #3FD0E0;
  --w-amber: #FFB547;
  --w-grad: linear-gradient(120deg, #28D174 0%, #3FD0E0 45%, #1D70F4 100%);
  --w-ease: cubic-bezier(.2,.8,.2,1);
}

body.home-wow { background: #fff; }

/* ---------- Navbar over the dark hero ---------- */
.home-wow #mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.home-wow #mainNav .logo-on-dark { display: none !important; }
.home-wow #mainNav.is-dark {
  background: rgba(5,11,24,0.35);
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: none;
}
.home-wow #mainNav.is-dark .logo-on-light { display: none !important; }
.home-wow #mainNav.is-dark .logo-on-dark { display: block !important; }
.home-wow #mainNav.is-dark .nav-link { color: rgba(255,255,255,0.82); }
.home-wow #mainNav.is-dark .nav-link:hover,
.home-wow #mainNav.is-dark .nav-link.active { color: #fff; background: rgba(255,255,255,0.08); }
.home-wow #mainNav.is-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 1199.98px) {
  .home-wow #mainNav.is-dark .navbar-collapse.show,
  .home-wow #mainNav.is-dark .navbar-collapse.collapsing {
    background: rgba(5,11,24,0.96);
    border-radius: 16px;
    padding: 8px 12px 16px;
    margin-top: 8px;
  }
}

/* ---------- Shared ---------- */
.w-section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.w-dark { background: var(--w-ink); color: var(--w-text); }
.w-dark h1, .w-dark h2, .w-dark h3, .w-dark h4 { color: #fff; }
.w-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--w-blue); margin-bottom: 18px;
}
.w-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--w-grad); }
.w-dark .w-eyebrow { color: var(--w-cyan); }
.w-h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 17ch;
}
.w-lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--text-muted); max-width: 58ch; }
.w-dark .w-lead { color: var(--w-muted); }
.w-grad-text {
  background: var(--w-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.w-serif { font-family: var(--font-display); font-style: italic; font-weight: 700; letter-spacing: -0.02em; }
.w-head { margin-bottom: clamp(40px, 6vw, 72px); }
.w-head--center { text-align: center; }
.w-head--center .w-h2, .w-head--center .w-lead { margin-left: auto; margin-right: auto; }

.btn-glass {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  color: #fff !important; text-decoration: none; font-weight: 600; font-size: 15px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  transition: background .2s, border-color .2s, transform .2s;
}
.btn-glass:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); transform: translateY(-1px); }
.btn-glass .play {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px;
  background: #fff; color: var(--w-ink);
}
.btn-glow { position: relative; isolation: isolate; }
.btn-glow::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: var(--w-grad); filter: blur(18px); opacity: .55;
  transition: opacity .25s;
}
.btn-glow:hover::after { opacity: .9; }

/* Reveal (extends reveal.js) */
.w-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--w-ease), transform .9s var(--w-ease); }
.w-reveal.is-in { opacity: 1; transform: none; }
.w-reveal[data-d="1"] { transition-delay: .08s; }
.w-reveal[data-d="2"] { transition-delay: .16s; }
.w-reveal[data-d="3"] { transition-delay: .24s; }
.w-reveal[data-d="4"] { transition-delay: .32s; }

/* ==========================================================================
   HERO
   ========================================================================== */
.w-hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: 150px 0 60px;
  background: var(--w-ink);
  color: var(--w-text);
  overflow: hidden;
  isolation: isolate;
  --mx: 50%; --my: 30%;
}
.w-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.w-hero__aurora {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
  animation: w-float 18s ease-in-out infinite alternate;
}
.w-hero__aurora--1 { width: 60vw; height: 60vw; left: -18vw; top: -22vw; background: radial-gradient(circle, #1D70F4 0%, transparent 65%); }
.w-hero__aurora--2 { width: 48vw; height: 48vw; right: -14vw; top: 8vh; background: radial-gradient(circle, #28D174 0%, transparent 65%); opacity: .38; animation-duration: 22s; animation-delay: -6s; }
.w-hero__aurora--3 { width: 40vw; height: 40vw; left: 30vw; bottom: -26vw; background: radial-gradient(circle, #3FD0E0 0%, transparent 65%); opacity: .3; animation-duration: 26s; }
@keyframes w-float {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(4vw,3vh,0) scale(1.08); }
  100% { transform: translate3d(-3vw,-2vh,0) scale(.95); }
}
.w-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.w-hero__spot {
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx) var(--my), rgba(63,208,224,0.12), transparent 60%);
}
.w-hero__noise {
  position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.w-hero__grid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.w-pill {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,181,71,0.08);
  border: 1px solid rgba(255,181,71,0.28);
  color: #FFD9A0; font-size: 13px; font-weight: 500;
  text-decoration: none; margin-bottom: 26px;
  transition: background .2s, border-color .2s;
}
.w-pill:hover { background: rgba(255,181,71,0.14); color: #FFE7C4; }
.w-pill__tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  background: var(--w-amber); color: #2A1800; font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
}
.w-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: #2A1800; animation: w-blink 1.4s infinite; }
@keyframes w-blink { 50% { opacity: .25; } }
.w-pill strong { color: #fff; font-variant-numeric: tabular-nums; }

.w-hero h1 { margin: 0 0 24px; color: #fff; }
.w-hero h1 .kicker {
  display: block;
  font-size: clamp(.8rem, 1.1vw, .92rem);
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase; max-width: 44ch;
  color: var(--w-muted); margin-bottom: 18px;
}
.w-hero h1 .big {
  display: block;
  font-size: clamp(2.9rem, 7.4vw, 6.1rem);
  line-height: .96;
  letter-spacing: -0.05em;
  font-weight: 800;
}
.w-hero h1 .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.08em; }
.w-hero h1 .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: w-rise 1s var(--w-ease) forwards;
}
.w-hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.w-hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes w-rise { to { transform: none; } }
.w-hero h1 .ya { font-family: var(--font-display); font-style: italic; font-weight: 700; letter-spacing: -0.03em; }
.w-hero h1 .line--grad > span {
  background: var(--w-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: w-rise 1s var(--w-ease) .24s forwards, w-shine 6s linear 1.2s infinite;
}
@keyframes w-shine { to { background-position: -200% 0; } }

.w-hero__lead {
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  color: #B8C5DB; max-width: 34em; margin-bottom: 34px;
  opacity: 0; animation: w-fade .9s var(--w-ease) .45s forwards;
}
.w-hero__lead strong { color: #fff; font-weight: 600; }
.w-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; opacity: 0; animation: w-fade .9s var(--w-ease) .6s forwards; }
.w-hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px;
  font-size: 13.5px; color: var(--w-muted);
  opacity: 0; animation: w-fade .9s var(--w-ease) .75s forwards;
}
.w-hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.w-hero__trust i { color: var(--w-green); }
@keyframes w-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- Live POS demo ---- */
.w-demo-wrap {
  position: relative; perspective: 1400px;
  opacity: 0; animation: w-fade 1.1s var(--w-ease) .35s forwards;
}
.w-demo {
  position: relative;
  border-radius: 26px;
  padding: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 50px 120px -30px rgba(29,112,244,0.55), 0 0 0 1px rgba(0,0,0,0.3) inset;
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 5deg));
  transform-style: preserve-3d;
  transition: transform .5s var(--w-ease);
}
.w-demo__screen {
  position: relative;
  display: grid; grid-template-columns: 1.35fr 1fr;
  border-radius: 16px; overflow: hidden;
  background: #F4F7FC; color: #0B1F44;
  min-height: 380px;
  font-size: 13px;
}
.w-demo__top {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: #fff; border-bottom: 1px solid #E6ECF5;
}
.w-demo__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.w-demo__brand b {
  width: 22px; height: 22px; border-radius: 6px; background: var(--yaigo-grad);
  display: grid; place-items: center; color: #fff; font-size: 11px;
}
.w-demo__status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #148A4B; font-weight: 600; }
.w-demo__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #28D174; box-shadow: 0 0 0 3px rgba(40,209,116,.2); }
.w-demo__products { padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start; }
.w-prod {
  background: #fff; border: 1px solid #E6ECF5; border-radius: 12px;
  padding: 10px 8px; text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.w-prod i { font-size: 20px; margin-bottom: 6px; display: block; }
.w-prod span { display: block; font-weight: 600; font-size: 11.5px; line-height: 1.2; }
.w-prod em { font-style: normal; color: #6B7280; font-size: 11px; }
.w-prod.is-tap { transform: scale(.93); border-color: #1D70F4; box-shadow: 0 0 0 3px rgba(29,112,244,.18); }
.w-demo__ticket { background: #fff; border-left: 1px solid #E6ECF5; padding: 12px; display: flex; flex-direction: column; }
.w-demo__ticket h5 { font-size: 13px; margin: 0 0 8px; display: flex; justify-content: space-between; color: #0B1F44; }
.w-demo__ticket h5 small { color: #6B7280; font-weight: 500; }
.w-lines { list-style: none; padding: 0; margin: 0; flex: 1; min-height: 120px; }
.w-lines li {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 6px 0; border-bottom: 1px dashed #E6ECF5; font-size: 12px;
  animation: w-line-in .35s var(--w-ease);
}
@keyframes w-line-in { from { opacity: 0; transform: translateX(12px); } }
.w-sum { font-size: 11.5px; color: #6B7280; display: flex; justify-content: space-between; margin-top: 8px; }
.w-total { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 10px; font-weight: 800; font-size: 15px; }
.w-total output { font-size: 22px; color: #13A85B; font-variant-numeric: tabular-nums; }
.w-pay {
  border: 0; border-radius: 10px; padding: 10px;
  background: #13A85B; color: #fff; font-weight: 700; font-size: 13px;
  transition: transform .15s, filter .15s;
}
.w-pay.is-press { transform: scale(.95); filter: brightness(1.15); }

/* result overlay */
.w-demo__done {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center;
  background: rgba(244,247,252,0.72); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.w-demo.is-sent .w-demo__done { opacity: 1; visibility: visible; }
.w-receipt {
  width: min(250px, 80%);
  background: #fff; border-radius: 12px; padding: 16px;
  box-shadow: 0 30px 60px -20px rgba(11,31,68,.35);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10.5px; color: #3A4558;
  transform: translateY(24px) scale(.96); transition: transform .5s var(--w-ease);
  position: relative;
}
.w-demo.is-sent .w-receipt { transform: none; }
.w-receipt__head { font-family: var(--font-sans); font-weight: 800; font-size: 13px; color: #0B1F44; display: flex; justify-content: space-between; }
.w-receipt__row { display: flex; justify-content: space-between; margin-top: 4px; }
.w-receipt__qr { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #D6DEEA; }
.w-receipt__qr svg { width: 54px; height: 54px; flex: none; }
.w-receipt__qr span { font-family: var(--font-sans); font-size: 10px; line-height: 1.35; }
.w-hash { color: #1D70F4; word-break: break-all; }
.w-stamp {
  position: absolute; right: -14px; top: -16px;
  padding: 6px 12px; border-radius: 999px;
  background: #13A85B; color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: 11.5px;
  box-shadow: 0 10px 24px -6px rgba(19,168,91,.6);
  transform: scale(0) rotate(-12deg); transition: transform .45s cubic-bezier(.3,1.6,.5,1) .35s;
}
.w-demo.is-sent .w-stamp { transform: scale(1) rotate(-6deg); }

/* floating chips */
.w-chip {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px;
  background: rgba(10,21,40,0.78); border: 1px solid var(--w-line-2);
  backdrop-filter: blur(14px);
  color: #fff; font-size: 12.5px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.5);
  animation: w-bob 6s ease-in-out infinite;
}
.w-chip small { display: block; color: var(--w-muted); font-size: 11px; font-weight: 400; }
.w-chip .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; }
.w-chip--a { left: -34px; top: 18%; animation-delay: -1s; }
.w-chip--a .ic { background: rgba(40,209,116,.18); color: var(--w-green); }
.w-chip--b { right: -26px; bottom: 16%; animation-delay: -3s; }
.w-chip--b .ic { background: rgba(29,112,244,.22); color: #7DB0FF; }
.w-chip--c { left: 12%; bottom: -26px; animation-delay: -4.5s; }
.w-chip--c .ic { background: rgba(255,181,71,.18); color: var(--w-amber); }
@keyframes w-bob { 50% { transform: translateY(-10px); } }
.w-chip.is-pop { animation: w-pop .6s cubic-bezier(.3,1.6,.5,1), w-bob 6s ease-in-out infinite; }
@keyframes w-pop { 0% { transform: scale(.85); } 60% { transform: scale(1.06); } }

/* countdown band */
.w-countdown {
  margin-top: clamp(56px, 8vw, 90px);
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1px;
  border-radius: 22px; overflow: hidden;
  background: var(--w-line);
  border: 1px solid var(--w-line);
  opacity: 0; animation: w-fade 1s var(--w-ease) .9s forwards;
}
.w-countdown > div { background: rgba(10,21,40,0.72); backdrop-filter: blur(10px); padding: 22px 26px; }
.w-countdown__label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--w-muted); font-weight: 600; margin-bottom: 8px; }
.w-clock { display: flex; gap: 14px; font-variant-numeric: tabular-nums; }
.w-clock div { text-align: center; }
.w-clock b { display: block; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.03em; }
.w-clock small { font-size: 10.5px; color: var(--w-muted); text-transform: uppercase; letter-spacing: .1em; }
.w-clock .sep { font-size: 1.8rem; color: var(--w-line-2); font-weight: 300; line-height: 1; }
.w-countdown__big { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.1; }
.w-countdown__big.is-warn { color: var(--w-amber); }
.w-countdown__sub { color: var(--w-muted); font-size: 13px; margin-top: 4px; }
.w-countdown a { color: inherit; }

.w-scroll-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 24px; height: 38px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.3);
}
.w-scroll-hint::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: #fff; animation: w-scroll 1.8s infinite;
}
@keyframes w-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.w-marquee {
  background: var(--w-ink); border-top: 1px solid var(--w-line); border-bottom: 1px solid var(--w-line);
  padding: 22px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.w-marquee__track { display: flex; gap: 14px; width: max-content; animation: w-marq 50s linear infinite; }
.w-marquee:hover .w-marquee__track { animation-play-state: paused; }
@keyframes w-marq { to { transform: translateX(-50%); } }
.w-marquee a, .w-marquee span {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--w-line-2); color: #DCE5F5; font-weight: 500; font-size: 14.5px;
  text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s;
}
.w-marquee a:hover { background: rgba(255,255,255,.07); border-color: rgba(63,208,224,.5); color: #fff; }
.w-marquee i { color: var(--w-cyan); }

/* ==========================================================================
   STATEMENT (word-by-word scroll highlight)
   ========================================================================== */
.w-statement { background: #fff; }
.w-statement__text {
  font-size: clamp(1.8rem, 4.2vw, 3.5rem);
  line-height: 1.16; letter-spacing: -0.035em; font-weight: 700;
  color: var(--text-dark); max-width: 22ch;
}
.w-statement__text .w { color: rgba(11,31,68,0.14); transition: color .35s ease; }
.w-statement__text .w.on { color: var(--text-dark); }
.w-statement__text .w.hl.on { background: var(--w-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.w-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(56px, 7vw, 90px); }
.w-stat { border-top: 1px solid var(--border); padding-top: 22px; }
.w-stat b { display: block; font-size: clamp(2.2rem, 4vw, 3.3rem); font-weight: 800; letter-spacing: -0.04em; color: var(--text-dark); line-height: 1; }
.w-stat b .w-grad-text { font-weight: 800; }
.w-stat > span { display: block; margin-top: 10px; color: var(--text-muted); font-size: 14.5px; line-height: 1.45; }

/* ==========================================================================
   STORY: one sale, step by step (sticky)
   ========================================================================== */
.w-story { background: var(--bg-light); }
.w-story__layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); }
.w-steps { list-style: none; margin: 0; padding: 0; }
.w-step {
  min-height: 62vh; display: flex; flex-direction: column; justify-content: center;
  padding: 24px 0; opacity: .28; transition: opacity .5s ease;
}
.w-step:first-child { min-height: 50vh; }
.w-step.is-active { opacity: 1; }
.w-step__n {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: #fff; border: 1px solid var(--border); font-weight: 800; color: var(--yaigo-blue);
  margin-bottom: 18px; transition: background .4s, color .4s, border-color .4s;
}
.w-step.is-active .w-step__n { background: var(--yaigo-grad); color: #fff; border-color: transparent; box-shadow: 0 10px 26px -8px rgba(29,112,244,.6); }
.w-step h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 12px; }
.w-step p { font-size: 1.08rem; color: var(--text-body); max-width: 30em; margin: 0; }
.w-step p a { color: var(--yaigo-blue); font-weight: 600; }

.w-stage-col { position: relative; }
.w-stage {
  position: sticky; top: 120px;
  height: min(560px, calc(100vh - 160px));
  border-radius: 28px;
  background: var(--w-ink);
  overflow: hidden; isolation: isolate;
  box-shadow: 0 40px 90px -40px rgba(11,31,68,.6);
}
.w-stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(500px circle at 20% 0%, rgba(29,112,244,.35), transparent 60%),
    radial-gradient(500px circle at 100% 100%, rgba(40,209,116,.25), transparent 60%);
}
.w-stage__progress { position: absolute; left: 24px; right: 24px; top: 22px; display: flex; gap: 6px; z-index: 2; }
.w-stage__progress span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; }
.w-stage__progress span::after { content: ""; display: block; height: 100%; width: 0; background: var(--w-grad); transition: width .5s var(--w-ease); }
.w-stage__progress span.on::after { width: 100%; }
.w-scene {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 60px 28px 28px;
  opacity: 0; transform: scale(.96) translateY(14px);
  transition: opacity .6s var(--w-ease), transform .6s var(--w-ease);
  pointer-events: none;
}
.w-scene.is-on { opacity: 1; transform: none; }
.w-scene__cap {
  position: absolute; left: 28px; bottom: 24px; right: 28px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--w-muted); font-weight: 600;
}

/* scene 1: pay */
.sc-pay { width: min(320px, 90%); background: #fff; border-radius: 20px; padding: 20px; color: #0B1F44; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.sc-pay h6 { font-weight: 700; margin: 0 0 12px; display: flex; justify-content: space-between; font-size: 14px; }
.sc-pay h6 small { color: #6B7280; font-weight: 500; }
.sc-pay .row-l { display: flex; justify-content: space-between; font-size: 13.5px; padding: 7px 0; border-bottom: 1px dashed #E6ECF5; }
.sc-pay .tot { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; margin: 14px 0; }
.sc-pay .tot b { font-size: 28px; color: #13A85B; }
.sc-pay .methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sc-pay .methods span { border: 1px solid #E6ECF5; border-radius: 10px; padding: 8px 4px; text-align: center; font-size: 11.5px; font-weight: 600; }
.sc-pay .methods span.on { border-color: #13A85B; background: rgba(19,168,91,.08); color: #13A85B; }
.sc-pay .methods i { display: block; font-size: 16px; margin-bottom: 3px; }

/* scene 2: hash chain */
.sc-chain { display: flex; flex-direction: column; align-items: center; gap: 0; width: min(360px, 94%); }
.sc-block {
  width: 100%; border-radius: 16px; padding: 14px 16px;
  background: rgba(255,255,255,.05); border: 1px solid var(--w-line-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: #C7D3E8;
}
.sc-block b { font-family: var(--font-sans); color: #fff; font-size: 13.5px; display: flex; justify-content: space-between; margin-bottom: 6px; }
.sc-block b small { color: var(--w-muted); font-weight: 500; }
.sc-block .h { color: var(--w-cyan); }
.sc-block.new { border-color: rgba(40,209,116,.6); background: rgba(40,209,116,.08); box-shadow: 0 0 0 4px rgba(40,209,116,.08); }
.sc-link { width: 2px; height: 26px; background: linear-gradient(var(--w-cyan), var(--w-green)); position: relative; }
.sc-link::after { content: "\f0c1"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-size: 11px; color: #fff; background: var(--w-ink); padding: 2px; }
.w-scene.is-on .sc-block.new { animation: w-drop .8s var(--w-ease); }
@keyframes w-drop { from { opacity: 0; transform: translateY(-30px); } }

/* scene 3: QR ticket */
.sc-ticket { width: min(270px, 86%); background: #fff; color: #3A4558; border-radius: 6px; padding: 20px 18px 26px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; position: relative; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.sc-ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 10px; background: radial-gradient(circle at 5px 0, transparent 5px, #fff 5.5px) 0 0 / 10px 10px repeat-x; transform: rotate(180deg); }
.sc-ticket h6 { font-family: var(--font-sans); text-align: center; font-weight: 800; color: #0B1F44; margin: 0 0 4px; }
.sc-ticket .c { text-align: center; color: #6B7280; margin-bottom: 10px; }
.sc-ticket .r { display: flex; justify-content: space-between; }
.sc-ticket .qr { display: grid; place-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #D6DEEA; gap: 6px; text-align: center; }
.sc-ticket .qr svg { width: 92px; height: 92px; }
.sc-ticket .qr span { font-family: var(--font-sans); font-weight: 700; font-size: 11px; color: #0B1F44; }
.w-scene.is-on .sc-ticket { animation: w-print 1s var(--w-ease); }
@keyframes w-print { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -20px 0); } }

/* scene 4: AEAT */
.sc-send { position: relative; width: min(380px, 96%); height: 240px; }
.sc-node { position: absolute; top: 50%; transform: translateY(-50%); text-align: center; width: 110px; }
.sc-node .b { width: 76px; height: 76px; margin: 0 auto 10px; border-radius: 22px; display: grid; place-items: center; font-size: 28px; }
.sc-node span { font-size: 12.5px; color: #DCE5F5; font-weight: 600; }
.sc-node--l { left: 0; }
.sc-node--l .b { background: var(--yaigo-grad); color: #fff; }
.sc-node--r { right: 0; }
.sc-node--r .b { background: #fff; color: #C8102E; }
.sc-wire { position: absolute; left: 100px; right: 100px; top: calc(50% - 18px); height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 6px, transparent 6px 12px); }
.sc-packet {
  position: absolute; top: calc(50% - 30px); left: 100px;
  width: 30px; height: 24px; border-radius: 6px; background: var(--w-cyan); color: var(--w-ink);
  display: grid; place-items: center; font-size: 11px;
  box-shadow: 0 0 22px rgba(63,208,224,.8);
}
.w-scene.is-on .sc-packet { animation: w-fly 2.2s var(--w-ease) infinite; }
@keyframes w-fly { 0% { left: 100px; opacity: 0; } 10% { opacity: 1; } 70% { left: calc(100% - 130px); opacity: 1; } 100% { left: calc(100% - 130px); opacity: 0; } }
.sc-ok {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; background: rgba(40,209,116,.14); border: 1px solid rgba(40,209,116,.45);
  color: #7CF0B0; font-weight: 600; font-size: 13px;
}

/* scene 5: gestoría */
.sc-report { width: min(360px, 94%); background: #fff; color: #0B1F44; border-radius: 20px; padding: 20px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.sc-report__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sc-report__h b { font-size: 15px; }
.sc-report__h span { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(29,112,244,.1); color: #1D70F4; }
.sc-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-bottom: 14px; }
.sc-bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(#3FD0E0, #1D70F4); transform-origin: bottom; transform: scaleY(0); }
.w-scene.is-on .sc-bars i { animation: w-grow .9s var(--w-ease) forwards; }
.sc-bars i:nth-child(2) { animation-delay: .08s !important; } .sc-bars i:nth-child(3) { animation-delay: .16s !important; }
.sc-bars i:nth-child(4) { animation-delay: .24s !important; } .sc-bars i:nth-child(5) { animation-delay: .32s !important; }
.sc-bars i:nth-child(6) { animation-delay: .4s !important; }
@keyframes w-grow { to { transform: scaleY(1); } }
.sc-report .r { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-top: 1px solid #EEF2F8; }
.sc-report .r b { font-variant-numeric: tabular-nums; }
.sc-share { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px; border-radius: 12px; background: #F4F7FC; font-size: 12.5px; }
.sc-share .av { width: 30px; height: 30px; border-radius: 50%; background: #0B1F44; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.sc-share .ok { margin-left: auto; color: #13A85B; font-weight: 700; }

/* ==========================================================================
   VERIFACTU URGENCY
   ========================================================================== */
.w-vf { overflow: hidden; }
.w-vf::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px circle at 85% 20%, rgba(255,181,71,.14), transparent 60%),
              radial-gradient(600px circle at 0% 100%, rgba(29,112,244,.22), transparent 60%);
}
.w-vf__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.w-fine {
  font-size: clamp(3rem, 7.2vw, 6.6rem); font-weight: 800; line-height: .95; letter-spacing: -0.05em; white-space: nowrap;
  background: linear-gradient(120deg, #FFD08A, #FF8A4C); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums;
}
.w-fine-cap { color: var(--w-muted); font-size: 15px; margin-top: 12px; }
.w-fine-cap a { color: #FFD9A0; }
.w-timeline { position: relative; margin-top: 8px; }
.w-tl-item { position: relative; padding: 0 0 26px 34px; }
.w-tl-item::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: -4px; width: 2px; background: var(--w-line-2); }
.w-tl-item:last-child::before { display: none; }
.w-tl-item::after { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--w-cyan); background: var(--w-ink); }
.w-tl-item.is-now::after { background: var(--w-green); border-color: var(--w-green); box-shadow: 0 0 0 6px rgba(40,209,116,.18); }
.w-tl-item.is-key::after { border-color: var(--w-amber); box-shadow: 0 0 0 6px rgba(255,181,71,.14); }
.w-tl-item b { display: block; color: #fff; font-size: 1.12rem; }
.w-tl-item span { color: var(--w-muted); font-size: 14.5px; }
.w-vf__links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; font-size: 13px; }
.w-vf__links a { color: var(--w-muted); text-decoration: none; border-bottom: 1px solid var(--w-line-2); }
.w-vf__links a:hover { color: #fff; }

/* ==========================================================================
   PRODUCT TABS
   ========================================================================== */
.w-product__layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.w-tabs { display: flex; flex-direction: column; gap: 10px; }
.w-tab {
  text-align: left; border: 1px solid var(--border); background: #fff; border-radius: 18px;
  padding: 18px 20px; cursor: pointer; position: relative; overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  font: inherit; color: inherit;
}
.w-tab:hover { border-color: rgba(29,112,244,.35); }
.w-tab h3 { font-size: 1.1rem; margin: 0; display: flex; align-items: center; gap: 12px; }
.w-tab h3 i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-section); color: var(--yaigo-blue); font-size: 14px; transition: background .25s, color .25s; }
.w-tab p { margin: 0; max-height: 0; opacity: 0; overflow: hidden; color: var(--text-muted); font-size: 14.5px; transition: max-height .45s var(--w-ease), opacity .35s, margin .35s; }
.w-tab.is-active { border-color: transparent; box-shadow: 0 20px 50px -20px rgba(29,112,244,.35), 0 0 0 1.5px rgba(29,112,244,.5); }
.w-tab.is-active h3 i { background: var(--yaigo-grad); color: #fff; }
.w-tab.is-active p { max-height: 120px; opacity: 1; margin-top: 10px; }
.w-tab__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--w-grad); }
.w-tab.is-active .w-tab__bar { animation: w-bar var(--dur, 6s) linear forwards; }
.w-tabs.is-paused .w-tab.is-active .w-tab__bar { animation-play-state: paused; }
@keyframes w-bar { to { width: 100%; } }

.w-browser {
  border-radius: 20px; background: #fff; overflow: hidden;
  box-shadow: 0 50px 100px -40px rgba(11,31,68,.45), 0 0 0 1px rgba(11,31,68,.06);
  transform: perspective(1600px) rotateY(-4deg);
  transition: transform .6s var(--w-ease);
}
.w-browser:hover { transform: perspective(1600px) rotateY(0); }
.w-browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #F1F4F9; border-bottom: 1px solid #E6ECF5; }
.w-browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.w-browser__bar i:nth-child(2) { background: #FEBC2E; } .w-browser__bar i:nth-child(3) { background: #28C840; }
.w-browser__bar span { margin-left: 14px; flex: 1; max-width: 260px; font-size: 12px; color: #6B7280; background: #fff; border-radius: 8px; padding: 4px 12px; }
.w-browser__view { position: relative; aspect-ratio: 1024 / 640; background: #F4F7FC; }
.w-browser__view img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left;
  opacity: 0; transform: scale(1.03); transition: opacity .7s ease, transform 1.2s var(--w-ease);
}
.w-browser__view img.is-on { opacity: 1; transform: none; }

/* ==========================================================================
   SECTORS (bento with spotlight)
   ========================================================================== */
.w-sectors { background: var(--bg-light); }
.w-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 16px; }
.w-card {
  position: relative; border-radius: 24px; padding: 26px;
  background: #fff; border: 1px solid var(--border);
  text-decoration: none; color: inherit; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .35s var(--w-ease), box-shadow .35s var(--w-ease);
  --x: 50%; --y: 50%;
}
.w-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--x) var(--y), rgba(29,112,244,.10), transparent 60%);
}
.w-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(11,31,68,.3); color: inherit; }
.w-card:hover::before { opacity: 1; }
.w-card .ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 20px;
  background: var(--bg-section); color: var(--yaigo-blue); margin-bottom: auto;
}
.w-card h3 { font-size: 1.3rem; margin: 22px 0 6px; letter-spacing: -0.02em; }
.w-card p { margin: 0; color: var(--text-muted); font-size: 14.5px; }
.w-card .go { position: absolute; right: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); color: var(--text-dark); font-size: 13px; transition: background .25s, color .25s, transform .25s; }
.w-card:hover .go { background: var(--text-dark); color: #fff; transform: rotate(-45deg); }
.w-card--xl { grid-column: span 2; grid-row: span 2; background: #000; color: #fff; border-color: transparent; }
.w-card--xl h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.w-card--xl p { color: var(--w-muted); max-width: 30em; }
.w-card--xl .ic { background: rgba(255,255,255,.08); color: var(--w-green); }
.w-card--xl .go { border-color: var(--w-line-2); color: #fff; }
.w-card--xl:hover .go { background: #fff; color: var(--w-ink); }
.w-card--xl::before { background: radial-gradient(420px circle at var(--x) var(--y), rgba(63,208,224,.2), transparent 60%); }
.w-card--xl img { position: absolute; right: -6%; top: -4%; width: 62%; z-index: -1; opacity: .95; transition: transform .8s var(--w-ease); -webkit-mask-image: linear-gradient(200deg, #000 40%, transparent 85%); mask-image: linear-gradient(200deg, #000 40%, transparent 85%); }
.w-card--xl:hover img { transform: scale(1.04) rotate(-1deg); }
.w-card--wide { grid-column: span 2; }
.w-card--grad { background: var(--yaigo-grad); color: #fff; border-color: transparent; }
.w-card--grad h3, .w-card--grad p { color: #fff; }
.w-card--grad .ic { background: rgba(255,255,255,.2); color: #fff; }
.w-card--grad .go { border-color: rgba(255,255,255,.4); color: #fff; }
.w-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.w-tags a, .w-tags span {
  padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border);
  font-size: 13.5px; font-weight: 500; color: var(--text-dark); text-decoration: none; transition: border-color .2s, color .2s;
}
.w-tags a:hover { border-color: var(--yaigo-blue); color: var(--yaigo-blue); }
.w-tags a i { font-size: 11px; margin-left: 4px; opacity: .6; }

/* ==========================================================================
   BÁSCULA AI
   ========================================================================== */
.w-scale { background: #000; overflow: hidden; }
.w-scale__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.w-scale__visual { position: relative; }
.w-scale__visual::before {
  content: ""; position: absolute; inset: 10% 5%; border-radius: 50%;
  background: radial-gradient(circle, rgba(40,209,116,.28), transparent 65%); filter: blur(40px);
}
.w-scale__visual img { position: relative; width: 100%; max-width: 560px; margin: 0 auto; }
.w-lcd {
  position: absolute; left: 6%; bottom: 10%;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(10,21,40,.82); border: 1px solid var(--w-line-2); backdrop-filter: blur(12px);
  font-variant-numeric: tabular-nums; box-shadow: 0 20px 50px -10px rgba(0,0,0,.6);
}
.w-lcd small { display: block; color: var(--w-muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.w-lcd b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 30px; color: #3CFF7A; text-shadow: 0 0 12px rgba(60,255,122,.6); }
.w-lcd b + b { margin-left: 16px; color: #fff; text-shadow: none; font-family: var(--font-sans); }
.w-flow { display: flex; flex-direction: column; gap: 12px; margin: 30px 0 34px; }
.w-flow div { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--w-line); color: #DCE5F5; font-size: 15px; }
.w-flow i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(40,209,116,.14); color: var(--w-green); flex: none; }

/* ==========================================================================
   GESTORÍA CONNECT diagram
   ========================================================================== */
.w-connect__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.w-diagram { position: relative; border-radius: 28px; background: var(--bg-light); border: 1px solid var(--border); padding: 20px; }
.w-diagram svg { width: 100%; height: auto; display: block; }
.w-diagram .flow { stroke-dasharray: 6 10; animation: w-dash 1.4s linear infinite; }
.w-diagram .flow--rev { animation-direction: reverse; }
@keyframes w-dash { to { stroke-dashoffset: -32; } }
.w-points { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 16px; }
.w-points li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.w-points .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-section); color: var(--yaigo-blue); }
.w-points b { display: block; color: var(--text-dark); font-size: 1.05rem; }
.w-points span { color: var(--text-muted); font-size: 14.5px; }

/* ==========================================================================
   PRICING tweaks (reuses style.css cards)
   ========================================================================== */
.w-pricing { background: var(--bg-light); }
.w-promo {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  border-radius: 26px; padding: 30px clamp(22px, 4vw, 40px);
  background: var(--w-ink); color: #fff; margin-bottom: 26px;
}
.w-promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px circle at 0% 50%, rgba(40,209,116,.3), transparent 60%), radial-gradient(500px circle at 100% 50%, rgba(29,112,244,.35), transparent 60%); }
.w-promo__big { font-size: clamp(3.4rem, 8vw, 5.6rem); font-weight: 800; letter-spacing: -0.06em; line-height: .9; }
.w-promo__big small { font-size: .28em; letter-spacing: 0; font-weight: 600; color: var(--w-muted); margin-left: 4px; }
.w-promo h3 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.w-promo p { color: var(--w-muted); margin: 0; font-size: 14.5px; }
.w-promo__tiers { display: flex; gap: 10px; flex-wrap: wrap; }
.w-promo__tiers div { padding: 12px 16px; border-radius: 16px; border: 1px solid var(--w-line-2); background: rgba(255,255,255,.04); min-width: 150px; }
.w-promo__tiers b { display: block; font-size: 14px; }
.w-promo__tiers span { font-size: 12.5px; color: var(--w-muted); }
.w-pricing .price-card.featured { position: relative; }
.w-pricing .price-card.featured::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: inherit; z-index: -1;
  background: var(--w-grad); filter: blur(22px); opacity: .28;
}
.w-pricing .price-grid { isolation: isolate; }

/* ==========================================================================
   WHY bento
   ========================================================================== */
.w-why { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.w-why > div {
  border-radius: 24px; padding: 28px; background: #fff; border: 1px solid var(--border);
  grid-column: span 2; display: flex; flex-direction: column; gap: 10px;
}
.w-why > .span-3 { grid-column: span 3; }
.w-why > .span-4 { grid-column: span 4; }
.w-why b.num { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--text-dark); }
.w-why h3 { font-size: 1.2rem; margin: 0; }
.w-why p { margin: 0; color: var(--text-muted); font-size: 14.5px; }
.w-why .is-dark { background: var(--w-ink); border-color: transparent; color: var(--w-text); }
.w-why .is-dark h3, .w-why .is-dark b.num { color: #fff; }
.w-why .is-dark p { color: var(--w-muted); }
.w-why .is-dark a { color: #9FD8FF; }
.w-why .aeat { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #fff; }
.w-why .aeat i { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(40,209,116,.15); color: var(--w-green); font-size: 18px; }
.w-pulse { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #13A85B; font-weight: 600; }
.w-pulse::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #28D174; animation: w-ping 1.6s infinite; }
@keyframes w-ping { 0% { box-shadow: 0 0 0 0 rgba(40,209,116,.6); } 100% { box-shadow: 0 0 0 10px rgba(40,209,116,0); } }

/* ==========================================================================
   HARDWARE
   ========================================================================== */
.w-hw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.w-hw a {
  position: relative; border-radius: 26px; background: #000; overflow: hidden;
  text-decoration: none; color: #fff; display: flex; flex-direction: column;
  transition: transform .4s var(--w-ease);
}
.w-hw a:hover { transform: translateY(-6px); color: #fff; }
.w-hw img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 18px; transition: transform .8s var(--w-ease); }
.w-hw a:hover img { transform: scale(1.05); }
.w-hw div { padding: 0 24px 24px; }
.w-hw h3 { color: #fff; font-size: 1.25rem; margin: 0 0 4px; display: flex; justify-content: space-between; align-items: center; }
.w-hw p { color: var(--w-muted); margin: 0; font-size: 14px; }

/* ==========================================================================
   FAQ + FINAL CTA
   ========================================================================== */
.w-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 70px); }
.w-faq details { border-bottom: 1px solid var(--border); }
.w-faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 1.08rem; color: var(--text-dark);
  display: flex; justify-content: space-between; gap: 18px; align-items: center;
}
.w-faq summary::-webkit-details-marker { display: none; }
.w-faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--yaigo-blue); transition: transform .3s; line-height: 1; }
.w-faq details[open] summary::after { transform: rotate(45deg); }
.w-faq details > div { padding: 0 0 22px; color: var(--text-body); max-width: 60ch; }
.w-faq details a { color: var(--yaigo-blue); }

.w-final { padding: 0 0 clamp(80px, 10vw, 120px); }
.w-final__box {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 34px; padding: clamp(50px, 8vw, 100px) clamp(24px, 6vw, 80px);
  background: var(--w-ink); color: #fff; text-align: center;
}
.w-final__box::before {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background: conic-gradient(from 0deg, #28D174, #3FD0E0, #1D70F4, #0B1F44, #28D174);
  animation: w-spin 16s linear infinite; opacity: .5; filter: blur(60px);
}
.w-final__box::after { content: ""; position: absolute; inset: 1px; border-radius: 33px; z-index: -1; background: radial-gradient(ellipse at 50% 0%, rgba(10,21,40,.55), rgba(5,11,24,.92) 70%); }
@keyframes w-spin { to { transform: rotate(360deg); } }
.w-final h2 { color: #fff; font-size: clamp(2.2rem, 5.6vw, 4.4rem); line-height: 1; letter-spacing: -0.045em; font-weight: 800; max-width: 15ch; margin: 0 auto 20px; }
.w-final p { color: #B8C5DB; max-width: 40em; margin: 0 auto 34px; font-size: 1.1rem; }
.w-final .ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199.98px) {
  .w-chip--a { left: -8px; }
  .w-chip--b { right: -8px; }
}
@media (max-width: 991.98px) {
  .w-hero { padding-top: 130px; }
  .w-hero__grid-layout, .w-vf__grid, .w-product__layout, .w-scale__grid, .w-connect__grid, .w-faq { grid-template-columns: 1fr; }
  .w-demo { transform: none; }
  .w-countdown { grid-template-columns: 1fr 1fr; }
  .w-countdown > div:first-child { grid-column: 1 / -1; }
  .w-stats { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .w-bento { grid-template-columns: repeat(2, 1fr); }
  .w-why > div, .w-why > .span-3, .w-why > .span-4 { grid-column: span 3; }
  .w-hw { grid-template-columns: 1fr 1fr; }
  .w-hw a:last-child { grid-column: 1 / -1; }
  .w-promo { grid-template-columns: auto 1fr; }
  .w-promo__tiers { grid-column: 1 / -1; }
  .w-browser { transform: none; }
  .w-scale__visual { order: -1; }

  /* story: sticky stage on top, steps scroll below */
  .w-story__layout { grid-template-columns: 1fr; gap: 0; }
  .w-stage-col { order: -1; position: sticky; top: 76px; z-index: 5; }
  .w-stage { position: relative; top: 0; height: 300px; border-radius: 22px; }
  .w-scene { padding: 44px 16px 16px; }
  .w-scene > * { transform: scale(.8); transform-origin: center; }
  .w-scene__cap { display: none; }
  .w-step, .w-step:first-child { min-height: 58vh; justify-content: flex-start; padding-top: 40px; }
}
@media (max-width: 767.98px) {
  .w-hero { padding: 116px 0 40px; min-height: 0; }
  .w-hero h1 .big { font-size: clamp(2.7rem, 13vw, 3.6rem); }
  .w-demo__screen { grid-template-columns: 1fr; min-height: 0; }
  .w-demo__products { grid-template-columns: repeat(3, 1fr); }
  .w-demo__ticket { border-left: 0; border-top: 1px solid #E6ECF5; }
  .w-lines { min-height: 70px; }
  .w-chip { font-size: 11.5px; padding: 8px 10px; }
  .w-chip--a { top: -18px; left: 8px; }
  .w-chip--b { bottom: -18px; right: 8px; }
  .w-chip--c { display: none; }
  .w-countdown { grid-template-columns: 1fr; }
  .w-clock { gap: 8px; }
  .w-scroll-hint { display: none; }
  .w-bento { grid-template-columns: 1fr; }
  .w-card--xl, .w-card--wide { grid-column: auto; grid-row: auto; }
  .w-card--xl { min-height: 380px; }
  .w-card--xl img { width: 70%; }
  .w-why > div, .w-why > .span-3, .w-why > .span-4 { grid-column: 1 / -1; }
  .w-hw { grid-template-columns: 1fr; }
  .w-hw a:last-child { grid-column: auto; }
  .w-promo { grid-template-columns: 1fr; text-align: left; }
  .w-promo__tiers div { flex: 1; min-width: 0; }
  .w-stage { height: 260px; }
  .w-scene > * { transform: scale(.72); }
  .w-lcd b { font-size: 22px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .w-hero *, .w-hero *::before, .w-hero *::after,
  .w-marquee__track, .w-final__box::before, .w-diagram .flow, .w-chip { animation: none !important; }
  .w-hero h1 .line > span { transform: none; }
  .w-hero__lead, .w-hero__cta, .w-hero__trust, .w-demo-wrap, .w-countdown { opacity: 1; }
  .w-reveal { opacity: 1; transform: none; }
  .w-statement__text .w { color: var(--text-dark); }
  .w-marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
}

/* Italic gradient text: keep the last glyph's overhang from being clipped */
.w-serif.w-grad-text, .w-serif .w-grad-text { padding-right: .12em; margin-right: -.06em; }

/* Mobile refinements */
@media (max-width: 767.98px) {
  .w-pill { font-size: 12.5px; }
  .w-pill .hide-sm { display: none; }
  .w-bento { grid-auto-rows: auto; }
  .w-card:not(.w-card--xl) { min-height: 0; padding: 22px; }
  .w-card:not(.w-card--xl) h3 { margin-top: 16px; }
  .w-step, .w-step:first-child { min-height: 50vh; padding-top: 24px; }
  .sc-chain > :nth-child(1), .sc-chain > :nth-child(2) { display: none; }
}

/* Longer hero headlines (CA / EN): keep one line per phrase */
.w-hero h1 .big--mid { font-size: clamp(2.6rem, 5.9vw, 5.1rem); }
.w-hero h1 .big--long { font-size: clamp(2.3rem, 4.7vw, 4.3rem); }
.w-hero h1 .big--mid .line, .w-hero h1 .big--long .line { white-space: nowrap; }
@media (max-width: 767.98px) {
  .w-hero h1 .big--mid { font-size: 11.4vw; }
  .w-hero h1 .big--long { font-size: 9.4vw; }
}
