/* ============================================================
   Appylisto — Landing (apex). Standalone stylesheet.
   Dark immersive canvas · aurora gradients · kinetic type.
   Animated initial states live under .js so the page is fully
   readable without JavaScript.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg0: #07060b;
  --bg1: #0d0b16;
  --ink: #f5f3ff;
  --muted: #a49fc2;
  --violet: #7c3aed;
  --violet-2: #a78bfa;
  --coral: #ff6a5c;
  --amber: #ffc46b;
  --line: rgba(255, 255, 255, 0.09);
  --card: rgba(255, 255, 255, 0.04);
  --font-d: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-s: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(0.22, 0.9, 0.28, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* Shared page gutter: content capped at 1280px and centered; grows the side
     margin on ultra-wide, floors at a fluid gutter on small screens. Hero,
     sections and footer all use it so their content edges line up exactly. */
  --edge: max(clamp(24px, 5vw, 40px), (100% - 1280px) / 2);
}

html { scroll-behavior: smooth; }

body.landing {
  font-family: var(--font-d);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(79, 70, 229, 0.1), transparent 60%),
    var(--bg0);
  color: var(--ink);
  min-height: 100dvh;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--violet); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg0); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.24); }

a { color: inherit; }

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

/* ---------- Film grain / cursor glow / progress ---------- */

.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.05;
  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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 1;
  width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.16), transparent 62%);
  opacity: 0; transition: opacity 600ms ease;
  will-change: transform;
}
.cursor-glow.on { opacity: 1; }
@media (hover: none) { .cursor-glow { display: none; } }

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80;
  background: rgba(255, 255, 255, 0.05);
}
.progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--coral));
  transform: scaleX(0); transform-origin: left;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease),
    background 260ms var(--ease), border-color 260ms var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, var(--violet) 55%, #6d28d9);
  box-shadow: 0 10px 34px rgba(124, 58, 237, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover {
  box-shadow: 0 16px 46px rgba(124, 58, 237, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.26); }

.btn-small { padding: 9px 18px; font-size: 0.9rem; }
.btn-big { padding: 15px 28px; font-size: 1.02rem; }

/* ---------- Nav ---------- */

.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 70;
  width: min(1320px, calc(100% - 28px));
  display: flex; align-items: center; gap: 16px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px;
  background: rgba(10, 8, 16, 0.55);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 1.06rem; letter-spacing: -0.01em;
  text-decoration: none;
}
.brand-logo { height: 30px; width: auto; display: block; }
.nav .brand-logo { height: 32px; }

.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.92rem;
  padding: 8px 13px; border-radius: 999px;
  transition: color 200ms var(--ease), background 200ms var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); background: rgba(255, 255, 255, 0.07); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  width: 100%; margin: 0 auto;
  min-height: 100svh;
  /* Full-bleed background (aurora/grid span edge-to-edge, absolutely
     positioned below); content capped at 1440px and centered via the
     max() gutter. */
  padding-block: 168px 130px;
  padding-inline: var(--edge);
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(48px, 6vw, 120px); align-items: center;
}

.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.aurora .a1 {
  width: 55vw; height: 55vw; left: -14%; top: -20%;
  background: radial-gradient(circle at 35% 35%, rgba(124, 58, 237, 0.5), transparent 66%);
  animation: drift1 18s ease-in-out infinite alternate;
}
.aurora .a2 {
  width: 42vw; height: 42vw; right: -10%; top: 6%;
  background: radial-gradient(circle, rgba(255, 106, 92, 0.3), transparent 66%);
  animation: drift2 22s ease-in-out infinite alternate;
}
.aurora .a3 {
  width: 36vw; height: 36vw; left: 32%; bottom: -28%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.42), transparent 66%);
  animation: drift1 26s ease-in-out infinite alternate-reverse;
}
@keyframes drift1 { to { transform: translate(6vw, 4vh) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-5vw, 6vh) scale(1.12); } }

.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 78% at 50% 18%, black 25%, transparent 74%);
  mask-image: radial-gradient(ellipse 90% 78% at 50% 18%, black 25%, transparent 74%);
}

