/* ================================================================
   inzopay — Products Page (Payment Links + Online Store)
   ================================================================ */

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

/* ── hero ── */
.products-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; }
.products-hero h1 { font-size: clamp(30px, 5vw, 54px); font-weight: 800; letter-spacing: -.035em; margin: 0 0 16px; line-height: 1.1; }
.products-hero > p { font-size: 16px; color: var(--ink-500); max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* ── section shared ── */
.prod-section { padding: 80px 0; border-bottom: 1px solid var(--line); }
.prod-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* reverse column order on second section */
.prod-inner.reverse { direction: rtl; }
.prod-inner.reverse > * { direction: ltr; }
html[dir="rtl"] .prod-inner.reverse { direction: ltr; }
html[dir="rtl"] .prod-inner.reverse > * { direction: rtl; }

.prod-text .pg-badge { margin-bottom: 14px; }
.prod-text h2 { font-size: clamp(22px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 14px; line-height: 1.15; }
.prod-text > p { font-size: 15px; color: var(--ink-500); line-height: 1.75; margin: 0 0 24px; }

/* feature list */
.feat-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.feat-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-700); line-height: 1.5; }
.feat-check { width: 18px; height: 18px; border-radius: 50%; background: var(--primary-tint); border: 1px solid var(--primary-edge); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; color: var(--primary); }
.feat-check svg { width: 10px; height: 10px; }

.prod-cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; background: var(--primary); color: #fff; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; transition: opacity .15s; }
.prod-cta-btn:hover { opacity: .88; }
.prod-cta-btn svg { width: 14px; height: 14px; }

/* ── flow diagram ── */
.flow-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: 20px; padding: 32px 20px; }
.flow-diagram { display: grid; grid-template-columns: repeat(4, 1fr); }
.flow-step { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; padding: 0 8px; }
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 21px;
  inset-inline-end: -12px;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-edge), var(--primary));
  opacity: .6;
}
html[dir="rtl"] .flow-step:not(:last-child)::after {
  inset-inline-end: auto;
  inset-inline-start: 100px;
  background: linear-gradient(270deg, var(--primary-edge), var(--primary));
}
.flow-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-tint); border: 1.5px solid var(--primary-edge); display: flex; align-items: center; justify-content: center; color: var(--primary); margin: 0 auto 10px; position: relative; z-index: 1; }
.flow-icon svg { width: 18px; height: 18px; }
.flow-label { font-size: 12px; font-weight: 700; margin-bottom: 3px; line-height: 1.3; }
.flow-sub { font-size: 11px; color: var(--ink-500); line-height: 1.4; }

/* ── store mockup ── */
.mockup-wrap { position: relative; }
.mockup-live-dot { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: var(--primary-tint); border: 1px solid var(--primary-edge); border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--primary); margin-bottom: 12px; }
.mockup-live-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.store-mockup { background: var(--surface); border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 8px 32px color-mix(in oklab, var(--ink-900) 8%, transparent); }
.sm-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.sm-avatar { width: 40px; height: 40px; border-radius: 10px; background: var(--primary); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; font-weight: 800; flex-shrink: 0; font-family: var(--font-en); }
.sm-name { font-size: 14px; font-weight: 700; margin: 0 0 2px; }
.sm-bio { font-size: 12px; color: var(--ink-500); margin: 0; }
.sm-url { padding: 7px 20px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 11px; color: var(--ink-400); font-family: var(--font-en); }
.sm-url b { color: var(--primary); font-weight: 600; }
.sm-services { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.sm-service { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; gap: 10px; }
.sm-service-title { font-size: 13px; font-weight: 600; }
.sm-service-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sm-price { font-size: 12px; font-weight: 700; color: var(--primary); font-family: var(--font-en); }
.sm-pay-btn { padding: 5px 12px; background: var(--primary); color: #fff; border-radius: 6px; font-size: 11px; font-weight: 600; }

/* ── bottom CTA ── */
.prod-cta-section { padding: 80px 24px 100px; text-align: center; }
.prod-cta-section h2 { font-size: clamp(24px, 4vw, 42px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 12px; }
.prod-cta-section p { font-size: 15px; color: var(--ink-500); margin: 0 0 28px; }
.prod-cta-section .prod-cta-btn { font-size: 15px; padding: 13px 28px; }

/* ── responsive ── */
@media (max-width: 768px) {
  .prod-inner,
  .prod-inner.reverse { grid-template-columns: 1fr; gap: 36px; direction: ltr; }
  html[dir="rtl"] .prod-inner,
  html[dir="rtl"] .prod-inner.reverse { direction: rtl; }
  .prod-inner.reverse > *,
  html[dir="rtl"] .prod-inner.reverse > * { direction: inherit; }
  .flow-diagram { grid-template-columns: 1fr 1fr; gap: 20px; }
  .flow-step::after { display: none !important; }
}
