/* ============================================================
   StockyPro — Landing
   Dirección estética: "Dark analytics / fintech-data"
   Charcoal-navy + emerald (marca) + acento dorado "ganador"
   Display: Space Grotesk · Texto: Inter · Data: JetBrains Mono
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Fondos */
  --bg:            #0c1620;
  --bg-2:          #0f1d29;
  --surface:       #14242f;
  --surface-2:     #1a2c39;
  --surface-3:     #213847;

  /* Marca */
  --brand:         #2dd4a7;   /* emerald-teal del logo */
  --brand-strong:  #14b88a;
  --brand-soft:    #5ee7c4;
  --brand-glow:    rgba(45, 212, 167, .35);

  /* Acento "producto ganador" */
  --gold:          #f4c152;
  --gold-soft:     #ffd97a;

  /* Texto */
  --fg:            #eaf2ef;
  --fg-soft:       #c2d0cd;
  --muted:         #8597a3;
  --muted-2:       #647682;

  /* Líneas / bordes */
  --line:          rgba(255,255,255,.09);
  --line-strong:   rgba(255,255,255,.16);

  /* Sombras */
  --shadow-sm:     0 1px 2px rgba(0,0,0,.4);
  --shadow:        0 18px 40px -16px rgba(0,0,0,.65);
  --shadow-brand:  0 24px 60px -18px rgba(45,212,167,.35);

  /* Tipografía */
  --font-display:  "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body:     "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:     "JetBrains Mono", ui-monospace, monospace;

  /* Escala tipográfica (ratio ~1.25) */
  --t-xs:   .8125rem;
  --t-sm:   .9375rem;
  --t-base: 1.0625rem;
  --t-lg:   1.25rem;
  --t-xl:   1.6rem;
  --t-2xl:  2.1rem;
  --t-3xl:  2.85rem;
  --t-4xl:  3.75rem;
  --t-5xl:  4.75rem;

  /* Espaciado base 8px */
  --container: 1180px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-sm: 10px;

  --ease-out: cubic-bezier(.32,.72,0,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--fg-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--brand); color: #042018; }

/* ---------- Atmósfera global (orbs + grid) ---------- */
.bg-fx {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(45,212,167,.16), transparent 60%),
    radial-gradient(900px 600px at 8% 12%, rgba(36,120,180,.14), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.bg-fx::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .5;
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.orb-1 { width: 460px; height: 460px; background: var(--brand); top: -120px; right: -80px; opacity:.22; }
.orb-2 { width: 420px; height: 420px; background: #2f7fb0; bottom: 6%; left: -120px; opacity:.16; }
.orb-3 { width: 320px; height: 320px; background: var(--gold); top: 38%; right: 12%; opacity:.07; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- Tipografía utilitaria ---------- */
.display { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; color: var(--fg); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--fg); line-height: 1.1; letter-spacing: -.02em; font-weight: 600; }
.h1 { font-size: clamp(2.4rem, 5.4vw, var(--t-5xl)); letter-spacing: -.035em; }
.h2 { font-size: clamp(1.9rem, 3.6vw, var(--t-3xl)); }
.h3 { font-size: var(--t-xl); }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }
.text-brand { color: var(--brand); }
.text-gold  { color: var(--gold); }
.text-muted { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--fg-soft); line-height: 1.55; }

/* Eyebrow / kicker */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: var(--t-xs);
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--brand); padding: 6px 12px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(45,212,167,.06);
}
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: var(--t-lg); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 500; font-size: var(--t-sm);
  padding: 13px 22px; border-radius: 12px;
  transition: transform .18s var(--ease-out), background .2s, box-shadow .25s, border-color .2s, color .2s;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--brand); color: #042018; box-shadow: 0 10px 30px -10px var(--brand-glow); }
