/* ============================================================
   BANGA TRADE — SHARED DESIGN SYSTEM
   Design tokens, resets, buttons, and nav — used by every page
   across the site (landing + functional app pages) so nothing
   drifts out of visual sync.
   ============================================================ */
/* ============================================================
   BANGA TRADE — DESIGN TOKENS
   ============================================================ */
:root{
  --ink:        #05070c;
  --ink-soft:   #080b13;
  --panel:      #0e1524;
  --panel-2:    #121b2e;
  --panel-3:    #17223a;
  --line:       rgba(255,255,255,.08);
  --line-2:     rgba(255,255,255,.14);

  --gold:       #f5b914;
  --gold-2:     #ffd666;
  --gold-dim:   #a9820e;
  --green:      #1fd67a;
  --green-dim:  rgba(31,214,122,.14);
  --red:        #ff5566;
  --red-dim:    rgba(255,85,102,.14);
  --blue:       #4da3ff;

  --text:       #eef2f9;
  --text-soft:  #c3cbdc;
  --muted:      #8695b3;
  --muted-2:    #5c6987;

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 9px;

  --shadow-lg: 0 30px 80px -24px rgba(0,0,0,.65);
  --shadow-md: 0 16px 40px -16px rgba(0,0,0,.55);
  --shadow-gold: 0 12px 32px -10px rgba(245,185,20,.35);

  --ease: cubic-bezier(.22,.61,.36,1);
  --container: 1200px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}
body{
  margin:0;
  background:var(--ink);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-display); margin:0; font-weight:600; letter-spacing:-.01em; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
::selection{ background:var(--gold); color:#0a0e1a; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--gold); outline-offset:3px; border-radius:4px;
}

/* Background texture: soft radial glows + faint grid */
.bg-glow{
  position:fixed; inset:0; z-index:-2; pointer-events:none;
  background:
    radial-gradient(700px 500px at 12% -6%, rgba(245,185,20,.10), transparent 60%),
    radial-gradient(900px 650px at 110% 10%, rgba(31,214,122,.08), transparent 55%),
    radial-gradient(800px 600px at 50% 120%, rgba(77,163,255,.06), transparent 55%),
    var(--ink);
}
.bg-grid{
  position:fixed; inset:0; z-index:-1; pointer-events:none; opacity:.35;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono); font-size:.72rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--gold); font-weight:600;
  padding:6px 12px; border:1px solid rgba(245,185,20,.3); border-radius:999px;
  background:rgba(245,185,20,.06);
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--green); box-shadow:0 0 0 3px var(--green-dim); animation:pulse-dot 2s infinite; }
@keyframes pulse-dot{ 0%,100%{opacity:1} 50%{opacity:.35} }

.section{ padding:110px 0; position:relative; }
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(1.9rem, 3.4vw, 2.9rem); margin-top:14px; line-height:1.12; }
.section-head p{ color:var(--muted); font-size:1.05rem; margin-top:16px; max-width:52ch; }
.section-head.center p{ margin-left:auto; margin-right:auto; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--font-body); font-weight:700; font-size:.96rem;
  padding:15px 26px; border-radius:12px; border:1px solid transparent;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space:nowrap;
}
.btn-gold{
  background:linear-gradient(180deg, var(--gold-2), var(--gold));
  color:#241a02; box-shadow:var(--shadow-gold);
}
.btn-gold:hover{ transform:translateY(-2px); box-shadow:0 18px 40px -10px rgba(245,185,20,.5); }
.btn-ghost{
  background:rgba(255,255,255,.03); color:var(--text); border-color:var(--line-2);
}
.btn-ghost:hover{ background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.28); transform:translateY(-2px); }
.btn-sm{ padding:11px 18px; font-size:.86rem; border-radius:10px; }
.btn-block{ width:100%; }
.btn svg{ width:18px; height:18px; flex:none; }

/* ============================================================
   NAV
   ============================================================ */
