/* ============================================
   landing.css — Secciones del index
   Afecta: pasos, para quién, precios, footer
   ============================================ */

/* Preview del hero */
.hero-preview {
  position: relative; z-index: 1;
  margin-top: 64px; width: 100%; max-width: 860px;
  animation: fadeUp 0.6s 0.4s ease both;
}
.preview-frame {
  background: white;
  border: 3px solid var(--border-soft);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 32px 80px rgba(255,107,53,0.1), var(--shadow-sm);
}
.preview-bar {
  background: #f3f3f1; padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 2px solid rgba(0,0,0,0.05);
}
.win-btn { width: 12px; height: 12px; border-radius: 50%; }
.win-red   { background: #ff5f57; }
.win-yellow{ background: #febc2e; }
.win-green { background: #28c840; }
.win-url {
  flex: 1; background: white; border-radius: 6px;
  padding: 5px 12px; font-size: 12px; color: var(--muted);
  font-family: 'Nunito', sans-serif; font-weight: 600; margin-left: 8px;
}
.preview-inner { display: grid; grid-template-columns: 200px 1fr; height: 280px; }
.prev-sidebar {
  background: #FFF8F5; border-right: 2px solid rgba(255,107,53,0.1);
  padding: 14px; display: flex; flex-direction: column; gap: 10px;
}
.prev-chat-msg {
  background: white; border: 2px solid rgba(0,0,0,0.06);
  border-radius: 6px 14px 14px 14px;
  padding: 8px 11px; font-size: 12px; color: var(--texto);
  line-height: 1.4; font-weight: 500;
}
.prev-chat-msg.user {
  background: var(--naranja); color: white; border: none;
  border-radius: 14px 6px 14px 14px; align-self: flex-end;
}
.prev-input {
  margin-top: auto; background: white;
  border: 2px solid rgba(255,107,53,0.2);
  border-radius: 10px; padding: 7px 10px;
  font-size: 11px; color: var(--muted); font-weight: 600;
}
.prev-editor {
  font-family: 'Courier New', monospace; font-size: 11.5px;
  padding: 14px 16px; overflow: hidden;
  line-height: 1.8; background: #0d1117; color: #e6edf3;
}
.prev-editor .pk { color: #ff7b72; }
.prev-editor .pa { color: #79c0ff; }
.prev-editor .ps { color: #a5d6ff; }
.prev-editor .pt { color: #7ee787; }
.prev-editor .pc { color: #8b949e; font-style: italic; }

/* Secciones generales */
.section-wrap {
  position: relative; z-index: 1;
  max-width: 960px; margin: 100px auto;
  padding: 0 24px;
}
.section-label {
  font-size: 12px; font-weight: 800;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--naranja); margin-bottom: 12px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900; letter-spacing: -1px;
  color: var(--texto); margin-bottom: 48px;
}

/* Pasos */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.step-card {
  background: white; border: 2px solid transparent;
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: all 0.25s; position: relative; overflow: hidden;
}
.step-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.step-card.c1::before { background: var(--naranja); }
.step-card.c2::before { background: var(--verde); }
.step-card.c3::before { background: var(--amarillo); }
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,0,0,0.06);
  box-shadow: var(--shadow-md);
}
.step-num {
  font-family: 'Fraunces', serif; font-size: 48px;
  font-weight: 900; opacity: 0.08;
  position: absolute; top: 16px; right: 20px; line-height: 1;
}
.step-icon { font-size: 36px; margin-bottom: 16px; display: block; }
.step-title {
  font-family: 'Fraunces', serif; font-size: 20px;
  font-weight: 700; color: var(--texto); margin-bottom: 10px;
}
.step-desc { font-size: 15px; color: var(--muted); line-height: 1.6; font-weight: 500; }

/* Para quién */
.forquien-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.fq-card {
  background: white; border-radius: var(--radius-lg);
  padding: 28px 24px; text-align: center;
  border: 2px solid transparent; transition: all 0.2s;
}
.fq-card:hover { border-color: var(--naranja); transform: translateY(-3px); }
.fq-emoji { font-size: 48px; margin-bottom: 14px; display: block; }
.fq-title {
  font-family: 'Fraunces', serif; font-size: 18px;
  font-weight: 700; color: var(--texto); margin-bottom: 8px;
}
.fq-desc { font-size: 14px; color: var(--muted); line-height: 1.5; font-weight: 500; }

/* Precios */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.price-card {
  background: white; border: 2px solid var(--border-soft);
  border-radius: var(--radius-xl); padding: 36px 30px;
  position: relative; transition: all 0.2s;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--naranja); border-width: 3px; }
.featured-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--naranja); color: white;
  font-size: 12px; font-weight: 800;
  padding: 5px 16px; border-radius: var(--radius-pill); white-space: nowrap;
}
.price-name {
  font-size: 13px; font-weight: 800; color: var(--muted);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px;
}
.price-amount {
  font-family: 'Fraunces', serif; font-size: 52px;
  font-weight: 900; color: var(--texto);
  letter-spacing: -2px; line-height: 1;
}
.price-amount span {
  font-size: 18px; font-weight: 600; color: var(--muted);
  letter-spacing: 0; font-family: 'Nunito', sans-serif;
}
.price-desc {
  font-size: 14px; color: var(--muted);
  margin-top: 8px; margin-bottom: 28px;
  font-weight: 500; line-height: 1.5;
}
.price-features {
  list-style: none; display: flex;
  flex-direction: column; gap: 12px; margin-bottom: 32px;
}
.price-features li {
  font-size: 14px; color: var(--texto);
  display: flex; align-items: center; gap: 10px; font-weight: 600;
}
.price-features li::before {
  content: '✓'; width: 20px; height: 20px; border-radius: 50%;
  background: var(--verde-light); color: var(--verde);
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.btn-plan {
  width: 100%; padding: 14px; border-radius: var(--radius-pill);
  font-family: 'Nunito', sans-serif; font-size: 15px;
  font-weight: 800; cursor: pointer; transition: all 0.2s;
}
.btn-plan-outline {
  background: transparent; border: 2px solid rgba(0,0,0,0.12); color: var(--texto);
}
.btn-plan-outline:hover { border-color: var(--naranja); color: var(--naranja); }
.btn-plan-solid {
  background: var(--naranja); border: none; color: white;
  box-shadow: var(--shadow-naranja);
}
.btn-plan-solid:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,0.4); }
.bizum-note {
  text-align: center; margin-top: 24px;
  font-size: 14px; color: var(--muted); font-weight: 600;
}
.bizum-note strong { color: var(--naranja); }

/* Footer */
footer {
  position: relative; z-index: 1;
  border-top: 2px solid var(--border);
  padding: 36px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: white;
}
.footer-logo {
  font-family: 'Fraunces', serif; font-weight: 900;
  font-size: 18px; color: var(--texto);
  display: flex; align-items: center; gap: 8px;
}
.footer-logo em { color: var(--naranja); font-style: normal; }
.footer-copy { font-size: 13px; color: var(--muted); font-weight: 600; }

@media (max-width: 600px) {
  footer { flex-direction: column; gap: 12px; text-align: center; }
}
