/* ============================================================
   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: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  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);
}

.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: 96px;
  padding-bottom: 0;
}

.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: 1;
}

.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: 13px;
  font-weight: 600;
  color: rgba(240, 240, 246, 0.7);
  letter-spacing: 0.03em;
  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;
  position: relative;
  overflow: hidden;
}

.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);
}

.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: 14px;
  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;
}

/* ── ③ 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: var(--surface-2);
  border: 1px solid rgba(58,181,74,0.2);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.remittance-callout p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

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

.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: 13px;
  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;
}

.merchant-tag {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
}

.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;
}

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

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

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

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

  .hero-actions {
    justify-content: center;
  }

  .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: 64px;
  }

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

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

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