/* ETF Passion Lab — light professional */
:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text: #1a2332;
  --muted: #5c6b82;
  --accent: #2563eb;
  --accent-dim: rgba(37, 99, 235, 0.08);
  --accent2: #059669;
  --accent2-dim: rgba(5, 150, 105, 0.08);
  --border: #dde4ee;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(26, 35, 50, 0.08);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -18%, rgba(37, 99, 235, 0.07), transparent),
    radial-gradient(ellipse 55% 35% at 100% 0%, rgba(5, 150, 105, 0.05), transparent);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 0 rgba(26, 35, 50, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: 960px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--accent); }
.brand-text { white-space: nowrap; }
nav { display: flex; gap: 0.35rem; flex-wrap: wrap; align-items: center; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
nav a:hover { color: var(--text); background: var(--surface-2); }
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: 8px;
  font-weight: 600;
  margin-left: 0.25rem;
}
.nav-cta:hover { background: #1d4ed8 !important; color: #fff !important; }
.site-main { padding: 2.5rem 0 4rem; }
h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--text);
}
h2 {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  font-weight: 600;
  color: var(--text);
}
p, li { color: var(--muted); }
strong { color: var(--text); font-weight: 600; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 38rem; line-height: 1.7; }
.hero { margin-bottom: 2.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent2);
  background: var(--accent2-dim);
  border: 1px solid rgba(5, 150, 105, 0.18);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 0; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.925rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22);
}
.btn-primary:hover { background: #1d4ed8; box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28); }
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent); background: var(--accent-dim); }
.btn-pulse { animation: pulse-cta 2.5s ease-in-out infinite; }
@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22); }
  50% { box-shadow: 0 4px 22px rgba(37, 99, 235, 0.38); }
}
.hero-panel {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 22rem;
  box-shadow: var(--shadow);
}
.score-preview-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.score-bar {
  height: 6px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
}
.score-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.score-preview-value {
  margin-top: 0.65rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.score-preview-value span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-value {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}
.section-head { margin: 2.5rem 0 1.25rem; }
.section-head h2 { font-size: 1.35rem; margin: 0; }
.section-head p { margin: 0.4rem 0 0; font-size: 0.95rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.feature-card p { margin: 0; font-size: 0.9rem; line-height: 1.55; }
.top3-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow);
}
.top3-meta { font-size: 0.85rem; color: var(--muted); margin: 0 0 1rem; }
.top3-list { display: flex; flex-direction: column; gap: 0.85rem; }
.top3-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  background: var(--surface-2);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.top3-rank { font-weight: 700; font-size: 0.9rem; color: var(--accent); }
.top3-label { font-size: 0.9rem; color: var(--text); font-weight: 500; }
.top3-score {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.top3-bar {
  grid-column: 1 / -1;
  height: 4px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.top3-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.top3-empty { color: var(--muted); font-size: 0.95rem; margin: 0; }
.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.channel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow);
}
.channel-card:hover { border-color: rgba(37, 99, 235, 0.2); }
.channel-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}
.channel-free .channel-tag { background: var(--accent-dim); color: var(--accent); }
.channel-premium .channel-tag { background: var(--accent2-dim); color: var(--accent2); }
.channel-card h3 { margin-bottom: 0.5rem; }
.channel-card p { margin: 0 0 1rem; font-size: 0.9rem; }
.channel-card a.channel-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.channel-card a.channel-link:hover { text-decoration: underline; }
.faq-list { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2.5rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-body { padding: 0.85rem 1.15rem 1.1rem; }
.faq-body p { margin: 0; font-size: 0.925rem; line-height: 1.65; }
.cta-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(5, 150, 105, 0.05));
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
}
.cta-banner h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.cta-banner p { margin: 0 0 1.25rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.cta-banner .cta-row { justify-content: center; margin-top: 0; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  margin: 1rem 0;
  box-shadow: var(--shadow);
}
ul, ol { padding-left: 1.25rem; }
ul li, ol li { margin-bottom: 0.35rem; }
a { color: var(--accent); }
a:hover { color: #1d4ed8; }
code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.875em;
  background: var(--surface-2);
  padding: 0.15rem 0.4rem;
  border-radius: 5px;
  color: var(--accent2);
}
.prose strong { color: var(--text); }
.prose p { margin: 0.75rem 0; }
.blog-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.blog-list li {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  transition: padding-left 0.15s;
}
.blog-list li:hover { padding-left: 0.25rem; }
.blog-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.02rem;
}
.blog-list a:hover { color: var(--accent); }
.blog-meta { font-size: 0.85rem; color: var(--muted); margin-top: 0.25rem; }
.prose h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.prose h2:first-of-type { border-top: none; margin-top: 1rem; }
.prose blockquote {
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  background: var(--surface-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
}
.data-table th, .data-table td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.75rem;
  text-align: left;
}
.data-table th { background: var(--surface-2); font-weight: 600; }
.badge-caso {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent2);
  background: rgba(5, 150, 105, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-right: 0.35rem;
}
.badge-guida {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-right: 0.35rem;
}
.guida-index { list-style: none; padding: 0; margin: 1.5rem 0; }
.guida-index li { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.guida-num {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
  min-width: 1.5rem;
}
.serie-nav { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.95rem; }
.serie-nav .muted { color: var(--muted); }
.muted { color: var(--muted); }
.badge-ok { color: var(--accent2); font-weight: 700; }
.badge-soon { color: var(--muted); }
.pillar-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}
.pillar-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  min-width: 8rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.pillar-stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}
.pillar-stat-lbl {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.3;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  font-size: 0.85rem;
  background: var(--surface-2);
}
.footer-legal {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 1rem;
  max-width: 52rem;
}
.footer-links { margin: 0 0 0.5rem; }
.footer-note { margin: 0; font-size: 0.8rem; color: var(--muted); }
.site-footer a { color: var(--accent); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 680px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  nav { width: 100%; }
  .features-grid, .channel-grid, .stats-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: none; }
  .cta-banner { padding: 1.5rem 1.25rem; }
  .top3-row { grid-template-columns: 2.5rem 1fr auto; }
}
