/* ===== GJ Money Transfer – Main Stylesheet ===== */

:root {
  --blue:      #1a3c8f;
  --blue-dark: #0f2460;
  --blue-mid:  #2352c4;
  --gold:      #f5a623;
  --gold-dark: #d4881a;
  --green:     #27ae60;
  --white:     #ffffff;
  --gray-50:   #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-500:  #64748b;
  --gray-700:  #334155;
  --gray-900:  #0f172a;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--blue-dark);
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-outline {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; border-radius: 10px; }
.btn-block { width: 100%; margin-top: 12px; padding: 14px; font-size: 1rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.25rem;
  font-weight: 800;
}
.logo-gj {
  background: var(--blue);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.logo-text { color: var(--blue-dark); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--gray-700); }
.nav-links a:hover { color: var(--blue); }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-mid) 100%);
  color: var(--white);
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.accent { color: var(--gold); }
.hero-sub {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.trust-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  opacity: 0.8;
}
.trust-badges span { display: flex; align-items: center; gap: 6px; }

/* ===== TRANSFER WIDGET ===== */
.transfer-widget {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  color: var(--gray-900);
}
.transfer-widget h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--blue-dark);
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.input-group {
  display: flex;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
}
.input-group input {
  flex: 1;
  padding: 12px 14px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  outline: none;
  min-width: 0;
}
.input-group select {
  padding: 12px 10px;
  border: none;
  border-left: 1.5px solid var(--gray-200);
  background: var(--gray-50);
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}
.fee-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--gray-500);
  padding: 8px 0;
  border-bottom: 1px dashed var(--gray-200);
  margin-bottom: 16px;
}
.fee-amount { color: var(--green); font-weight: 700; }
.rate-note { font-size: 0.78rem; color: var(--gray-500); margin-top: 8px; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--gold); padding: 32px 0; }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--blue-dark); }
.stat span { font-size: 0.9rem; color: var(--blue-dark); opacity: 0.8; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.bg-light { background: var(--gray-50); }
.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  color: var(--blue-dark);
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* ===== STEPS ===== */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--blue-dark); }
.step p { font-size: 0.9rem; color: var(--gray-500); }
.step-arrow { font-size: 2rem; color: var(--gold); align-self: center; }

/* ===== PAYMENT CARDS ===== */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.payment-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.payment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.payment-icon { font-size: 2.5rem; margin-bottom: 12px; }
.payment-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--blue-dark); }
.payment-card p { font-size: 0.82rem; color: var(--gray-500); }

/* ===== CORRIDORS ===== */
.corridors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.corridor-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
  transition: transform 0.2s;
}
.corridor-card.haiti { border-top-color: var(--gold); }
.corridor-card:hover { transform: translateY(-4px); }
.flag { font-size: 2.8rem; margin-bottom: 10px; }
.corridor-card h4 { font-weight: 700; margin-bottom: 6px; color: var(--blue-dark); }
.corridor-card p { font-size: 0.82rem; color: var(--gray-500); }

/* ===== FEES TABLE ===== */
.fees-table-wrap { overflow-x: auto; }
.fees-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.fees-table th {
  background: var(--blue);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9rem;
}
.fees-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
}
.fees-table tr:last-child td { border-bottom: none; }
.fees-table tr:hover td { background: var(--gray-50); }
.fees-note { font-size: 0.82rem; color: var(--gray-500); margin-top: 12px; text-align: center; }

/* ===== APP SECTION ===== */
.app-section { background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid)); color: var(--white); }
.app-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: center;
}
.app-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.app-text p { font-size: 1rem; opacity: 0.9; margin-bottom: 28px; }
.app-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.app-btn img { height: 48px; }

/* Phone mockup */
.phone-mockup {
  width: 220px;
  margin: 0 auto;
  background: var(--gray-900);
  border-radius: 36px;
  padding: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.phone-screen {
  background: var(--white);
  border-radius: 24px;
  padding: 24px 16px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-preview { text-align: center; }
.app-logo-mini {
  background: var(--blue);
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 800;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.app-preview p { font-size: 1.1rem; font-weight: 600; color: var(--gray-900); }
.app-preview .green { color: var(--green); font-size: 1rem; margin-top: 4px; }
.app-preview button {
  margin-top: 16px;
  background: var(--gold);
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}
.testimonial p { font-style: italic; margin-bottom: 12px; color: var(--gray-700); }
.testimonial strong { font-size: 0.88rem; color: var(--blue); }

/* ===== FOOTER ===== */
.footer { background: var(--gray-900); color: var(--gray-200); padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .logo-text { color: var(--gray-200); }
.footer-brand p { font-size: 0.88rem; color: var(--gray-500); margin-top: 8px; }
.compliance { font-size: 0.78rem !important; color: var(--gray-500) !important; margin-top: 12px !important; }
.footer-links h5 { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.88rem; color: var(--gray-500); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 420px; margin: 0 auto; }
  .hero-text h1 { font-size: 2.2rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .app-inner { grid-template-columns: 1fr; }
  .phone-mockup { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero { padding: 48px 0 64px; }
  .hero-text h1 { font-size: 1.8rem; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.6rem; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}
