/* ============================================================
   ViralMedia Panel — Rediseño 2026
   Sistema visual: Sora (display) + Plus Jakarta Sans (cuerpo)
   ============================================================ */

:root {
  /* gradient stops (overridable by theme) */
  --g1: #7b3fe4;
  --g2: #d6379b;
  --g3: #ff7a4d;
  --brand: #6d3fe0;
  --brand-ink: #5326c4;
  --accent: #16c8e6;

  --ink: #150f22;
  --ink-soft: #443c57;
  --muted: #7a7390;
  --bg: #f7f5fc;
  --surface: #ffffff;
  --surface-2: #f1edfb;
  --line: #ece7f6;
  --dark: #130d20;
  --dark-2: #1c1430;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --grad: linear-gradient(115deg, var(--g1), var(--g2) 55%, var(--g3));
  --grad-soft: linear-gradient(115deg, color-mix(in oklab, var(--g1) 14%, white), color-mix(in oklab, var(--g3) 14%, white));

  --shadow-sm: 0 2px 10px rgba(30, 12, 60, .06);
  --shadow-md: 0 14px 40px -12px rgba(60, 24, 120, .22);
  --shadow-lg: 0 40px 80px -24px rgba(60, 24, 120, .35);
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-ink);
  background: var(--surface-2);
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line);

  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-head { max-width: 660px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 50px); margin: 18px 0 14px; }
