/* adrcita — landing */

:root {
  --ink: #0d1117;
  --ink-soft: #2b333d;
  --muted: #5b6472;
  --line: #e6e8ec;
  --line-soft: #eef0f3;
  --bg-alt: #f7f8fa;
  --accent: #0570f9;
  --accent-dark: #0453c4;
  --accent-tint: rgba(5,112,249,.08);
  --accent-tint-2: rgba(5,112,249,.14);
  --bad: #b4434f;
  --bad-tint: rgba(180,67,79,.07);
  --good: #1a7f4b;
  --radius: 12px;
  --radius-sm: 8px;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  position: sticky; top: 0;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(8px);
  z-index: 20;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo {
  font-size: 19px; font-weight: 700; letter-spacing: -0.4px;
  color: var(--ink); text-decoration: none;
}
.logo-dot { color: var(--accent); }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
  border: 1.5px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink-soft); border-color: transparent; padding-left: 4px; }
.btn-ghost:hover { color: var(--accent); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-full { width: 100%; text-align: center; }

/* HERO */
.hero { padding: 76px 0 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: .5px; text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-tint);
  padding: 6px 12px; border-radius: 6px;
}
h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 700; line-height: 1.08; letter-spacing: -1.4px;
  color: var(--ink);
}
.accent { color: var(--accent); }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 520px; line-height: 1.65; }
.hero-sub strong { color: var(--ink-soft); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.trust-line {
  font-family: var(--mono);
  font-size: 12.5px; color: var(--muted); letter-spacing: .2px;
  padding-top: 4px;
}

/* DEMO CARD */
.demo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -22px rgba(13,17,23,.28), 0 2px 8px -4px rgba(13,17,23,.10);
  overflow: hidden;
}
.demo-head {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 18px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.demo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #20c360; box-shadow: 0 0 0 3px rgba(32,195,96,.18);
}
.demo-label { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .3px; }
.demo-q { padding: 20px 20px 16px; border-bottom: 1px dashed var(--line); }
.demo-q p {
  font-size: 15.5px; color: var(--ink-soft); line-height: 1.55;
  font-style: italic; margin-top: 8px;
}
.demo-a { padding: 18px 20px 22px; }
.demo-tag {
  display: inline-block; font-family: var(--mono);
  font-size: 11px; font-weight: 500; letter-spacing: .4px; text-transform: uppercase;
  color: var(--muted);
}
.demo-tag-a { color: var(--accent-dark); }
.spec { list-style: none; margin: 14px 0 12px; display: flex; flex-direction: column; gap: 9px; }
.spec li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "k v" "cite cite";
  gap: 2px 10px;
  align-items: baseline;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line-soft);
}
.spec li:last-child { border-bottom: none; padding-bottom: 0; }
.spec-k { grid-area: k; color: var(--muted); font-size: 14px; }
.spec-v { grid-area: v; font-family: var(--mono); font-weight: 600; font-size: 15px; color: var(--ink); }
.cite {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--accent-dark); background: var(--accent-tint);
  padding: 2px 7px; border-radius: 5px; white-space: nowrap;
}
.spec .cite { grid-area: cite; justify-self: start; margin-top: 3px; }
.demo-note { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 6px; }
.demo-note .cite { display: inline-block; margin-top: 4px; }

/* SECTIONS */
.section { padding: 76px 0; }
.bg-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
  font-size: clamp(25px, 3.2vw, 34px);
  font-weight: 700; letter-spacing: -0.7px; line-height: 1.15;
  text-align: center; margin-bottom: 14px; color: var(--ink);
}
.section-sub {
  text-align: center; color: var(--muted); font-size: 17px;
  max-width: 600px; margin: 0 auto; line-height: 1.6;
}

/* COMPARE */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 880px; margin: 44px auto 0;
}
.compare-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; background: #fff; }
.compare-col h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; letter-spacing: -.2px; }
.compare-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.compare-col li { font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); padding-left: 26px; position: relative; }
.compare-bad { background: var(--bad-tint); border-color: rgba(180,67,79,.22); }
.compare-bad h3 { color: var(--bad); }
.compare-bad li::before { content: "✕"; position: absolute; left: 0; color: var(--bad); font-weight: 700; }
.compare-good { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.compare-good h3 { color: var(--accent-dark); }
.compare-good li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 700; }

