/* ═══════════════════════════════════════════════════
   BOLO — Site vitrine
   BABG Tech Ltd
   Design system: #111 dark, #C9A96E gold, #F8F7F4 warm white
   Fonts: Playfair Display (headings) + DM Sans (body)
═══════════════════════════════════════════════════ */

/* ─── RESET & BASE ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #111111;
  --gold:    #C9A96E;
  --gold-lt: #F3EEE4;
  --gold-md: #A07840;
  --warm:    #FDFCF9;
  --bg:      #F8F7F4;
  --border:  #E8E5DF;
  --muted:   #888880;
  --dark2:   #1A1A1A;
  --dark3:   #222222;
  --green:   #38A169;
  --radius:  14px;
  --radius-lg: 20px;
  --shadow:  0 2px 16px rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--warm);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── ANIMATIONS ────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── UTILITY ───────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-md);
  margin-bottom: 12px;
}
.tag--light { color: rgba(201,169,110,0.85); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--black);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── NAV ───────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.07); }

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 30px; height: 30px;
  border-radius: 7px;
  background: var(--black);
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--black);
  letter-spacing: -0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--black); }

.nav-cta {
  background: var(--black);
  color: #fff;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: #333; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--black);
  transition: all 0.2s;
}
.nav-burger.open span:first-child { transform: rotate(45deg) translate(4px, 4px); }
.nav-burger.open span:last-child  { transform: rotate(-45deg) translate(4px, -4px); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 32px 20px;
  gap: 16px;
  border-top: 0.5px solid var(--border);
  background: #fff;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 15px;
  color: var(--black);
  padding: 4px 0;
}

/* ─── HERO ──────────────────────────────────────── */
.hero {
  background: var(--warm);
  padding: 88px 32px 72px;
  border-bottom: 0.5px solid var(--border);
  overflow: hidden;
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-lt);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 13px;
  color: var(--gold-md);
  font-weight: 500;
  margin-bottom: 28px;
  animation: fadeIn 0.6s ease both;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-h1 {
  font-size: clamp(36px, 6vw, 62px);
  color: var(--black);
  margin-bottom: 22px;
  animation: fadeUp 0.65s 0.05s ease both;
}
.hero-h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: fadeUp 0.65s 0.1s ease both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeUp 0.65s 0.15s ease both;
}
.btn-dark {
  background: var(--black);
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s, transform 0.1s;
}
.btn-dark:hover { background: #2a2a2a; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--black);
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
  border: 0.5px solid var(--border);
  transition: border-color 0.15s, background 0.15s;
}
.btn-ghost:hover { background: var(--bg); border-color: #ccc; }

/* Hero connection */
.hero-connection {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  animation: fadeUp 0.65s 0.2s ease both;
  overflow-x: auto;
  padding-bottom: 4px;
}

.person-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 110px;
  flex-shrink: 0;
}
.person-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 500; color: #fff;
}
.person-name { font-size: 13px; color: var(--black); font-weight: 500; }
.person-loc  { font-size: 11px; color: var(--muted); }

.conn-bridge {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 120px;
  position: relative;
  height: 48px;
}
.conn-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.conn-badge {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  background: var(--black);
  border-radius: 10px;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
}
.conn-badge-text { font-size: 11px; color: var(--gold); font-weight: 500; }
.conn-badge-sub  { font-size: 9px; color: #555; }

/* ─── PROBLEM ───────────────────────────────────── */
.problem {
  background: var(--black);
  padding: 80px 0;
}

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

.problem-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 30px);
  color: #fff;
  line-height: 1.3;
  margin-bottom: 20px;
}
.problem-quote em { color: var(--gold); font-style: normal; }

