/* ============================================================
   PilotoPasivo - estilos custom sobre Bulma
   Paleta:
     primario  #1E3A8A (azul confianza)
     acento    #10B981 (verde crecimiento)
     oscuro    #0F172A
     claro     #F8FAFC
   Tipografia:
     cuerpo    Inter
     titulos   Plus Jakarta Sans
   ============================================================ */

:root {
  --pp-primary: #1E3A8A;
  --pp-primary-dark: #172a63;
  --pp-accent: #10B981;
  --pp-dark: #0F172A;
  --pp-light: #F8FAFC;
  --pp-grey-dark: #334155;
  --pp-yellow: #F59E0B;
}

/* ----- Tipografia base ----- */
html,
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--pp-dark);
  background-color: #ffffff;
  scroll-behavior: smooth;
}

.title,
.subtitle,
h1,
h2,
h3,
h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  letter-spacing: -0.01em;
}

/* ----- Override de Bulma para color primario ----- */
.button.is-primary,
.tag.is-primary:not(.is-light) {
  background-color: var(--pp-primary);
  border-color: var(--pp-primary);
  color: #fff;
}
.button.is-primary:hover {
  background-color: var(--pp-primary-dark);
  border-color: var(--pp-primary-dark);
  color: #fff;
}
.has-text-primary {
  color: var(--pp-primary) !important;
}
.has-background-primary-light {
  background-color: rgba(30, 58, 138, 0.10) !important;
}
.progress.is-primary::-webkit-progress-value {
  background-color: var(--pp-primary);
}
.progress.is-primary::-moz-progress-bar {
  background-color: var(--pp-primary);
}

.button.is-warning {
  background-color: var(--pp-yellow);
  border-color: var(--pp-yellow);
  color: #fff;
}
.button.is-warning:hover {
  background-color: #d98906;
  border-color: #d98906;
  color: #fff;
}

/* ----- Marca / Logo ----- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pp-primary) 0%, var(--pp-accent) 100%);
  color: #ffffff;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
  transform: rotate(-15deg);
  transition: transform 0.2s ease;
}
.brand:hover .brand-icon {
  transform: rotate(-25deg) scale(1.05);
}
.brand-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--pp-dark);
}
.brand-text strong {
  color: var(--pp-dark);
  font-weight: 800;
}
.brand-accent {
  color: var(--pp-primary);
  font-weight: 700;
}
.brand-icon-footer {
  width: 34px;
  height: 34px;
  font-size: 0.95rem;
}

/* ----- Navbar ----- */
.navbar {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

/* ----- Hero ----- */
.hero-gradient {
  position: relative;
  background: radial-gradient(circle at 20% 20%, #2549a8 0%, var(--pp-primary) 35%, #112055 100%);
  color: #fff;
  overflow: hidden;
}
.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 10%, rgba(16, 185, 129, 0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(245, 158, 11, 0.10), transparent 50%);
  pointer-events: none;
}
.hero-title {
  font-weight: 800;
  line-height: 1.1;
}
.text-accent {
  color: var(--pp-accent);
}
.hero-sub {
  max-width: 560px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: #cbd5e1;
  font-size: 0.95rem;
}
.trust-item .fa-circle-check {
  margin-right: 0.35rem;
}

/* ----- Hero card derecha (cartera modelo) ----- */
.hero-card {
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.hero-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(30, 58, 138, 0.10);
  color: var(--pp-primary);
  font-size: 1.2rem;
}
.allocation .alloc-row {
  display: flex;
  justify-content: space-between;
  margin: 0.4rem 0 0.25rem;
  font-size: 0.92rem;
  color: var(--pp-grey-dark);
}
.alloc-pct {
  font-weight: 600;
  color: var(--pp-dark);
}

/* ----- Beneficios ----- */
.benefit-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
}
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-size: 1.5rem;
}

/* ----- Que recibiras ----- */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  padding: 0.65rem 0;
  font-size: 1.05rem;
  color: var(--pp-grey-dark);
  border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
}
.checklist li i {
  margin-right: 0.6rem;
}
.receive-box {
  border-radius: 16px;
  border: 1px solid rgba(16, 185, 129, 0.20);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

/* ----- Informe PDF ----- */
.section-informe {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.pdf-mockup {
  perspective: 1200px;
}
.pdf-mockup-inner {
  background: linear-gradient(135deg, var(--pp-primary) 0%, #0b1d4f 100%);
  color: #fff;
  border-radius: 14px;
  padding: 2.4rem 1.8rem;
  max-width: 320px;
  margin: 0 auto;
  transform: rotate(-3deg);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.30);
  position: relative;
  overflow: hidden;
}
.pdf-mockup-inner::after {
  content: '';
  position: absolute;
  top: 0;
  right: -20%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.10) 50%, transparent 65%);
}
.pdf-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.pdf-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.pdf-sub {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}
.pdf-meta {
  display: flex;
  gap: 1.2rem;
  font-size: 0.85rem;
  color: #e2e8f0;
}
.pdf-meta i {
  margin-right: 0.3rem;
  color: var(--pp-accent);
}

.price-block {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.price-old {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 1.1rem;
  margin-right: 0.5rem;
}
.price-now {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--pp-dark);
}
.price-tax {
  margin-left: 0.5rem;
}

/* ----- Autor ----- */
.author-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pp-primary) 0%, var(--pp-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}
.avatar-placeholder {
  color: #fff;
  font-size: 3rem;
}

.socials .button {
  border-radius: 999px;
}

/* ----- FAQ ----- */
.faq-item {
  background: #ffffff;
  padding: 1.4rem 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  height: 100%;
}
.faq-item .title.is-5 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

/* ----- CTA final ----- */
.section-cta {
  background: linear-gradient(120deg, var(--pp-primary) 0%, #0b1d4f 100%);
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(16, 185, 129, 0.18), transparent 40%);
}
.section-cta .waitlist-form {
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
}
.waitlist-form .field.has-addons {
  align-items: stretch;
}

/* ----- Footer ----- */
.footer {
  background-color: #f1f5f9;
  padding: 3rem 1.5rem 2rem;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  margin-bottom: 0.4rem;
}
.footer-links a {
  color: var(--pp-grey-dark);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--pp-primary);
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: #fff;
  color: var(--pp-dark);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.footer-socials a:hover {
  background: var(--pp-primary);
  color: #fff;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem !important;
  }
  .pdf-mockup-inner {
    transform: rotate(0deg);
  }
  .price-block {
    justify-content: flex-start;
  }
}


/* ----- Páginas legales / contenido largo ----- */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1rem;
}
.legal-content h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.25rem;
  margin-bottom: 0.25rem;
  color: var(--pp-dark);
}
.legal-content .legal-meta {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
}
.legal-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--pp-primary);
}
.legal-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-content p,
.legal-content li {
  line-height: 1.7;
  color: var(--pp-grey-dark);
}
.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin: 0.75rem 0 1rem;
}
.legal-content li {
  margin-bottom: 0.4rem;
  list-style: disc;
}
.legal-content ol li {
  list-style: decimal;
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}
.legal-content th,
.legal-content td {
  border: 1px solid #e2e8f0;
  padding: 0.6rem 0.75rem;
  text-align: left;
}
.legal-content th {
  background: #f1f5f9;
  font-weight: 600;
}
.legal-content code {
  background: #f1f5f9;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.9em;
}
.legal-content blockquote {
  border-left: 4px solid var(--pp-accent);
  background: #ecfdf5;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  border-radius: 0 8px 8px 0;
}
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  color: var(--pp-primary);
  font-weight: 600;
}
.back-home:hover { color: var(--pp-primary-dark); }