.hero-copy, .scene, .scroll-hint { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; margin-bottom: 26px;
  background: rgba(255, 255, 255, 0.03);
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 10px #4ade80;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot { 50% { opacity: 0.35; } }

.hero-title {
  font-size: clamp(2.9rem, 7.2vw, 6.2rem);
  font-weight: 700; line-height: 0.99; letter-spacing: -0.035em;
  margin-bottom: 26px;
}

/* Kinetic word reveal */
.wo { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.wi { display: inline-block; transform: translateY(118%) rotate(5deg); transform-origin: left top; animation: rise 0.95s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { transform: none; } }

.acc {
  font-family: var(--font-s); font-style: italic; font-weight: 400;
  font-size: 1.05em; letter-spacing: 0;
  background: linear-gradient(100deg, #d8b4fe, var(--violet-2) 42%, #ff8a5c);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-right: 0.08em;
}

.hero-sub {
  color: var(--muted); font-size: 1.08rem; line-height: 1.65;
  max-width: 47ch; margin-bottom: 34px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 48px; }
.stat dt { display: flex; align-items: baseline; gap: 3px; font-size: 2.1rem; font-weight: 700; letter-spacing: -0.02em; }
.stat-unit { font-size: 1.15rem; font-weight: 600; color: var(--violet-2); }
.stat dd { color: var(--muted); font-size: 0.85rem; max-width: 19ch; margin-top: 3px; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 32px; }

/* Scroll hint */
.scroll-hint {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  color: var(--muted); text-decoration: none;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.scroll-hint-track {
  width: 24px; height: 38px; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex; justify-content: center; padding-top: 7px;
}
.scroll-hint-dot {
  width: 4px; height: 8px; border-radius: 99px; background: var(--violet-2);
  animation: hint-drop 1.7s var(--ease) infinite;
}
@keyframes hint-drop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Phone mockup ---------- */

.scene { justify-self: center; perspective: 1400px; }

.phone {
  width: min(370px, 84vw);
  border-radius: 48px; padding: 12px;
  background: linear-gradient(165deg, #181526, #0a0812);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    0 44px 90px rgba(0, 0, 0, 0.62),
    0 30px 80px rgba(124, 58, 237, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 200ms ease-out;
  will-change: transform;
}

.pm-notch {
  position: absolute; top: 23px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 25px; border-radius: 999px; background: #040309; z-index: 2;
}

.pm-screen {
  position: relative; overflow: hidden;
  border-radius: 36px; min-height: 568px;
  padding: 46px 16px 14px;
  background: linear-gradient(180deg, #161226, #0c0a15 42%);
  display: flex; flex-direction: column; gap: 12px;
}

.pm-header { display: flex; align-items: center; gap: 10px; }
.pm-logo {
  width: 34px; height: 34px; border-radius: 12px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #8b5cf6, var(--coral));
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.5);
}
.pm-logo svg { width: 17px; height: 17px; }
.pm-name { font-weight: 700; font-size: 0.95rem; flex: 1; letter-spacing: -0.01em; }
.pm-bell { position: relative; color: var(--muted); display: grid; place-items: center; }
.pm-bell svg { width: 18px; height: 18px; }
.pm-bell-dot {
  position: absolute; top: 1px; right: 1px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--coral);
  border: 2px solid #0e0b18;
}

.pm-hero {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px; padding: 14px 16px;
}
.pm-hi { font-weight: 700; font-size: 1.04rem; letter-spacing: -0.01em; }
.pm-sub { color: var(--muted); font-size: 0.8rem; margin-top: 3px; }
.pm-sub strong { color: var(--ink); }

.pm-stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pm-stamp {
  aspect-ratio: 1; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.pm-stamp svg { width: 15px; height: 15px; color: rgba(255, 255, 255, 0.22); }
.pm-stamp.on {
  background: linear-gradient(135deg, #8b5cf6, var(--violet));
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);
}
.pm-stamp.on svg { color: #fff; }
.js .scene.in .pm-stamp.on {
  animation: stamp-pop 0.45s var(--ease-pop) both;
  animation-delay: calc(0.35s + var(--i) * 90ms);
}
@keyframes stamp-pop {
  0% { transform: scale(0.25); }
  62% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.pm-progress {
  height: 8px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.08); overflow: hidden;
}
.pm-progress-fill {
  display: block; height: 100%; width: 80%; border-radius: 99px;
  background: linear-gradient(90deg, var(--violet-2), var(--coral));
}
.js .scene .pm-progress-fill { width: 0; transition: width 1.15s var(--ease) 0.55s; }
.js .scene.in .pm-progress-fill { width: 80%; }

.pm-reward {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.82rem; font-weight: 600; color: #f7dba6;
  background: rgba(255, 196, 107, 0.09);
  border: 1px solid rgba(255, 196, 107, 0.22);
  border-radius: 12px; padding: 9px 13px;
}
.pm-reward svg { width: 15px; height: 15px; flex: none; }

.pm-promo {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px; padding: 12px;
}
.pm-promo-emoji {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  display: grid; place-items: center; color: #9bd6ff;
  background: rgba(255, 255, 255, 0.08);
}
.pm-promo-emoji svg { width: 18px; height: 18px; }
.pm-promo-text { display: flex; flex-direction: column; }
.pm-promo-text strong { font-size: 0.9rem; }
.pm-promo-text small { color: var(--muted); font-size: 0.74rem; }

.pm-tabbar {
  margin-top: auto; padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex; justify-content: space-around;
}
.pm-tabbar span { width: 22px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.15); }
.pm-tabbar span.on { width: 30px; background: linear-gradient(90deg, #8b5cf6, var(--violet)); }

/* Push notification floating over the phone */
.pm-push {
  position: absolute; top: 9%; right: -16%; z-index: 3;
  width: 252px; display: flex; align-items: center; gap: 11px;
  background: rgba(19, 16, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px; padding: 12px 14px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.55);
  animation: notif 7s ease-in-out infinite;
}
@keyframes notif {
  0%, 10% { opacity: 0; transform: translateY(-16px) scale(0.95); }
  20%, 78% { opacity: 1; transform: none; }
  90%, 100% { opacity: 0; transform: translateY(-10px) scale(0.96); }
}
.pm-push-icon {
  width: 32px; height: 32px; border-radius: 10px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #8b5cf6, var(--violet));
}
.pm-push-icon svg { width: 15px; height: 15px; }
.pm-push-body { display: flex; flex-direction: column; }
.pm-push-body strong { font-size: 0.78rem; }
.pm-push-body small { color: var(--muted); font-size: 0.74rem; }

/* Floating chips */
.chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px;
  background: rgba(19, 16, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 0.82rem; font-weight: 600;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.5);
  animation: floaty 5.5s ease-in-out infinite;
  will-change: translate;
}
.chip-1 { left: -13%; bottom: 24%; }
.chip-2 { right: -7%; bottom: 8%; animation-delay: -2.8s; }
.chip-star {
  width: 22px; height: 22px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--amber), #ff8a5c);
}
.chip-star svg { width: 12px; height: 12px; color: #2a1602; }
.chip-flame { display: grid; place-items: center; flex: none; }
.chip-flame svg {
  width: 15px; height: 15px; color: var(--coral);
  filter: drop-shadow(0 0 8px rgba(255, 106, 92, 0.6));
}
@keyframes floaty { 50% { transform: translateY(-11px); } }

/* ---------- Marquee ---------- */

.marquee {
  border-block: 1px solid var(--line);
  padding: 20px 0; overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.marquee-inner { display: flex; width: max-content; animation: mq 32s linear infinite; }
.marquee:hover .marquee-inner { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 3rem; padding-right: 3rem; }
.mq-item {
  font-size: clamp(1.05rem, 2.3vw, 1.65rem); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(245, 243, 255, 0.5); white-space: nowrap;
}
.mq-star {
  font-style: normal; color: var(--violet-2); margin-left: 3rem;
  display: inline-grid; place-items: center; vertical-align: middle;
}
.mq-star svg { width: 0.85em; height: 0.85em; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { width: 100%; margin: 0 auto; padding: 130px var(--edge); }

.sec-head { margin-bottom: 64px; }
.sec-label {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--violet-2); margin-bottom: 16px;
}
.sec-title {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  font-weight: 700; line-height: 1.04; letter-spacing: -0.03em;
}
.sec-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.65; max-width: 52ch; margin-top: 20px; }

/* Scroll reveal (JS-gated) */
.js .reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--rd, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.step { border-top: 1px solid var(--line); padding-top: 26px; }
.step-num {
  display: block; margin-bottom: 20px;
  font-size: clamp(3.4rem, 6.5vw, 5.4rem); font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  transition: color 500ms var(--ease);
}
.step:hover .step-num { color: rgba(167, 139, 250, 0.85); -webkit-text-stroke-color: transparent; }
.step h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* ---------- Bento ---------- */

.bento {
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(215px, auto); gap: 18px;
}

.tile {
  position: relative; overflow: hidden;
  grid-column: span 2;
  border: 1px solid var(--line); border-radius: 24px;
  background: var(--card);
  padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  transition: transform 350ms var(--ease), border-color 350ms var(--ease),
    background 350ms var(--ease);
}
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(167, 139, 250, 0.13), transparent 62%);
  opacity: 0; transition: opacity 350ms var(--ease);
}
.tile:hover { transform: translateY(-5px); border-color: rgba(167, 139, 250, 0.4); }
.tile:hover::after { opacity: 1; }
.tile h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }
.tile p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; max-width: 40ch; }

.t-sellos { grid-column: span 4; grid-row: span 2; min-height: 448px; }

.tile-visual { margin-bottom: auto; padding-bottom: 24px; }

/* Stamps visual */
.v-stamps { display: flex; flex-wrap: wrap; gap: 10px; max-width: 320px; }
.v-stamp {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.v-stamp svg { width: 17px; height: 17px; color: rgba(255, 255, 255, 0.22); }
.v-stamp.on {
  background: linear-gradient(135deg, #8b5cf6, var(--violet));
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.5);
}
.v-stamp.on svg { color: #fff; }
.js .tile.in .v-stamp.on {
  animation: stamp-pop 0.5s var(--ease-pop) both;
  animation-delay: calc(0.25s + var(--i) * 80ms);
}

/* Bell visual */
.v-bell { position: relative; width: 64px; height: 64px; display: grid; place-items: center; }
.v-bell svg { width: 42px; height: 42px; color: var(--violet-2); }
.v-bell-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(167, 139, 250, 0.55);
  animation: ring 2.6s var(--ease) infinite;
}
@keyframes ring {
  0% { transform: scale(0.55); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* QR visual */
.v-qr-svg { width: 92px; height: 92px; fill: #e7e3ff; opacity: 0.92; }

/* Brand visual */
.v-brand-pill {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px; padding: 11px 18px;
  font-size: 0.9rem; color: var(--muted);
}
.v-brand-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 8px #4ade80;
}
.v-brand-caret {
  width: 2px; height: 15px; margin-left: 2px;
  background: var(--violet-2);
  animation: caret 1.1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* Bars visual */
.v-bars { display: flex; align-items: flex-end; gap: 7px; height: 74px; }
.v-bars i {
  width: 15px; height: var(--h); border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--violet-2), var(--violet));
  transform-origin: bottom;
  transition: transform 0.7s var(--ease);
  transition-delay: calc(0.2s + var(--i) * 70ms);
}
.v-bars i:last-child { background: linear-gradient(180deg, var(--amber), var(--coral)); }
.js .tile:not(.in) .v-bars i { transform: scaleY(0); }

/* Bolt visual */
.v-bolt svg {
  width: 44px; height: 44px; color: var(--amber);
  filter: drop-shadow(0 0 16px rgba(255, 196, 107, 0.45));
}

/* ---------- Demo ---------- */

.demo {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.demo-copy .btn { margin-top: 32px; }

.browser {
  border: 1px solid var(--line); border-radius: 20px;
  background: #0c0a14; overflow: hidden;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5), 0 20px 60px rgba(124, 58, 237, 0.12);
  transition: transform 500ms var(--ease);
}
.demo-frame:hover .browser { transform: translateY(-6px) rotate(-0.5deg); }
.browser-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.browser-bar i:first-child { background: rgba(255, 106, 92, 0.55); }
.browser-url {
  margin-left: 10px; padding: 5px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  color: var(--muted); font-size: 0.74rem;
}
.browser-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.bb-head { display: flex; align-items: center; gap: 10px; }
.bb-logo {
  width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #8b5cf6, var(--coral));
}
.bb-logo svg { width: 15px; height: 15px; }
.bb-name { font-weight: 700; font-size: 0.92rem; }
.bb-hero {
  height: 96px; border-radius: 14px;
  background:
    radial-gradient(200px 120px at 80% 0%, rgba(255, 196, 107, 0.35), transparent 70%),
    linear-gradient(135deg, #8b5cf6, var(--violet) 55%, #4c1d95);
}
.bb-stamps { display: flex; gap: 7px; }
.bb-stamps span {
  width: 22px; height: 22px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.bb-stamps span.on {
  background: linear-gradient(135deg, #8b5cf6, var(--violet));
  border-color: transparent;
}
.bb-card { height: 52px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.bb-card.short { width: 62%; }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em;
  transition: color 200ms var(--ease);
  border-radius: 8px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--violet-2); }
.faq-plus {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  transition: transform 300ms var(--ease), background 300ms var(--ease),
    color 300ms var(--ease), border-color 300ms var(--ease);
}
.faq-plus svg { width: 15px; height: 15px; }
.faq details[open] .faq-plus {
  transform: rotate(45deg);
  background: linear-gradient(135deg, #8b5cf6, var(--violet));
  border-color: transparent; color: #fff;
}
.faq-a {
  color: var(--muted); font-size: 0.98rem; line-height: 1.65;
  max-width: 62ch; padding: 0 4px 26px;
}
.faq-a a { color: var(--violet-2); text-underline-offset: 3px; }
.faq-a a:hover { color: var(--ink); }

/* ---------- Final CTA ---------- */

.final {
  position: relative; overflow: hidden;
  text-align: center;
  padding: 170px 24px 190px;
}
.aurora-final .a1 { left: 8%; top: -30%; width: 46vw; height: 46vw; }
.aurora-final .a2 { right: 4%; top: auto; bottom: -40%; width: 40vw; height: 40vw; }
.final .sec-label, .final .final-title, .final .sec-sub, .final .hero-cta {
  position: relative; z-index: 1;
}
.final .sec-sub { margin-inline: auto; }
.final .hero-cta { justify-content: center; margin-top: 40px; }
.final-title {
  font-size: clamp(2.8rem, 6.6vw, 5.8rem);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.035em;
}

/* ---------- Footer ---------- */

.footer {
  width: 100%; margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 34px var(--edge) 42px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.footer-note {
  color: var(--muted); font-size: 0.85rem;
  display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.fn-coffee { display: inline-grid; place-items: center; }
.fn-coffee svg { width: 14px; height: 14px; color: var(--amber); }

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 140px;
    gap: 84px;
  }
  .scroll-hint { display: none; }
  .scene { order: 2; }
  .t-sellos { grid-column: span 6; min-height: 0; }
  .tile { grid-column: span 3; }
  .t-pwa { grid-column: span 6; }
  .demo { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding-top: 124px; padding-bottom: 90px; gap: 72px; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 20px; }
  .stat + .stat { border-left: 0; padding-left: 0; }
  .section { padding: 90px 20px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .tile, .t-sellos, .t-pwa { grid-column: span 6; }
  .bento { grid-auto-rows: auto; }
  .tile { min-height: 210px; }
  .pm-push { right: -4%; width: 218px; }
  .chip-1 { left: -4%; }
  .chip-2 { right: -2%; }
  .final { padding: 120px 20px 140px; }
  .footer { flex-direction: column; justify-content: center; text-align: center; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .wi { transform: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .scene .pm-progress-fill { width: 80% !important; }
  .js .tile:not(.in) .v-bars i { transform: none !important; }
}