.btn-primary:hover { background: var(--brand-soft); transform: translateY(-2px); box-shadow: 0 16px 40px -12px var(--brand-glow); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--fg); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-discord { background: #5865f2; color: #fff; }
.btn-discord:hover { background: #6b77f5; transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(88,101,242,.6); }
.btn-lg { padding: 16px 28px; font-size: var(--t-base); }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(12,22,32,.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 38px; height: 38px; border-radius: 50%; }
.brand b { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; color: var(--fg); letter-spacing: -.02em; }
.brand b span { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: var(--t-sm); color: var(--muted); padding: 9px 14px; border-radius: 9px;
  transition: color .2s, background .2s; font-weight: 500;
}
.nav-links a:hover { color: var(--fg); background: rgba(255,255,255,.04); }
.nav-links a.active { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-strong); align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed; inset: 72px 0 auto 0; z-index: 49;
  background: rgba(12,22,32,.97); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px 28px; display: none; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; animation: slideDown .3s var(--ease-out); }
.mobile-menu a { padding: 13px 12px; border-radius: 10px; color: var(--fg-soft); font-weight: 500; font-size: 1.05rem; }
.mobile-menu a:hover, .mobile-menu a.active { background: rgba(45,212,167,.08); color: var(--brand); }
.mobile-menu .btn { margin-top: 12px; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 110px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 22px 0 20px; }
.hero .lead { max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-proof { display: flex; align-items: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span {
  width: 38px; height: 38px; border-radius: 50%; margin-left: -10px;
  border: 2px solid var(--bg-2); background: linear-gradient(135deg, var(--surface-3), var(--brand-strong));
  display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #042018; font-family: var(--font-display);
}
.avatars span:first-child { margin-left: 0; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }

/* highlight subrayado a mano */
.ink { position: relative; color: var(--brand); white-space: nowrap; }
.ink::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .34em;
  background: var(--brand-glow); border-radius: 6px; z-index: -1; transform: rotate(-.6deg);
}

/* ---------- Dashboard mock ---------- */
.mock {
  position: relative; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow), var(--shadow-brand);
  overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.18); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-3); display: block; }
