/* ============================================================
   E-book — Cómo Aumentar el Límite de tu Tarjeta de Crédito
   Hoja de estilos compartida (estilo fintech: limpio y confiable)
   ============================================================ */

:root {
  /* Paleta — dark mode roxo/rosa/preto */
  --navy: #0c0c10;        /* fundo escuro principal */
  --navy-2: #000000;      /* fundo mais escuro */
  --heading: #f5f5f7;     /* cor para títulos e labels (era --navy no modo claro) */
  --blue: #8b5cf6;        /* roxo principal */
  --blue-dark: #6d28d9;   /* roxo escuro */
  --cyan: #ec4899;        /* rosa/pink */
  --green: #ec4899;       /* botões CTA — rosa */
  --green-dark: #be185d;  /* botões CTA hover */
  --gold: #fbcfe8;        /* destaques rosa claro */
  --yellow-2: #f472b6;    /* rosa médio */
  --yellow-light: #fdf2f8;/* rosa muito claro */
  --bg: #0c0c10;
  --cream: #1a1a1e;       /* fundo secções alternadas */
  --cream-2: #222226;
  --white: #141418;       /* fundo cards */
  --text: #f0f0f5;
  --text-soft: #a1a1aa;
  --muted: #71717a;
  --border: rgba(255, 255, 255, 0.10);
  --radius: 18px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .25);
  --shadow: 0 12px 34px rgba(0, 0, 0, .35);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, .45);
  --maxw: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c8d4ef; font-size: 13px; text-align: center; padding: 9px 16px; letter-spacing: .2px; }
