/* ============================================================
   getflash.io — Homepage Styles
   Lori / Flash Design System / 2026-03-03
   ============================================================ */

/* ── Design Tokens — LIGHT MODE by default, hero stays dark via section override ── */
body.home-page {
  --bg:             #FFFFFF;
  --surface-1:      #F5F6FA;
  --surface-2:      #ECEEF5;
  --surface-3:      #E2E4EE;
  --border:         #DDE0EE;
  --border-subtle:  #ECEEF5;

  --text-1:         #111218;
  --text-2:         #5C5F7A;
  --text-3:         #9497B4;

  --green:          #3AB54A;
  --green-dim:      rgba(58, 181, 74, 0.10);
  --green-glow:     rgba(58, 181, 74, 0.20);
  --orange:         #D97706;
  --orange-dim:     rgba(217, 119, 6, 0.10);
  --red-dim:        rgba(220, 60, 60, 0.10);
  --red:            #DC3C3C;

  /* Hero-specific dark tokens — applied via #pg-hero override below */
  --hero-bg:        #09090E;
  --hero-surface:   #111218;
  --hero-text-1:    #F0F0F6;
  --hero-text-2:    #9497B4;

  --font-display:   "Sora", sans-serif;
  --font-body:      "Inter", sans-serif;

  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-xl:      32px;

  --shadow-card:    0 1px 3px rgba(0,0,0,0.4), 0 8px 32px rgba(0,0,0,0.3);
  --shadow-glow:    0 0 60px rgba(58, 181, 74, 0.15);

  --max-w:          1140px;
  --section-gap:    120px;
}

/* ── Font Import ────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Reset & Base ───────────────────────────────────────────── */
.home-page * {
  box-sizing: border-box;
}

.home-page {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.home-page a {
  text-decoration: none;
  color: inherit;
}

.home-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Shared Section Styles ──────────────────────────────────── */
.home-section {
  padding: var(--section-gap) 0;
}

.home-section-sm {
  padding: 72px 0;
}

/* ── Section eyebrow — no pill, no chip, no AI template ── */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C47A00;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 9px;
}

/* Jamaican flag gradient underline: green → gold */
.section-eyebrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, #41AD49 0%, #F5A623 100%);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-1);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.65;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  white-space: nowrap;
}

.btn-primary:hover {
  background: #44c955;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(58, 181, 74, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-1);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--text-2);
  background: rgba(255,255,255,0.04);
}

/* On the dark hero, btn-secondary border must be visibly light */
#pg-hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(240, 240, 246, 0.85);
}
#pg-hero .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
  color: #F0F0F6;
}

.btn-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dim);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid rgba(58, 181, 74, 0.2);
  cursor: pointer;
  transition: background 120ms ease;
  white-space: nowrap;
}

.btn-soft:hover {
  background: rgba(58, 181, 74, 0.2);
}

/* ── ① HERO — forced dark regardless of page theme ──────────── */
#pg-hero {
  --bg:        #09090E;
  --surface-1: #111218;
  --surface-2: #181921;
  --border:    #1E2030;
  --text-1:    #F0F0F6;
  --text-2:    #9497B4;
  --text-3:    #5C5F7A;
  --green-dim: rgba(58, 181, 74, 0.12);
  background: var(--bg);
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 0;
}

/* Legacy canvas — hidden; lightning-svg (injected by lightning.js) handles display */
#lightning-storm { display: none; }

/* SVG lightning container */
#lightning-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Gradient overlay — ensures text is always readable over the Kingston skyline */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(9,9,14,0.92) 0%, rgba(9,9,14,0.75) 45%, rgba(9,9,14,0.15) 100%),
    radial-gradient(ellipse at top left, rgba(58,181,74,0.1) 0%, transparent 55%);
  z-index: 1;
}

.hero-city {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  opacity: 0.6;
  z-index: 0;
}

.hero-body {
  position: relative;
  z-index: 2;
}

/* canvas + .hero-bg are preceding DOM siblings (display:none / position:absolute),
   making .hero-body match section > * + * and inherit 120px. Zero it out.
   #pg-hero .hero-body has specificity (1,1,0) > the global rule's (0,1,1) */
#pg-hero .hero-body {
  padding-top: 0;
}