header.site-header{ position:sticky; top:0; z-index:100; }
.navbar{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 24px; background:rgba(5,7,12,.72); backdrop-filter:blur(16px) saturate(140%);
  border-bottom:1px solid transparent; transition:border-color .3s var(--ease), padding .3s var(--ease), background .3s var(--ease);
}
.navbar.scrolled{ padding:11px 24px; border-color:var(--line); background:rgba(5,7,12,.92); }
.nav-inner{ max-width:var(--container); margin:0 auto; width:100%; display:flex; align-items:center; justify-content:space-between; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ width:36px; height:36px; border-radius:9px; }
.brand .word-wrap{ display:flex; flex-direction:column; line-height:1.05; gap:2px; }
.brand .word-main{ font-family:var(--font-display); font-weight:700; font-size:1.05rem; letter-spacing:-.01em; white-space:nowrap; color:var(--text); }
.brand .word-sub{ font-family:var(--font-mono); font-size:.6rem; font-weight:700; letter-spacing:.16em; color:var(--gold); white-space:nowrap; }
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{
  font-size:.92rem; font-weight:500; color:var(--text-soft); position:relative; padding:4px 0;
  transition:color .2s;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background:var(--gold);
  transition:width .25s var(--ease);
}
.nav-links a:hover{ color:var(--text); }
.nav-links a:hover::after{ width:100%; }
.nav-cta{ display:flex; align-items:center; gap:12px; }
.nav-burger{ display:none; width:42px; height:42px; align-items:center; justify-content:center; background:rgba(255,255,255,.04); border:1px solid var(--line-2); border-radius:10px; color:var(--text-soft); }
.nav-burger svg{ width:20px; height:20px; color:inherit; }

.mobile-drawer{
  position:fixed; inset:0; z-index:150; background:rgba(5,7,12,.98); backdrop-filter:blur(10px);
  display:flex; flex-direction:column; padding:20px 26px 40px;
  transform:translateY(-8px); opacity:0; pointer-events:none; transition:opacity .28s var(--ease), transform .28s var(--ease);
}
.mobile-drawer.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
.mobile-drawer .drawer-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:36px; }
.mobile-drawer a{ font-family:var(--font-display); font-size:1.1rem; font-weight:600; padding:14px 0; border-bottom:1px solid var(--line); }
.mobile-drawer .drawer-cta{ margin-top:30px; display:flex; flex-direction:column; gap:12px; }

/* ============================================================
   SHARED FOOTER — appears on every page (landing + app pages)
   ============================================================ */
footer{ border-top:1px solid var(--line); padding:70px 0 30px; background:var(--ink-soft); margin-top:auto; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:50px; }
.footer-brand .brand{ margin-bottom:16px; }
.footer-brand p{ color:var(--muted); font-size:.88rem; max-width:32ch; line-height:1.6; }
.footer-social{ display:flex; gap:10px; margin-top:20px; }
.footer-social a{
  width:38px; height:38px; border-radius:10px; border:1px solid var(--line-2); display:flex; align-items:center; justify-content:center;
  transition:background .2s, border-color .2s;
}
.footer-social a:hover{ background:rgba(245,185,20,.1); border-color:rgba(245,185,20,.4); }
.footer-social svg{ width:17px; height:17px; color:var(--text-soft); }
.footer-col h5{ font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color:var(--muted-2); margin-bottom:18px; font-family:var(--font-mono); font-weight:600; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:.9rem; color:var(--text-soft); transition:color .2s; }
.footer-col a:hover{ color:var(--gold); }
.disclaimer{ border-top:1px solid var(--line); padding-top:28px; margin-bottom:28px; }
.disclaimer p{ font-size:.78rem; color:var(--muted-2); line-height:1.7; max-width:920px; }
.footer-bottom{
  border-top:1px solid var(--line); padding-top:24px; display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:12px; font-size:.82rem; color:var(--muted-2);
}
.footer-bottom .flinks{ display:flex; gap:20px; align-items:center; flex-wrap:wrap; }
.footer-bottom .flinks a:hover{ color:var(--gold); }

/* Strategic "Download App" badge in the footer, with Android icon */
.footer-download-badge{
  display:inline-flex; align-items:center; gap:9px; background:var(--panel-2); border:1px solid var(--line-2);
  border-radius:30px; padding:8px 16px 8px 12px; color:var(--text); font-size:.84rem; font-weight:600; transition:border-color .2s, background .2s;
}
.footer-download-badge:hover{ border-color:rgba(245,185,20,.4); background:rgba(245,185,20,.08); color:var(--gold); }
.footer-download-badge svg{ width:19px; height:19px; color:var(--green); }

@media (max-width: 880px){
  .footer-grid{ grid-template-columns:1fr 1fr; gap:30px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns:1fr; }
}