.topbar strong { color: var(--gold); }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--heading); font-size: 19px; }
.brand .logo { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: grid; place-items: center; color: #fff; font-size: 18px; font-weight: 900; }
.header-cta { background: var(--green); color: #fff !important; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none !important; transition: transform .15s ease, background .15s ease; }
.header-cta:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1100px 480px at 82% -12%, #2f6bff44, transparent), linear-gradient(180deg, var(--navy), var(--navy-2)); color: #fff; padding: 66px 0 76px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(139, 92, 246, 0.2); border: 1px solid #ffffff33; color: #e6eeff; padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 22px; }
.hero h1 { font-size: clamp(31px, 4.4vw, 51px); line-height: 1.08; font-weight: 800; letter-spacing: -.5px; margin-bottom: 18px; }
.hero h1 .hl { background: linear-gradient(90deg, var(--gold), var(--yellow-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: #a1a1aa; max-width: 540px; margin-bottom: 28px; }
.hero-list { list-style: none; margin: 0 0 30px; display: grid; gap: 12px; }
.hero-list li { display: flex; align-items: flex-start; gap: 10px; color: #f5f5f7; font-size: 15.5px; }
.hero-list li .ck { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 2px; }
.trust-mini { display: flex; align-items: center; gap: 14px; margin-top: 6px; color: #9fb3da; font-size: 13px; flex-wrap: wrap; }
.trust-mini .stars { color: var(--gold); letter-spacing: 1px; }

/* Book mockup */
.book-wrap { display: flex; justify-content: center; }
.book { position: relative; width: 290px; aspect-ratio: 3 / 4; border-radius: 8px 16px 16px 8px; background: linear-gradient(135deg, var(--blue), var(--navy)); box-shadow: var(--shadow-lg); border-left: 9px solid #10122b; padding: 34px 28px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; transform: none; transition: transform .3s ease; }
.book:hover { transform: translateY(-4px); }
.book::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #ffffff22, transparent 18%); }
.book .kicker { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.book .btitle { font-size: 25px; line-height: 1.13; font-weight: 800; margin-top: 10px; }
.book .bfoot { font-size: 12px; color: #a1a1aa; }
.book .pages-tag { align-self: flex-start; background: var(--gold); color: #2a1c00; font-weight: 800; font-size: 12px; padding: 5px 11px; border-radius: 7px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 17px; padding: 16px 34px; border-radius: 999px; border: none; cursor: pointer; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-buy { background: linear-gradient(180deg, #34c374, var(--green)); color: #fff; box-shadow: 0 12px 26px rgba(40, 175, 96, .42); }
.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(20, 184, 89, .5); }
/* .pulse mantido como classe neutra para no romper el HTML; sin animación para un look más sobrio */
.btn-buy.pulse { animation: none; }
.btn-sub { display: block; text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---------- Sections ---------- */
section { padding: 66px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 46px; }
.section-head .eyebrow { color: var(--blue); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 37px); color: var(--heading); margin: 10px 0 12px; letter-spacing: -.3px; }
.section-head p { color: var(--text-soft); font-size: 17px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #fff; box-shadow: 0 6px 14px rgba(236, 72, 153, .35); }
.card .ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 18px; color: var(--heading); margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: 15px; }

/* ---------- Cómo funciona (steps) ---------- */
.steps { background: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 920px; margin: 0 auto; }
.step { text-align: center; padding: 8px; position: relative; }
.step .num { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font-weight: 800; font-size: 22px; display: grid; place-items: center; box-shadow: 0 10px 22px rgba(47,107,255,.3); }
.step h3 { color: var(--heading); font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--text-soft); font-size: 15px; }

/* ---------- Aprenderás (learn) ---------- */
.learn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 36px; max-width: 880px; margin: 0 auto; }
.learn-item { display: flex; gap: 14px; align-items: flex-start; }
.learn-item .ck { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: rgba(236, 72, 153, 0.2); color: var(--cyan); display: grid; place-items: center; font-weight: 800; margin-top: 2px; }
.learn-item p { color: var(--text); font-size: 15.5px; }
.learn-item strong { color: var(--heading); }

/* ---------- Testimonios ---------- */
.testi { background: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.testi-card .stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; margin-bottom: 12px; }
.testi-card p { color: var(--text); font-size: 15px; font-style: italic; margin-bottom: 18px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-person .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.testi-person .who strong { display: block; color: var(--heading); font-size: 15px; }
.testi-person .who span { color: var(--muted); font-size: 13px; }

/* ---------- Oferta ---------- */
.offer { background: linear-gradient(180deg, #141418, #1a1a1e); }
.price-card { max-width: 490px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; text-align: center; }
.price-card .pc-top { background: var(--navy); color: #fff; padding: 22px; }
.price-card .pc-top h3 { font-size: 20px; }
.price-card .pc-top span { color: #a1a1aa; font-size: 14px; }
.price-card .pc-body { padding: 32px 28px 36px; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 17px; }
.price-now { font-size: 52px; font-weight: 800; color: var(--cyan); line-height: 1; margin: 6px 0 2px; }
.price-now small { font-size: 22px; font-weight: 700; vertical-align: super; }
.price-cur { color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.price-note { color: var(--text-soft); font-size: 14px; margin-bottom: 24px; }
.price-feats { list-style: none; text-align: left; max-width: 330px; margin: 0 auto 26px; display: grid; gap: 10px; }
.price-feats li { display: flex; gap: 10px; font-size: 15px; color: var(--text); }
.price-feats li::before { content: "✓"; color: var(--green); font-weight: 800; }
.secure-row { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 13px; margin-top: 14px; }

/* Garantía */
.guarantee { max-width: 760px; margin: 40px auto 0; background: var(--white); border: 1px dashed var(--cyan); border-radius: var(--radius); padding: 26px 28px; display: flex; gap: 20px; align-items: center; }
.guarantee .seal { flex: 0 0 86px; width: 86px; height: 86px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, var(--cyan), var(--blue)); color: #fff; display: grid; place-items: center; text-align: center; font-weight: 800; line-height: 1.1; font-size: 13px; box-shadow: 0 8px 20px rgba(236,72,153,.35); }
.guarantee h3 { color: var(--heading); margin-bottom: 6px; }
.guarantee p { color: var(--text-soft); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; color: var(--heading); display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--blue); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--text-soft); font-size: 15px; }

/* ---------- CTA final ---------- */
.final-cta { background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: #fff; text-align: center; }
.final-cta h2 { font-size: clamp(26px, 3.6vw, 39px); margin-bottom: 14px; }
.final-cta p { color: #a1a1aa; font-size: 18px; max-width: 560px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer { background: #08080c; color: #9db0d6; padding: 54px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 19px; margin-bottom: 14px; }
.footer-brand .logo { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: grid; place-items: center; color: #fff; font-weight: 900; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: #9db0d6; }
.site-footer a:hover { color: #fff; }
.company-data { line-height: 1.75; }
.company-data .lbl { color: #6c80a8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #71717a; font-size: 13px; }
.footer-bottom .pay { display: flex; gap: 8px; align-items: center; }
.footer-bottom .pay span { background: #1a1a1e; border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; padding: 4px 9px; font-size: 11px; color: #a1a1aa; font-weight: 600; }
.disclaimer { font-size: 12px; color: #5e7099; max-width: 900px; margin: 18px auto 0; text-align: center; line-height: 1.6; }

/* ---------- Páginas legales ---------- */
.legal { background: var(--white); min-height: 60vh; padding: 56px 0 72px; }
.legal-card { max-width: 820px; margin: 0 auto; background: var(--white); }
.legal h1 { color: var(--heading); font-size: 33px; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.legal h2 { color: var(--heading); font-size: 20px; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--text-soft); font-size: 15.5px; margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 12px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--blue); font-weight: 600; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--blue); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 26px 0; }
.contact-box { border: 1px solid var(--border); border-radius: 12px; padding: 22px; background: var(--bg); }
.contact-box .ico { margin-bottom: 10px; color: var(--blue); }
.contact-box .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.topbar svg, .secure-row svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; }
.contact-box h3 { color: var(--heading); font-size: 16px; margin-bottom: 6px; }
.contact-box p { font-size: 15px; color: var(--text); margin: 0; }
.note-box { background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.3); border-radius: 12px; padding: 16px 18px; color: var(--text-soft); font-size: 14px; margin: 22px 0; }

/* ---------- Animaciones de entrada al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* ---------- Quiz interactivo (estilo 1º sitio) ---------- */
.quiz { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.quiz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 860px; margin: 0 auto; }
.quiz-option {
  display: flex; align-items: center; gap: 16px; width: 100%;
  background: var(--white); border: 2px solid var(--border); border-radius: 16px;
  padding: 18px 20px; cursor: pointer; text-align: left; font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease, background .2s ease;
}
.quiz-option:hover { border-color: var(--yellow-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.quiz-option.selected { border-color: var(--cyan); background: rgba(236, 72, 153, 0.08); box-shadow: 0 0 0 3px rgba(236, 72, 153, .3), var(--shadow); }
.quiz-option .q-ico {
  flex: 0 0 50px; width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(135deg, var(--yellow-light), var(--yellow-2));
  color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(236, 72, 153, .4); transition: transform .2s ease;
}
.quiz-option:hover .q-ico { transform: scale(1.06) rotate(-3deg); }
.quiz-option .q-ico svg { width: 25px; height: 25px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.quiz-option .q-label { font-weight: 700; color: var(--heading); font-size: 16px; }
.quiz-option .q-check {
  margin-left: auto; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--cyan); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 13px; opacity: 0; transform: scale(.4); transition: opacity .2s ease, transform .2s ease;
}
.quiz-option.selected .q-check { opacity: 1; transform: scale(1); }
.quiz-result { max-width: 640px; margin: 28px auto 0; text-align: center; background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 26px 28px; box-shadow: var(--shadow); }
.quiz-result[hidden] { display: none; }
.quiz-result.show { animation: qrUp .5s ease; }
@keyframes qrUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.quiz-result .qr-text { color: var(--text); font-size: 16px; margin-bottom: 18px; }
.quiz-result .qr-text strong { color: var(--heading); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .quiz-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-list { justify-items: start; max-width: 420px; margin-inline: auto; }
  .badge-pill, .trust-mini { margin-inline: auto; justify-content: center; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .learn-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .contact-grid { grid-template-columns: 1fr; }
  .guarantee { flex-direction: column; text-align: center; }
  .header-cta { display: none; }
}
