/* GooBinary home design system (compact). Scoped to .gbx (home page) so the dashboard, trading and auth screens are untouched.
   To revert the whole redesign: delete the <link href="/style.css"> line in index.html. */

/* ---------- GLOBAL ---------- */
.gbx{background:#0a0e14;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.gbx .container{max-width:1200px;padding-left:16px;padding-right:16px}

/* ---------- HEADER (64px) ---------- */
.gbx header{background:#0a0e14;border-bottom:1px solid #1a2030;-webkit-backdrop-filter:none;backdrop-filter:none}
.gbx header .container{flex-wrap:nowrap;row-gap:0;min-height:64px;padding-top:0!important;padding-bottom:0!important}
.gbx .logo{gap:8px}
.gbx .logo-box{width:28px;height:28px;border-radius:8px;box-shadow:none}
.gbx .logo-box svg{width:16px;height:16px}
.gbx .logo-text{font-size:15px!important;font-weight:700!important;line-height:1}
.gbx header .btn-ghost{font-size:12px!important;padding:8px 12px!important;border-radius:8px!important;font-weight:600}
.gbx header .btn{font-size:12px!important;padding:8px 16px!important;border-radius:8px!important;background:#3b82f6!important;box-shadow:none!important;font-weight:600}

/* ---------- HERO ---------- */
.gbx .hm-hero{padding-top:40px!important;padding-bottom:80px!important} /* 80px = spacer before the ticker */
.gbx .hm-hero .pill{background:#151d2e;border:0;color:#5b8def;font-size:10px;font-weight:600;padding:4px 12px;border-radius:20px;gap:6px}
.gbx .hm-hero .pill svg{width:12px;height:12px}
.gbx .hm-h1{font-size:32px!important;line-height:1.1!important;font-weight:700!important;margin-top:16px!important;color:#fff}
.gbx .hm-h1 span{background:linear-gradient(90deg,#3b82f6,#22d3ee)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important}
.gbx .hm-sub{font-size:14px!important;line-height:1.5!important;color:#8a92a6!important;max-width:500px!important;margin:12px auto 0!important}
.gbx .hm-btns{max-width:420px!important;margin:24px auto 0!important;display:flex;flex-direction:column;gap:12px}
.gbx .hm-btns button{width:100%!important;margin-top:0!important;font-size:14px!important;padding:12px 24px!important;border-radius:10px!important;gap:8px!important;box-shadow:none}
.gbx .hm-btns button svg{width:16px;height:16px}
.gbx .hm-b1{background:#3b82f6!important;color:#fff!important;border:1px solid #3b82f6!important}
.gbx .hm-b2{background:#1a2030!important;color:#fff!important;border:1px solid #252d42!important}
.gbx .hm-chips{display:flex!important;flex-wrap:wrap;justify-content:center;gap:8px;margin:24px auto 0;max-width:520px;padding:0}
.gbx .hm-chip,.gbx .hm-chip:nth-child(n+3){background:#151a2b;background-image:none;border:0;border-radius:20px;padding:6px 12px;gap:6px;font-size:10px;font-weight:500;line-height:1.3;color:#8a92a6;white-space:nowrap}
.gbx .hm-chip svg{width:12px;height:12px}

/* ---------- TICKER (36px) ---------- */
.gbx .tk-wrap{height:36px;display:flex;align-items:center;margin-top:0!important;padding:0!important;background:#0f1420;border-top:1px solid #1a2030;border-bottom:1px solid #1a2030}
.gbx .tk-item{font-size:11px;gap:6px;padding:0 16px;border-right:0}
.gbx .tk-item>:last-child{font-size:10px}
.gbx .tk-b{min-width:16px;height:16px;padding:0 3px;border-radius:5px;font-size:9px}

/* ---------- BTC CARD ---------- */
.gbx .hl-wrap{max-width:1200px;padding:40px 16px 0}
.gbx .hl-card{background:#151a2b;border:1px solid #1e293b;border-radius:16px;padding:16px;overflow:hidden}
.gbx .hl-head{padding:0 0 12px;gap:10px}
.gbx .hl-coin{width:28px;height:28px;border-radius:8px;font-size:13px}
.gbx .hl-name b{font-size:10px;gap:6px;letter-spacing:.04em}
.gbx .hl-name small{font-size:10px;margin-top:2px}
.gbx .hl-pill{font-size:9px;padding:2px 6px;border-radius:5px}
.gbx .hl-price b{font-size:18px;font-weight:700}
.gbx .hl-price small{font-size:10px}
.gbx .hl-chart{height:180px;background:#0a0e14;border:0;border-radius:12px}
.gbx .hl-badge{font-size:10px;padding:3px 6px;border-radius:5px}
.gbx .hl-feed{background:transparent;margin-top:12px}
.gbx .hl-feed-h{padding:0 0 8px;font-size:10px;border-bottom:1px solid #1e293b}
.gbx .hl-row{gap:10px;padding:8px 0;border-bottom:1px solid #1e293b}
.gbx .hl-av{width:24px;height:24px}
.gbx .hl-av svg{width:12px;height:12px}
.gbx .hl-who b,.gbx .hl-amt b{font-size:11px}
.gbx .hl-who small,.gbx .hl-amt small{font-size:9px}
.gbx .hl-note{padding:8px 0 0;font-size:9px}
.gbx .hl-cta{width:100%;margin:12px 0 0;border-radius:10px;font-size:14px;padding:12px;background:#3b82f6}

/* ---------- PLATFORM: "Built for serious traders" ---------- */
.gbx .hm-sec{padding:40px 0}
.gbx .hm-eyebrow{font-size:10px;letter-spacing:.2em}
.gbx .hm-h2{font-size:24px;line-height:1.25;font-weight:700;margin:6px 0 20px}
.gbx .hm-cards{grid-template-columns:repeat(2,1fr);gap:12px}
.gbx .hm-card{background:#151a2b;border:1px solid #1e293b;border-radius:12px;padding:20px}
.gbx .hm-ic{width:32px;height:32px;border-radius:8px;margin-bottom:12px;background:#1a2030!important}
.gbx .hm-ic svg{width:18px;height:18px}
.gbx .hm-card h3{font-size:13px;font-weight:700;margin-bottom:6px}
.gbx .hm-card p{font-size:11px;line-height:1.5;color:#8a92a6}

/* ---------- STATS BAR ---------- */
.gbx .hm-band{background:#0f1a24;border-color:#1a2030;padding:24px 0;margin-top:0}
.gbx .hm-stats{grid-template-columns:repeat(4,1fr);gap:12px;max-width:1200px}
.gbx .hm-stat{gap:4px}
.gbx .hm-sic{color:#3b82f6;margin-bottom:2px}
.gbx .hm-sic svg{width:20px;height:20px}
.gbx .hm-stat b{font-size:20px;font-weight:700}
.gbx .hm-stat small{font-size:10px;color:#8a92a6}

/* ---------- TESTIMONIALS ---------- */
.gbx .t-wrap{max-width:1200px;margin:0 auto;padding:40px 16px;display:grid;grid-template-columns:repeat(2,1fr);gap:12px;align-items:start}
.gbx .t-wrap>*{min-width:0}
.gbx .t-wrap>:not(.t-card){grid-column:1/-1}
.gbx .t-eyebrow{font-size:10px;letter-spacing:.2em}
.gbx .t-title{font-size:24px;font-weight:700;margin:0 0 8px}
.gbx .t-card{background:#151a2b;border:1px solid #1e293b;border-radius:12px;padding:16px;margin:0}
.gbx .t-stars{font-size:10px;letter-spacing:1px;color:#fbbf24}
.gbx .t-quote{font-size:11px;line-height:1.5;color:#cbd5e1;margin:8px 0 12px}
.gbx .t-author{gap:8px}
.gbx .t-avatar{width:28px;height:28px;font-size:10px}
.gbx .t-name{font-size:11px;font-weight:600}
.gbx .t-role{font-size:9px}

/* ---------- FINAL CTA ---------- */
.gbx .rc-wrap{max-width:1200px;padding:40px 16px 0}
.gbx .rc-card{border-radius:16px;padding:32px 20px;background:linear-gradient(135deg,#3b82f6,#6366f1);box-shadow:none}
.gbx .rc-card h2{font-size:26px;line-height:1.15;font-weight:700}
.gbx .rc-card p{font-size:13px;color:rgba(255,255,255,.8);line-height:1.5}
.gbx .rc-btn,.gbx .rc-ghost{font-size:14px;padding:12px 24px;border-radius:10px;box-shadow:none}
.gbx .rc-btn{background:#fff;color:#3b82f6}

/* ---------- DESKTOP ---------- */
@media (min-width:768px){
  .gbx .container,.gbx .hl-wrap,.gbx .rc-wrap,.gbx .t-wrap{padding-left:24px;padding-right:24px}
  .gbx .hm-h1{font-size:48px!important}
  .gbx .hm-sub{font-size:16px!important}
  .gbx .hm-btns{flex-direction:row;max-width:460px!important}
  .gbx .hm-btns button{flex:1}
  .gbx .t-wrap{grid-template-columns:repeat(3,1fr)}
  .gbx .rc-wrap{max-width:1200px}
}
@media (min-width:900px){
  .gbx .hl-card{display:grid;grid-template-columns:1fr 280px;column-gap:16px}
  .gbx .hl-head,.gbx .hl-chart{grid-column:1}
  .gbx .hl-feed{grid-column:2;grid-row:1/span 2;margin-top:0}
  .gbx .hl-card>.hl-cta{grid-column:1/-1}
}

/* ================= MOBILE: follow TagOption flow (live box, features, steps, stats, reviews) ================= */
@media (max-width:899px){
  /* live box */
  body .gbx .hl-wrap{max-width:none;padding:0!important}
  body .gbx .hl-card{background:#161c2e;border:0;border-radius:0;padding:0}
  body .gbx .hl-head{padding:14px 16px;gap:12px}
  body .gbx .hl-coin{width:36px;height:36px;border-radius:10px;font-size:17px}
  body .gbx .hl-name b{font-size:15px;gap:8px;letter-spacing:0}
  body .gbx .hl-name small{font-size:12px;margin-top:3px}
  body .gbx .hl-pill{font-size:10px;padding:3px 8px;border-radius:6px}
  body .gbx .hl-price b{font-size:20px;font-weight:800}
  body .gbx .hl-price small{font-size:12px;font-weight:700}
  body .gbx .hl-chart{height:190px;border-radius:0;background:#0a1018}
  body .gbx .hl-badge{font-size:11px;padding:4px 8px}
  body .gbx .hl-feed{background:#1b2136;margin:0}
  body .gbx .hl-feed-h{padding:14px 16px;font-size:12px;letter-spacing:.14em;border-bottom:1px solid #20273d}
  body .gbx .hl-row{gap:12px;padding:11px 16px;border-bottom:1px solid #2a3352}
  body .gbx .hl-av{width:32px;height:32px}
  body .gbx .hl-av svg{width:14px;height:14px}
  body .gbx .hl-who b,body .gbx .hl-amt b{font-size:14px}
  body .gbx .hl-who small,body .gbx .hl-amt small{font-size:11px}
  body .gbx .hl-cta{width:calc(100% - 32px);margin:14px 16px 18px;border-radius:12px;padding:13px;font-size:15px}

  /* features: single column */
  body .gbx .hm-sec{padding:56px 0 48px;text-align:left}
  body .gbx .hm-sec .hm-eyebrow,body .gbx .hm-sec .hm-h2{text-align:center}
  body .gbx .hm-eyebrow{font-size:12px;letter-spacing:.2em;color:#3b82f6;font-weight:700}
  body .gbx .hm-h2{font-size:28px;line-height:1.2;font-weight:700;margin:8px 0 28px}
  body .gbx .hm-cards{grid-template-columns:1fr;gap:14px}
  body .gbx .hm-card{padding:22px;border-radius:16px}
  body .gbx .hm-ic{width:40px;height:40px;border-radius:11px;margin-bottom:16px}
  body .gbx .hm-ic svg{width:20px;height:20px}
  body .gbx .hm-card h3{font-size:16px;margin-bottom:8px}
  body .gbx .hm-card p{font-size:13.5px;line-height:1.6}

  /* steps: stacked with numbered circles */
  body .gbx .gb-steps{display:block;padding:56px 0}
  body .gbx .gb-steps .container{padding:0 16px}
  body .gbx .gs-grid{display:flex;flex-direction:column;gap:20px;margin-top:8px}
  body .gbx .gs-step{display:flex;flex-direction:column;align-items:center;gap:14px}
  body .gbx .gs-n{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:14px;font-weight:700;color:#fff;background:linear-gradient(135deg,#3b82f6,#14b8a6);box-shadow:0 0 16px rgba(20,184,166,.35)}
  body .gbx .gs-card{width:100%;text-align:center;background:#1b2136;border:1px solid #232c47;border-radius:16px;padding:22px 20px}
  body .gbx .gs-ic{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#232a40;color:#5b8def;margin-bottom:12px}
  body .gbx .gs-ic svg{width:20px;height:20px}
  body .gbx .gs-card h3{font-size:16px;font-weight:700;color:#fff;margin:0 0 8px}
  body .gbx .gs-card p{font-size:13.5px;line-height:1.6;color:#8a92a6;margin:0}

  /* stats band */
  body .gbx .hm-band{padding:56px 0!important;background:linear-gradient(135deg,#0f1824,#121c2a);border-top:1px solid #1a2030;border-bottom:1px solid #1a2030}
  body .gbx .hm-stats{grid-template-columns:repeat(2,1fr);gap:40px 12px}
  body .gbx .hm-sic svg{width:24px;height:24px}
  body .gbx .hm-stat b{font-size:32px;font-weight:800}
  body .gbx .hm-stat small{font-size:14px}

  /* reviews: single column */
  body .gbx .t-wrap{grid-template-columns:1fr;gap:16px;padding:56px 16px}
  body .gbx .t-eyebrow,body .gbx .t-title{text-align:center}
  body .gbx .t-eyebrow{font-size:12px;letter-spacing:.2em;color:#3b82f6;font-weight:700}
  body .gbx .t-title{font-size:28px;margin:0 0 12px}
  body .gbx .t-card{padding:22px;border-radius:18px;background:#1b2136}
  body .gbx .t-stars{font-size:16px}
  body .gbx .t-quote{font-size:15px;line-height:1.65;color:#9aa3b8;margin:12px 0 18px}
  body .gbx .t-avatar{width:40px;height:40px;font-size:13px}
  body .gbx .t-name{font-size:15px;font-weight:700}
  body .gbx .t-role{font-size:13px}
}

/* ================= MOBILE SIZING = TagOption (measured from tagoption.ke on a 411px phone) ================= */
@media (max-width:899px){
  /* page gutters */
  body .gbx .container,body .gbx .rc-wrap,body .gbx .ca-wrap{padding-left:22px;padding-right:22px}
  body .gbx .t-wrap{padding-left:22px;padding-right:22px}

  /* header 60px */
  body .gbx header .container{min-height:60px;padding-left:20px;padding-right:20px}
  body .gbx .logo{gap:10px}
  body .gbx .logo-box{width:34px;height:34px;border-radius:10px}
  body .gbx .logo-box svg{width:19px;height:19px}
  body .gbx .logo-text{font-size:18px!important;font-weight:700!important}
  body .gbx header .btn-ghost{font-size:14px!important;padding:9px 12px!important;border-radius:10px!important;font-weight:500;background:transparent!important;border:0!important;color:#9aa3b8!important}
  body .gbx header .btn{font-size:14px!important;padding:10px 18px!important;border-radius:10px!important;font-weight:600;background:#3b82f6!important;box-shadow:0 4px 14px rgba(59,130,246,.35)!important}

  /* hero */
  body .gbx .hm-hero{padding-top:64px!important;padding-bottom:52px!important}
  body .gbx .hm-hero .pill{font-size:12.5px;font-weight:600;padding:7px 16px;border-radius:999px;background:rgba(59,130,246,.08);border:1px solid #1e3a5f;color:#4f8cff;gap:8px}
  body .gbx .hm-hero .pill svg{width:16px;height:16px}
  body .gbx .hm-h1{font-size:36px!important;line-height:1.1!important;font-weight:800!important;margin-top:28px!important}
  body .gbx .hm-sub{font-size:16px!important;line-height:1.65!important;margin:24px auto 0!important;max-width:none!important;padding:0 2px}
  body .gbx .hm-btns{max-width:none!important;margin:38px auto 0!important;gap:13px}
  body .gbx .hm-btns button{font-size:16px!important;font-weight:700!important;height:54px;padding:0 18px!important;border-radius:14px!important}
  body .gbx .hm-b1{box-shadow:0 8px 24px rgba(59,130,246,.35)!important}
  body .gbx .hm-b2{background:transparent!important;border:1px solid #1e293b!important}
  body .gbx .hm-btns button svg{width:20px;height:20px}
  body .gbx .hm-chips{gap:12px 12px;margin:52px auto 0;max-width:none}
  body .gbx .hm-chip,body .gbx .hm-chip:nth-child(n+3){font-size:13px;font-weight:500;padding:0 16px;height:35px;display:inline-flex;align-items:center;gap:9px;background:#151a2b;border:1px solid #1e293b;border-radius:999px;color:#9aa3b8}
  body .gbx .hm-chip svg{width:17px;height:17px;color:#4f8cff}

  /* ticker 48px */
  body .gbx .tk-wrap{height:48px}
  body .gbx .tk-item{font-size:13px;gap:9px;padding:0 18px;border-right:1px solid #1e293b}
  body .gbx .tk-item>:last-child{font-size:13px}
  body .gbx .tk-b{min-width:26px;height:26px;border-radius:7px;font-size:12px;padding:0 4px}

  /* live box */
  body .gbx .hl-head{padding:16px 16px;gap:12px}
  body .gbx .hl-coin{width:34px;height:34px;font-size:16px}
  body .gbx .hl-chart{height:205px}
  body .gbx .hl-feed-h{padding:12px 16px}
  body .gbx .hl-row{padding:12px 16px}
  body .gbx .hl-cta{width:calc(100% - 26px);margin:14px 13px 22px;height:42px;padding:0;border-radius:11px;font-size:15px;font-weight:700}

  /* platform */
  body .gbx .hm-sec{padding:64px 0 56px}
  body .gbx .hm-eyebrow{font-size:13px;margin:0 0 14px}
  body .gbx .hm-h2{font-size:30px;line-height:1.2;margin:0 0 56px}
  body .gbx .hm-cards{gap:17px}
  body .gbx .hm-card{padding:26px;border-radius:17px;background:#1c2236;border:1px solid #232c47}
  body .gbx .hm-ic{width:43px;height:43px;border-radius:12px;margin-bottom:22px}
  body .gbx .hm-ic svg{width:22px;height:22px}
  body .gbx .hm-card h3{font-size:16px;margin:0 0 10px}
  body .gbx .hm-card p{font-size:14px;line-height:1.75;margin:0}

  /* steps */
  body .gbx .gb-steps{padding:64px 0 56px}
  body .gbx .gb-steps .hm-eyebrow{margin-bottom:14px}
  body .gbx .gs-grid{gap:26px;margin-top:0}
  body .gbx .gs-step{gap:22px}
  body .gbx .gs-n{width:43px;height:43px;font-size:15px}
  body .gbx .gs-card{padding:22px 22px 26px;border-radius:17px;background:#1c2236}
  body .gbx .gs-ic{width:46px;height:46px;margin-bottom:16px}
  body .gbx .gs-ic svg{width:22px;height:22px}
  body .gbx .gs-card h3{font-size:18px;margin:0 0 10px}
  body .gbx .gs-card p{font-size:14.5px;line-height:1.7}

  /* stats */
  body .gbx .hm-band{padding:60px 0 70px!important}
  body .gbx .hm-stats{gap:42px 12px}
  body .gbx .hm-stat{gap:8px}
  body .gbx .hm-stat b{font-size:32px;line-height:1.1}
  body .gbx .hm-stat small{font-size:14px}

  /* reviews */
  body .gbx .t-wrap{padding-top:64px;padding-bottom:64px;gap:17px}
  body .gbx .t-eyebrow{font-size:13px;margin-bottom:12px}
  body .gbx .t-title{font-size:30px;margin:0 0 24px}
  body .gbx .t-card{padding:23px;border-radius:17px;background:#1c2236;border:1px solid #232c47}
  body .gbx .t-stars{font-size:17px;letter-spacing:2px}
  body .gbx .t-quote{font-size:15px;line-height:1.65;margin:14px 0 20px}
  body .gbx .t-avatar{width:34px;height:34px;font-size:12px}
  body .gbx .t-name{font-size:15px}
  body .gbx .t-role{font-size:12px}

  /* final CTA */
  body .gbx .rc-wrap{padding-top:56px}
  body .gbx .rc-card{border-radius:30px;padding:60px 26px;text-align:center}
  body .gbx .rc-card h2{font-size:32px;line-height:1.2;font-weight:800}
  body .gbx .rc-card p{font-size:15px;line-height:1.65;margin:16px 0 30px;color:rgba(255,255,255,.78)}
  body .gbx .rc-btn,body .gbx .rc-ghost{width:100%;height:54px;padding:0;border-radius:14px;font-size:16px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:10px}
  body .gbx .rc-ghost{margin-top:14px;background:transparent;border:1px solid rgba(255,255,255,.28);color:#fff}
}