.hero-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100svh - 96px);
  padding-bottom: 80px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Hero badge — no pill, just a warm statement ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  width: fit-content;
}

.hero-badge-flag {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.hero-badge-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: rgba(240, 240, 246, 0.92);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 5px;
}

.hero-badge-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #41AD49, #F5A623, transparent);
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-1);
  margin-bottom: 20px;
}

.hero-h1 em {
  font-style: normal;
  color: var(--green);
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  color: #C8CADC;
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 480px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Hero phone */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.hero-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone-glow {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(58,181,74,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-phone {
  max-height: 600px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.6));
}

/* ── ② THREE WAYS ───────────────────────────────────────────── */
#pg-ways {
  background: var(--bg);
  border-top: 1px solid var(--border-subtle);
}

.ways-header {
  text-align: center;
  margin-bottom: 56px;
}

.ways-header .section-eyebrow {
  display: block;
  text-align: center;
}

.ways-header .section-eyebrow::after {
  left: 50%;
  transform: translateX(-50%);
}

.ways-header .section-subtitle {
  margin: 0 auto;
  text-align: center;
}

.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.way-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
  position: relative;
  overflow: hidden;
  /* Elevation: surface-1 is very close to white bg — shadow separates the card */
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

.way-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58,181,74,0.3), transparent);
  opacity: 0;
  transition: opacity 200ms ease;
}

.way-card:hover {
  border-color: rgba(58,181,74,0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
}

.way-card:hover::before {
  opacity: 1;
}

.way-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--green-dim);
  border: 1px solid rgba(58,181,74,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--green);
  flex-shrink: 0;
}

.way-icon svg {
  width: 24px;
  height: 24px;
}

.way-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}

.way-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 12px;
  line-height: 1.2;
}

.way-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 28px;
  flex: 1;
}

.way-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.way-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-2);
}

.way-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* Buy card — soft CTA treatment */
.way-card.way-buy .way-cta-note {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 8px;
}

/* ── Send Money Home card — featured treatment ── */
.way-card.way-send {
  border-top: 3px solid #3AB54A;
  background: linear-gradient(160deg, #ffffff 0%, #F0FAF2 100%);
}
.way-icon--send {
  background: linear-gradient(135deg, rgba(58,181,74,0.15), rgba(58,181,74,0.05));
  border-color: rgba(58,181,74,0.3);
}
.way-icon--send svg {
  stroke: #3AB54A;
}

/* Big "$0 fee" stat inside the send card */
.way-stat-highlight {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 12px 0;
  padding: 12px 16px;
  background: rgba(58,181,74,0.08);
  border-left: 3px solid #3AB54A;
  border-radius: 0 6px 6px 0;
}
.way-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: #3AB54A;
  line-height: 1;
}
.way-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.3;
}

/* ── ③ REMITTANCE ───────────────────────────────────────────── */
#pg-remittance {
  background: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.remittance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.remittance-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.remittance-left .section-subtitle {
  margin-bottom: 40px;
}

.fee-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 32px;
}

.fee-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.fee-row:last-child {
  border-bottom: none;
}

.fee-row-label {
  font-size: 14px;
  color: var(--text-2);
}

.fee-row-label strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 2px;
}

.fee-row-value {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.fee-row-value.is-green {
  color: var(--green);
}

.fee-row-value.is-muted {
  color: var(--text-3);
  font-size: 13px;
  font-weight: 500;
}

.fee-row.is-highlight {
  background: var(--green-dim);
}

.fee-row.is-highlight .fee-row-label strong {
  color: var(--green);
}

.remittance-callout {
  background: rgba(58, 181, 74, 0.08);
  border: 1px solid rgba(58,181,74,0.35);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}

.remittance-callout p {
  font-size: 15px; /* was 14px — too small for a core value prop */
  color: var(--text-1);
  line-height: 1.65;
  font-weight: 500;
}

.remittance-callout strong {
  color: var(--green);
  font-weight: 700;
}

.remittance-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.remittance-visual-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.remittance-visual-card h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
}

.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  width: 2px;
  height: calc(100% + 8px);
  background: var(--border);
}

.flow-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.flow-dot.is-green {
  background: var(--green-dim);
  border-color: var(--green);
  color: var(--green);
}

