/* ═══════════════════════════════════════════════════════════════
   ARTLEX landing — tokens, base, componentes y animaciones
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #060b1f;
  --bg-2: #0a1230;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --text: #eaf0ff;
  --muted: #9aa8cc;
  --green: #22e38f;
  --green-2: #12c7a3;
  --blue: #3b82f6;
  --blue-2: #22d3ee;
  --purple: #8b5cf6;
  --purple-2: #d946ef;
  --radius: 22px;
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 10% -10%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(800px 500px at 100% 10%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(34, 227, 143, 0.12), transparent 60%),
    var(--bg);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.35;
  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: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.container.narrow { width: min(820px, calc(100% - 40px)); }
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }

.grad-blue { background: linear-gradient(90deg, #60a5fa, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-purple { background: linear-gradient(90deg, #a78bfa, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-green { background: linear-gradient(90deg, #34d399, #22e38f); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ─── Cursor glow + progreso ─── */
.cursor-glow {
  position: fixed; z-index: 0; pointer-events: none; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.14), rgba(139,92,246,0.06) 45%, transparent 70%);
  transform: translate(-50%, -50%); left: 50vw; top: 30vh; transition: opacity 0.6s; opacity: 0; filter: blur(10px);
}
body.has-mouse .cursor-glow { opacity: 1; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: rgba(255,255,255,0.05); }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--blue), var(--purple)); box-shadow: 0 0 12px rgba(59,130,246,0.7); }

