/* ================================================================
   inzopay — Payouts Feature Page
   ================================================================ */

.payouts-page { min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); }

/* ── hero ── */
.payouts-hero { text-align: center; padding: 80px 24px 64px; border-bottom: 1px solid var(--line); }
.pg-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; background: var(--primary-tint); border: 1px solid var(--primary-edge); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--primary); margin-bottom: 20px; }
.payouts-hero h1 { font-size: clamp(30px, 5vw, 54px); font-weight: 800; letter-spacing: -.035em; margin: 0 0 16px; line-height: 1.1; }
.payouts-hero > p { font-size: 16px; color: var(--ink-500); max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* ── shared section ── */
.pay-section { padding: 80px 0; border-bottom: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 48px; padding: 0 24px; }
.section-head h2 { font-size: clamp(22px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; margin: 10px 0 0; }

/* ── flow diagram ── */
.payout-flow { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 900px; margin: 0 auto; padding: 0 24px; }
.pf-step { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; padding: 0 12px; }
.pf-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 27.5px;
  inset-inline-end: -4px;
  width: 8px; height: 8px;
  border-top: 2px solid var(--primary);
  border-inline-end: 2px solid var(--primary);
  transform: rotate(45deg);
}
html[dir="rtl"] .pf-step:not(:last-child)::after {
  inset-inline-end: auto;
  inset-inline-start: 227px;
  transform: rotate(-46deg);
}
.pf-step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 31px;
  inset-inline-end: 0;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-edge), var(--primary));
}
html[dir="rtl"] .pf-step:not(:last-child)::before {
  inset-inline-end: auto;
  inset-inline-start: 132px;
  background: linear-gradient(270deg, var(--primary-edge), var(--primary));
}
.pf-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--primary-tint); border: 2px solid var(--primary-edge); display: flex; align-items: center; justify-content: center; color: var(--primary); margin: 0 auto 12px; position: relative; z-index: 1; }
.pf-icon svg { width: 24px; height: 24px; }
.pf-label { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.pf-sub { font-size: 11.5px; color: var(--ink-500); line-height: 1.4; }

/* ── methods ── */
.methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; padding: 0 24px; }
.method-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 20px; display: flex; align-items: center; gap: 14px; transition: box-shadow .18s, transform .18s; }
.method-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.method-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.method-info { flex: 1; min-width: 0; }
.method-name { font-size: 14px; font-weight: 700; margin: 0 0 3px; }
.method-tag { font-size: 11.5px; color: var(--ink-500); }
.method-type { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; flex-shrink: 0; }
.method-type.crypto { background: #ede9fe; color: #6d28d9; }
.method-type.local  { background: #fef3c7; color: #92400e; }
html[data-theme="dark"] .method-type.crypto { background: #2e1065; color: #c4b5fd; }
html[data-theme="dark"] .method-type.local  { background: #451a03; color: #fcd34d; }

/* ── schedule ── */
.schedule-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.schedule-text h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; margin: 12px 0 14px; line-height: 1.2; }
.schedule-text p { font-size: 15px; color: var(--ink-500); line-height: 1.75; margin: 0; }
.schedule-visual { display: flex; flex-direction: column; gap: 10px; }
.sched-opt { background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; transition: border-color .15s; }
.sched-opt.active { border-color: var(--primary); background: var(--primary-tint); }
.sched-radio { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.sched-opt.active .sched-radio { border-color: var(--primary); background: var(--primary); }
.sched-opt.active .sched-radio::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.sched-label { font-size: 14px; font-weight: 600; }
.sched-desc  { font-size: 12px; color: var(--ink-500); margin-inline-start: auto; }

/* ── CTA ── */
.page-cta { padding: 80px 24px 100px; text-align: center; }
.page-cta h2 { font-size: clamp(24px, 4vw, 40px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 12px; }
.page-cta p { font-size: 15px; color: var(--ink-500); margin: 0 0 28px; }
.page-cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; background: var(--primary); color: #fff; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; transition: opacity .15s; }
.page-cta-btn:hover { opacity: .88; }
.page-cta-btn svg { width: 14px; height: 14px; }

/* ── responsive ── */
@media (max-width: 768px) {
  .payout-flow   { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pf-step::before, .pf-step::after { display: none !important; }
  .methods-grid  { grid-template-columns: 1fr 1fr; }
  .schedule-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .methods-grid { grid-template-columns: 1fr; }
}
