/* ==========================================================================
   NORA AI — design tokens
   Real brand: electric violet (#9208FF) out of near-black. Nora's own
   messages are always the violet gradient bubble — everywhere on the page,
   violet = Nora speaking. That's the through-line.
   ========================================================================== */

:root{
  --bg:         #FFFFFF;
  --bg-alt:     #F6F2FC;
  --bg-alt-2:   #EEE5FA;
  --bg-elevated:#F9F7FD;
  --bg-rgb:      255,255,255;
  --bg-alt-rgb:  246,242,252;
  --bg-alt-2-rgb:238,229,250;
  --border:     rgba(43,0,76,0.10);
  --border-strong: rgba(43,0,76,0.18);

  --text:       #1C1226;
  --text-dim:   #5B4E72;
  --text-faint: #857799;

  --violet:       #9208FF;
  --violet-bright:#B24BFF;
  --violet-mid:   #7C3AED;
  --violet-deep:  #2B004C;
  --violet-text:  #6D1FCB;
  --lilac:        #C9B6FF;
  --lilac-soft:   #E4D9FF;

  --green: #25D366;
  --coral: #FF6B57;

  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1160px;
  --radius: 20px;
  --radius-sm: 12px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,video{ max-width:100%; display:block; }
a{ color: inherit; }
.wrap{ max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; }

:focus-visible{
  outline: 2px solid var(--violet-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Preloader — full-bleed video, white stage.
   ========================================================================== */

#preloader{
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
#preloader-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#preloader.is-hidden{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#preloader-skip{
  position: absolute;
  z-index: 2;
  bottom: 28px;
  right: 28px;
  border: 1px solid rgba(10,7,16,0.16);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(6px);
  color: #0A0710;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  opacity: .75;
  transition: opacity .2s var(--ease);
}
#preloader-skip:hover{ opacity: 1; }

#site{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  position: relative;
}
#site.is-visible{ opacity: 1; transform: none; }

/* ==========================================================================
   Living background — WebGL aurora canvas, grain, cursor, scroll progress
   ========================================================================== */

#gl-canvas{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

#grain{
  position: fixed;
  inset: -60px;
  z-index: 50;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grain-shift 8s steps(8) infinite;
}
@keyframes grain-shift{
  0%{ transform: translate(0,0); }
  12%{ transform: translate(-5%,-8%); }
  24%{ transform: translate(-12%,4%); }
  37%{ transform: translate(6%,-10%); }
  49%{ transform: translate(-8%,8%); }
  61%{ transform: translate(10%,3%); }
  73%{ transform: translate(-3%,10%); }
  85%{ transform: translate(4%,-6%); }
  100%{ transform: translate(0,0); }
}

.cursor-dot, .cursor-ring{
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 200;
  transform: translate(-50%,-50%);
  opacity: 0;
}
.cursor-dot{
  width: 7px; height: 7px;
  background: var(--violet-bright);
  transition: opacity .3s var(--ease);
}
.cursor-ring{
  width: 34px; height: 34px;
  border: 1px solid rgba(201,182,255,.5);
  transition: opacity .3s var(--ease), width .25s var(--ease), height .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
body.has-cursor .cursor-dot, body.has-cursor .cursor-ring{ opacity: 1; }
body.has-cursor, body.has-cursor a, body.has-cursor button{ cursor: none; }
.cursor-ring.is-active{
  width: 54px; height: 54px;
  background: rgba(146,8,255,.14);
  border-color: var(--violet-bright);
}
@media (hover: none){ .cursor-dot, .cursor-ring{ display: none; } }

/* ==========================================================================
   Marquee bands
   ========================================================================== */

.marquee{
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(var(--bg-alt-rgb), .8);
  padding: 22px 0;
}
.marquee-track{
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
  animation: marquee-scroll 32s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 2.3rem);
}
.marquee-track span{
  color: transparent;
  -webkit-text-stroke: 1px rgba(28,18,38,.35);
}
.marquee-track span.dot-sep{
  -webkit-text-stroke: 0;
  color: var(--violet-bright);
  font-style: normal;
  font-family: var(--font-mono);
  font-size: .85rem;
}
.marquee-track span:nth-child(4n+1){
  color: var(--violet-text);
  -webkit-text-stroke: 0;
}
.marquee--reverse .marquee-track{ animation-direction: reverse; animation-duration: 38s; }
@keyframes marquee-scroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .marquee-track{ animation: none; } }

/* ==========================================================================
   Kinetic headline reveal — words masked, revealed on load / scroll-in
   ========================================================================== */

