/* =========================================================
   Nexo AI — sitio público (landing, precios, auth, legal)
   ========================================================= */
:root {
  color-scheme: dark;
  --bg: #060d0a;
  --bg-soft: #08110d;
  --panel: #0b1712;
  --panel-2: #0d1c16;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #eef7f2;
  --muted: #95aaa1;
  --dim: #6d8279;
  --brand: #2ae08f;
  --brand-2: #12c77a;
  --brand-soft: rgba(42, 224, 143, .12);
  --danger: #ff7b7b;
  --radius: 16px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .45);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; margin: 0; }
p { margin: 0; }
::selection { background: rgba(42, 224, 143, .28); color: #fff; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--brand); opacity: .7; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 12px;
  padding: 14px 22px; font-size: 14.5px; font-weight: 600;
  cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #3aee9e, #17cf80);
  color: #04140d;
  box-shadow: 0 8px 30px rgba(42, 224, 143, .22), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 38px rgba(42, 224, 143, .3); }
.btn-ghost { background: rgba(255, 255, 255, .035); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); }
.btn-sm { padding: 10px 16px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { padding: 17px 28px; font-size: 15.5px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Barra de anuncio ---------- */
.announce {
  background: linear-gradient(90deg, rgba(42, 224, 143, .15), rgba(42, 224, 143, .05) 55%, rgba(42, 224, 143, .14));
  border-bottom: 1px solid rgba(42, 224, 143, .16);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 9px 48px; font-size: 13px; position: relative; z-index: 60;
}
.announce p { color: #d9f7e9; font-weight: 500; }
.announce-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px var(--brand); flex: none; }
.announce-link { color: var(--brand); font-weight: 700; display: inline-flex; gap: 5px; align-items: center; }
.announce-link:hover { text-decoration: underline; }
.announce-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #9fc7b6; font-size: 20px; line-height: 1; cursor: pointer; padding: 4px 8px;
}
.announce.is-hidden { display: none; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 13, 10, .72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: border-color .2s, background .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(6, 13, 10, .9); }
.nav-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; height: 68px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: 12px; }
.nav-link { font-size: 14px; color: #b7c8c0; font-weight: 500; transition: color .15s; }
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-login { font-size: 14px; font-weight: 600; color: #c9d8d1; }
.nav-login:hover { color: var(--brand); }
.credits-pill {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(42, 224, 143, .22); background: rgba(42, 224, 143, .08);
  color: #baf7d9; border-radius: 999px; padding: 8px 13px; font-size: 12.5px; font-weight: 600;
}
.credit-spark { color: var(--brand); }
.nav-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-burger span { display: block; width: 16px; height: 1.5px; background: #d7e6df; transition: transform .2s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 78px 0 24px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 900px; pointer-events: none;
  background:
    radial-gradient(48% 46% at 50% 8%, rgba(42, 224, 143, .15), transparent 70%),
    radial-gradient(30% 30% at 82% 30%, rgba(23, 143, 97, .12), transparent 70%),
    radial-gradient(28% 28% at 15% 35%, rgba(42, 224, 143, .07), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 55% at 50% 25%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 25%, #000 0%, transparent 100%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .035);
  border-radius: 999px; padding: 7px 14px 7px 8px; font-size: 12.5px; color: #cfddd7; margin-bottom: 26px;
  transition: border-color .2s;
}
.hero-badge:hover { border-color: rgba(42, 224, 143, .4); }
.hero-badge b { background: var(--brand); color: #03140c; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; text-transform: uppercase; }
.hero-title { font-size: clamp(44px, 7.2vw, 82px); letter-spacing: -.05em; line-height: 1.02; }
.hero-title .grad {
  background: linear-gradient(100deg, #b9ffdd 0%, #2ae08f 45%, #0fb574 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
}
.hero-title .grad::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: -.06em; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(42, 224, 143, .7), transparent);
}
.hero-sub { max-width: 660px; margin: 24px auto 0; color: #b6c8c0; font-size: clamp(15.5px, 2vw, 18px); line-height: 1.65; }
.hero-cta { display: flex; justify-content: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 12.5px; color: var(--dim); display: flex; justify-content: center; align-items: center; gap: 7px; }
.hero-note svg { opacity: .8; }
.model-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .025);
  border-radius: 999px; padding: 7px 13px; font-size: 12.5px; color: #c7d8d0; font-weight: 500;
}
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--dot, #8aa79b); box-shadow: 0 0 8px var(--dot, transparent); }

/* Mockup del chat */
.mock-wrap { position: relative; margin: 62px auto 0; max-width: 1000px; }
.mock-glow { position: absolute; inset: 8% 12% -6%; background: radial-gradient(50% 60% at 50% 40%, rgba(42, 224, 143, .22), transparent 72%); filter: blur(30px); pointer-events: none; }
.mock {
  position: relative; border: 1px solid var(--line-strong); border-radius: 20px; overflow: hidden;
  background: #07110d; box-shadow: 0 40px 120px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
  display: grid; grid-template-columns: 216px 1fr; text-align: left;
  transform: translateZ(0);
}
.mock-side { border-right: 1px solid var(--line); padding: 16px 14px; background: #08130f; display: flex; flex-direction: column; gap: 12px; }
.mock-brand { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 13px; }
.mock-brand img { width: 22px; height: 22px; border-radius: 6px; }
.mock-new { border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px; font-size: 11.5px; color: #c6d7cf; display: flex; gap: 7px; align-items: center; background: rgba(255, 255, 255, .02); }
.mock-label { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: #5f766c; margin-top: 8px; }
.mock-item { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #8fa69c; padding: 6px 2px; }
.mock-item.is-active { color: #d9ebe2; background: rgba(255, 255, 255, .04); border-radius: 7px; padding: 7px 8px; margin: 0 -6px; }
.mock-item .dot { width: 5px; height: 5px; border-radius: 50%; background: #3d5a4e; flex: none; }
.mock-plan { margin-top: auto; border: 1px solid rgba(42, 224, 143, .22); background: rgba(42, 224, 143, .07); border-radius: 11px; padding: 11px; }
.mock-plan strong { display: block; font-size: 11px; color: #d8f8e8; }
.mock-plan span { font-size: 9.5px; color: #78a08e; }
.mock-bar { height: 4px; background: rgba(255, 255, 255, .08); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.mock-bar i { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, #12c77a, #4df0aa); }

.mock-main { display: flex; flex-direction: column; min-height: 470px; background: radial-gradient(80% 60% at 70% 0%, rgba(42, 224, 143, .045), transparent 60%); }
.mock-top { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.mock-model { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #d7e8e0; border: 1px solid var(--line); border-radius: 9px; padding: 6px 10px; background: rgba(255, 255, 255, .025); }
.mock-model .prov { width: 15px; height: 15px; border-radius: 50%; background: #0e2a1e; display: grid; place-items: center; font-size: 8px; color: var(--brand); font-weight: 700; }
.mock-credits { font-size: 10.5px; color: #8aa69a; display: flex; align-items: center; gap: 5px; }
.mock-credits b { color: #baf7d9; font-weight: 600; }
.mock-chat { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.mock-msg { display: flex; gap: 10px; max-width: 92%; }
.mock-msg .av { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; font-size: 9.5px; font-weight: 700; }
.mock-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.mock-msg.user .av { background: #12352a; color: #7bf0b9; }
.mock-msg.ai .av { background: linear-gradient(160deg, #2ae08f, #0c9a62); color: #04140d; }
.bubble { border-radius: 12px; padding: 11px 13px; font-size: 12.5px; line-height: 1.55; }
.mock-msg.user .bubble { background: rgba(42, 224, 143, .12); border: 1px solid rgba(42, 224, 143, .14); color: #d9f6e8; border-top-right-radius: 4px; }
.mock-msg.ai .bubble { background: rgba(255, 255, 255, .035); border: 1px solid var(--line); border-top-left-radius: 4px; color: #cfdfd8; }
.bubble .row { display: flex; gap: 6px; margin-top: 8px; }
.bubble .tag { font-size: 9px; border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; color: #9db8ad; }
.typing { display: inline-flex; gap: 3px; margin-left: 4px; }
.typing i { width: 4px; height: 4px; border-radius: 50%; background: var(--brand); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.mock-composer { margin: 0 18px 18px; border: 1px solid var(--line-strong); background: #0a1712; border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.mock-composer span { font-size: 12px; color: #637a70; }
.mock-send { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(180deg, #3aee9e, #16cb7e); display: grid; place-items: center; color: #04140d; font-size: 14px; flex: none; }

/* ---------- Trust strip ---------- */
.trust { padding: 40px 0 8px; }
.trust-inner { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.trust-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #5f776c; }
.trust-items { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #9db4a9; }
.trust-item b { color: #dcebe4; font-weight: 600; }
.trust-item svg { color: var(--brand); flex: none; }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 70px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .018) 18%, rgba(255, 255, 255, .018) 82%, transparent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 14px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 16px; }
.section-head.left { margin-left: 0; text-align: left; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
  overflow: hidden; transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: rgba(42, 224, 143, .24); transform: translateY(-2px); }
.feature-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -80px; top: -90px; background: radial-gradient(circle, rgba(42, 224, 143, .1), transparent 70%); }
.feature-ico { width: 40px; height: 40px; border-radius: 11px; background: rgba(42, 224, 143, .1); border: 1px solid rgba(42, 224, 143, .17); display: grid; place-items: center; color: var(--brand); margin-bottom: 18px; }
.feature-card h3 { font-size: 17.5px; letter-spacing: -.02em; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 13.8px; line-height: 1.62; }
.feature-card .mini { margin-top: 16px; font-size: 11.5px; color: #79a08e; display: flex; gap: 6px; align-items: center; }

/* ---------- Modelos ---------- */
.models-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.model-card {
  border: 1px solid var(--line); border-radius: 15px; padding: 19px;
  background: rgba(255, 255, 255, .02); transition: border-color .2s, background .2s;
  display: flex; flex-direction: column; gap: 9px;
}
.model-card:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .035); }
.model-top { display: flex; align-items: center; gap: 10px; }
.prov-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 10px; font-weight: 800; letter-spacing: -.02em; flex: none; }
.prov-openai { background: rgba(139, 233, 201, .12); color: #8be9c9; }
.prov-anthropic { background: rgba(215, 174, 255, .12); color: #d7aeff; }
.prov-google { background: rgba(140, 180, 255, .12); color: #9dbdff; }
.prov-deepseek { background: rgba(120, 160, 255, .14); color: #9db6ff; }
.prov-xai { background: rgba(255, 255, 255, .1); color: #e6f0eb; }
.prov-qwen { background: rgba(255, 174, 120, .12); color: #ffbe8e; }
.prov-meta { background: rgba(120, 170, 255, .12); color: #a8c4ff; }
.prov-mistral { background: rgba(255, 196, 120, .12); color: #ffce8f; }
.prov-other { background: rgba(42, 224, 143, .1); color: #7fe8b6; }
.model-name { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.model-prov { font-size: 10.5px; color: var(--dim); }
.model-desc { font-size: 12.3px; color: var(--muted); line-height: 1.5; min-height: 36px; }
.model-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; border-top: 1px solid var(--line); padding-top: 10px; }
.model-ctx { font-size: 10.5px; color: var(--dim); }
.model-badge { font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); background: rgba(42, 224, 143, .1); border: 1px solid rgba(42, 224, 143, .2); padding: 3px 7px; border-radius: 5px; }
.models-foot { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.models-count { font-size: 12.5px; color: var(--dim); }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; background: rgba(255, 255, 255, .02); position: relative; }
.step-num {
  font-family: var(--display); font-size: 12px; font-weight: 700; color: var(--brand);
  border: 1px solid rgba(42, 224, 143, .25); background: rgba(42, 224, 143, .08);
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 18px;
}
.step h3 { font-size: 16px; margin-bottom: 7px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ---------- Precios ---------- */
.pricing-toggle { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); border-radius: 999px; padding: 4px; margin-top: 24px; }
.pricing-toggle button { border: 0; background: transparent; color: #9fb5aa; font-size: 12.5px; font-weight: 600; padding: 8px 15px; border-radius: 999px; cursor: pointer; transition: .18s; }
.pricing-toggle button.is-active { background: #e9fbf2; color: #06150e; }
.pricing-toggle .save { color: var(--brand); font-size: 10.5px; font-weight: 700; margin-left: 2px; }
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; align-items: stretch; }
.price-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 24px 21px; background: rgba(255, 255, 255, .02);
  display: flex; flex-direction: column; position: relative; transition: border-color .2s, transform .2s;
}
.price-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.price-card.is-featured {
  border-color: rgba(42, 224, 143, .38);
  background: linear-gradient(180deg, rgba(42, 224, 143, .09), rgba(42, 224, 143, .02) 55%, rgba(255, 255, 255, .01));
  box-shadow: 0 20px 70px rgba(11, 130, 88, .14);
}
.price-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, #3aee9e, #17cf80); color: #04140d;
  font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.price-name { font-family: var(--display); font-size: 16px; font-weight: 600; }
.price-tagline { font-size: 11.5px; color: var(--dim); margin-top: 4px; min-height: 34px; }
.price-value { display: flex; align-items: baseline; gap: 5px; margin-top: 14px; }
.price-value .num { font-family: var(--display); font-size: 38px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price-value .per { font-size: 11.5px; color: var(--dim); }
.price-yearly-note { font-size: 11px; color: var(--brand); height: 16px; margin-top: 4px; }
.price-credits { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #c8e7d7; background: rgba(42, 224, 143, .07); border: 1px solid rgba(42, 224, 143, .14); border-radius: 7px; padding: 6px 9px; margin: 14px 0 16px; align-self: flex-start; }
.price-features { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.price-features li { display: flex; gap: 8px; font-size: 12.3px; color: #b3c8be; line-height: 1.45; }
.price-features svg { flex: none; margin-top: 2px; color: var(--brand); }
.price-card .btn { width: 100%; }
.pricing-note { margin-top: 22px; text-align: center; font-size: 12.5px; color: var(--dim); }
.pricing-note a { color: var(--brand); }

/* Recargas / pricing page */
.packs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pack-card { border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .02); padding: 22px; display: flex; flex-direction: column; }
.pack-card h3 { font-size: 15px; }
.pack-card .pack-credits { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.03em; margin: 12px 0 2px; }
.pack-card .pack-credits small { font-size: 12px; color: var(--muted); font-family: var(--font); font-weight: 500; }
.pack-card .pack-note { font-size: 12px; color: var(--dim); }
.pack-card .pack-price { margin-top: 14px; font-size: 18px; font-weight: 700; }
.pack-card .btn { margin-top: 16px; }

/* ---------- Casos de uso ---------- */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.case { display: flex; gap: 16px; border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: rgba(255, 255, 255, .02); }
.case-ico { width: 40px; height: 40px; border-radius: 11px; background: rgba(42, 224, 143, .08); border: 1px solid rgba(42, 224, 143, .15); display: grid; place-items: center; color: var(--brand); flex: none; }
.case h3 { font-size: 15px; margin-bottom: 5px; }
.case p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .02); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: 0; color: var(--text); text-align: left; padding: 17px 20px; font-size: 14.5px; font-weight: 500; cursor: pointer; }
.faq-q svg { flex: none; transition: transform .2s; color: var(--muted); }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); color: var(--brand); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding: 0 20px 18px; color: var(--muted); font-size: 13.6px; line-height: 1.68; }

/* ---------- CTA final ---------- */
.cta-final { padding: 20px 0 100px; }
.cta-panel {
  position: relative; overflow: hidden; border: 1px solid rgba(42, 224, 143, .25); border-radius: 24px;
  padding: 64px 32px; text-align: center;
  background: radial-gradient(70% 120% at 50% 0%, rgba(42, 224, 143, .16), transparent 65%), linear-gradient(180deg, #0a1a13, #07110d);
}
.cta-panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(50% 60% at 50% 0%, #000, transparent); -webkit-mask-image: radial-gradient(50% 60% at 50% 0%, #000, transparent); }
.cta-panel > * { position: relative; }
.cta-panel h2 { font-size: clamp(30px, 4.4vw, 48px); }
.cta-panel p { color: #b6c8c0; margin: 16px auto 28px; max-width: 520px; font-size: 15.5px; }
.cta-panel .hero-note { margin-top: 16px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 26px; background: #050b08; }
.footer-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.footer-brand p { color: var(--muted); font-size: 12.8px; margin-top: 14px; max-width: 320px; line-height: 1.65; }
.footer-brand .footer-tech { color: var(--dim); font-size: 11.5px; }
.footer-brand .footer-tech a { color: #9fc7b6; text-decoration: underline; text-underline-offset: 2px; }
.footer-col h4 { font-family: var(--font); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: #647a70; margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; font-size: 13px; color: #a8bcb2; margin-bottom: 9px; transition: color .15s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { width: min(1180px, calc(100% - 40px)); margin: 42px auto 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11.5px; color: var(--dim); }
.footer-pay span { color: #9fb5aa; margin-left: 6px; }

/* ---------- Alertas y formularios ---------- */
.alert { border-radius: 10px; padding: 12px 14px; font-size: 13.2px; line-height: 1.5; margin-bottom: 16px; border: 1px solid transparent; }
.alert-ok { background: rgba(42, 224, 143, .09); border-color: rgba(42, 224, 143, .25); color: #b9f5d8; }
.alert-error { background: rgba(255, 105, 105, .08); border-color: rgba(255, 105, 105, .28); color: #ffc0c0; }
.alert-warn { background: rgba(255, 196, 90, .08); border-color: rgba(255, 196, 90, .25); color: #ffe0ad; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; }
.field label { font-size: 12.5px; font-weight: 500; color: #a9bdb3; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); background: #08120e; color: var(--text);
  border-radius: 10px; padding: 12px 13px; font: inherit; font-size: 14px; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #5d746a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: rgba(42, 224, 143, .6); box-shadow: 0 0 0 3px rgba(42, 224, 143, .1); }
.field .hint { font-size: 11.5px; color: var(--dim); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkline { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.checkline input { margin-top: 3px; accent-color: var(--brand); }
.form-error { color: #ffb3b3; background: rgba(255, 90, 90, .08); border: 1px solid rgba(255, 90, 90, .22); border-radius: 9px; padding: 10px 12px; font-size: 12.5px; margin-bottom: 14px; }
.form-success { color: #b9f5d8; background: rgba(42, 224, 143, .08); border: 1px solid rgba(42, 224, 143, .22); border-radius: 9px; padding: 10px 12px; font-size: 12.5px; margin-bottom: 14px; }

/* ---------- Auth ---------- */
.auth-body { background: #060d0a; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-aside {
  position: relative; overflow: hidden; padding: 42px 54px; display: flex; flex-direction: column;
  background: radial-gradient(70% 60% at 20% 0%, rgba(42, 224, 143, .16), transparent 62%), linear-gradient(160deg, #0a1a13, #060d0a 60%);
  border-right: 1px solid var(--line);
}
.auth-aside::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 70% at 30% 20%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 30% 20%, #000, transparent); pointer-events: none; }
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside-copy { margin-top: auto; margin-bottom: auto; max-width: 480px; padding: 40px 0; }
.auth-aside-copy h2 { font-size: clamp(30px, 3.4vw, 46px); margin: 14px 0 18px; }
.auth-aside-copy > p:not(.eyebrow) { color: #a9beb4; font-size: 15px; line-height: 1.7; }
.auth-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 11px; }
.auth-points li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #c6d9d0; }
.auth-points span { color: var(--brand); font-size: 11px; }
.auth-aside-foot { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--dim); }
.model-dots { display: flex; }
.model-dots i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #07110d; margin-left: -6px; background: #173b2c; }
.model-dots i:first-child { margin-left: 0; background: #1f5c42; }
.model-dots i:nth-child(2) { background: #2a7a58; }
.model-dots i:nth-child(3) { background: #391f5c; }
.model-dots i:nth-child(4) { background: #2b3f7a; }
.model-dots i:nth-child(5) { background: #2ae08f; }
.auth-main { display: flex; flex-direction: column; justify-content: center; padding: 36px 24px; position: relative; }
.auth-topbar { position: absolute; top: 24px; left: 24px; right: 24px; display: flex; justify-content: space-between; align-items: center; }
.auth-back { font-size: 12.5px; color: var(--dim); }
.auth-back:hover { color: var(--brand); }
.auth-mobile-brand { display: none; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 14px; }
.auth-mobile-brand img { border-radius: 7px; }
.auth-card { width: min(420px, 100%); margin: 0 auto; }
.auth-card h1 { font-size: 30px; letter-spacing: -.035em; margin-bottom: 8px; }
.auth-card .auth-sub { color: var(--muted); font-size: 13.8px; margin-bottom: 26px; }
.auth-legal { width: min(420px, 100%); margin: 22px auto 0; font-size: 11px; color: #5a7066; text-align: center; line-height: 1.6; }
.auth-legal a { color: #93b7a6; text-decoration: underline; text-underline-offset: 2px; }
.google-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--line-strong); background: #fff; color: #16211c;
  border-radius: 10px; padding: 11px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: filter .15s;
}
.google-btn:hover { filter: brightness(.96); }
.google-one-tap { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.google-btn-slot { width: 100%; min-height: 42px; display: flex; justify-content: center; }
.google-btn-slot > div, .google-btn-slot iframe { max-width: 100%; }
.google-fallback { width: 100%; }
.google-error { margin: 0; color: #ffb3b3; font-size: 11.5px; line-height: 1.5; text-align: center; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: #5f766c; font-size: 11px; margin: 18px 0; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.auth-switch { text-align: center; font-size: 12.8px; color: var(--muted); margin-top: 20px; }
.auth-switch a { color: var(--brand); font-weight: 600; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 12.3px; }
.auth-row a { color: #a8c4b7; }
.auth-row a:hover { color: var(--brand); }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 44px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #6d8579; cursor: pointer; font-size: 11px; padding: 6px; }
.pw-toggle:hover { color: var(--brand); }

/* ---------- Páginas legales ---------- */
.legal-body { background: var(--bg); }
.legal-head { padding: 150px 0 40px; border-bottom: 1px solid var(--line); background: radial-gradient(60% 60% at 50% 0%, rgba(42, 224, 143, .1), transparent 70%); }
.legal-head h1 { font-size: clamp(34px, 5vw, 52px); }
.legal-head p { color: var(--muted); margin-top: 12px; font-size: 14px; }
.legal { padding: 48px 0 90px; }
.legal-wrap { max-width: 760px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 16px; margin: 22px 0 8px; }
.legal p, .legal li { color: #a9bdb3; font-size: 14px; line-height: 1.75; }
.legal p { margin-bottom: 12px; }
.legal ul { padding-left: 20px; margin: 8px 0 16px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.legal-note { border: 1px solid var(--line); background: rgba(255, 255, 255, .03); border-radius: 12px; padding: 16px 18px; margin: 22px 0; font-size: 13px; color: var(--muted); }

/* ---------- Página de precios ---------- */
.pricing-hero { padding: 72px 0 34px; text-align: center; background: radial-gradient(60% 70% at 50% 0%, rgba(42, 224, 143, .12), transparent 65%); }
.pricing-hero h1 { font-size: clamp(38px, 5.4vw, 62px); }
.pricing-hero p { color: var(--muted); max-width: 620px; margin: 16px auto 0; font-size: 16px; }
.pricing-page .section { padding: 54px 0 80px; }
.compare { width: 100%; border-collapse: collapse; font-size: 12.8px; }
.compare th, .compare td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #799286; font-weight: 600; }
.compare td { color: #b2c6bc; }
.compare tr td:first-child { color: #dbeae3; }
.compare .yes { color: var(--brand); }
.compare .no { color: #4e655b; }
.pay-logos { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.pay-logo { border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px; font-size: 10.5px; color: #a4bbaf; background: rgba(255, 255, 255, .03); }

/* ---------- Utilidades ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 6px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .models-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px; }
  .auth-aside { padding: 36px; }
}
@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #07110d; border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px; margin: 0; display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-link { padding: 12px 2px; border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: 15px; }
  .nav-burger { display: flex; }
  .nav-actions .credits-pill { display: none; }
  .nav-actions .nav-login { display: none; }
  .mock { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-main { min-height: 100vh; }
  .auth-topbar { justify-content: space-between; }
  .auth-mobile-brand { display: inline-flex; }
  .auth-back { font-size: 11.5px; }
  .steps, .packs-grid { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container, .nav-inner, .footer-inner, .footer-bottom { width: calc(100% - 28px); }
  .announce { padding: 8px 34px 8px 14px; font-size: 11.5px; gap: 8px; text-align: left; justify-content: flex-start; }
  .announce-link { margin-left: auto; }
  .announce-link span { display: none; }
  .hero { padding-top: 52px; }
  .hero-badge { font-size: 11px; }
  .hero-cta .btn { width: 100%; }
  .hero-cta { gap: 9px; }
  .model-chips { gap: 7px; }
  .chip { font-size: 11px; padding: 6px 10px; }
  .mock-wrap { margin-top: 40px; }
  .mock-main { min-height: 420px; }
  .mock-chat { padding: 16px; }
  .mock-msg { max-width: 100%; }
  .plans-grid, .feature-grid, .models-grid { grid-template-columns: 1fr; }
  .price-card.is-featured { order: -1; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 30px; }
  .cta-panel { padding: 48px 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .auth-main { padding: 85px 20px 30px; }
  .auth-card h1 { font-size: 26px; }
  .legal-head { padding-top: 120px; }
}

/* =========================================================
   Cuenta / facturación
   ========================================================= */
.panel-page { padding: 56px 0 90px; min-height: 70vh; }
.panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.panel-head h1 { font-size: clamp(30px, 4vw, 42px); margin-top: 10px; }
.panel-head p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.stat { border: 1px solid var(--line); background: rgba(255, 255, 255, .022); border-radius: 14px; padding: 17px 18px; display: flex; flex-direction: column; gap: 4px; }
.stat-label { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #6d867a; }
.stat-num { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: #e9f7f0; }
.stat-note { font-size: 10.8px; color: #6f877c; }
.panel-grid { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
.panel-side { display: flex; flex-direction: column; gap: 3px; position: sticky; top: 90px; }
.panel-link { font-size: 13px; color: #9cb2a8; padding: 10px 12px; border-radius: 9px; border: 1px solid transparent; }
.panel-link:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.panel-link.is-active { background: rgba(42, 224, 143, .08); border-color: rgba(42, 224, 143, .16); color: #d8f8e8; }
.panel-link-danger { margin-top: 12px; color: #b98b8b; }
.panel-link-danger:hover { background: rgba(255, 90, 90, .08); color: #ffb4b4; }
.panel-content { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.panel-card { border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .022); padding: 22px 22px; }
.panel-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.panel-card-head h2 { font-size: 17px; letter-spacing: -.02em; }
.panel-card-head p { font-size: 12px; color: var(--dim); margin-top: 5px; }
.panel-link-inline { font-size: 12px; color: var(--brand); }
.upgrade-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(120deg, rgba(42, 224, 143, .12), rgba(42, 224, 143, .03)); border-color: rgba(42, 224, 143, .22); }
.upgrade-banner h2 { font-size: 18px; }
.upgrade-banner p { color: #a5c4b5; font-size: 12.5px; margin-top: 6px; max-width: 480px; }
.upgrade-banner .btn { flex: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .field.full { grid-column: 1 / -1; }
.form-actions { grid-column: 1 / -1; margin-top: 2px; display: flex; gap: 8px; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table th, .data-table td { padding: 10px 11px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.data-table th { font-size: 9.8px; letter-spacing: .1em; text-transform: uppercase; color: #6d8579; font-weight: 600; white-space: nowrap; }
.data-table td { color: #b6c9bf; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table .pos { color: var(--brand); font-weight: 600; }
.data-table .neg { color: #e8b0b0; }
.table-empty { text-align: center !important; color: var(--dim) !important; padding: 24px 0 !important; }
.badge { display: inline-flex; align-items: center; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 5px; padding: 3px 7px; border: 1px solid transparent; }
.badge-ok { background: rgba(42, 224, 143, .1); border-color: rgba(42, 224, 143, .22); color: #8df3c2; }
.badge-warn { background: rgba(255, 196, 90, .1); border-color: rgba(255, 196, 90, .22); color: #ffd590; }
.badge-bad { background: rgba(255, 90, 90, .1); border-color: rgba(255, 90, 90, .22); color: #ffb4b4; }
.badge-muted { background: rgba(255, 255, 255, .05); border-color: var(--line); color: #9cb2a8; }
.balance-pill { border: 1px solid rgba(42, 224, 143, .22); background: rgba(42, 224, 143, .07); border-radius: 999px; padding: 8px 14px; font-size: 13px; color: #c9f7e1; display: inline-flex; align-items: center; gap: 7px; }
.balance-pill span { color: var(--brand); }
.current-plan { border: 1px solid var(--line-strong); border-radius: 16px; background: linear-gradient(115deg, rgba(42, 224, 143, .07), rgba(255, 255, 255, .015)); padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.current-plan-label { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: #729184; }
.current-plan strong { display: block; font-family: var(--display); font-size: 24px; letter-spacing: -.03em; margin-top: 2px; }
.current-plan p { font-size: 12px; color: #8fae9e; margin-top: 4px; }
.current-plan-side { text-align: right; display: flex; flex-direction: column; gap: 3px; }
.current-plan-side span { font-size: 10px; color: #6f8b7d; }
.current-plan-side strong { font-size: 13px; font-family: var(--font); letter-spacing: 0; }
.billing-coupon { display: flex; align-items: center; gap: 16px; border: 1px dashed var(--line-strong); border-radius: 12px; padding: 13px 16px; margin-bottom: 30px; flex-wrap: wrap; }
.billing-coupon label { font-size: 11px; color: #9db3a8; font-weight: 600; white-space: nowrap; }
.billing-coupon > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.billing-coupon input { background: #08120e; border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; color: var(--text); font: inherit; font-size: 12px; width: 200px; text-transform: uppercase; }
.billing-coupon input:focus { outline: none; border-color: rgba(42, 224, 143, .5); }
.billing-section { margin-bottom: 40px; }
.billing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; flex-wrap: wrap; }
.billing-head h2 { font-size: 23px; }
.billing-head p { color: var(--muted); font-size: 12.8px; margin-top: 5px; max-width: 560px; }
.billing-head .pricing-toggle { margin-top: 0; }
.current-tag { font-size: 8.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); border: 1px solid rgba(42, 224, 143, .25); border-radius: 4px; padding: 2px 5px; vertical-align: middle; font-family: var(--font); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.info-card { border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .02); padding: 16px; }
.info-card strong { font-size: 12.5px; display: block; margin-bottom: 5px; }
.info-card p { font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.compare-wrap { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, .015); }

@media (max-width: 1020px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-grid { grid-template-columns: 1fr; }
  .panel-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .panel-link { padding: 8px 11px; }
  .panel-link-danger { margin-top: 0; }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .panel-page { padding: 34px 0 70px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .upgrade-banner { flex-direction: column; align-items: flex-start; }
  .current-plan-side { text-align: left; }
  .billing-coupon input { width: 100%; }
}

/* =========================================================
   Checkout / pagos
   ========================================================= */
.checkout-page { padding: 52px 0 84px; min-height: 68vh; }
.checkout-head { margin-bottom: 28px; }
.checkout-head h1 { font-size: clamp(30px, 4.2vw, 42px); margin-top: 10px; }
.checkout-head p { color: var(--muted); font-size: 12.8px; margin-top: 7px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.checkout-main h2 { font-size: 15px; margin-bottom: 14px; letter-spacing: -.01em; }
.method-list { display: flex; flex-direction: column; gap: 9px; }
.method-card {
  display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 13px;
  background: rgba(255, 255, 255, .022); padding: 15px 16px; transition: border-color .15s, background .15s, transform .15s;
}
.method-card:hover { border-color: rgba(42, 224, 143, .35); background: rgba(42, 224, 143, .04); transform: translateY(-1px); }
.method-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 16px; flex: none; }
.method-pay { background: #103a68; color: #9cc8ff; }
.method-binance { background: rgba(240, 185, 11, .13); color: #f0b90b; }
.method-crypto { background: rgba(247, 147, 26, .12); color: #ffb15c; }
.method-body { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.method-body strong { font-size: 13.5px; }
.method-body small { font-size: 11.5px; color: #7d9489; }
.method-arrow { color: #5f766c; font-size: 15px; }
.secure-note { font-size: 10.8px; color: #61786d; margin-top: 16px; }
.link-btn { background: none; border: 0; color: #7d9489; font-size: 11.5px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; padding: 0; }
.link-btn:hover { color: #ff9b9b; }
.order-summary { border: 1px solid var(--line-strong); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); padding: 20px; position: sticky; top: 90px; }
.order-summary h2 { font-size: 14px; margin-bottom: 14px; }
.summary-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 12px; color: #8fa69b; border-bottom: 1px dashed rgba(255, 255, 255, .06); }
.summary-row strong { color: #d9e9e1; font-weight: 500; text-align: right; }
.summary-discount strong { color: var(--brand); }
.summary-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0 4px; font-size: 12.5px; color: #a9bdb3; }
.summary-total strong { font-family: var(--display); font-size: 25px; letter-spacing: -.03em; color: #fff; }
.summary-total small { font-family: var(--font); font-size: 10px; color: #7d9489; letter-spacing: 0; }
.summary-note { font-size: 10.3px; color: #61786d; line-height: 1.55; margin-top: 10px; }
.summary-note a { color: #8fb3a1; text-decoration: underline; text-underline-offset: 2px; }

.pay-panel { display: grid; grid-template-columns: 330px 1fr; gap: 0; border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; background: #091410; }
.pay-panel-side { border-right: 1px solid var(--line); padding: 26px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; background: radial-gradient(80% 60% at 50% 0%, rgba(255, 196, 90, .06), transparent 70%); }
.pay-label { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #71887c; }
.pay-amount { font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -.03em; margin: 4px 0 18px; }
.pay-amount small { font-family: var(--font); font-size: 12px; color: #8aa296; font-weight: 500; }
.pay-id { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 16px; color: #ffe0ad; background: rgba(255, 196, 90, .07); border: 1px dashed rgba(255, 196, 90, .3); border-radius: 9px; padding: 10px 13px; margin: 7px 0 10px; word-break: break-all; }
.copy-btn { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: #cddfd6; border-radius: 7px; padding: 6px 11px; font-size: 10.5px; cursor: pointer; }
.copy-btn:hover { border-color: rgba(42, 224, 143, .35); color: #fff; }
.pay-qr { width: 190px; height: 190px; object-fit: contain; border-radius: 12px; margin: 16px 0 8px; background: #fff; padding: 6px; }
.pay-panel-main { padding: 28px 28px 24px; }
.pay-panel-main h2 { font-size: 20px; margin-bottom: 14px; }
.pay-steps { padding-left: 19px; margin: 0 0 20px; }
.pay-steps li { font-size: 12.5px; color: #a5bab0; margin-bottom: 7px; line-height: 1.55; }
.pay-steps strong { color: #e2f3ea; }
.pay-verify-form .field { margin-bottom: 12px; }
.pay-note { font-size: 10.8px; color: #6d8479; line-height: 1.55; margin-top: 12px; }
.return-card { border: 1px solid var(--line-strong); border-radius: 20px; background: radial-gradient(70% 60% at 50% 0%, rgba(42, 224, 143, .09), transparent 70%), #091410; padding: 40px 32px; text-align: center; }
.return-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; font-size: 25px; font-weight: 700; }
.return-ok { background: rgba(42, 224, 143, .13); border: 1px solid rgba(42, 224, 143, .3); color: var(--brand); }
.return-wait { background: rgba(255, 196, 90, .1); border: 1px solid rgba(255, 196, 90, .28); color: #ffd590; }
.return-bad { background: rgba(255, 90, 90, .09); border: 1px solid rgba(255, 90, 90, .25); color: #ffb4b4; }
.return-card h1 { font-size: clamp(26px, 3.6vw, 36px); margin: 12px 0 10px; }
.return-card > p { color: #a5bab0; font-size: 13px; max-width: 500px; margin: 0 auto 20px; line-height: 1.6; }
.return-summary { border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .02); padding: 8px 16px; margin: 18px 0 22px; text-align: left; }
.return-summary > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .06); font-size: 12px; color: #8fa69b; }
.return-summary > div:last-child { border-bottom: 0; }
.return-summary strong { color: #dcebe4; font-weight: 500; text-align: right; }
.return-small { font-size: 10.8px; color: #61786d; margin-top: 16px; }
.return-small a { color: #8fb3a1; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .pay-panel { grid-template-columns: 1fr; }
  .pay-panel-side { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .checkout-page { padding: 34px 0 64px; }
  .return-card { padding: 30px 20px; }
}