.section-head p { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  padding: 15px 28px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px color-mix(in oklab, var(--g2) 80%, black); }
.btn-grad:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 20px 44px -12px color-mix(in oklab, var(--g2) 80%, black); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--brand) 40%, var(--line)); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }
.btn-lg { padding: 14px 26px; font-size: 17px; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s, border-color .3s;
  padding: 18px 0; border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: color-mix(in oklab, var(--surface) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: var(--shadow-sm); padding: 12px 0; border-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; 
  /*background: var(--grad);*/
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 19px;
  box-shadow: var(--shadow-md); transform: rotate(-6deg);
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.logo:hover .logo-mark { transform: rotate(6deg) scale(1.08); }
.logo .light-word { font-weight: 400; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--ink-soft); position: relative; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; background: var(--grad); border-radius: 2px; transition: width .25s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 22px; font-size: 15px; }
.nav-login { font-weight: 600; font-family: var(--font-display); color: var(--ink); font-size: 15px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

/* ===== Hero (LIGHT, una pantalla, M en su compartimento) ===== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: clamp(94px, 12vh, 124px) 0 clamp(34px, 5vh, 56px); overflow: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 50% 2%, color-mix(in oklab, var(--g1) 13%, white), transparent 60%),
    radial-gradient(ellipse 60% 55% at 88% 26%, color-mix(in oklab, var(--g2) 12%, white), transparent 62%),
    radial-gradient(ellipse 60% 55% at 8% 92%, color-mix(in oklab, var(--g3) 13%, white), transparent 62%),
    var(--bg);
  background: radial-gradient(ellipse 55% 45% at 50% 2%, 
  color-mix(in oklab, var(--g1) 13%, white), transparent 60%), radial-gradient(ellipse 60% 55% at 88% 26%, 
  color-mix(in oklab, #673AB7 12%, white), transparent 62%), radial-gradient(ellipse 60% 55% at 8% 92%, 
  color-mix(in oklab, #673AB7 13%, white), #fdf7ff 62%), var(--bg);
  color: var(--ink);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .2; }
.blob.b1 { width: 440px; height: 440px; background: radial-gradient(circle, var(--g1), transparent 70%); top: -180px; right: -80px; animation: float1 14s ease-in-out infinite; }
.blob.b2 { width: 400px; height: 400px; background: radial-gradient(circle, var(--g3), transparent 70%); bottom: -160px; left: -90px; animation: float2 17s ease-in-out infinite; }
.blob.b3 { display: none; }
.grid-overlay { position: absolute; inset: 0; background-image: radial-gradient(rgba(80,40,140,.07) 1px, transparent 1px); background-size: 42px 42px; opacity: .7; mask-image: radial-gradient(ellipse 65% 55% at 50% 32%, #000, transparent); }

.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(12px, 2vh, 22px); }

/* M centerpiece — compartimento propio */
.hero-stage {
  position: relative; display: grid; place-items: center; perspective: 1000px;
  margin-bottom: clamp(-46px, -4.5vh, -28px); z-index: 1;
}
.m-glow {
  position: absolute; width: 300%; height: 300%; border-radius: 50%;
  background: conic-gradient(from 0deg, #ffe000, #16e0a0, #16c8e6, #7b3fe4, #d6379b, #ff5f6d, #ffe000);
  filter: blur(40px); opacity: .3; animation: spin-slow 18s linear infinite;
  mask: radial-gradient(circle, #000 30%, transparent 62%); -webkit-mask: radial-gradient(circle, #000 30%, transparent 62%);
}
.m-ring { position: absolute; width: 132%; height: 132%; border-radius: 50%; background: conic-gradient(from 90deg, transparent 0 62%, rgb(255 255 255) 76%, transparent 86%); filter: blur(2px); opacity: .5; animation: spin-slow 9s linear infinite reverse; mask: radial-gradient(circle, transparent 60%, #000 61%); -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%); }
.m-wrap { position: relative; transform-style: preserve-3d; animation: m-float 6s ease-in-out infinite; will-change: transform; }
.m-logo { display: block; height: clamp(176px, 29vh, 290px); width: auto; filter: drop-shadow(0 18px 36px rgba(123,63,228,.28)); }
.m-spark { position: absolute; border-radius: 50%; box-shadow: 0 0 10px 2px currentColor; }
.m-spark.sp1 { width: 7px; height: 7px; top: 6%; left: 14%; color: #fff; background: #fff; animation: twinkle 3s ease-in-out infinite; }
.m-spark.sp2 { width: 5px; height: 5px; top: 20%; right: 8%; color: #fff; background: #fff; animation: twinkle 4s ease-in-out .6s infinite; }
.m-spark.sp3 { width: 5px; height: 5px; bottom: 24%; left: 6%; color: #fff; background: #fff; animation: twinkle 3.4s ease-in-out 1s infinite; }
.m-spark.sp4 { width: 6px; height: 6px; bottom: 14%; right: 14%; color: #fff; background: #fff; animation: twinkle 3.8s ease-in-out .3s infinite; }

.hero h1 { font-size: clamp(32px, 5vw, 62px); letter-spacing: -.03em; line-height: 1.05; position: relative; z-index: 2; }
.hero .eyebrow { position: relative; z-index: 2; }
.hero h1 .hero-l1, .hero h1 .hero-l3 { display: block; }
.hero h1 .typed { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero h1 .cursor { color: var(--g2); font-weight: 300; animation: blink 1s step-end infinite; -webkit-text-fill-color: var(--g2); }
.hero .sub { font-size: clamp(15px, 1.7vw, 19px); color: var(--ink-soft); margin: clamp(4px, 1vh, 12px) auto clamp(8px, 1.4vh, 16px); max-width: 580px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; margin-top: clamp(8px, 1.6vh, 18px); justify-content: center; }
.hero-trust .t { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.hero-trust .t svg { width: 19px; height: 19px; color: var(--brand); flex: none; }
.stars { display: inline-flex; gap: 2px; color: #ffb020; }
.stars svg { width: 16px; height: 16px; }

/* ===== Marquee ===== */
.marquee-wrap { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.marquee-label { text-align: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.marquee { display: flex; gap: 56px; width: max-content; animation: scroll-x 26s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee .plat { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink-soft); opacity: .75; transition: opacity .2s, color .2s; }
.marquee .plat:hover { opacity: 1; }
.marquee .plat svg { width: 28px; height: 28px; }

/* ===== Stats ===== */
.stats { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.stats .blob { opacity: .3; }
.stats-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5vw, 56px); line-height: 1; }
.stat .num .grad-text { background: linear-gradient(120deg, #fff, color-mix(in oklab, var(--g3) 70%, white)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { color: rgba(255,255,255,.62); font-weight: 500; margin-top: 10px; font-size: 15px; }

/* ===== Features (por qué elegirnos) ===== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s;
}
.feat-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feat-card:hover::before { transform: scaleX(1); }
.feat-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--grad-soft); display: grid; place-items: center; margin-bottom: 20px; color: var(--brand); }
.feat-ico svg { width: 28px; height: 28px; }
.feat-card h3 { font-size: 21px; margin-bottom: 10px; }
.feat-card p { color: var(--muted); font-size: 15.5px; }

/* ===== How it works ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.step { text-align: center; position: relative; padding: 0 10px; }
.step-num {
  width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 22px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-md); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--brand);
  position: relative; z-index: 2; transition: transform .3s;
}
.step:hover .step-num { transform: translateY(-5px) scale(1.04); }
.step h3 { font-size: 21px; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 15.5px; max-width: 290px; margin: 0 auto; }
.steps::before { content: ''; position: absolute; top: 38px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 20px); z-index: 1; }

/* ===== Services ===== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  border-radius: var(--radius); padding: 28px; color: #fff; position: relative; overflow: hidden;
  min-height: 220px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow-md); transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s;
  isolation: isolate;
}
.svc-card::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .92; }
.svc-card::before { content: ''; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.16); top: -60px; right: -50px; z-index: -1; transition: transform .4s; }
.svc-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.svc-card:hover::before { transform: scale(1.6); }
.svc-ig::after { background: linear-gradient(135deg, #833ab4, #fd1d1d 60%, #fcb045); }
.svc-tt::after { background: linear-gradient(135deg, #25f4ee, #000 50%, #fe2c55); }
.svc-yt::after { background: linear-gradient(135deg, #ff0000, #c4302b); }
.svc-fb::after { background: linear-gradient(135deg, #1877f2, #0a3d8f); }
.svc-tg::after { background: linear-gradient(135deg, #2aabee, #1c84c0); }
.svc-x::after  { background: linear-gradient(135deg, #2b2b2b, #000); }
.svc-top { display: flex; align-items: center; justify-content: space-between; }
.svc-ico { width: 52px; height: 52px; border-radius: 15px; background: rgba(255,255,255,.18); display: grid; place-items: center; backdrop-filter: blur(4px); }
.svc-ico svg { width: 28px; height: 28px; }
.svc-from { font-size: 12.5px; opacity: .85; font-weight: 600; }
.svc-from b { font-family: var(--font-display); font-size: 17px; }
.svc-card h3 { font-size: 23px; margin: 18px 0 6px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.svc-tags span { font-size: 12px; background: rgba(255,255,255,.18); padding: 4px 11px; border-radius: 999px; font-weight: 600; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-top: 18px; }
.svc-link svg { width: 16px; height: 16px; transition: transform .25s; }
.svc-card:hover .svc-link svg { transform: translateX(4px); }

/* ===== Pricing ===== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s; position: relative;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured { background: var(--dark); color: #fff; border-color: transparent; transform: scale(1.03); box-shadow: var(--shadow-lg); }
.price-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .06em; padding: 6px 16px; border-radius: 999px; text-transform: uppercase; box-shadow: var(--shadow-md); }
.price-card h3 { font-size: 20px; margin-bottom: 6px; }
.price-card .price-sub { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.price-card.featured .price-sub { color: rgba(255,255,255,.6); }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -.03em; }
.price-amount small { font-size: 16px; font-weight: 600; color: var(--muted); }
.price-card.featured .price-amount small { color: rgba(255,255,255,.6); }
.price-list { margin: 24px 0 28px; display: flex; flex-direction: column; gap: 13px; }
.price-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--ink-soft); }
.price-card.featured .price-list li { color: rgba(255,255,255,.82); }
.price-list li svg { width: 19px; height: 19px; color: var(--brand); flex: none; margin-top: 1px; }
.price-card.featured .price-list li svg { color: var(--g3); }
.price-card .btn { width: 100%; margin-top: auto; }

/* ===== Packages (pricing) ===== */
.pack-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.pack-tab {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink-soft);
  transition: transform .2s, border-color .2s, color .2s, background .2s, box-shadow .2s;
}
.pack-tab svg { width: 19px; height: 19px; }
.pack-tab:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--brand) 40%, var(--line)); }
.pack-tab.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }

.pack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.pack-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column; position: relative;
  box-shadow: var(--shadow-sm); transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s;
  animation: pack-in .5s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes pack-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.pack-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in oklab, var(--brand) 28%, var(--line)); }
.pack-card.pop { background: var(--dark); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.pack-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 11.5px; letter-spacing: .05em; padding: 6px 15px; border-radius: 999px; text-transform: uppercase; box-shadow: var(--shadow-md); white-space: nowrap; }
.pack-name { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.pack-card.pop .pack-name { color: var(--g3); }
.pack-price { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -.03em; margin: 12px 0 4px; }
.pack-price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.pack-card.pop .pack-price small { color: rgba(255,255,255,.55); }
.pack-feat { display: flex; flex-direction: column; gap: 1px; margin: 22px 0 24px; border-top: 1px solid var(--line); }
.pack-card.pop .pack-feat { border-color: rgba(255,255,255,.14); }
.pack-feat .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pack-card.pop .pack-feat .row { border-color: rgba(255,255,255,.1); }
.pack-feat .row .lab { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.pack-card.pop .pack-feat .row .lab { color: rgba(255,255,255,.78); }
.pack-feat .row .lab svg { width: 17px; height: 17px; color: var(--brand); flex: none; }
.pack-card.pop .pack-feat .row .lab svg { color: var(--g3); }
.pack-feat .row .val { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.pack-card .btn { width: 100%; margin-top: auto; }
.pack-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 30px; }
.pack-note a { color: var(--brand-ink); font-weight: 600; }

/* ===== White label preview card ===== */
.wl-card { background: var(--surface); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }
.wl-browser { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.wl-dot { width: 11px; height: 11px; border-radius: 50%; background: #d9d2ea; }
.wl-dot:nth-child(1){ background:#ff5f57 } .wl-dot:nth-child(2){ background:#febc2e } .wl-dot:nth-child(3){ background:#28c840 }
.wl-url { margin-left: 10px; flex: 1; background: var(--surface); border-radius: 8px; padding: 5px 12px; font-size: 12.5px; color: var(--muted); font-family: var(--font-body); }
.wl-body { padding: 26px 24px 30px; text-align: center; color: var(--ink); background: linear-gradient(180deg, var(--surface), color-mix(in oklab, var(--brand) 7%, var(--surface))); }
.wl-logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.wl-logo-mark { width: 26px; height: 26px; border-radius: 8px; 
  background: var(--grad);
  color: #fff; display: grid; place-items: center; font-size: 14px; }
.wl-hero { font-family: var(--font-display); font-weight: 800; font-size: 27px; line-height: 1.1; margin: 20px 0 18px; letter-spacing: -.02em; }
.wl-hero b { color: var(--brand); }
.wl-row { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; }
.wl-pill { font-size: 12px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px; color: var(--ink-soft); }
.wl-btn { display: inline-block; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; padding: 12px 30px; border-radius: 999px; box-shadow: var(--shadow-md); }
.wl-tag { font-size: 12px; color: var(--muted); margin-top: 16px; }

/* ===== Testimonials ===== */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.tst-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tst-card .stars { margin-bottom: 14px; }
.tst-card p { font-size: 15.5px; color: var(--ink-soft); }
.tst-who { display: flex; align-items: center; gap: 13px; margin-top: 20px; }
.tst-av { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px; flex: none; }
.tst-who .n { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.tst-who .h { font-size: 13px; color: var(--muted); }

/* ===== Payments + API band ===== */
.band { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-sm); }
.pay-row { display: flex; flex-wrap: wrap; gap: 14px; }
.pay-chip { display: inline-flex; align-items: center; gap: 9px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink-soft); transition: transform .25s, border-color .25s; }
.pay-chip:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--brand) 35%, var(--line)); }
.pay-chip svg { width: 22px; height: 22px; }

.api-card { background: var(--dark); color: #fff; border-radius: var(--radius); padding: clamp(36px, 5vw, 60px); position: relative; overflow: hidden; }
.api-card .blob { opacity: .4; }
.api-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.api-card h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 16px; }
.api-card p { color: rgba(255,255,255,.72); font-size: 17px; margin-bottom: 26px; }
.api-list { display: flex; flex-direction: column; gap: 12px; }
.api-list li { display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.85); }
.api-list li svg { width: 20px; height: 20px; color: var(--g3); flex: none; }
.code-block { background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 22px; font-family: 'SFMono-Regular', ui-monospace, monospace; font-size: 13.5px; line-height: 1.8; box-shadow: var(--shadow-lg); }
.code-block .k { color: #c792ea; }
.code-block .s { color: #c3e88d; }
.code-block .c { color: rgba(255,255,255,.4); }
.code-block .dim { color: rgba(255,255,255,.55); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: color-mix(in oklab, var(--brand) 25%, var(--line)); }
.faq-q { cursor: pointer; list-style: none; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q .pm { width: 30px; height: 30px; border-radius: 9px; background: var(--surface-2); display: grid; place-items: center; flex: none; transition: transform .3s, background .3s; color: var(--brand); }
.faq-item[open] .faq-q .pm { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-q .pm svg { width: 18px; height: 18px; }
.faq-a { padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; }

/* ===== Final CTA ===== */
.cta-final { position: relative; overflow: hidden; background: var(--dark); }
.cta-box { position: relative; z-index: 2; text-align: center; max-width: 720px; margin: 0 auto; color: #fff; }
.cta-box h2 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 18px; }
.cta-box p { color: rgba(255,255,255,.72); font-size: 19px; margin-bottom: 32px; }
.cta-final .blob { opacity: .45; }

/* ===== Footer ===== */
.footer { background: #0c0815; color: rgba(255,255,255,.62); padding: 70px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer-about p { font-size: 14.5px; max-width: 300px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: .04em; }
.footer-col a { display: block; font-size: 14.5px; padding: 6px 0; transition: color .2s, padding .2s; }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: 13.5px; flex-wrap: wrap; gap: 14px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .25s, transform .25s; }
.footer-social a:hover { background: var(--grad); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }

/* ===== Scroll to top ===== */
.scroll-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.85);
  transition: opacity .3s, transform .3s cubic-bezier(.2,.7,.3,1), visibility .3s;
}
.scroll-top svg { width: 22px; height: 22px; }
.scroll-top.show { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { transform: translateY(-3px) scale(1.06); box-shadow: var(--shadow-lg); }
@media (max-width: 560px) { .scroll-top { right: 16px; bottom: 16px; width: 46px; height: 46px; } }

/* ===== Welcome modal ===== */
.welcome-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(19, 13, 32, .58); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.welcome-overlay.show { opacity: 1; visibility: visible; }
.welcome-modal {
  width: 100%; max-width: 440px; background: var(--surface); border-radius: 26px;
  overflow: hidden; box-shadow: var(--shadow-lg); position: relative;
  transform: translateY(24px) scale(.96); transition: transform .45s cubic-bezier(.2,.8,.3,1);
}
.welcome-overlay.show .welcome-modal { transform: none; }
.welcome-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 36px; height: 36px;
  border-radius: 50%; border: none; cursor: pointer; display: grid; place-items: center;
  background: rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(6px); transition: background .2s, transform .2s;
}
.welcome-close:hover { background: rgba(255,255,255,.4); transform: rotate(90deg); }
.welcome-close svg { width: 18px; height: 18px; }
.welcome-art { position: relative; height: 158px; background: var(--grad); overflow: hidden; display: grid; place-items: center; }
.welcome-blob { position: absolute; border-radius: 50%; filter: blur(34px); opacity: .55; }
.welcome-blob.wb1 { width: 220px; height: 220px; background: #fff; opacity: .22; top: -90px; left: -50px; }
.welcome-blob.wb2 { width: 200px; height: 200px; background: var(--g3); top: 40px; right: -70px; animation: float1 9s ease-in-out infinite; }
.welcome-badge {
  width: 76px; height: 76px; border-radius: 22px; background: rgba(255,255,255,.2);
  border: 1.5px solid rgba(255,255,255,.4); display: grid; place-items: center; color: #fff;
  backdrop-filter: blur(6px); z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,.2);
  animation: bob 4s ease-in-out infinite;
}
.welcome-badge svg { width: 38px; height: 38px; }
.welcome-spark { position: absolute; border-radius: 50%; background: #fff; z-index: 2; }
.welcome-spark.s1 { width: 9px; height: 9px; top: 30px; left: 60px; opacity: .9; animation: bob 3s ease-in-out infinite; }
.welcome-spark.s2 { width: 6px; height: 6px; bottom: 36px; left: 90px; opacity: .7; animation: bob 3.6s ease-in-out .4s infinite; }
.welcome-spark.s3 { width: 11px; height: 11px; top: 44px; right: 70px; opacity: .8; animation: bob 4.2s ease-in-out .8s infinite; }
.welcome-body { padding: 30px 30px 26px; text-align: center; }
.welcome-tag { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; color: var(--brand-ink); background: var(--surface-2); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.welcome-body h3 { font-size: 26px; line-height: 1.15; margin-bottom: 10px; }
.welcome-body > p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.welcome-code { display: flex; align-items: center; gap: 10px; justify-content: space-between; background: var(--surface-2); border: 1.5px dashed color-mix(in oklab, var(--brand) 40%, var(--line)); border-radius: 14px; padding: 10px 10px 10px 16px; margin-bottom: 18px; }
.welcome-code-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.welcome-code-val { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: .08em; color: var(--ink); margin-right: auto; }
.welcome-copy { border: none; cursor: pointer; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; padding: 9px 16px; border-radius: 10px; transition: transform .2s; }
.welcome-copy:hover { transform: translateY(-2px); }
.welcome-copy.copied { background: #1cae6d; }
.welcome-btn { width: 100%; }
.welcome-dismiss { display: block; margin: 14px auto 0; background: none; border: none; cursor: pointer; color: var(--muted); font-family: var(--font-body); font-size: 13.5px; text-decoration: underline; }
.welcome-dismiss:hover { color: var(--ink-soft); }
@media (max-width: 480px) {
  .welcome-body { padding: 24px 22px 22px; }
  .welcome-body h3 { font-size: 23px; }
  .welcome-art { height: 130px; }
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

body[data-anim="subtle"] .float-card,
body[data-anim="subtle"] .m-wrap,
body[data-anim="subtle"] .m-glow,
body[data-anim="subtle"] .m-ring,
body[data-anim="subtle"] .m-spark,
body[data-anim="subtle"] .blob { animation: none !important; }

/* ===== Keyframes ===== */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes float1 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-30px, 30px); } }
@keyframes float2 { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(30px, -30px); } }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin-slow { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes m-float { 0%, 100% { transform: translateY(0) rotateX(8deg) rotateZ(-1deg); } 50% { transform: translateY(-18px) rotateX(-4deg) rotateZ(1deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(1); opacity: .35; } 50% { transform: scale(1.5); opacity: 1; } }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .feat-grid, .svc-grid, .tst-grid, .price-grid, .pack-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .pack-card.pop { transform: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .api-inner { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-6px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-login { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--surface); padding: 20px 24px; gap: 16px; box-shadow: var(--shadow-md); border-top: 1px solid var(--line); }
  .site-header .nav-links.open a { color: var(--ink-soft); }
}
@media (max-width: 720px) {
  .feat-grid, .svc-grid, .tst-grid, .price-grid, .pack-grid, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .api-card { padding: 30px 22px; }
  .band { padding: 28px 22px; }
  .pack-tab { font-size: 14px; padding: 10px 16px; }
}
@media (max-width: 600px) {
  /* Aligerar móvil: ocultar elementos decorativos pesados */
  .marquee-wrap { display: none; }
  .grid-overlay { display: none; }
  .hero .blob.b3 { display: none; }
  .hero { padding-top: 120px; padding-bottom: 60px; }
  .hero-stage { width: min(280px, 70vw); height: min(232px, 58vw); }
  .hero-trust { margin-top: 24px; }
  .welcome-spark { display: none; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 14px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .cta-box .hero-cta .btn { flex: 1 1 100%; }
  .nav-cta .nav-login { display: none; }
  .section-head h2 { font-size: clamp(26px, 8vw, 34px); }
}

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