/* ─── Botones ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, border-color 0.3s; cursor: pointer; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, #3b82f6, #6366f1 60%, #8b5cf6); color: #fff; box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.7); }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s var(--ease); z-index: -1; }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(99, 102, 241, 0.9); }
.btn-outline { border-color: var(--border); background: var(--surface); color: var(--text); backdrop-filter: blur(8px); }
.btn-outline:hover { border-color: rgba(255,255,255,0.3); background: var(--surface-2); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-wa { background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.7); }
.btn-wa:hover { box-shadow: 0 16px 40px -10px rgba(37, 211, 102, 0.9); }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 clamp(16px, 4vw, 48px);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(6, 11, 31, 0.72); backdrop-filter: blur(16px) saturate(140%); border-color: var(--border); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 8px 24px -8px rgba(59,130,246,0.6); }
.wordmark { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.06em; }
.wordmark em { font-style: normal; background: linear-gradient(90deg, #60a5fa, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 28px; font-size: 0.93rem; color: var(--muted); }
.nav-links a { position: relative; padding: 6px 0; transition: color 0.3s; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--purple)); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
@media (max-width: 1140px) { .nav-cta .btn-ghost { display: none; } .nav-links { gap: 20px; } }
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; padding: 20px clamp(16px, 4vw, 48px) 28px; background: rgba(6, 11, 31, 0.96); border-bottom: 1px solid var(--border); gap: 6px; font-size: 1.05rem; }
  .nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ─── Hero ─── */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--nav-h) + 40px) 0 80px; overflow: hidden; }
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.hero-glow-a { width: 520px; height: 520px; left: -120px; top: 10%; background: radial-gradient(circle, rgba(59,130,246,0.5), transparent 65%); }
.hero-glow-b { width: 620px; height: 620px; right: -160px; bottom: -10%; background: radial-gradient(circle, rgba(139,92,246,0.45), transparent 65%); animation-delay: -6s; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(40px, -30px, 0) scale(1.08); } }
.hero-inner { position: relative; z-index: 1; width: min(1180px, calc(100% - 40px)); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 0.85rem; color: var(--muted); backdrop-filter: blur(8px); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34,227,143,0.6); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34,227,143,0.6); } 100% { box-shadow: 0 0 0 12px rgba(34,227,143,0); } }
.hero-title { font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 800; margin: 22px 0 22px; line-height: 1.02; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .word { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.hero-title .line:nth-child(2) .word { animation-delay: 0.15s; }
.hero-title .line:nth-child(3) .word { animation-delay: 0.3s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 560px; }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: clamp(20px, 4vw, 44px); flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats b { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; background: linear-gradient(90deg, #fff, #c7d2fe); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { font-size: 0.82rem; color: var(--muted); max-width: 150px; line-height: 1.35; }
.scroll-hint { position: absolute; bottom: 24px; left: 50%; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.25); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--text); transform: translateX(-50%); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* Teléfono */
.hero-visual { position: relative; width: fit-content; margin: 0 auto; perspective: 1400px; }
.phone {
  position: relative; width: 320px; height: 640px; border-radius: 44px; padding: 14px;
  background: linear-gradient(160deg, #1b2447, #0b1230); border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.8), 0 0 0 6px rgba(255,255,255,0.03), inset 0 0 0 1px rgba(255,255,255,0.05);
  display: flex; flex-direction: column; overflow: hidden; transform-style: preserve-3d;
  animation: hover-float 7s ease-in-out infinite;
  transition: transform 0.3s ease-out;
}
@keyframes hover-float { 0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); } 50% { transform: rotateY(-6deg) rotateX(2deg) translateY(-12px); } }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: #05091a; border-radius: 16px; z-index: 3; }
.wa-header { display: flex; align-items: center; gap: 10px; padding: 34px 14px 12px; background: #0f2a26; border-radius: 30px 30px 0 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.wa-header img { border-radius: 50%; }
.wa-header b { display: block; font-size: 0.9rem; }
.wa-header small { color: #7ee0b6; font-size: 0.72rem; }
.wa-chat { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; background: #0b1a2a radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 18px 18px; }
.bubble { max-width: 84%; padding: 9px 12px; border-radius: 14px; font-size: 0.83rem; line-height: 1.4; animation: pop 0.45s var(--ease) both; box-shadow: 0 4px 12px -6px rgba(0,0,0,0.6); white-space: pre-line; }
.bubble.in { align-self: flex-start; background: #1d2b3a; border-bottom-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: #0f6e56; border-bottom-right-radius: 4px; }
.bubble.sys { align-self: center; background: rgba(255,255,255,0.08); font-size: 0.72rem; color: var(--muted); padding: 5px 10px; border-radius: 999px; }
.bubble time { display: block; text-align: right; font-size: 0.62rem; opacity: 0.6; margin-top: 3px; }
.typing { align-self: flex-start; background: #1d2b3a; border-radius: 14px; padding: 10px 14px; display: flex; gap: 4px; animation: pop 0.3s var(--ease) both; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9fb3c8; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; } .typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
.wa-input { margin: 8px; padding: 10px 14px; border-radius: 999px; background: #10233a; color: #6f8196; font-size: 0.8rem; display: flex; justify-content: space-between; align-items: center; }
.wa-input i { width: 26px; height: 26px; border-radius: 50%; background: #25d366; }
.float-chip {
  position: absolute; padding: 10px 14px; border-radius: 14px; background: rgba(10, 18, 48, 0.85); border: 1px solid var(--border);
  backdrop-filter: blur(12px); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.7); font-size: 0.78rem; display: flex; flex-direction: column; gap: 1px;
  animation: chip-float 6s ease-in-out infinite; opacity: 0; animation-fill-mode: both;
}
.float-chip b { font-size: 0.82rem; }
.float-chip span { color: var(--muted); }
.chip-a { left: -120px; top: 16%; border-left: 3px solid var(--blue); animation-delay: 1.2s; }
.chip-b { right: -130px; top: 46%; border-left: 3px solid var(--green); animation-delay: 2.2s; }
.chip-c { left: -100px; bottom: 12%; border-left: 3px solid var(--purple); animation-delay: 3.2s; }
@media (max-width: 1260px) {
  .chip-a { left: -30px; top: -22px; }
  .chip-b { right: -30px; top: auto; bottom: 30%; }
  .chip-c { left: -20px; bottom: -22px; }
}
@keyframes chip-float { 0% { opacity: 0; transform: translateY(12px); } 10%, 100% { opacity: 1; } 50% { transform: translateY(-10px); } 100% { transform: translateY(0); } }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin: 0 auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-stats span { max-width: none; }
  .hero-visual { margin-top: 20px; }
  .phone { width: 290px; height: 580px; animation: none; transform: none; }
  .float-chip { display: none; }
  .scroll-hint { display: none; }
}

/* ─── Marquee ─── */
.pillars { padding: 0 0 20px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.02); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 40px; align-items: center; padding: 18px 0 0; width: max-content; animation: marquee 38s linear infinite; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--muted); white-space: nowrap; }
.marquee-track i { color: var(--blue); font-style: normal; font-size: 0.6rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── Encabezados de sección ─── */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker { display: inline-block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-2); font-weight: 600; margin-bottom: 14px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }

/* ─── Pasos ─── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; counter-reset: step; }
.steps::before { content: ''; position: absolute; left: 6%; right: 6%; top: 44px; height: 2px; background: linear-gradient(90deg, var(--green), var(--blue), var(--purple)); opacity: 0.35; transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.steps.in::before { transform: scaleX(1); }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s; }
.step:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.22); background: var(--surface-2); }
.step-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(59,130,246,0.25), rgba(139,92,246,0.25)); border: 1px solid rgba(255,255,255,0.12); margin-bottom: 18px; color: #c7d2fe; position: relative; z-index: 1; }
.step-icon svg { width: 26px; height: 26px; }
.step-n { position: absolute; top: 18px; right: 20px; font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: rgba(255,255,255,0.06); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ─── Bento ─── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: transform 0.45s var(--ease), border-color 0.4s; }
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); }
.card h3 { margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.bento-a { grid-row: span 2; }
.bento-w { grid-column: span 2; }
.spot::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(96,165,250,0.16), transparent 45%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.spot:hover::before { opacity: 1; }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.12); }
.card-icon svg { width: 24px; height: 24px; }
.ic-green { background: rgba(34,227,143,0.15); color: var(--green); }
.ic-blue { background: rgba(59,130,246,0.18); color: #93c5fd; }
.ic-purple { background: rgba(139,92,246,0.18); color: #c4b5fd; }
.ic-cyan { background: rgba(34,211,238,0.15); color: var(--blue-2); }
.mini-chat { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.mc { max-width: 90%; padding: 9px 12px; border-radius: 14px; font-size: 0.85rem; opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.in .mc { opacity: 1; transform: none; }
.in .mc:nth-child(2) { transition-delay: 0.35s; } .in .mc:nth-child(3) { transition-delay: 0.7s; } .in .mc:nth-child(4) { transition-delay: 1.05s; }
.mc-in { align-self: flex-start; background: rgba(255,255,255,0.08); border-bottom-left-radius: 4px; }
.mc-out { align-self: flex-end; background: rgba(16,110,86,0.6); border-bottom-right-radius: 4px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { font-size: 0.75rem; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,0.05); color: #c7d2fe; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento-a { grid-row: auto; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento-w { grid-column: auto; } }

/* ─── Memoria comercial ─── */
.memory { background: linear-gradient(180deg, transparent, rgba(139,92,246,0.06) 50%, transparent); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-copy p { color: var(--muted); margin: 18px 0 22px; font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; color: #d6dcf2; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--purple-2)); }
.checklist li::after { content: ''; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.profile { position: relative; padding: 24px; border-radius: 26px; background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)); border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 40px 80px -40px rgba(139,92,246,0.5); }
.profile::before { content: ''; position: absolute; inset: -1px; border-radius: 27px; padding: 1px; background: conic-gradient(from var(--angle, 0deg), transparent 0 40%, rgba(167,139,250,0.9) 50%, transparent 60% 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; -webkit-mask-composite: xor; animation: spin 6s linear infinite; pointer-events: none; }
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --angle: 360deg; } }
.profile-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.profile-head b { display: block; }
.profile-head small { color: var(--muted); font-size: 0.78rem; }
.profile-head .badge { margin-left: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: linear-gradient(135deg, var(--blue), var(--purple)); }
.badge { font-size: 0.72rem; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.badge-blue { background: rgba(59,130,246,0.2); color: #93c5fd; }
.score { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; margin-bottom: 18px; }
.score-ring { position: relative; width: 120px; height: 120px; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring circle { stroke: rgba(255,255,255,0.08); stroke-width: 10; }
.score-ring .score-val { stroke: url(#g) ; stroke: var(--purple); stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.6s var(--ease); stroke-linecap: round; }
.in .score-val { stroke-dashoffset: calc(327 - 327 * 0.82); }
.score-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.8rem; }
.score-reasons { display: grid; gap: 6px; }
.reason { font-size: 0.82rem; color: #d6dcf2; display: flex; gap: 8px; align-items: center; opacity: 0; transform: translateX(10px); transition: all 0.5s var(--ease); }
.in .reason { opacity: 1; transform: none; }
.in .reason:nth-child(2) { transition-delay: 0.15s; } .in .reason:nth-child(3) { transition-delay: 0.3s; } .in .reason:nth-child(4) { transition-delay: 0.45s; }
.reason i { font-style: normal; font-size: 0.72rem; padding: 2px 7px; border-radius: 6px; background: rgba(34,227,143,0.18); color: var(--green); font-weight: 600; min-width: 36px; text-align: center; }
.reason.neg i { background: rgba(244,63,94,0.18); color: #fda4af; }
.profile-row { padding: 12px 0; border-top: 1px solid var(--border); }
.profile-row small { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 4px; }
.profile-row p { font-size: 0.9rem; color: #d6dcf2; }
.profile-row .tag-row { margin-top: 6px; }
.profile-row.next { position: relative; padding-right: 30px; }
.pulse { position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--green); animation: ping 1.6s infinite; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }

/* ─── Planes ─── */
.pricing { background: linear-gradient(180deg, transparent, rgba(59,130,246,0.05) 40%, transparent); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { --accent: var(--green); --accent-2: var(--green-2); position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 28px; background: linear-gradient(170deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)); border: 1px solid var(--border); transform-style: preserve-3d; transition: border-color 0.4s, box-shadow 0.4s; }
.plan::after { content: ''; position: absolute; inset: 0; border-radius: 28px; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.plan:hover::after { opacity: 1; }
.plan:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 30px 70px -40px color-mix(in srgb, var(--accent) 70%, transparent); }
.plan-blue { --accent: #3b82f6; --accent-2: #22d3ee; }
.plan-purple { --accent: #8b5cf6; --accent-2: #d946ef; }
.plan.featured { border-color: rgba(96,165,250,0.5); background: linear-gradient(170deg, rgba(59,130,246,0.16), rgba(139,92,246,0.08)); }
.plan.featured::before { content: ''; position: absolute; inset: -1px; border-radius: 29px; padding: 1.5px; background: conic-gradient(from var(--angle, 0deg), transparent 0 55%, #60a5fa 70%, #a78bfa 80%, transparent 90% 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; -webkit-mask-composite: xor; animation: spin 5s linear infinite; pointer-events: none; }
@media (min-width: 961px) { .plan.featured { transform: scale(1.03); z-index: 1; } }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: 999px; background: linear-gradient(135deg, #3b82f6, #8b5cf6); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; box-shadow: 0 10px 24px -8px rgba(99,102,241,0.9); }
.plan-head { display: flex; align-items: center; gap: 14px; }
.plan-head h3 { font-size: 1.5rem; font-weight: 700; }
.plan-head small { color: var(--muted); font-size: 0.85rem; }
.plan-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 12px 30px -12px var(--accent); flex-shrink: 0; }
.plan-icon svg { width: 26px; height: 26px; }
.plan-desc { color: var(--muted); font-size: 0.93rem; margin: 16px 0 20px; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price { padding: 14px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.price small { display: block; font-size: 0.72rem; color: var(--muted); margin-bottom: 4px; }
.price b { font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; line-height: 1; }
.price b sup { font-size: 0.9rem; vertical-align: super; }
.price em { font-style: normal; font-size: 0.78rem; color: var(--muted); margin-left: 4px; }
.incl { display: inline-block; margin: 22px 0 12px; padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; background: color-mix(in srgb, var(--accent) 18%, transparent); color: color-mix(in srgb, var(--accent) 60%, #fff); }
.plan-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan-list li { position: relative; padding-left: 30px; font-size: 0.9rem; color: #d6dcf2; line-height: 1.45; }
.plan-list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.plan-list li::after { content: ''; position: absolute; left: 7px; top: 6px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan .tag-row { margin: 20px 0 0; }
.plan .tag { border-color: color-mix(in srgb, var(--accent) 35%, transparent); color: color-mix(in srgb, var(--accent) 65%, #fff); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.plan-foot { margin: 20px 0; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); font-size: 0.88rem; color: #e2e8ff; }
.plan .btn-outline { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.plan .btn-outline:hover { background: color-mix(in srgb, var(--accent) 16%, transparent); }
@media (max-width: 1080px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } .plan.featured { transform: none; } }

.stack { margin-top: 48px; padding: 26px 30px; border-radius: 22px; border: 1px solid var(--border); background: var(--surface); display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.stack-title { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.stack ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 20px; flex: 1; }
.stack li { display: flex; flex-direction: column; }
.stack b { font-size: 0.88rem; }
.stack small { font-size: 0.75rem; color: var(--muted); }

/* ─── FAQ ─── */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 18px; border: 1px solid var(--border); background: var(--surface); padding: 0 22px; transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: rgba(96,165,250,0.4); background: var(--surface-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; position: relative; font-family: var(--font-head); font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; font-weight: 400; transition: transform 0.35s var(--ease), background 0.3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: rgba(96,165,250,0.2); }
.faq p { color: var(--muted); padding: 0 0 20px; animation: fade 0.5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.pricing-note { max-width: 900px; margin: 28px auto 0; color: var(--muted); font-size: 0.82rem; line-height: 1.7; text-align: center; }
.score-caption { display: block; margin: 16px 0 -8px; color: var(--muted); font-size: 0.7rem; }

/* ─── CTA final ─── */
.cta-final { padding-top: 0; }
.cta-box { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 7vw, 90px) clamp(20px, 5vw, 60px); border-radius: 32px; border: 1px solid rgba(255,255,255,0.14); background: linear-gradient(160deg, rgba(59,130,246,0.18), rgba(139,92,246,0.14) 50%, rgba(34,227,143,0.1)); }
.cta-orb { position: absolute; width: 700px; height: 700px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(99,102,241,0.35), transparent 60%); filter: blur(50px); animation: breathe 6s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.15); } }
.cta-box > * { position: relative; }
.cta-box p { color: var(--muted); max-width: 620px; margin: 18px auto 0; font-size: 1.08rem; }
.cta-box .hero-actions { justify-content: center; }

/* ─── Footer ─── */
.footer { border-top: 1px solid var(--border); padding: 48px 0 32px; background: rgba(0,0,0,0.2); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.footer p { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; justify-content: flex-end; color: var(--muted); font-size: 0.92rem; }
.footer nav a:hover { color: var(--text); }
.footer small { grid-column: 1 / -1; color: #6f7ca3; font-size: 0.78rem; border-top: 1px solid var(--border); padding-top: 20px; }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } .footer nav { justify-content: flex-start; } }
.admin-entry { grid-column: 1 / -1; justify-self: end; color: #687493; font-size: 0.72rem; opacity: 0.68; transition: color 0.25s, opacity 0.25s; }
.admin-entry:hover { color: #aab6d4; opacity: 1; }

.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 14px 34px -8px rgba(37,211,102,0.8); animation: fab 2.6s infinite; transition: transform 0.3s var(--ease); }
.wa-fab:hover { transform: scale(1.08); }
@keyframes fab { 0%, 100% { box-shadow: 0 14px 34px -8px rgba(37,211,102,0.8), 0 0 0 0 rgba(37,211,102,0.45); } 60% { box-shadow: 0 14px 34px -8px rgba(37,211,102,0.8), 0 0 0 16px rgba(37,211,102,0); } }

/* ─── Reveal ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }
.tilt { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .word { transform: none; }
  .float-chip { opacity: 1; }
}
