/* Globex Pay — landing page styles */

:root {
  --bg: #ffffff;
  --fg: #0f172a;
  --muted: #f4f6fb;
  --muted-fg: #64748b;
  --border: #e5e9f2;
  --card: #ffffff;
  --primary: #1e3fd3;
  --primary-glow: #4561ff;
  --primary-fg: #ffffff;
  --gradient-primary: linear-gradient(135deg, #1e3fd3, #4561ff);
  --gradient-hero: linear-gradient(180deg, #f4f7ff 0%, #ffffff 100%);
  --shadow-soft: 0 8px 30px -10px rgba(30, 63, 211, 0.18);
  --shadow-elegant: 0 20px 60px -20px rgba(30, 63, 211, 0.35);
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
}
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-primary { background: var(--primary); color: var(--primary-fg); box-shadow: var(--shadow-soft); }
.btn-primary:hover { opacity: .94; transform: translateY(-1px); }
.btn-outline { background: var(--card); color: var(--fg); border-color: var(--border); }
.btn-outline:hover { background: var(--muted); }
.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { background: var(--muted); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: rgba(255,255,255,.9); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-glass:hover { background: rgba(255,255,255,.22); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgba(229, 233, 242, .6);
  background: rgba(255,255,255,.8);
  backdrop-filter: saturate(180%) blur(10px);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; }
.logo img { width: 36px; height: 36px; border-radius: 8px; }
.logo em { color: var(--primary); font-style: normal; }
.nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--muted-fg); }
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
@media (max-width: 800px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--gradient-hero); }
.hero-blob { position: absolute; width: 300px; height: 300px; border-radius: 999px; filter: blur(80px); pointer-events: none; }
.hero-blob-left { left: -120px; top: 80px; background: rgba(30,63,211,.12); }
.hero-blob-right { right: -120px; top: 160px; background: rgba(69,97,255,.18); }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; padding: 96px 24px;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; padding: 64px 24px; } }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border);
  font-size: 12px; font-weight: 500; color: var(--muted-fg);
}
.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--primary); }
.dot-green { background: #34d399; }

h1 { font-size: 60px; line-height: 1.05; letter-spacing: -.02em; font-weight: 800; margin: 20px 0 0; }
@media (max-width: 700px) { h1 { font-size: 42px; } }
.grad { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted-fg); max-width: 36rem; margin-top: 18px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row.center { justify-content: center; }

.stats { display: flex; align-items: center; gap: 28px; margin-top: 36px; color: var(--muted-fg); font-size: 13px; }
.stats strong { display: block; color: var(--fg); font-size: 24px; line-height: 1.2; }
.divider { width: 1px; height: 36px; background: var(--border); }

.hero-mockups { position: relative; display: flex; align-items: center; justify-content: center; min-height: 480px; }
.mock {
  width: 240px; max-width: 48%;
  border-radius: 28px; border: 1px solid var(--border);
  background: var(--card); box-shadow: var(--shadow-elegant);
}
.mock-left  { transform: rotate(-6deg); }
.mock-right { transform: rotate(6deg); margin-left: -32px; }

/* ---------- Bands & sections ---------- */
.band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-muted { background: rgba(244,246,251,.6); }
.band-light { background: var(--gradient-hero); }
.section { padding: 96px 24px; }
.section-head { max-width: 640px; margin: 0 auto; text-align: center; }
.section-head h2 { margin-top: 0; }

h2 { font-size: 40px; line-height: 1.1; letter-spacing: -.015em; font-weight: 700; margin: 0 0 12px; }
@media (max-width: 700px) { h2 { font-size: 32px; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 96px 24px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; padding: 64px 24px; } }
.order-1 { order: 1; } .order-2 { order: 2; }
@media (max-width: 900px) { .order-1 { order: 0; } .order-2 { order: 1; } }

/* ---------- Balance card ---------- */
.balance-card {
  background: var(--gradient-primary); color: var(--primary-fg);
  border-radius: 24px; padding: 28px; box-shadow: var(--shadow-elegant);
}
.balance-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; opacity: .9; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.18); padding: 4px 10px; border-radius: 999px; font-size: 11px; }
.balance-amount { font-size: 44px; font-weight: 700; letter-spacing: -.02em; margin-top: 10px; }
.balance-sub { font-size: 12px; opacity: .8; margin-top: 4px; }
.actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 28px; background: rgba(255,255,255,.1); padding: 8px; border-radius: 16px; font-size: 12px; }
.action { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; background: rgba(255,255,255,.1); border-radius: 12px; }
.action .icon { font-size: 16px; }

.token-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.token { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 14px; }
.t-name { font-size: 14px; font-weight: 600; }
.t-sym { font-size: 12px; color: var(--muted-fg); }
.t-val { font-size: 14px; font-weight: 500; margin-top: 8px; }
.t-pct { font-size: 12px; color: #059669; }

.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 10px 0; }
.check-list li::before { content: "›"; color: var(--primary); font-weight: 700; }

/* ---------- Cards grid ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.cards-grid.three { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
@media (max-width: 900px) { .cards-grid, .cards-grid.three { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 24px; transition: box-shadow .2s ease; }
.card:hover { box-shadow: var(--shadow-soft); }
.card.lg { padding: 32px; }
.card h3 { font-size: 18px; margin: 18px 0 6px; }
.card p { color: var(--muted-fg); font-size: 14px; margin: 0; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(30,63,211,.1); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.card-icon-lg { font-size: 24px; color: var(--primary); }

/* ---------- Gift cards section ---------- */
.eyebrow { color: var(--primary); font-size: 14px; font-weight: 500; }
.tag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; font-size: 14px; }
.tag-grid div { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; }

.history-card { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-soft); }
.history-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.history-head h3 { margin: 0; font-size: 16px; }
.tabs { display: flex; gap: 8px; font-size: 12px; color: var(--muted-fg); }
.tabs .active { color: var(--primary); background: rgba(30,63,211,.1); padding: 4px 10px; border-radius: 999px; }
.history-list { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; justify-content: space-between; align-items: center; background: var(--bg); border: 1px solid rgba(229,233,242,.7); border-radius: 14px; padding: 12px 16px; }
.row-left { display: flex; align-items: center; gap: 12px; }
.bubble { width: 36px; height: 36px; border-radius: 10px; background: var(--muted); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.r-name { font-size: 14px; font-weight: 600; }
.r-time { font-size: 12px; color: var(--muted-fg); }
.row-right { text-align: right; }
.r-val { font-size: 14px; font-weight: 600; }
.status { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 500; }
.status-pending { background: #fef3c7; color: #b45309; }
.status-success { background: #d1fae5; color: #047857; }
.status-declined { background: #ffe4e6; color: #be123c; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  background: var(--gradient-primary); color: var(--primary-fg);
  border-radius: 28px; padding: 80px 32px; text-align: center;
  box-shadow: var(--shadow-elegant);
}
.cta-banner h2 { color: #fff; font-size: 44px; }
.cta-banner p { max-width: 36rem; margin: 16px auto 0; opacity: .9; }
.cta-blob { position: absolute; width: 260px; height: 260px; border-radius: 999px; background: rgba(255,255,255,.1); filter: blur(80px); }
.cta-blob-r { right: -80px; top: -80px; }
.cta-blob-l { left: -40px; bottom: -100px; }
.cta-banner .cta-row { position: relative; margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 24px; }
.copy { color: var(--muted-fg); font-size: 14px; margin: 0; }
.footer-links { display: flex; gap: 24px; font-size: 14px; color: var(--muted-fg); }
.footer-links a:hover { color: var(--fg); }