.mock-bar i:nth-child(1){ background:#ff5f57; } .mock-bar i:nth-child(2){ background:#febc2e; } .mock-bar i:nth-child(3){ background:#28c840; }
.mock-bar .tab { margin-left: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); background: var(--surface); padding: 5px 12px; border-radius: 7px; border:1px solid var(--line); }
.mock-body { padding: 20px; display: grid; gap: 16px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.kpi .lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.kpi .val { font-family: var(--font-mono); font-size: 1.35rem; color: var(--fg); margin-top: 6px; font-weight: 600; }
.kpi .chg { font-size: 12px; font-family: var(--font-mono); margin-top: 2px; }
.chg.up { color: var(--brand); } .chg.down { color: #f87171; }
.mock-chart { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.mock-chart .ch-head { display:flex; justify-content:space-between; align-items:center; margin-bottom: 12px; }
.mock-chart .ch-head span { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.mock-rows { display: grid; gap: 8px; }
.mrow { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; padding: 9px 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.mrow .rk { font-family: var(--font-mono); font-size: 12px; color: var(--gold); font-weight: 700; }
.mrow .nm { font-size: 13px; color: var(--fg-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow .nm small { display:block; color: var(--muted-2); font-size: 11px; }
.mrow .sv { font-family: var(--font-mono); font-size: 13px; color: var(--brand); font-weight: 600; }
.float-badge {
  position: absolute; z-index: 3; background: rgba(12,22,32,.86); backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 11px 14px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fg);
}
.float-badge .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(45,212,167,.14); color: var(--brand); }
.float-badge.fb-1 { top: -18px; right: -16px; } .float-badge.fb-1 .ic { background: rgba(244,193,82,.16); color: var(--gold); }
.float-badge.fb-2 { bottom: -18px; left: -18px; }

/* ---------- Trust / banderas ---------- */
.trust { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.trust p { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .15em; text-transform: uppercase; color: var(--muted-2); }
.flags { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; align-items: center; }
.flags figure { display: flex; flex-direction: column; align-items: center; gap: 6px; filter: grayscale(.25); transition: filter .25s, transform .25s; }
.flags figure:hover { filter: none; transform: translateY(-3px); }
.flags img { width: 34px; height: auto; border-radius: 4px; box-shadow: var(--shadow-sm); }
.flags figcaption { font-size: 11px; color: var(--muted); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(20,36,47,.55) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .25s var(--ease-out), border-color .25s, background .25s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(45,212,167,.1); color: var(--brand); margin-bottom: 18px; border: 1px solid rgba(45,212,167,.18);
}
.card .ic svg { width: 23px; height: 23px; }
.card h3 { font-size: 1.18rem; margin-bottom: 9px; }
.card p { font-size: var(--t-sm); color: var(--muted); line-height: 1.55; }
.card--gold .ic { background: rgba(244,193,82,.12); color: var(--gold); border-color: rgba(244,193,82,.22); }
.card .tag-new {
  position: absolute; top: 16px; right: 16px; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(244,193,82,.4); border-radius: 999px; padding: 3px 9px; background: rgba(244,193,82,.08);
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat { text-align: center; padding: 22px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.015); }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem,3.4vw,2.8rem); color: var(--fg); font-weight: 600; letter-spacing: -.03em; }
.stat .num span { color: var(--brand); }
.stat .lbl { font-size: var(--t-sm); color: var(--muted); margin-top: 6px; }

/* ---------- Feature split (detalle) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media {
  border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: var(--shadow); overflow: hidden; position: relative;
  font-size: 0; line-height: 0;
}
.split-media > img { width: 100%; height: auto; display: block; }
.feat-list { display: grid; gap: 14px; margin-top: 24px; }
.feat-list li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-sm); color: var(--fg-soft); }
.feat-list .ck { flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; background: rgba(45,212,167,.14); color: var(--brand); display: grid; place-items: center; margin-top: 1px; }
.feat-list .ck svg { width: 13px; height: 13px; }

/* ---------- Cómo funciona (steps) ---------- */
.steps { display: grid; gap: 24px; counter-reset: step; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.015); position: relative; }
.step .no { counter-increment: step; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: rgba(45,212,167,.1); color: var(--brand); border: 1px solid rgba(45,212,167,.2); }
.step .no::before { content: "0" counter(step); }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: var(--t-sm); }

/* ---------- Precios ---------- */
.plans { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; max-width: 860px; margin-inline: auto; }
.plan {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px;
  display: flex; flex-direction: column; position: relative; transition: transform .25s var(--ease-out), border-color .25s;
}
.plan:hover { transform: translateY(-5px); }
.plan.popular { border-color: rgba(45,212,167,.5); box-shadow: var(--shadow-brand); }
.plan.popular::before {
  content: "★ Más popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--brand); color: #042018; padding: 6px 16px; border-radius: 999px; font-weight: 700; white-space: nowrap;
}
.plan .p-name { font-size: 1.3rem; font-family: var(--font-display); color: var(--fg); }
.plan .p-sub { color: var(--muted); font-size: var(--t-sm); margin-top: 4px; }
.plan .p-price { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 8px; }
.plan .p-price .amt { font-family: var(--font-display); font-size: 3rem; font-weight: 600; color: var(--fg); letter-spacing: -.03em; }
.plan .p-price .cur { font-family: var(--font-mono); color: var(--muted); font-size: var(--t-sm); }
.plan .p-period { color: var(--muted); font-size: var(--t-sm); }
.plan .p-save { display:inline-block; margin-top: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--gold); background: rgba(244,193,82,.1); border:1px solid rgba(244,193,82,.25); border-radius: 999px; padding: 4px 11px; }
.plan ul { display: grid; gap: 12px; margin: 24px 0 28px; }
.plan ul li { display: flex; gap: 11px; align-items: flex-start; font-size: var(--t-sm); color: var(--fg-soft); }
.plan ul .ck { flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; background: rgba(45,212,167,.14); color: var(--brand); display: grid; place-items: center; margin-top: 1px; }
.plan ul .ck svg { width: 12px; height: 12px; }
.plan .btn { margin-top: auto; }
.plan .p-foot { text-align: center; margin-top: 14px; font-size: 12px; color: var(--muted-2); }

/* tabla comparativa */
.compare { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: var(--t-sm); }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); color: var(--fg); font-size: var(--t-base); }
.compare tbody td { color: var(--fg-soft); }
.compare td.c { text-align: center; }
.compare .yes { color: var(--brand); } .compare .no { color: var(--muted-2); }
.compare tbody tr:hover { background: rgba(255,255,255,.02); }

