/* Página Vender por redes (/vender) – diseño mejorado */
.sell-page { background: #fafbfc; }
.sell-hero {
  background: linear-gradient(145deg, #fff 0%, #fef5f6 35%, #fce7eb 70%, #f8fafc 100%);
  border-bottom: 1px solid rgba(225,29,72,.08);
  position: relative;
  overflow: hidden;
}
.sell-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(225,29,72,.06) 0%, transparent 70%);
  pointer-events: none;
}
.sell-hero .container { position: relative; z-index: 1; }
.sell-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: .4rem 1rem;
  background: linear-gradient(135deg, rgba(225,29,72,.14) 0%, rgba(225,29,72,.08) 100%);
  color: var(--brand);
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid rgba(225,29,72,.2);
}
.sell-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.sell-hero-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 520px;
  color: #374151;
}
.sell-hero .btn-primary {
  box-shadow: 0 4px 14px rgba(225,29,72,.35);
  border: none;
}
.sell-hero .btn-primary:hover { box-shadow: 0 6px 20px rgba(225,29,72,.45); }
.sell-hero-visual {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sell-hero-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  background: #fff;
  border: 2px solid rgba(17,24,39,.06);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,.07), 0 0 0 1px rgba(0,0,0,.03);
  font-size: .9rem;
  font-weight: 700;
  color: #111827;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
}
.sell-hero-card i {
  font-size: 2rem;
  margin-bottom: .35rem;
  color: var(--brand);
  display: block;
}
.sell-hero-card--1 { top: 0; left: 8%; animation: sell-float 4s ease-in-out infinite; }
.sell-hero-card--2 { top: 50%; right: 0; transform: translateY(-50%); animation: sell-float 4s ease-in-out infinite .7s; }
.sell-hero-card--3 { bottom: 0; left: 20%; animation: sell-float 4s ease-in-out infinite 1.4s; }
.sell-hero-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0,0,0,.1), 0 0 0 1px rgba(225,29,72,.15);
  border-color: rgba(225,29,72,.2);
}
.sell-hero-card--2:hover { transform: translateY(calc(-50% - 6px)) scale(1.02); }
@keyframes sell-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.sell-hero-card--2 { animation-name: sell-float2; }
@keyframes sell-float2 {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 6px)); }
}

.sell-stats {
  background: #fff;
  padding: 3.5rem 0;
}
.sell-stats h2,
.sell-how h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}
.sell-simulator-card .card-body h2 { font-size: 1.35rem; font-weight: 700; }
.sell-yourcode .card-body h2 { font-size: 1.25rem; }
.sell-cta h2 { font-size: 1.5rem; }
.sell-stat-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: #fff;
  border: 2px solid rgba(17,24,39,.06);
  border-radius: 20px;
  height: 100%;
  transition: border-color .25s, box-shadow .25s, transform .2s;
}
.sell-stat-card:hover {
  border-color: rgba(225,29,72,.18);
  box-shadow: 0 12px 32px rgba(17,24,39,.08);
  transform: translateY(-2px);
}
.sell-stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 1.5rem;
}
.sell-stat-icon--orders { background: rgba(34,197,94,.14); color: #15803d; }
.sell-stat-icon--revenue { background: rgba(59,130,246,.14); color: #1d4ed8; }
.sell-stat-icon--clicks { background: rgba(168,85,247,.14); color: #6d28d9; }
.sell-stat-icon--sellers { background: rgba(225,29,72,.14); color: var(--brand); }
.sell-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: .35rem;
  letter-spacing: -0.02em;
}
.sell-stat-label { font-size: .875rem; color: #6b7280; font-weight: 500; }

.sell-simulator {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 3.5rem 0;
}
.sell-simulator-card {
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(17,24,39,.06);
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
}
.sell-simulator-card .card-body { background: #fff; }
.sell-simulator-result {
  background: linear-gradient(135deg, rgba(225,29,72,.08) 0%, rgba(251,113,133,.05) 100%);
  border: 2px solid rgba(225,29,72,.15);
  border-radius: 16px;
}
.sell-simulator-result #simCommission { color: var(--brand); }

.sell-how {
  background: #fff;
  padding: 4rem 0;
}
.sell-step {
  text-align: center;
  padding: 2rem 1.25rem;
  background: #fff;
  border: 2px solid rgba(17,24,39,.06);
  border-radius: 20px;
  height: 100%;
  position: relative;
  transition: border-color .25s, box-shadow .25s, transform .2s;
}
.sell-step:hover {
  border-color: rgba(225,29,72,.2);
  box-shadow: 0 12px 32px rgba(17,24,39,.06);
  transform: translateY(-3px);
}
.sell-step-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand) 0%, #be123c 100%);
  color: #fff;
  font-size: .875rem;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(225,29,72,.3);
}
.sell-step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(225,29,72,.12) 0%, rgba(251,113,133,.06) 100%);
  border-radius: 18px;
  font-size: 2rem;
  color: var(--brand);
  border: 1px solid rgba(225,29,72,.1);
}
.sell-step h3 { color: #111827; }

.sell-yourcode {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
}
.sell-yourcode .card {
  border-radius: 20px;
  border: 2px solid rgba(17,24,39,.06);
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
}
.sell-code-display { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.sell-code-value {
  font-size: 1.35rem;
  font-weight: 800;
  padding: .6rem 1.25rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px solid rgba(17,24,39,.08);
  border-radius: 12px;
  color: #111827;
  letter-spacing: .03em;
  font-family: ui-monospace, monospace;
}
.sell-yourcode .btn-outline-primary:hover { background: var(--brand); color: #fff; }

.sell-cta {
  background: linear-gradient(145deg, #fff 0%, #fef5f6 50%, #f8fafc 100%);
  padding: 4rem 0;
  border-top: 1px solid rgba(17,24,39,.06);
}
.sell-cta h2 { font-weight: 700; color: #111827; }
.sell-checklist {
  padding-left: 1.5rem;
  margin: 0;
  color: #374151;
  line-height: 2;
  font-size: 1.05rem;
}
.sell-checklist li { margin-bottom: .65rem; }
.sell-checklist a { font-weight: 600; color: var(--brand); }
.sell-checklist a:hover { text-decoration: underline; }
.sell-checklist code {
  font-size: .9em;
  background: rgba(17,24,39,.08);
  padding: .2rem .5rem;
  border-radius: 6px;
  font-weight: 600;
  color: #111827;
}
.sell-cta .btn-primary { box-shadow: 0 4px 14px rgba(225,29,72,.3); }

@media (max-width: 767.98px) {
  .sell-hero-visual { height: 180px; }
  .sell-hero-card { width: 90px; height: 90px; font-size: .8rem; }
  .sell-hero-card i { font-size: 1.5rem; }
  .sell-stat-card { padding: 1.5rem .75rem; }
  .sell-stat-value { font-size: 1.5rem; }
  .sell-step { padding: 1.5rem 1rem; }
  .sell-step-icon { width: 52px; height: 52px; font-size: 1.5rem; }
}
