/* ═══════════════════════════════════════════════════════════════
   FEATURES PAGE — additive layer on top of homepage.css.
   Everything already covered by homepage.css (hero, admin mockup,
   section/label/h2, btn, rule-tree, fvp-table, faq-item, final-cta,
   trust-panel/trust-row, uc-chip, pro-pill) is reused as-is and NOT
   redefined here. This file only adds the components that page
   genuinely needs and homepage.css does not already provide.
   Scoped under .sh-features so nothing here leaks onto other pages.
   ═══════════════════════════════════════════════════════════════ */

/* ── Dark section text colors — homepage.css's .section-h2/.section-label/
   .section-body default to dark-on-light text with no .section--dark
   override of their own; both .sh-stripe and .sh-solutions already carry
   this exact same override (they hit the identical bug), reproduced here
   for the two dark sections on this page (Hold timing, Built for Stripe +
   WooCommerce). Without it the heading is the same color as the section
   background and disappears entirely. ── */
.sh-homepage .sh-features .section--dark .section-h2 { color: #fff; }
.sh-homepage .sh-features .section--dark .section-h2 em { color: #93b4ff; }
.sh-homepage .sh-features .section--dark .section-label { color: rgba(255,255,255,.4); }
.sh-homepage .sh-features .section--dark .section-label-bar { background: rgba(255,255,255,.3); }
.sh-homepage .sh-features .section--dark .section-body { color: rgba(255,255,255,.55); }

/* ── Hero trust strip — drop the middle item on narrow screens so the
   strip does not wrap into a ragged third line (mirrors .sh-stripe). ── */
@media (max-width: 767px) {
  .sh-homepage .sh-features .trust-strip .trust-strip-hide-sm,
  .sh-homepage .sh-features .trust-strip .trust-strip-hide-sm + .trust-strip-dot { display: none; }
}

/* ── Shared two-column layout (rules / capture / customer / stack) ── */
.sh-homepage .sh-features .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 8px; }
@media (max-width: 1023px) { .sh-homepage .sh-features .two-col { grid-template-columns: 1fr; gap: 36px; } }

/* ── 02. Core workflow ────────────────────────────────────────── */
.sh-homepage .sh-features .core-flow { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.sh-homepage .sh-features .core-flow-step {
  flex: 1; min-width: 200px; max-width: 260px; text-align: center;
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 22px 18px;
}
.sh-homepage .sh-features .core-flow-step--brand { border-color: rgba(47,91,255,.3); box-shadow: 0 4px 20px rgba(47,91,255,.08); }
.sh-homepage .sh-features .core-flow-icon { display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.sh-homepage .sh-features .core-flow-label { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 14.5px; color: var(--slate-900); margin-bottom: 6px; }
.sh-homepage .sh-features .core-flow-sub { font-size: 12.5px; line-height: 1.55; color: var(--slate-500); }
.sh-homepage .sh-features .core-flow-arrow { color: var(--slate-300); flex-shrink: 0; }
@media (max-width: 767px) { .sh-homepage .sh-features .core-flow-arrow { transform: rotate(90deg); } }

/* ── 03. Hold timing ──────────────────────────────────────────── */
.sh-homepage .sh-features .timing-origin-wrap { display: flex; flex-direction: column; align-items: center; margin-bottom: 4px; }
.sh-homepage .sh-features .timing-origin { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); padding: 5px 12px; border-radius: 20px; }
.sh-homepage .sh-features .timing-stem { width: 2px; height: 22px; background: rgba(255,255,255,.12); margin-top: 4px; }
.sh-homepage .sh-features .timing-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1023px) { .sh-homepage .sh-features .timing-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .sh-homepage .sh-features .timing-cards { grid-template-columns: 1fr; } }
.sh-homepage .sh-features .timing-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-md);
  padding: 16px 16px 18px;
}
.sh-homepage .sh-features .timing-card--free { border-color: rgba(16,185,129,.3); background: rgba(16,185,129,.06); }
.sh-homepage .sh-features .timing-badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 20px; margin-bottom: 10px; }
.sh-homepage .sh-features .timing-badge--free { background: rgba(16,185,129,.18); color: #34d399; }
.sh-homepage .sh-features .timing-badge--pro  { background: rgba(255,255,255,.1); color: rgba(255,255,255,.6); }
.sh-homepage .sh-features .timing-card-title { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 15px; color: #fff; margin-bottom: 6px; }
.sh-homepage .sh-features .timing-card-desc { font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.55); }
.sh-homepage .sh-features .timing-note { font-size: 13px; color: rgba(255,255,255,.45); text-align: center; margin-top: 28px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ── 04. Deposit rules ────────────────────────────────────────── */
.sh-homepage .sh-features .calc-modes { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.sh-homepage .sh-features .calc-mode { font-size: 13px; line-height: 1.6; color: var(--slate-600); background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 8px; padding: 10px 13px; }
.sh-homepage .sh-features .rules-note { font-size: 12.5px; color: var(--slate-500); margin-top: 14px; }
.sh-homepage .sh-features .sim-card {
  background: var(--slate-900); border-radius: var(--radius-lg); padding: 20px 22px; color: #fff;
  box-shadow: 0 8px 32px rgba(15,23,42,.14);
}
.sh-homepage .sh-features .sim-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.sh-homepage .sh-features .sim-card-title { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 13.5px; }
.sh-homepage .sh-features .sim-row { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; padding: 8px 0; }
.sh-homepage .sh-features .sim-label { color: rgba(255,255,255,.45); }
.sh-homepage .sh-features .sim-value { font-weight: 600; }
.sh-homepage .sh-features .sim-value--brand { color: #7c9bff; }
.sh-homepage .sh-features .sim-arrow { display: flex; justify-content: center; color: rgba(255,255,255,.25); padding: 2px 0; }
.sh-homepage .sh-features .sim-total { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.sh-homepage .sh-features .sim-total b { font-family: 'Inter Tight', sans-serif; font-size: 19px; }

/* ── 05. Release or capture ──────────────────────────────────── */
.sh-homepage .sh-features .cmp-list { display: flex; flex-direction: column; gap: 12px; }
.sh-homepage .sh-features .cmp-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; line-height: 1.6; color: var(--slate-600); }
.sh-homepage .sh-features .cmp-list li svg { flex-shrink: 0; margin-top: 3px; }
.sh-homepage .sh-features .capture-note { font-size: 12.5px; color: var(--slate-500); margin-top: 16px; }
.sh-homepage .sh-features .amount-flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.sh-homepage .sh-features .amount-box { flex: 1; min-width: 130px; text-align: center; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--radius-md); padding: 16px 14px; }
.sh-homepage .sh-features .amount-box--capture { background: var(--brand-light); border-color: rgba(47,91,255,.25); }
.sh-homepage .sh-features .amount-box--release { background: #f0fdf4; border-color: rgba(21,128,61,.2); }
.sh-homepage .sh-features .amount-box-label { display: block; font-size: 11.5px; color: var(--slate-500); margin-bottom: 6px; }
.sh-homepage .sh-features .amount-box-value { display: block; font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 18px; color: var(--slate-900); }
.sh-homepage .sh-features .amount-flow-arrow { color: var(--slate-300); flex-shrink: 0; }
@media (max-width: 480px) { .sh-homepage .sh-features .amount-flow-arrow { transform: rotate(90deg); } }

/* ── 06/07/08 Screenshot frame — mirrors solutions-shared.css .shot
   (that stylesheet is not loaded on this page, so the small block is
   reproduced here rather than pulling in the whole solutions layer) ── */
.sh-homepage .sh-features .shot { margin-top: 8px; }
.sh-homepage .sh-features .shot-frame { background: var(--slate-800); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 0 0 1px rgba(15,23,42,.08), 0 16px 48px rgba(15,23,42,.12); }
.sh-homepage .sh-features .shot-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #293548; border-bottom: 1px solid rgba(255,255,255,.06); }
.sh-homepage .sh-features .shot-bar-title { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(255,255,255,.4); }
.sh-homepage .sh-features .shot-slot { background: var(--slate-100); aspect-ratio: 16 / 9; }
.sh-homepage .sh-features .shot-slot--wide { aspect-ratio: 16 / 8; }
.sh-homepage .sh-features .shot-slot--tall { aspect-ratio: 3 / 4; }
/* Matches the real Deposit Details screenshot's own proportions (1546x1600) —
   noticeably taller than the other two shots, since it carries the full
   status card, Payment Details, Customer and Activity Timeline in one frame. */
.sh-homepage .sh-features .shot-slot--deposit { aspect-ratio: 1546 / 1600; }
@media (max-width: 767px) { .sh-homepage .sh-features .shot-slot { aspect-ratio: 4 / 3; } }
.sh-homepage .sh-features .shot-slot--placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1.5px dashed var(--slate-300); border-radius: var(--radius-lg);
  padding: 20px;
}
.sh-homepage .sh-features .shot-slot-placeholder-text { font-size: 12.5px; line-height: 1.5; color: var(--slate-500); max-width: 40em; }
.sh-homepage .sh-features .shot-slot img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.sh-homepage .sh-features .shot-caption { font-size: 12.5px; line-height: 1.6; color: var(--slate-400); margin-top: 12px; text-align: center; }

/* ── 07. Customer experience ─────────────────────────────────── */
.sh-homepage .sh-features .cx-list { border: 1px solid var(--slate-200); border-radius: var(--radius-xl); overflow: hidden; margin-top: 20px; background: #fff; }

/* ── 08. Built for Stripe + WooCommerce ──────────────────────── */
.sh-homepage .sh-features .tech-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 4px; }
.sh-homepage .sh-features .tech-badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600;
  color: rgba(255,255,255,.75); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  padding: 7px 13px; border-radius: 20px;
}
.sh-homepage .sh-features .tech-badge svg { color: #34d399; flex-shrink: 0; }
.sh-homepage .sh-features .tech-note { font-size: 13px; color: rgba(255,255,255,.45); margin-top: 18px; }

/* ── 09. Free vs Pro — mirrors .sh-stripe .fvp-condensed / .fvp-footnote ── */
.sh-homepage .sh-features .fvp-condensed { max-width: 1000px; margin: 0 auto; }
.sh-homepage .sh-features .fvp-condensed .fvp-table-wrap { margin-bottom: 24px; }
.sh-homepage .sh-features .fvp-condensed .fvp-table { min-width: 0; }
.sh-homepage .sh-features .fvp-footnote { font-size: 12.5px; color: var(--slate-400); text-align: center; margin-top: 18px; }
/* tbody row headers (<th scope="row">) need their own rules — homepage.css's
   .fvp-table tbody styling only targets <td>, and .sh-stripe already carries
   its own th[scope="row"] rules that are not global. Mirrors that pattern. */
.sh-homepage .sh-features .fvp-table th[scope="row"] { text-align: left; font-size: 13.5px; font-weight: 500; color: var(--slate-700); background: transparent; padding: 11px 20px; border-bottom: 1px solid var(--slate-100); }
.sh-homepage .sh-features .fvp-table tbody tr.data-row:last-child th[scope="row"] { border-bottom: none; }
.sh-homepage .sh-features .fvp-table tbody tr.data-row.pro-only th[scope="row"] { background: rgba(238,244,255,.5); }