/* ---------- Testimonios ---------- */
.tcards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tcard { background: linear-gradient(180deg, var(--surface), rgba(20,36,47,.5)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.tcard .quote { font-size: var(--t-base); color: var(--fg); line-height: 1.55; }
.tcard .metric { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--font-mono); }
.tcard .metric .big { color: var(--brand); font-size: 1.5rem; font-weight: 700; }
.tcard .metric .lbl { color: var(--muted); font-size: 12px; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.tcard .who .pic { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--surface-3), var(--brand-strong)); display: grid; place-items: center; color: #042018; font-weight: 700; font-family: var(--font-display); flex-shrink: 0; }
.tcard .who b { color: var(--fg); font-size: var(--t-sm); display: block; }
.tcard .who span { color: var(--muted); font-size: 12px; }
.tcard .stars { font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.015); overflow: hidden; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-strong); background: rgba(255,255,255,.03); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-display); font-size: 1.08rem; color: var(--fg); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--brand); transition: transform .25s, background .2s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: rgba(45,212,167,.1); }
.faq .ans { padding: 0 22px 22px; color: var(--muted); font-size: var(--t-sm); line-height: 1.6; }

/* ---------- CTA banner ---------- */
.cta-band {
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: clamp(36px,5vw,64px);
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(45,212,167,.18), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 540px; margin: 0 auto 28px; font-size: var(--t-lg); }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); display: flex; flex-direction: column; gap: 14px; }
.contact-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(45,212,167,.1); color: var(--brand); }
.contact-card.discord .ic { background: rgba(88,101,242,.14); color: #8b95ff; }
.contact-card .ic svg { width: 26px; height: 26px; }
.contact-card h3 { font-size: 1.25rem; }
.contact-card p { color: var(--muted); font-size: var(--t-sm); }
.contact-card a.link { color: var(--brand); font-family: var(--font-mono); font-size: var(--t-sm); word-break: break-all; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: var(--t-sm); color: var(--fg-soft); font-weight: 500; }
.field input, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 12px 14px; color: var(--fg); font-family: inherit; font-size: var(--t-sm); transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field textarea { resize: vertical; min-height: 120px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding-block: 56px 28px; background: var(--bg-2); position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer .brand { margin-bottom: 16px; }
.footer .f-about { color: var(--muted); font-size: var(--t-sm); max-width: 320px; }
.footer h4 { font-family: var(--font-display); font-size: var(--t-sm); color: var(--fg); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer .f-col a, .footer .f-col span { display: block; color: var(--muted); font-size: var(--t-sm); padding: 5px 0; transition: color .2s; }
.footer .f-col a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: var(--muted-2); font-size: var(--t-xs); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--muted); transition: all .2s; }
.footer-social a:hover { color: var(--brand); border-color: var(--brand); }
.footer-social a svg { width: 18px; height: 18px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* page hero (interior) */
.page-hero { padding-block: clamp(48px,7vw,90px) clamp(20px,3vw,40px); text-align: center; }
.page-hero .h1 { font-size: clamp(2.2rem,4.6vw,var(--t-4xl)); }
.page-hero p { max-width: 640px; margin: 18px auto 0; color: var(--muted); font-size: var(--t-lg); }
.breadcrumb { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--muted-2); margin-bottom: 18px; letter-spacing: .05em; }
.breadcrumb a:hover { color: var(--brand); }

/* placeholder de imagen (para que el usuario inserte screenshots/fotos reales) */
.ph {
  display: grid; place-items: center; gap: 8px; text-align: center;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 12px, transparent 12px 24px), var(--surface);
  border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted-2);
  font-family: var(--font-mono); font-size: 12px; padding: 24px; min-height: 100%;
}
.ph svg { width: 30px; height: 30px; opacity: .5; }