/* USES */
.uses {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px; margin-top: 44px;
}
.use { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; transition: border-color .15s; }
.use:hover { border-color: var(--accent); }
.use h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--ink); }
.ask {
  display: block; font-family: var(--mono); font-size: 13px; line-height: 1.5;
  color: var(--ink-soft); background: var(--bg-alt);
  border: 1px solid var(--line-soft); border-left: 3px solid var(--accent);
  padding: 11px 13px; border-radius: 6px;
}

/* STEPS */
.steps { display: flex; flex-direction: column; gap: 30px; max-width: 660px; margin: 44px auto 0; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: #fff; font-family: var(--mono);
  font-weight: 600; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.step-body h3 { font-size: 17px; font-weight: 600; margin-bottom: 5px; }
.step-body p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* SOURCES */
.sources { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 8px; }
.source-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; min-width: 210px;
}
.source-item strong { font-size: 16px; }
.source-item span { font-size: 13px; color: var(--muted); }
.sources-note {
  margin: 30px auto 0; text-align: center; color: var(--muted);
  font-size: 15px; max-width: 560px; line-height: 1.6;
}

/* PRICING */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 44px; align-items: start;
}
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.plan-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px; white-space: nowrap; letter-spacing: .2px;
}
.plan-name { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.plan-price { font-size: 42px; font-weight: 700; letter-spacing: -1.5px; margin-bottom: 20px; }
.plan-price span { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-features { list-style: none; margin-bottom: 24px; }
.plan-features li {
  font-size: 14px; color: var(--ink-soft); padding: 8px 0;
  border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: 9px;
}
.plan-features li::before { content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* FAQ */
.faq-list { max-width: 680px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  padding: 17px 20px; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--accent); flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* CTA FINAL */
.cta-section { background: var(--ink); padding: 70px 0; }
.cta-section h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -.7px; }
.cta-section p { color: rgba(255,255,255,.72); margin: 12px auto 28px; font-size: 17px; max-width: 460px; }
.cta-inner { text-align: center; }
.cta-section .btn-primary { background: var(--accent); border-color: var(--accent); }
.cta-section .btn-primary:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-by { font-size: 14px; color: var(--muted); }
.footer-by a { color: var(--ink-soft); text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { padding: 52px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { align-items: flex-start; }
  .hero-sub { max-width: none; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-cta .btn { text-align: center; }
  .btn-ghost { padding: 12px 22px; }
  .compare, .pricing-grid { grid-template-columns: 1fr; }
  .sources { flex-direction: column; align-items: stretch; }
  .spec li { grid-template-columns: 1fr auto; }
}

/* ===== pSEO / páginas de artículo ===== */
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
.nav-link:hover { color: var(--accent); }

.article-wrap { padding: 28px 0 64px; max-width: 760px; }
.crumb { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.crumb a { color: var(--accent-dark); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb span { color: var(--muted); }

.prose { color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; }
.prose h1 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -0.6px; line-height: 1.15; color: var(--ink); margin-bottom: 10px; }
.prose h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; color: var(--ink); margin: 34px 0 12px; }
.prose h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 26px 0 8px; }
.prose p { margin: 14px 0; }
.prose ul, .prose ol { margin: 14px 0 14px 22px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose code { font-family: var(--mono); font-size: 0.88em; background: var(--accent-tint); color: var(--accent-dark); padding: 1px 6px; border-radius: 5px; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 28px 0; }
.prose blockquote { border-left: 3px solid var(--accent); background: var(--bg-alt); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 18px 0; color: var(--muted); font-size: 15.5px; }
.prose blockquote a { color: var(--accent-dark); }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--bg-alt); font-weight: 600; color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .3px; }
.prose tbody tr:hover { background: var(--bg-alt); }

.hub-list { list-style: none; margin: 12px 0 8px; columns: 2; column-gap: 32px; }
.hub-list li { margin: 7px 0; break-inside: avoid; }
.hub-list a { color: var(--accent-dark); text-decoration: none; }
.hub-list a:hover { text-decoration: underline; }

.page-cta { margin-top: 44px; padding: 30px 28px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.page-cta h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.3px; color: var(--ink); margin-bottom: 8px; }
.page-cta p { color: var(--muted); font-size: 15.5px; max-width: 520px; margin: 0 auto 20px; line-height: 1.6; }
.page-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 640px) {
  .hub-list { columns: 1; }
  .page-cta-btns { flex-direction: column; }
}