/* pymo Pagos product landing */

:root {
  --pp-blue: #4346da;
  --pp-blue-dark: #2d2fa6;
  --pp-dark: #0c0033;
  --pp-night: #12103a;
  --pp-green: #00ed90;
  --pp-soft: #f4f8ff;
  --pp-muted: #536172;
  --pp-border: rgba(67, 70, 218, 0.14);
}

body.pp-page {
  background: #fff;
  color: var(--pp-dark);
  font-family: 'Work Sans', Arial, sans-serif;
}

/* ---------- Hero ---------- */
.pp-hero {
  margin-top: 75px;
  background:
    radial-gradient(1100px 480px at 85% -8%, rgba(0, 237, 144, 0.16), transparent 60%),
    linear-gradient(160deg, var(--pp-blue) 0%, var(--pp-blue-dark) 55%, var(--pp-night) 100%);
  color: #fff;
  padding: 72px 20px 80px;
}

.pp-hero-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.pp-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 237, 144, 0.16);
  color: var(--pp-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pp-hero h1 {
  font-family: 'Montserrat', 'Work Sans', Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.1;
  color: #fff;
  margin: 0 0 18px;
}

.pp-hero h1 span {
  color: var(--pp-green);
}

.pp-hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 28px;
  max-width: 700px;
}

.pp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.pp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.pp-btn:hover,
.pp-btn:focus {
  transform: translateY(-2px);
}

.pp-btn-primary {
  background: var(--pp-green);
  color: var(--pp-dark) !important;
  box-shadow: 0 8px 24px rgba(0, 237, 144, 0.3);
}

.pp-btn-secondary {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4);
}

.pp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.pp-btn-outline-dark {
  background: transparent;
  color: var(--pp-blue) !important;
  border-color: rgba(67, 70, 218, 0.35);
}

.pp-btn-outline-dark:hover {
  background: rgba(67, 70, 218, 0.06);
}

/* ---------- Section base ---------- */
.pp-section {
  padding: 72px 20px;
}

.pp-section.alt {
  background: var(--pp-soft);
}

.pp-section.dark {
  background: linear-gradient(160deg, var(--pp-night) 0%, #1a1750 100%);
  color: #fff;
}

.pp-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.pp-eyebrow {
  display: inline-block;
  color: var(--pp-blue);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pp-section.dark .pp-eyebrow {
  color: var(--pp-green);
}

.pp-section-head h2 {
  font-family: 'Montserrat', 'Work Sans', Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 38px);
  color: var(--pp-dark);
  margin: 0 0 14px;
  line-height: 1.15;
}

.pp-section.dark .pp-section-head h2 {
  color: #fff;
}

.pp-section-head p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--pp-muted);
  margin: 0;
}

.pp-section.dark .pp-section-head p {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Methods grid ---------- */
.pp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.pp-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1100px;
}

.pp-card {
  background: #fff;
  border: 1px solid var(--pp-border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pp-card-featured {
  border-color: rgba(0, 237, 144, 0.45);
  box-shadow: 0 12px 32px rgba(0, 237, 144, 0.12);
}

.pp-card-featured .pp-icon {
  background: rgba(0, 237, 144, 0.16);
  color: #009e68;
}

.pp-card-muted {
  opacity: 0.72;
  background: #fafbfd;
}

.pp-card a {
  color: var(--pp-blue);
  font-weight: 700;
  text-decoration: none;
}

.pp-card a:hover,
.pp-card a:focus {
  text-decoration: underline;
}

.pp-section.dark .pp-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.pp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(12, 0, 51, 0.1);
}

.pp-card .pp-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(67, 70, 218, 0.1);
  color: var(--pp-blue);
  font-size: 20px;
  margin-bottom: 16px;
}

.pp-section.dark .pp-card .pp-icon {
  background: rgba(0, 237, 144, 0.14);
  color: var(--pp-green);
}

.pp-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--pp-dark);
}

.pp-section.dark .pp-card h3 {
  color: #fff;
}

.pp-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--pp-muted);
  margin: 0;
}

.pp-section.dark .pp-card p {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Control split ---------- */
.pp-split {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.pp-split h2 {
  font-family: 'Montserrat', 'Work Sans', Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--pp-dark);
  margin: 0 0 14px;
  line-height: 1.15;
}

.pp-split > div > p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--pp-muted);
  margin: 0 0 20px;
}

.pp-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pp-checklist li {
  position: relative;
  padding: 10px 0 10px 36px;
  font-size: 16px;
  color: var(--pp-dark);
  font-weight: 600;
}

.pp-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 237, 144, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a86b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.pp-panel {
  background: linear-gradient(160deg, var(--pp-blue) 0%, var(--pp-night) 100%);
  border-radius: 20px;
  padding: 28px;
  color: #fff;
  box-shadow: 0 24px 60px rgba(12, 0, 51, 0.22);
}

.pp-panel-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.pp-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 16px;
  flex: 1;
}