/* ---------- Casos de éxito · conversaciones reales ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cases.cases-2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-inline: auto; }
.case {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--surface), rgba(20,36,47,.5));
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease-out), border-color .25s, box-shadow .25s;
}
.case:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow), var(--shadow-brand); }
.case-shot { display: block; position: relative; background: #0a1318; line-height: 0; cursor: zoom-in; }
.case-shot img { width: 100%; height: auto; display: block; transition: transform .4s var(--ease-out); }
.case:hover .case-shot img { transform: scale(1.015); }
.case-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .03em; color: var(--brand);
  background: rgba(10,19,24,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 11px;
}
.case-badge .wa { width: 13px; height: 13px; color: #25d366; }
.case-foot { padding: 16px 18px; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.case-foot .stars { font-size: 13px; }
.case-who b { color: var(--fg); font-size: var(--t-sm); display: block; line-height: 1.25; }
.case-who span { color: var(--muted); font-size: 12px; }
.case-result { margin-left: auto; text-align: right; flex-shrink: 0; }
.case-result b { font-family: var(--font-mono); color: var(--gold); font-size: var(--t-sm); display: block; }
.case-result span { color: var(--muted-2); font-size: 11px; }

/* ---------- Modal de pago (correo -> Stripe) ---------- */
.pay-modal { position: fixed; inset: 0; z-index: 100; display: none; }
.pay-modal.open { display: block; }
.pay-backdrop { position: absolute; inset: 0; background: rgba(5,11,16,.74); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: payFade .25s ease; }
.pay-dialog {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--shadow-brand);
  padding: clamp(24px, 4.5vw, 40px); animation: payIn .42s var(--ease-out);
}
@keyframes payFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes payIn { from { opacity: 0; transform: translate(-50%, calc(-50% + 22px)); } to { opacity: 1; transform: translate(-50%, -50%); } }
.pay-x { position: absolute; top: 15px; right: 15px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.pay-x:hover { color: var(--fg); border-color: var(--line-strong); background: rgba(255,255,255,.04); }
.pay-x svg { width: 19px; height: 19px; }

.pay-head { text-align: center; margin-bottom: 22px; }
.pay-head .kicker { margin-bottom: 14px; }
.pay-head h3 { font-size: clamp(1.5rem, 4.5vw, 1.95rem); margin-bottom: 8px; }
.pay-head p { color: var(--muted); font-size: var(--t-sm); max-width: 420px; margin-inline: auto; }

.pay-plans { display: grid; gap: 14px; }
.pay-plan {
  text-align: left; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,.015); padding: 20px 22px; position: relative; display: grid; gap: 3px;
  transition: border-color .2s, transform .2s, background .2s;
}
.pay-plan:hover, .pay-plan:focus-visible { border-color: var(--brand); transform: translateY(-2px); outline: none; background: rgba(45,212,167,.04); }
.pay-plan.popular { border-color: rgba(45,212,167,.4); }
.pay-save { position: absolute; top: 18px; right: 18px; font-family: var(--font-mono); font-size: 11px; color: var(--gold); background: rgba(244,193,82,.1); border: 1px solid rgba(244,193,82,.25); border-radius: 999px; padding: 3px 10px; }
.pp-name { font-family: var(--font-display); color: var(--fg); font-size: 1.12rem; }
.pp-price { font-family: var(--font-mono); color: var(--muted); font-size: var(--t-xs); margin-top: 4px; }
.pp-price b { font-family: var(--font-display); font-size: 1.75rem; color: var(--fg); letter-spacing: -.025em; margin-right: 2px; }
.pp-period { color: var(--muted); font-size: var(--t-xs); }
.pp-perks { display: grid; gap: 8px; margin: 14px 0 2px; }
.pp-perks li { display: flex; gap: 9px; align-items: center; font-size: var(--t-sm); color: var(--fg-soft); }
.pp-perks .ck { flex-shrink: 0; width: 18px; height: 18px; border-radius: 5px; background: rgba(45,212,167,.14); color: var(--brand); display: grid; place-items: center; }
.pp-perks .ck svg { width: 11px; height: 11px; }
.pp-go { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-family: var(--font-display); font-weight: 500; font-size: var(--t-sm); color: var(--brand); }
.pp-go svg { width: 15px; height: 15px; transition: transform .2s; }
.pay-plan:hover .pp-go svg { transform: translateX(4px); }