.flow-content {
  padding: 4px 0 20px;
}

.flow-content strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 4px;
  font-family: var(--font-display);
}

.flow-content span {
  font-size: 15px;
  color: var(--text-2);
}

.flow-content .flow-cost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-display);
  padding: 3px 10px;
  border-radius: 100px;
}

.flow-cost.is-free {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(58,181,74,0.2);
}

.flow-cost.is-third-party {
  background: var(--orange-dim);
  color: var(--orange);
  border: 1px solid rgba(245,158,11,0.2);
}

/* ── ④ MERCHANTS ────────────────────────────────────────────── */
#pg-merchants {
  background: var(--bg);
}

.merchants-header {
  margin-bottom: 56px;
}

.merchants-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.merchant-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease;
}

.merchant-card:hover {
  border-color: rgba(58,181,74,0.2);
}

.merchant-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--surface-2);
}

.merchant-card-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.merchant-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-1);
}

.merchant-card-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}

.merchant-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

/* Legacy pills — kept for fallback, hidden in favour of .merchant-features */
.merchant-tag {
  display: none;
}

/* Icon + text feature list — replaces pills */
.merchant-features {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.merchant-feature {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.4;
}

.merchant-feature svg {
  flex-shrink: 0;
  color: var(--green);
  opacity: 0.9;
}

.merchants-cta-row {
  background: linear-gradient(135deg, var(--surface-1) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.merchants-cta-text h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
}

.merchants-cta-text p {
  font-size: 15px;
  color: var(--text-2);
  max-width: 460px;
}

/* ── ⑤ NUMBERS ──────────────────────────────────────────────── */
#pg-numbers {
  background: var(--surface-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 80px 0;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.number-cell {
  background: var(--surface-1);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.number-value {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--text-1);
  line-height: 1;
  letter-spacing: -0.02em;
}

.number-value em {
  font-style: normal;
  color: var(--green);
}

.number-label {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  line-height: 1.4;
}

/* ── ⑥ API ──────────────────────────────────────────────────── */
#pg-api {
  background: var(--bg);
}

.api-inner {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.api-inner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(58,181,74,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.api-left {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}

.api-left .section-subtitle {
  margin-bottom: 32px;
}

.api-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.api-right {
  position: relative;
  z-index: 1;
}

.api-code-block {
  background: #0D0E13;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.8;
  overflow-x: auto;
  position: relative;
}

.api-code-block::before {
  content: '● ● ●';
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 10px;
  letter-spacing: 4px;
  color: #3a3a4a;
}

.api-code-block pre {
  margin: 0;
  padding-top: 20px;
}

.code-comment  { color: #4a4d6a; }
.code-key      { color: #7B8CE8; }
.code-string   { color: #86C784; }
.code-number   { color: #E8A87B; }
.code-keyword  { color: var(--green); }

/* ── ⑦ CONTACT STRIP ────────────────────────────────────────── */
#pg-contact-strip {
  background: var(--bg);
  border-top: 1px solid var(--border-subtle);
  padding: 72px 0;
}

.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact-strip-text h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
}

.contact-strip-text p {
  font-size: 15px;
  color: var(--text-2);
}

.contact-strip-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ── Testimonials grid ──────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.btn-testimonial-cta {
  width: fit-content;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  :root {
    --section-gap: 80px;
  }

  /* On mobile the phone is hidden — switch from center to flex-start
     so the hero doesn't pad dead space above the text */
  #pg-hero {
    min-height: auto;
    justify-content: flex-start;
    padding-top: 72px; /* header ~43px + 29px breathing room */
    padding-bottom: 48px;
  }

  .hero-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 0;
  }

  .hero-left {
    align-items: center;
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
    margin-bottom: 36px; /* was 56px — less gap before trust strip on mobile */
  }

  .hero-social-proof {
    justify-content: center;
  }

  .hero-right {
    display: none;
  }

  .ways-grid {
    grid-template-columns: 1fr;
  }

  .remittance-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .merchants-grid {
    grid-template-columns: 1fr;
  }

  .merchants-cta-row {
    flex-direction: column;
    text-align: center;
    padding: 32px;
  }

  .merchants-cta-text p {
    max-width: 100%;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .api-inner {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    gap: 40px;
  }

  .api-right {
    display: none;
  }

  .contact-strip-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  :root {
    --section-gap: 48px; /* was 64px — tighter on small screens */
  }

  /* Tighter sm section padding on mobile */
  .home-section-sm {
    padding: 48px 0;
  }

  /* Testimonial CTA: full width on mobile */
  .btn-testimonial-cta {
    width: 100%;
    justify-content: center;
  }

  /* Merchant CTA buttons: stack full-width */
  .merchants-cta-row > div:last-child {
    flex-direction: column;
    width: 100%;
  }

  .merchants-cta-row .btn-primary,
  .merchants-cta-row .btn-secondary {
    width: 100%;
    justify-content: center;
    white-space: nowrap;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .number-cell {
    padding: 28px 20px;
  }

  .hero-h1 {
    font-size: 36px;
  }

  /* Trust strip: 2-col grid at mobile — cleaner than flex-wrap */
  .hero-trust-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  /* Stats row: tighter gap on mobile */
  .hero-social-proof {
    gap: 12px;
  }

  .hero-stat-divider {
    height: 24px;
  }

  /* Contact strip: wrap buttons on small screens */
  .contact-strip-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Testimonial layout: single column — hide portrait, show quotes only */
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid > a:first-child {
    display: none;
  }

  /* Section title size cap */
  .section-title {
    font-size: clamp(24px, 6vw, 36px);
  }
}

/* ── MOBILE (≤ 480px) ───────────────────────────────────────── */
@media (max-width: 480px) {
  /* Contact strip: stack + wrap buttons */
  .contact-strip-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .contact-strip-actions .btn-primary,
  .contact-strip-actions .btn-secondary,
  .contact-strip-actions .btn-soft {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Numbers: slightly smaller value text */
  .number-value {
    font-size: clamp(28px, 8vw, 40px);
  }

  /* Remittance heading */
  .remittance-title {
    font-size: 28px;
  }

  /* Way cards: reduce padding */
  .way-card {
    padding: 28px 20px;
  }

  /* Merchant CTA row: full-width buttons */
  .merchants-cta-row > div {
    width: 100%;
  }

  .merchants-cta-row .btn-primary,
  .merchants-cta-row .btn-secondary {
    flex: 1;
    justify-content: center;
  }
}

/* ── Hero trust strip ─────────────────────────────────────── */
.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 28px; /* was 4px — needs real separation from stats */
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1;
  /* Pill treatment — trust badges earn this exception */
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 6px 12px;
  white-space: nowrap;
}

.hero-trust-item svg {
  color: #3AB54A;
  flex-shrink: 0;
}

/* ── HOW IT WORKS — 3-step visual ──────────────────────────── */
.how-it-works {
  margin-bottom: 64px;
  padding: 40px 48px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.hiw-steps {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hiw-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.hiw-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  flex-shrink: 0;
}

.hiw-icon-flash {
  background: rgba(58, 181, 74, 0.12);
  border-color: rgba(58, 181, 74, 0.3);
  color: var(--green);
}

.hiw-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hiw-content strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  display: block;
}

.hiw-content span {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.5;
}

.hiw-arrow {
  color: var(--text-3);
  flex-shrink: 0;
  opacity: 0.5;
}

@media (max-width: 640px) {
  .how-it-works {
    padding: 28px 20px;
  }

  .hiw-steps {
    flex-direction: column;
    gap: 8px;
  }

  .hiw-arrow {
    transform: rotate(90deg);
  }

  .hiw-step {
    flex-direction: row;
    text-align: left;
    width: 100%;
  }

  .hiw-content {
    flex: 1;
  }
}

/* ══════════════════════════════════════════════════════════════
   SPARKLINESS — Motion & Animation
   ══════════════════════════════════════════════════════════════ */

/* ── Scroll-reveal base state ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays: data-reveal-delay="1|2|3|4" × 80ms */
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-reveal-delay="5"] { transition-delay: 0.40s; }

/* ── Hero phone float ── */
@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.hero-phone-wrap {
  animation: float 3.5s ease-in-out infinite;
}

/* ── Reduced motion: disable everything ── */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-phone-wrap {
    animation: none !important;
  }
}