.pp-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--pp-green);
  margin-bottom: 2px;
}

.pp-stat span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.pp-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  margin-top: 8px;
}

.pp-bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: rgba(255, 255, 255, 0.2);
}

.pp-bars span:nth-child(1) { height: 45%; }
.pp-bars span:nth-child(2) { height: 70%; background: rgba(0, 237, 144, 0.55); }
.pp-bars span:nth-child(3) { height: 55%; }
.pp-bars span:nth-child(4) { height: 88%; background: rgba(0, 237, 144, 0.75); }
.pp-bars span:nth-child(5) { height: 62%; }

/* ---------- Pricing (expandable plans) ---------- */
.pp-plans {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pp-plan-callout {
  background: linear-gradient(160deg, var(--pp-night) 0%, var(--pp-blue-dark) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pp-plan-callout strong {
  font-size: 18px;
  font-weight: 800;
}

.pp-plan-callout span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.5;
}

.pp-details {
  background: #fff;
  border: 1px solid var(--pp-border);
  border-radius: 14px;
  overflow: hidden;
}

.pp-details summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 800;
  font-size: 16px;
  color: var(--pp-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

.pp-details summary::-webkit-details-marker {
  display: none;
}

.pp-details summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 700;
  color: var(--pp-blue);
  line-height: 1;
}

.pp-details[open] summary::after {
  content: '−';
}

.pp-details-body {
  padding: 0 22px 22px;
  border-top: 1px solid var(--pp-border);
}

.pp-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
}

.pp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}

.pp-table th,
.pp-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(12, 0, 51, 0.08);
  vertical-align: top;
}

.pp-table th {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pp-muted);
}

.pp-table td {
  color: var(--pp-dark);
}

.pp-table tbody tr:last-child td {
  border-bottom: none;
}

.pp-note {
  margin: 16px 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--pp-muted);
}

.pp-checklist-compact li {
  font-size: 14px;
  font-weight: 500;
  color: var(--pp-muted);
}

.pp-checklist-compact li strong {
  color: var(--pp-dark);
  font-weight: 700;
}

.pp-fineprint {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #7a8794;
}

/* ---------- Steps ---------- */
.pp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
  counter-reset: ppstep;
}

.pp-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--pp-border);
  border-radius: 16px;
  padding: 36px 22px 24px;
}

.pp-step::before {
  counter-increment: ppstep;
  content: counter(ppstep, decimal-leading-zero);
  position: absolute;
  top: -16px;
  left: 22px;
  min-width: 40px;
  height: 36px;
  padding: 0 8px;
  border-radius: 10px;
  background: var(--pp-blue);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(67, 70, 218, 0.35);
}

.pp-step h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 8px 0;
  color: var(--pp-dark);
}

.pp-step p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--pp-muted);
  margin: 0;
}

/* ---------- Benefits ---------- */
.pp-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.pp-benefit {
  background: #fff;
  border: 1px solid var(--pp-border);
  border-radius: 16px;
  padding: 28px 24px;
}

.pp-benefit h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--pp-dark);
}

.pp-benefit p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--pp-muted);
  margin: 0;
}

.pp-benefit .pp-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(67, 70, 218, 0.1);
  color: var(--pp-blue);
  font-size: 18px;
  margin-bottom: 14px;
}

/* ---------- Audience ---------- */
.pp-audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* ---------- Highlight / Estado de cuenta ---------- */
.pp-highlight {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(160deg, var(--pp-night) 0%, var(--pp-blue-dark) 100%);
  border-radius: 20px;
  padding: 44px 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.pp-highlight h2 {
  font-family: 'Montserrat', 'Work Sans', Arial, sans-serif;
  font-weight: 800;
  font-size: 26px;
  margin: 0 0 8px;
}

.pp-highlight p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.55;
  max-width: 520px;
}

/* ---------- Final CTA ---------- */
.pp-final {
  background: linear-gradient(160deg, var(--pp-blue) 0%, var(--pp-blue-dark) 60%, var(--pp-night) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.pp-final h2 {
  font-family: 'Montserrat', 'Work Sans', Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 40px);
  margin: 0 0 14px;
}

.pp-final p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

.pp-final .pp-actions {
  justify-content: center;
}

.pp-final-note {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.pp-final-note a {
  color: var(--pp-green);
  text-decoration: none;
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pp-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .pp-grid,
  .pp-audience { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .pp-split { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .pp-hero { padding: 52px 20px 64px; }
  .pp-grid,
  .pp-grid-4,
  .pp-benefits,
  .pp-audience,
  .pp-steps { grid-template-columns: 1fr; }
  .pp-steps { row-gap: 34px; }
  .pp-highlight { padding: 32px 24px; }
  .pp-actions { width: 100%; }
  .pp-btn { flex: 1; justify-content: center; }
  .pp-details summary { font-size: 15px; padding: 16px 18px; }
  .pp-details-body { padding: 0 18px 18px; }
}