.kw{ display: inline-block; overflow: hidden; vertical-align: top; }
.kw-inner{
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform .8s var(--ease), opacity .8s var(--ease);
}
.kw-inner.is-in{ transform: none; opacity: 1; }
.kw-em{
  background: linear-gradient(100deg, var(--violet-mid), var(--violet-bright) 55%, var(--violet-deep));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce){
  .kw-inner{ transition: none; }
}

.scroll-progress{
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--violet-mid), var(--violet-bright));
  z-index: 60;
  transition: width .1s linear;
}

section{ position: relative; z-index: 1; }

/* Skip layout/paint work for offscreen sections without a sticky pin inside */
.problem, .product, .proof, .pricing, .final-cta{
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

/* ==========================================================================
   Type
   ========================================================================== */

.display{
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
  color: var(--text);
}
.display em{
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(100deg, var(--violet-mid), var(--violet-bright) 55%, var(--violet-deep));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 8s ease-in-out infinite;
}
@keyframes gradient-shift{ 0%,100%{ background-position: 0% 50%; } 50%{ background-position: 100% 50%; } }

h1.display{ font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.h2{ font-size: clamp(2rem, 3.8vw, 3rem); max-width: 20ch; margin-bottom: 20px; }

.eyebrow{
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--violet-text);
  margin: 0 0 16px;
}

.lede{
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 44ch;
  margin: 20px 0 28px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.btn-primary{
  background: linear-gradient(120deg, var(--violet-mid), var(--violet) 60%, var(--violet-bright));
  background-size: 160% 160%;
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(146,8,255,.55);
}
.btn-primary:hover{ background-position: 100% 0; box-shadow: 0 18px 38px -12px rgba(146,8,255,.7); }
.btn-outline{
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover{ border-color: var(--violet-bright); color: var(--violet-text); }
.btn-ghost{
  background: transparent;
  border: none;
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 14px 4px;
}
.btn-ghost:hover{ color: var(--violet-text); }
.btn-small{ padding: 10px 20px; font-size: .85rem; }
.btn-large{ padding: 18px 34px; font-size: 1.05rem; }
.btn-magnetic:hover{ will-change: transform; }

/* ==========================================================================
   Nav
   ========================================================================== */

.nav{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(var(--bg-rgb),.82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: transform .35s var(--ease), background .3s var(--ease);
}
.nav.nav-hidden{ transform: translateY(-100%); }
.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.logo{ display: flex; align-items: center; text-decoration: none; }
.logo img{ height: 25px; width: auto; }
.nav-links{ display: flex; gap: 32px; }
.nav-links a{
  position: relative;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 4px 0;
  transition: color .2s var(--ease);
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--violet-bright));
  transition: width .25s var(--ease);
}
.nav-links a:hover{ color: var(--text); }
.nav-links a.is-active{ color: var(--text); }
.nav-links a.is-active::after{ width: 100%; }

@media (max-width: 860px){
  .nav-links{ display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero{ position: relative; padding: 80px 0 60px; overflow: hidden; }
.hero-spotlight{
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(480px circle at var(--x,50%) var(--y,20%), rgba(146,8,255,.16), transparent 60%);
  transition: background .2s ease-out;
  pointer-events: none;
}
.hero-3d{
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-3d canvas{ display: block; width: 100%; height: 100%; }
@media (max-width: 900px){ .hero-3d{ display: none; } }
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero-actions{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-trust{
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
}

.hero-phone{ position: relative; justify-self: center; }
.phone{
  position: relative;
  z-index: 1;
  width: 320px;
  background: rgba(var(--bg-alt-rgb), .96);
  border-radius: 34px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(146,8,255,.06);
  overflow: hidden;
  transform: perspective(900px);
}
.phone-notch{
  height: 26px;
  background: #000;
  border-radius: 0 0 14px 14px;
  width: 120px;
  margin: 0 auto;
}
.phone-head{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(120deg, var(--violet-deep), var(--violet-mid));
  color: #fff;
}
.phone-avatar{
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.phone-name{ margin: 0; font-size: .82rem; font-weight: 700; }
.phone-status{ margin: 2px 0 0; font-size: .72rem; opacity: .85; display:flex; align-items:center; gap:5px; }
.phone-status .dot{ width:6px; height:6px; border-radius:50%; background:#7EE2A8; display:inline-block; }

.phone-body{
  min-height: 340px;
  padding: 16px 14px;
  background:
    radial-gradient(circle at 20% 10%, rgba(146,8,255,.10), transparent 45%),
    rgba(var(--bg-rgb), .95);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-end;
}
.phone-input{
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: var(--text-faint);
  background: var(--bg-alt);
}

.phone-glow{
  position: absolute;
  inset: 10% -10% -10% -10%;
  background: radial-gradient(circle, rgba(146,8,255,.22), transparent 65%);
  z-index: 0;
  filter: blur(4px);
}

/* chat bubbles — Nora's messages are always the violet gradient */
.bubble{
  max-width: 84%;
  padding: 9px 13px;
  border-radius: 16px;
  font-size: .84rem;
  line-height: 1.4;
  width: fit-content;
  opacity: 0;
  transform: translateY(6px);
  animation: bubble-in .45s var(--ease) forwards;
}
@keyframes bubble-in{ to{ opacity:1; transform:none; } }
.bubble-in{
  background: var(--bg-alt-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.bubble-out{
  background: linear-gradient(135deg, var(--violet-mid), var(--violet));
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.ticks{ opacity: .8; font-size: .7rem; margin-left: 4px; }

.typing-dots{
  align-self: flex-start;
  background: var(--bg-alt-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  padding: 10px 14px;
  display: flex;
  gap: 4px;
  width: fit-content;
}
.typing-dots span{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet-mid);
  animation: typing-bounce 1s infinite ease-in-out;
}
.typing-dots span:nth-child(2){ animation-delay: .15s; }
.typing-dots span:nth-child(3){ animation-delay: .3s; }
@keyframes typing-bounce{ 0%,60%,100%{ transform: translateY(0); opacity:.5;} 30%{ transform: translateY(-4px); opacity:1;} }

/* tilt-card: JS sets --rx/--ry via inline style on mousemove */
.tilt-card{
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--py, 0px));
  transition: transform .4s var(--ease);
}
/* will-change only while actually tilting — a dozen cards promoted to
   their own GPU layer for the whole page lifetime is pure scroll-jank
   overhead for an effect that only fires on hover. */
.tilt-card:hover{ will-change: transform; }
/* Exception: the hero phone gets --py updated continuously on scroll
   (not just hover), so it benefits from staying pre-promoted. */
.hero-phone{ will-change: transform; }

/* ==========================================================================
   Problem / stat log
   ========================================================================== */

.problem{
  background: rgba(var(--bg-alt-rgb), .88);
  padding: 96px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-log{
  margin: 36px 0 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(var(--bg-rgb), .9);
  overflow: hidden;
}
.stat-row{
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
}
.stat-row:last-child{ border-bottom: none; }
.stat-time{ font-family: var(--font-mono); color: var(--text-faint); font-size: .8rem; }
.stat-msg{ color: var(--text-dim); }
.stat-val{ font-family: var(--font-mono); font-size: .78rem; font-weight: 700; text-align: right; }
.coral{ color: var(--coral); }

.stat-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-card{
  background: rgba(var(--bg-rgb), .9);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.stat-card:hover{ border-color: rgba(146,8,255,.4); box-shadow: 0 20px 40px -24px rgba(146,8,255,.5); }
.stat-num{
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--violet-text);
  margin: 0 0 8px;
}
.stat-label{ margin: 0; font-size: .88rem; color: var(--text-dim); }

/* ==========================================================================
   Product
   ========================================================================== */

.product{ padding: 100px 0; }
.product-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.product-card{
  background: rgba(var(--bg-alt-rgb), .88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.product-card:hover{ border-color: rgba(146,8,255,.45); box-shadow: 0 30px 60px -30px rgba(146,8,255,.45); }
.product-head{ display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.product-head h3{ font-family: var(--font-display); font-size: 1.5rem; margin: 0; font-weight: 700; color: var(--text); }
.tag{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.tag-violet{ background: rgba(146,8,255,.16); color: var(--violet-text); border: 1px solid rgba(146,8,255,.3); }
.tag-violet-soft{ background: rgba(201,182,255,.25); color: var(--violet-text); border: 1px solid rgba(201,182,255,.5); }
.product-desc{ color: var(--text-dim); margin: 0 0 20px; }

.check-list{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li{ display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--text); }
.check{ font-family: var(--font-mono); color: var(--violet-text); font-size: .78rem; margin-top: 2px; }

/* ==========================================================================
   How it works — sticky scrollytelling
   ========================================================================== */

.how{ padding: 100px 0; background: rgba(var(--bg-alt-rgb), .88); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how-grid{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  margin-top: 40px;
}
.how-sticky-col{ position: relative; }
.how-sticky{
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
}
.phone--how{ width: 100%; max-width: 320px; transition: transform .5s var(--ease); }
.how-dots{ display: flex; align-items: center; gap: 10px; }
.how-dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.how-sticky[data-active-step="1"] .how-dot[data-dot="1"],
.how-sticky[data-active-step="2"] .how-dot[data-dot="2"],
.how-sticky[data-active-step="3"] .how-dot[data-dot="3"],
.how-sticky[data-active-step="4"] .how-dot[data-dot="4"]{
  background: var(--violet-bright);
  transform: scale(1.5);
  box-shadow: 0 0 12px 2px rgba(178,75,255,.6);
}

.how-states{ position: relative; min-height: 260px; }
.how-state{
  position: absolute;
  inset: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.how-sticky[data-active-step="1"] .how-state[data-step="1"],
.how-sticky[data-active-step="2"] .how-state[data-step="2"],
.how-sticky[data-active-step="3"] .how-state[data-step="3"],
.how-sticky[data-active-step="4"] .how-state[data-step="4"]{
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.qr-box{
  width: 96px; height: 96px;
  margin: 0 auto 8px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(90deg, var(--text) 0 4px, transparent 4px 8px) 0 0/48px 48px,
    repeating-linear-gradient(0deg, var(--text) 0 4px, transparent 4px 8px) 0 0/48px 48px,
    #fff;
  background-blend-mode: multiply;
  position: relative;
  overflow: hidden;
}
.qr-scan{
  position: absolute;
  left: 0; right: 0; height: 3px;
  background: var(--violet-bright);
  box-shadow: 0 0 12px 2px rgba(178,75,255,.8);
  animation: qr-sweep 1.8s ease-in-out infinite;
}
@keyframes qr-sweep{ 0%,100%{ top: 4%; } 50%{ top: 92%; } }
.how-state-label{ text-align: center; font-size: .8rem; color: var(--text-dim); margin: 0; }

.file-chip{
  background: var(--bg-alt-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: .78rem;
  color: var(--text);
  opacity: 0;
  animation: bubble-in .4s var(--ease) forwards;
}
.file-chip:nth-child(2){ animation-delay: .12s; }
.file-chip:nth-child(3){ animation-delay: .24s; }

.live-counter{
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--violet-text);
  margin-bottom: 4px;
}
.live-dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 rgba(37,211,102,.6); animation: pulse-dot 1.6s infinite; }
@keyframes pulse-dot{ 0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70%{ box-shadow: 0 0 0 8px rgba(37,211,102,0); } 100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.how-steps{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.how-step{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  min-height: 100vh;
  align-content: center;
  opacity: .35;
  transform: scale(.97);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.how-step.is-active{ opacity: 1; transform: none; }
.how-step:last-child{ border-bottom: none; }
.how-step-time{
  font-family: var(--font-mono);
  color: var(--text-faint);
  font-weight: 700;
  font-size: .95rem;
  transition: color .3s var(--ease);
}
.how-step.is-active .how-step-time{ color: var(--violet-text); text-shadow: 0 0 18px rgba(178,75,255,.35); }
.how-step-body h3{ margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--text); }
.how-step-body p{ margin: 0; color: var(--text-dim); max-width: 56ch; }

@media (max-width: 900px){
  .how-sticky{ position: static; height: auto; margin-bottom: 32px; }
  .how-step{ min-height: 0; padding: 24px 0; opacity: 1; transform: none; }
}

/* ==========================================================================
   Comparativa
   ========================================================================== */

.compare{ background: radial-gradient(1200px 500px at 80% 0%, rgba(146,8,255,.10), transparent), rgba(var(--bg-rgb), .82); padding: 100px 0 0; border-top: 1px solid var(--border); }
.compare-lede{ color: var(--text-dim); max-width: 56ch; font-size: 1.05rem; margin: 0 0 40px; }

.compare-scroll{ position: relative; height: 420vh; margin-bottom: 100px; }
.compare-sticky{ position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.compare-sticky .wrap{ width: 100%; }

.compare-table{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(var(--bg-rgb), .6);
  box-shadow: 0 40px 80px -40px rgba(146,8,255,.3);
}
.compare-row{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
  transition: background .3s var(--ease);
}
.compare-row:hover{ background: rgba(146,8,255,.05); }
.compare-row:last-child{ border-bottom: none; }
.compare-row span{ padding: 18px 22px; font-size: .92rem; color: var(--text); }
.compare-row span:first-child{ color: var(--text-faint); font-family: var(--font-mono); font-size: .78rem; }
.compare-head span{ font-family: var(--font-mono); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); padding-bottom: 12px; padding-top: 20px;}
.compare-row .highlight{ color: var(--violet-text); font-weight: 700; background: rgba(146,8,255,.1); }

.compare-row[data-row]{
  opacity: 0;
  transform: translateY(18px) scale(.98);
  transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.compare-row[data-row].is-revealed{ opacity: .5; transform: none; }
.compare-row[data-row].is-current{
  opacity: 1;
  background: rgba(146,8,255,.07);
  box-shadow: inset 0 0 0 1px rgba(146,8,255,.4);
}
.compare-row[data-row].is-current .highlight{
  text-shadow: 0 0 18px rgba(178,75,255,.5);
}

@media (max-width: 900px){
  .compare-scroll{ height: auto; margin-bottom: 60px; }
  .compare-sticky{ position: static; height: auto; padding: 40px 0; }
  .compare-row[data-row], .compare-row[data-row].is-revealed{ opacity: 1; transform: none; }
}

/* ==========================================================================
   Proof / testimonial
   ========================================================================== */

.proof{ padding: 100px 0; }
.proof-grid{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}
.proof-chat{
  background: rgba(var(--bg-alt-rgb), .88);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--border);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.proof-chat:hover{ border-color: rgba(146,8,255,.4); box-shadow: 0 30px 60px -30px rgba(146,8,255,.4); }
.proof-quote{
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 18px;
  color: var(--text);
}
.proof-name{ font-family: var(--font-mono); font-weight: 600; font-size: .8rem; color: var(--text-faint); margin: 0 0 28px; }
.proof-stats{ display: flex; gap: 32px; }
.proof-stats span{ display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--violet-text); }
.proof-stats small{ color: var(--text-dim); font-size: .78rem; }

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing{ padding: 100px 0; background: rgba(var(--bg-alt-rgb), .88); border-top: 1px solid var(--border); }
.pricing-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
  align-items: start;
}
.price-card{
  background: rgba(var(--bg-rgb), .9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.price-card:hover{ border-color: rgba(146,8,255,.4); }
.price-featured{
  border-color: var(--violet);
  box-shadow: 0 30px 60px -28px rgba(146,8,255,.55);
}
.price-featured.tilt-card{ transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(calc(-8px + var(--py, 0px))); }
.price-badge{
  position: absolute;
  top: -13px;
  left: 32px;
  background: linear-gradient(120deg, var(--violet-mid), var(--violet-bright));
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0;
}
.price-tier{ font-family: var(--font-mono); font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .05em; color: var(--text-faint); margin: 0; }
.price-num{ font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; margin: 0; color: var(--text); }
.price-num span{ font-size: 1rem; font-weight: 500; color: var(--text-faint); font-family: var(--font-body); }
.price-desc{ color: var(--text-dim); font-size: .9rem; margin: 0; }
.price-card .btn{ margin-top: auto; justify-content: center; }

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta{ padding: 140px 0; text-align: center; overflow: hidden; }
.final-cta .a4{
  position: absolute;
  width: 700px; height: 700px;
  left: 50%; top: 50%;
  border-radius: 50%;
  filter: blur(90px);
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(146,8,255,.25), transparent 70%);
  pointer-events: none;
}
.final-cta-inner{ display: flex; flex-direction: column; align-items: center; gap: 36px; }
.final-cta .h2{ max-width: 22ch; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer{ border-top: 1px solid var(--border); padding: 56px 0; text-align: center; }
.footer-inner{ display: flex; align-items: center; justify-content: center; }
.footer-word{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .22em;
  color: var(--text-dim);
  text-decoration: none;
  transition: color .25s var(--ease), text-shadow .25s var(--ease);
}
.footer-word:hover{ color: var(--violet-text); text-shadow: 0 0 24px rgba(178,75,255,.35); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-in{ opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-phone{ order: -1; }
  .product-grid{ grid-template-columns: 1fr; }
  .stat-grid{ grid-template-columns: 1fr; }
  .how-grid{ grid-template-columns: 1fr; }
  .proof-grid{ grid-template-columns: 1fr; }
  .pricing-grid{ grid-template-columns: 1fr; }
  .price-featured.tilt-card{ transform: none; }
  .compare-row{ grid-template-columns: 1fr; }
  .compare-row span:first-child{ padding-bottom: 4px; }
  .compare-head{ display: none; }
  .tilt-card{ transform: none !important; }
}

@media (max-width: 520px){
  .stat-row{ grid-template-columns: 50px 1fr; }
  .stat-val{ grid-column: 2; text-align: left; }
  .phone{ width: 100%; max-width: 340px; }
}