.problem-detail {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

.problem-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 0.5px solid #222;
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}
.problem-item:last-child { border-bottom: none; }
.problem-item strong { color: #aaa; font-weight: 500; display: block; margin-bottom: 2px; }

.prob-x {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #1E1E1E;
  border: 0.5px solid #333;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}
.prob-x::before, .prob-x::after {
  content: '';
  position: absolute;
  width: 8px; height: 1px;
  background: #555;
  top: 50%; left: 50%;
}
.prob-x::before { transform: translate(-50%, -50%) rotate(45deg); }
.prob-x::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* ─── HOW IT WORKS ──────────────────────────────── */
.how {
  padding: 96px 0;
  background: var(--warm);
}

.how-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 64px;
}

.compare-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.compare-label--bad  { color: #c0392b; }
.compare-label--good { color: var(--green); }

.compare-box {
  border-radius: var(--radius);
  padding: 24px;
  border: 0.5px solid var(--border);
}
.compare-box--bad  { background: #fff; }
.compare-box--good { background: #fff; border-color: #b8e0c8; }

.compare-parties {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}
.mini-party {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}
.mini-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}

.compare-arrow {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.compare-arrow svg { width: 48px; }
.compare-arrow--bad  svg { color: #ccc; }
.compare-arrow--bad  span { font-size: 16px; color: #ddd; }
.compare-arrow--bad  small { font-size: 10px; color: #c0392b; }
.compare-arrow--good svg { color: #b8e0c8; }

.bolo-mid {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
  font-size: 11px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}

.compare-result {
  margin-top: 14px;
  padding: 10px 14px;
  background: #f0fff4;
  border-radius: 8px;
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
  text-align: center;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 0.5px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
  font-size: 13px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 6px;
}
.step-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ─── STORIES ───────────────────────────────────── */
.stories {
  padding: 96px 0;
  background: var(--bg);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

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

.story-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.story-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.story-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.story-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 16px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.story-name { font-size: 14px; color: var(--black); font-weight: 500; }
.story-loc  { font-size: 11px; color: var(--muted); }
.story-tag {
  margin-left: auto;
  background: var(--gold-lt);
  color: var(--gold-md);
  font-size: 10px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.story-quote {
  font-size: 14px;
  color: #555;
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  quotes: "\201C" "\201D";
}
.story-quote::before { content: open-quote; color: var(--gold); font-size: 18px; line-height: 0; vertical-align: -4px; margin-right: 2px; }

.story-outcome {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  padding-top: 14px;
  border-top: 0.5px solid var(--border);
}
.outcome-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── WORLD ─────────────────────────────────────── */
.world {
  background: var(--black);
  padding: 88px 0;
}

.world-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.world-text h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: #fff;
  margin-bottom: 16px;
}
.world-text h2 em { color: var(--gold); font-style: normal; }
.world-text p {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 28px;
}

.regions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.region {
  background: #1A1A1A;
  border: 0.5px solid #2A2A2A;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  color: #777;
}

.world-payments {
  background: #161616;
  border: 0.5px solid #2A2A2A;
  border-radius: var(--radius-lg);
  padding: 28px;
}
.payments-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}
.payments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pay-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #888;
}
.pay-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ─── TRUST ─────────────────────────────────────── */
.trust {
  padding: 96px 0;
  background: var(--warm);
}

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

.trust-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.trust-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--black);
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
}
.trust-icon-inner {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.trust-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 8px;
}
.trust-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── DOWNLOAD ──────────────────────────────────── */
.download {
  background: var(--gold-lt);
  padding: 96px 0;
  border-top: 0.5px solid #e0d8c8;
  border-bottom: 0.5px solid #e0d8c8;
}

.download-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.download-text h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--black);
  margin-bottom: 18px;
}
.download-text h2 em { color: var(--gold-md); font-style: normal; }
.download-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 400px;
}

.store-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--black);
  border-radius: 12px;
  padding: 13px 22px;
  transition: background 0.15s, transform 0.1s;
}
.store-btn:hover { background: #2a2a2a; transform: translateY(-1px); }
.store-sub  { font-size: 10px; color: #666; }
.store-name { font-size: 14px; color: #fff; font-weight: 500; }

/* Phone mockup */
.download-visual {
  display: flex;
  justify-content: center;
}
.phone-wrap {
  perspective: 800px;
}
.phone {
  width: 230px;
  background: #1A1A1A;
  border-radius: 40px;
  padding: 14px;
  border: 0.5px solid #333;
  box-shadow: 0 32px 80px rgba(0,0,0,0.18), 0 0 0 8px #161616;
  transform: rotateY(-6deg) rotateX(3deg);
}
.phone-notch {
  width: 60px; height: 6px;
  background: #111;
  border-radius: 3px;
  margin: 0 auto 10px;
}
.phone-screen {
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
}
.app-header {
  background: var(--black);
  padding: 14px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-header-title { font-size: 13px; color: #fff; font-weight: 500; }
.app-header-badge {
  background: var(--gold);
  color: var(--black);
  font-size: 9px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 10px;
}
.app-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }

.app-deal {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-deal-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.app-deal-info { flex: 1; min-width: 0; }
.app-deal-name {
  font-size: 10px;
  color: var(--black);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-deal-status {
  font-size: 9px;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 2px;
}
.status-funded  { background: #EFF8F4; color: var(--green); }
.status-progress { background: #FFF8E8; color: #B7860C; }
.status-done    { background: #F8F7F4; color: #888; }

.app-deal-amount {
  font-size: 11px;
  color: var(--gold-md);
  font-weight: 500;
  flex-shrink: 0;
}

.app-new-deal {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--black);
  border-radius: 10px;
  font-size: 11px;
  color: var(--gold);
  font-weight: 500;
  cursor: pointer;
}
.app-new-deal-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ─── FOOTER ────────────────────────────────────── */
.footer {
  background: #0D0D0D;
  padding: 60px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 0.5px solid #1A1A1A;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo-mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--gold);
  color: var(--black);
  font-size: 13px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.footer-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: #fff;
}
.footer-tagline  { font-size: 13px; color: #555; line-height: 1.6; margin-bottom: 8px; max-width: 240px; }
.footer-company  { font-size: 11px; color: #333; }

.footer-col-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #444;
  font-weight: 500;
  margin-bottom: 14px;
}
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-col a {
  font-size: 13px;
  color: #555;
  transition: color 0.15s;
}
.footer-links-col a:hover { color: #888; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #333;
}

/* ─── RESPONSIVE ────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-burger { display: flex; }

  .problem-grid,
  .how-compare,
  .download-inner,
  .world-inner { grid-template-columns: 1fr; gap: 40px; }

  .stories-grid  { grid-template-columns: 1fr; }
  .trust-grid    { grid-template-columns: 1fr; }
  .footer-top    { grid-template-columns: 1fr 1fr; }

  .hero-connection { flex-wrap: nowrap; overflow-x: auto; padding: 0 8px 12px; justify-content: flex-start; }

  .conn-bridge { width: 80px; }

  .phone-wrap { display: none; }
  .download-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero { padding: 64px 20px 56px; }
  .problem, .how, .stories, .world, .trust, .download { padding: 64px 0; }
  .how-compare { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .store-btns { flex-direction: column; }
}