.pay-back { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--muted); margin-bottom: 14px; transition: color .2s; }
.pay-back:hover { color: var(--brand); }
.pay-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.015); margin-bottom: 18px; }
.ps-name { display: block; font-family: var(--font-display); color: var(--fg); }
.ps-period { display: block; font-size: var(--t-xs); color: var(--muted); margin-top: 2px; }
.ps-price { text-align: right; }
.ps-price b { font-family: var(--font-display); font-size: 1.4rem; color: var(--fg); letter-spacing: -.02em; }
.ps-price span { font-family: var(--font-mono); font-size: var(--t-xs); color: var(--muted); }

.pay-field { display: grid; gap: 7px; margin-bottom: 14px; }
.pay-field label { font-size: var(--t-sm); color: var(--fg-soft); font-weight: 500; }
.pay-field input {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 11px;
  padding: 14px 16px; color: var(--fg); font-family: inherit; font-size: var(--t-base);
  transition: border-color .2s, box-shadow .2s;
}
.pay-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(45,212,167,.16); }
.pay-field input:disabled { opacity: .6; }

.pay-alert { font-size: var(--t-sm); padding: 11px 14px; border-radius: 10px; margin-bottom: 14px; }
.pay-alert--error { color: #fecaca; background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3); }
.pay-submit.is-ok { background: var(--brand-strong); color: #042018; }

.pay-secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 16px; font-size: var(--t-xs); color: var(--muted-2); text-align: center; line-height: 1.4; }
.pay-secure svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { gap: 40px; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero .lead { max-width: none; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .tcards { grid-template-columns: 1fr 1fr; }
  .cases:not(.cases-2) { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta .btn-discord, .nav-cta .nav-cta-hide { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-4, .grid-2, .stats, .plans, .tcards { grid-template-columns: 1fr; }
  .cases, .cases.cases-2 { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .container { padding-inline: 18px; }
  .mock-kpis { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .float-badge { display: none; }
  .section-head { margin-bottom: 36px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .plan { padding: 30px 24px; }
  /* En celular se oculta el mock del hero y se sube la franja de países */
  .hero-media { display: none; }
  .hero { padding-bottom: 22px; }
  .hero + .section--tight { padding-top: 26px; }
}
@media (max-width: 560px) {
  .kicker { white-space: normal; line-height: 1.45; letter-spacing: .12em; max-width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 18px 10px; }
  .mock-kpis { gap: 8px; }
  .kpi { padding: 11px 10px; }
  .kpi .val { font-size: 1.1rem; }
  .mock-body { padding: 14px; gap: 12px; }
  .btn-lg { padding: 15px 22px; }
  .hero-cta { gap: 10px; }
  /* Modal como bottom-sheet en móvil */
  .pay-dialog {
    left: 0; right: 0; bottom: 0; top: auto; transform: none;
    width: 100%; max-width: 100%; max-height: 94dvh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-bottom: none;
    animation: paySheet .38s var(--ease-out); padding: 26px 20px calc(26px + env(safe-area-inset-bottom));
  }
  @keyframes paySheet { from { transform: translateY(100%); } to { transform: none; } }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-proof { gap: 12px; }
  .h1 { font-size: clamp(2rem, 8.5vw, 2.45rem); }
  .nav-inner { gap: 12px; }
  .nav-cta .btn-primary { padding: 11px 16px; font-size: var(--t-sm); }
  .case-foot { padding: 14px 15px; gap: 10px; }
}

/* respeta usuarios con reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
