/* =========================================================
  BYBITUI HOME CSS — Bybit-like (dark + yellow), GP-friendly
  File: pages/home/home.css
  Notes:
  - Scope UI: .bb-home (font + hover)
  - No underline, no color collision on hover
========================================================= */

/* Tokens (Bybit-ish) */
:root{
  --bb-bg: #0B0E11;
  --bb-panel: rgba(255,255,255,.04);
  --bb-panel2: rgba(255,255,255,.06);
  --bb-border: rgba(255,255,255,.10);

  --bb-text: rgba(234,236,239,.95);
  --bb-muted: rgba(234,236,239,.70);
  --bb-dim: rgba(234,236,239,.55);

  --bb-yellow: #F7A600;
  --bb-yellow2: #FFD26A;

  --bb-cta-bg: #F7A600;
  --bb-cta-bg-hover: #FFB31A;
  --bb-cta-text: #121212;

  --bb-radius: 18px;
  --bb-radius-sm: 14px;
  --bb-pill: 999px;

  --bb-container: 1160px;

  /* Softer shadow (GeneratePress vibe) */
  --bb-shadow: 0 10px 26px rgba(0,0,0,.26);

  /* Focus ring */
  --bb-focus: 0 0 0 3px rgba(247,166,0,.18), 0 0 0 1px rgba(247,166,0,.55);

  /* Transitions */
  --bb-ease: .14s ease;
}

/* Base reset (safe with GP) */
*{ box-sizing:border-box; }
img{ max-width:100%; height:auto; }

/* Layout container */
.bb-container{
  width: min(var(--bb-container), calc(100% - 32px));
  margin: 0 auto;
}

.bb-home{
  padding-bottom: 92px;

  /* Force Roboto in this UI only */
  font-family: Roboto, "Segoe UI", Arial, system-ui, -apple-system, sans-serif !important;
  font-weight: 500;
  color: var(--bb-text);
  background: var(--bb-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.bb-home *{ font-family: inherit !important; }
@media (min-width: 981px){
  .bb-home{ padding-bottom: 0; }
}

/* Links: no underline, no global hover color collision */
.bb-home a:not(.bb-btn):not(.bb-sticky__btn){
  color: inherit;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: color var(--bb-ease), opacity var(--bb-ease), transform var(--bb-ease), background var(--bb-ease), border-color var(--bb-ease), box-shadow var(--bb-ease);
}
.bb-home a:focus-visible,
.bb-home button:focus-visible{
  outline: none;
  box-shadow: var(--bb-focus);
}

/* Only "text links" inside content get yellow hover */
.bb-home a:hover:not(.bb-btn):not(.bb-tile):not(.bb-sticky__btn):not(.bb-lang__a):not(.bb-brand){
  color: var(--bb-yellow2);
}

/* =========================================================
   Buttons
========================================================= */
.bb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:52px;
  padding: 0 18px;
  border-radius: var(--bb-pill);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor:pointer;
  user-select:none;
  will-change: transform;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: transform var(--bb-ease), background var(--bb-ease), color var(--bb-ease), border-color var(--bb-ease), box-shadow var(--bb-ease);
}

.bb-btn:hover,
.bb-btn:focus,
.bb-btn:active,
.bb-btn:visited{
  text-decoration: none !important;
  border-bottom: none !important;
}
.bb-btn:hover{ transform: translateY(-1px); }
.bb-btn:active{ transform: translateY(0); }
.bb-btn:focus-visible{ outline:none; box-shadow: var(--bb-focus); }

/* Primary: ALWAYS black text on yellow (avoid hover collision) */
.bb-btn--primary{
  background: var(--bb-cta-bg);
  color: var(--bb-cta-text) !important;
  border: 0;
  box-shadow: none;
}
.bb-btn--primary:hover{
  background: var(--bb-cta-bg-hover);
  color: var(--bb-cta-text) !important;
  border: 0;
  box-shadow: none;
}

/* Ghost */
.bb-btn--ghost{
  background: rgba(255,255,255,.02);
  color: rgba(234,236,239,.96) !important;
  border-color: rgba(255,255,255,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.bb-btn--ghost:hover{
  background: rgba(247,166,0,.08);
  color: #FFFFFF !important;
  border-color: #F7A600;
  box-shadow:
    0 10px 24px rgba(247,166,0,.18),
    inset 0 1px 0 rgba(255,255,255,.08);
}

/* =========================================================
   Header (fixed + solid on scroll)
========================================================= */
.bb-header{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  padding: 14px 0;

  background: rgba(11,14,17,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.bb-header.is-solid{
  background: rgba(11,14,17,.92);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(255,255,255,.14);
  box-shadow: 0 12px 28px rgba(0,0,0,.42);
}

.bb-header__inner{
  display:flex;
  align-items:center;
  gap:16px;
}

/* Brand */
.bb-brand{
  display:flex;
  align-items:center;
  gap:10px;
  flex: 0 0 auto;
}
.bb-logo{ display:block; object-fit:contain; }
.bb-brand__text{
  font-weight: 900;
  letter-spacing: .02em;
}

/* Nav */
.bb-nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex: 1 1 auto;
  margin-left: 8px;
}
.bb-nav a{
  font-size: 14px;
  font-weight: 800;
  color: rgba(234,236,239,.92);
  padding: 8px 6px;
  border-radius: 12px;
}
.bb-nav a:hover{
  color: var(--bb-yellow2);
  background: rgba(255,255,255,.03);
}

/* Actions */
.bb-actions{ display:flex; align-items:center; gap:10px; flex:0 0 auto; }

/* Language pills (clear contrast, not blending) */
.bb-lang{
  display:flex;
  gap:8px;
  align-items:center;
  flex:0 0 auto;
}
.bb-lang a{
  display:inline-flex;
  align-items:center;
  gap:8px;

  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: var(--bb-pill);

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(234,236,239,.92);

  box-shadow: 0 8px 18px rgba(0,0,0,.22);
}
.bb-lang a:hover{
  background: rgba(247,166,0,.10);
  border-color: rgba(247,166,0,.55);
  transform: translateY(-1px);
}
.bb-lang a.is-on{
  background: rgba(247,166,0,.14);
  border-color: rgba(247,166,0,.75);
  color: var(--bb-yellow2);
}
.bb-lang__flag{ font-size: 14px; line-height: 1; filter: saturate(1.05) contrast(1.05); }
.bb-lang__code{ letter-spacing: .02em; }



/* =========================================================
   Drawer + Backdrop
========================================================= */
.bb-backdrop{
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0,0,0,.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
body.bb-menu-open .bb-backdrop{
  opacity: 1;
  pointer-events: auto;
}

.bb-drawer{
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 92vw);
  z-index: 1000;
  background: rgba(12,14,17,.92);
  backdrop-filter: blur(14px);
  border-left: 1px solid rgba(255,255,255,.10);
  transform: translateX(100%);
  transition: transform .18s ease;
  padding: 18px;
}
body.bb-menu-open .bb-drawer{ transform: translateX(0); }

.bb-drawer__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.bb-drawer__brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.bb-drawer__actions{
  display:grid;
  gap:10px;
}

.bb-drawer__nav{
  display:flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0 16px;
}
.bb-drawer__nav a{
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  transition: border-color var(--bb-ease), background var(--bb-ease), transform var(--bb-ease);
}
.bb-drawer__nav a:hover{
  border-color: rgba(247,166,0,.55);
  background: rgba(247,166,0,.08);
  transform: translateY(-1px);
}

/* Drawer language pills */
.bb-drawer__lang{
  display:flex;
  gap:8px;
  margin-top: 14px;
}
.bb-drawer__lang a{
  display:inline-flex;
  align-items:center;
  gap:8px;

  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: var(--bb-pill);

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(234,236,239,.92);
}
.bb-drawer__lang a:hover{
  background: rgba(247,166,0,.10);
  border-color: rgba(247,166,0,.55);
}
.bb-drawer__lang a.is-on{
  background: rgba(247,166,0,.14);
  border-color: rgba(247,166,0,.75);
  color: var(--bb-yellow2);
}

/* =========================================================
   Hero
========================================================= */
.bb-hero{
  padding: 112px 0 28px;
  min-height: 88vh;
  position: relative;
  overflow: hidden;
}
.bb-hero::before{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(900px 520px at 16% 18%, rgba(247,166,0,.14), rgba(0,0,0,0) 60%),
    radial-gradient(900px 520px at 72% 55%, rgba(255,255,255,.06), rgba(0,0,0,0) 62%),
    linear-gradient(to bottom, rgba(0,0,0,.70), rgba(0,0,0,.25) 50%, rgba(0,0,0,.85));
  pointer-events:none;
  z-index:0;
}
.bb-hero__inner{ position:relative; z-index:1; }

.bb-kicker{
  display:inline-block;
  padding: 8px 12px;
  border-radius: var(--bb-pill);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  font-size: 12px;
  font-weight: 800;
  color: rgba(234,236,239,.86);
  margin: 0 0 14px;
}
.bb-h1{
  margin:0 0 14px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.02em;
  max-width: 920px;
}
.bb-sub{
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--bb-muted);
  max-width: 860px;
}
.bb-hero__cta{
  display:flex;
  gap:12px;
  flex-wrap: wrap;
}
.bb-note{
  margin: 14px 0 0;
  color: var(--bb-dim);
  font-size: 13px;
  max-width: 980px;
}

/* Home images */
.bb-hero__media,
.bb-trust__media{
  margin-top: 16px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}
.bb-trust__media{ margin: 14px 0 16px; }
.bb-hero__img,
.bb-trust__img{
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
   Sections + Typography
========================================================= */
.bb-section{ padding: 46px 0; }
.bb-h2{
  margin:0 0 14px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.bb-h3{
  margin:0 0 8px;
  font-size: 16px;
  font-weight: 900;
}
.bb-muted{ color: var(--bb-muted); line-height: 1.65; margin:0; }

@media (max-width: 720px){
  .bb-section{ padding: 38px 0; }
  .bb-h2{ font-size: 24px; }
  .bb-sub{ font-size: 16px; }
}

/* Lists */
.bb-list{ margin: 0; padding-left: 18px; }
.bb-list li{ margin: 8px 0; color: rgba(234,236,239,.92); }
.bb-list strong{ font-weight: 900; }

/* Row helper */
.bb-row,
.bb-cta-row{
  margin-top: 16px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* =========================================================
   Cards
========================================================= */
.bb-card{
  padding: 16px;
  border-radius: var(--bb-radius);
  border: 1px solid var(--bb-border);
  background: var(--bb-panel);
  box-shadow: var(--bb-shadow);
  transition: border-color var(--bb-ease), background var(--bb-ease), box-shadow var(--bb-ease);
}
.bb-card:hover{
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.045);
}

/* Trust grid */
.bb-trust{ margin-top: 22px; }
.bb-trust__grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 900px){
  .bb-trust__grid{ grid-template-columns: repeat(3, 1fr); }
}

/* Tiles */
.bb-tiles{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 720px){
  .bb-tiles{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px){
  .bb-tiles{ grid-template-columns: repeat(3, 1fr); }
}
.bb-tile{
  display:block;
  padding: 16px;
  border-radius: var(--bb-radius);
  border: 1px solid var(--bb-border);
  background: var(--bb-panel2);
  box-shadow: var(--bb-shadow);
  transition: transform var(--bb-ease), border-color var(--bb-ease), background var(--bb-ease), box-shadow var(--bb-ease);
}
.bb-tile:hover{
  background: rgba(255,255,255,.055);
  border-color: rgba(247,166,0,.42);
  box-shadow: 0 14px 30px rgba(0,0,0,.32);
  transform: translateY(-2px);
}
.bb-tile__t{ font-weight: 900; margin-bottom: 6px; }
.bb-tile__d{ color: var(--bb-muted); font-size: 13.5px; line-height: 1.55; }

/* Steps */
.bb-steps{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 900px){
  .bb-steps{ grid-template-columns: repeat(3, 1fr); }
}
.bb-step{
  padding: 16px;
  border-radius: var(--bb-radius);
  border: 1px solid var(--bb-border);
  background: var(--bb-panel);
  box-shadow: var(--bb-shadow);
  min-height: 140px;
}
.bb-step__n{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  background: rgba(247,166,0,.92);
  color: #121212;
  margin-bottom: 10px;
}

/* =========================================================
   FAQ
========================================================= */
.bb-faq{ display:grid; gap:10px; margin-top: 10px; }
.bb-faq__item{
  border-radius: var(--bb-radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 8px 12px;
  transition: border-color var(--bb-ease), background var(--bb-ease);
}
.bb-faq__item:hover{
  border-color: rgba(247,166,0,.30);
  background: rgba(255,255,255,.04);
}
.bb-faq__q{
  cursor:pointer;
  font-weight: 900;
  padding: 10px 0;
  list-style:none;
}
.bb-faq__q::-webkit-details-marker{ display:none; }
.bb-faq__a{ padding: 0 0 10px; }
.bb-faq__item:hover .bb-faq__q{ color: var(--bb-yellow2); }

/* =========================================================
   Policies
========================================================= */
.bb-legal{
  border-top: 1px solid rgba(255,255,255,.08);
}
.bb-policies{
  display:flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 10px;
}
.bb-policies a{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  transition: border-color var(--bb-ease), background var(--bb-ease), transform var(--bb-ease);
}
.bb-policies a:hover{
  border-color: rgba(247,166,0,.55);
  background: rgba(247,166,0,.08);
  transform: translateY(-1px);
}

/* =========================================================
   Mobile sticky CTA
========================================================= */
.bb-sticky{
  position: fixed;
  left:0; right:0; bottom:0;
  z-index: 1001;
  padding: 10px 0 max(10px, env(safe-area-inset-bottom));
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,.10);
}
@media (min-width: 981px){
  .bb-sticky{ display:none; }
}
.bb-sticky__inner{
  width: min(var(--bb-container), calc(100% - 24px));
  margin: 0 auto;
}
.bb-sticky__btn{
  height: 48px;
  width: 100%;
  border-radius: var(--bb-pill);
  font-weight: 700;
  font-size: 15px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--bb-cta-bg);
  color: var(--bb-cta-text) !important;
  border: 0;
  box-shadow: none;
  transition:
    transform var(--bb-ease),
    background var(--bb-ease),
    color var(--bb-ease);
}
.bb-sticky__btn:hover{
  background: var(--bb-cta-bg-hover);
  color: var(--bb-cta-text) !important;
  box-shadow: none;
}

body.bb-menu-open .bb-sticky{ display:none; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .bb-btn, .bb-drawer, .bb-backdrop, .bb-tile, .bb-card, .bb-policies a{ transition:none; }
}

/* =========================
   Burger (ONE source of truth)
========================= */
.bb-burger{
  display:none; /* desktop: ẩn */
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  align-items:center;
  justify-content:center;
  cursor:pointer;
  margin-left: auto;
}

.bb-burger:focus-visible{ outline:none; box-shadow: var(--bb-focus); }

/* mobile/tablet: hiện */
@media (max-width: 1100px){
  .bb-burger{ display:inline-flex; }
}

.bb-burger__icon{
  width: 18px;
  height: 12px;
  position: relative;
  display: block;
}

.bb-burger__icon span{
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(234,236,239,.95);
  transition: transform .18s ease, opacity .18s ease, top .18s ease, bottom .18s ease;
}

.bb-burger__icon span:nth-child(1){ top: 0; }
.bb-burger__icon span:nth-child(2){ top: 5px; }
.bb-burger__icon span:nth-child(3){ bottom: 0; }

/* opened -> X */
.bb-burger.is-open .bb-burger__icon span:nth-child(1){
  top: 5px; transform: rotate(45deg);
}
.bb-burger.is-open .bb-burger__icon span:nth-child(2){
  opacity: 0;
}
.bb-burger.is-open .bb-burger__icon span:nth-child(3){
  bottom: 5px; transform: rotate(-45deg);
}

/* FORCE: show language next to logo on mobile */
@media (max-width: 980px){
  .bb-lang{ display:flex !important; }
  .bb-actions{ display:none !important; }
}



/* ===============================
   Mobile header fix: show burger, hide desktop nav/actions
   Keep: Brand + Lang + Burger
================================ */

/* Tablet & below: hide desktop nav + action button */
@media (max-width: 1100px){
  .bb-nav{ display:none !important; }
  .bb-actions{ display:none !important; }

  /* keep header one line */
  .bb-header__inner{ gap:10px; }

  /* language sits next to logo but can push to the right if tight */
  .bb-lang{ margin-left: 6px; }

  /* ensure burger is visible and clickable */
  .bb-burger{
    display:inline-flex !important;
    margin-left:auto !important;
  }
}

/* Very small screens: make language pills compact so burger never gets pushed out */
@media (max-width: 420px){
  .bb-logo{ width:72px; height:auto; }
  .bb-lang a{ padding: 7px 8px; gap:6px; }
  .bb-lang__code{ display:none; } /* only show flags */
}

/* --- FIX: Home burger icon = 3 lines (match Site icon) --- */
.bb-home .bb-burger__icon{
  display: grid;
  gap: 5px;
  width: 18px;
}

.bb-home .bb-burger__icon span{
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: rgba(234,236,239,.92);
}

/* Nếu home.css có pseudo tạo thêm vạch/chấm thì tắt hẳn */
.bb-home .bb-burger__icon span::before,
.bb-home .bb-burger__icon span::after{
  content: none !important;
}

/* FIX: center burger button + icon (Home) */
.bb-home .bb-burger{
  align-items: center;
  justify-content: center;
  padding: 0;
}

.bb-home .bb-burger__icon{
  display: grid;
  gap: 5px;
  width: 18px;
  margin: 0;              /* tránh bị margin mặc định */
  transform: translateY(0);/* khóa lệch */
}

/* đảm bảo mỗi line đúng kích thước */
.bb-home .bb-burger__icon span{
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: rgba(234,236,239,.92);
}

/* =========================================================
  HERO VISUAL (HTML instead of Image #1) — NO YELLOW
  Scope: .bb-home only
========================================================= */

.bb-home .bb-hero__media{ margin-top: 14px; }

/* Root card */
.bb-home .bb-hero-visual{
  --bg: var(--bb-bg, #0B0E11);
  --text: rgba(234,236,239,.92);
  --muted: rgba(234,236,239,.64);

  /* secondary accent (cool, non-CTA) */
  --sec:  #22D3EE;
  --sec2: #7DEBFF;

  color: var(--text);
  background:
    radial-gradient(1050px 420px at 50% -10%, rgba(34,211,238,.14), transparent 62%),
    radial-gradient(900px 340px at 50% 105%, rgba(34,211,238,.08), transparent 60%),
    var(--bg);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 16px 14px 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.34), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.bb-home .bb-hero-visual:before{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  background: radial-gradient(520px 220px at 50% 12%, rgba(34,211,238,.10), transparent 65%);
  opacity:.9;
}

/* topline */
.bb-home .bb-hero-visual__topline{
  position: relative;
  text-align: center;
  font-weight: 780;
  letter-spacing: .2px;
  color: rgba(234,236,239,.76);
  margin-bottom: 10px;
  user-select: none;
}
.bb-home .bb-hero-visual__topline a{
  color: rgba(34,211,238,.92);
  text-decoration: none;
}
.bb-home .bb-hero-visual__topline a:hover{ color: rgba(125,235,255,.95); }
.bb-home .bb-hero-visual__topline .dot{ opacity:.45; margin: 0 .28rem; }

/* Panel around tabs + hints */
.bb-home .bb-hero-visual__panel{
  position: relative;
  border-radius: 18px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.32), 0 0 0 1px rgba(255,255,255,.02) inset;
}

/* SVG base */
.bb-home .bb-i{
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Tabs — 1 row, scroll on small screens */
.bb-home .bb-hero-tabs{
  display:flex;
  flex-wrap: nowrap;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;

  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  scrollbar-width: none;
}
.bb-home .bb-hero-tabs::-webkit-scrollbar{ display:none; }

.bb-home .bb-hero-tab{
  flex: 0 0 auto;
  min-width: 148px;
  padding: 11px 12px;
  min-height: 52px;
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;

  color: rgba(234,236,239,.86);
  scroll-snap-align: start;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.bb-home .bb-hero-tab + .bb-hero-tab{ border-left: 1px solid rgba(255,255,255,.08); }

.bb-home .bb-hero-tab__ico{
  width: 22px;
  height: 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: rgba(34,211,238,.85);
  filter: drop-shadow(0 0 10px rgba(34,211,238,.10));
}
.bb-home .bb-hero-tab__label{
  font-weight: 860;
  font-size: .98rem;
  line-height: 1.1;
  white-space: nowrap;
}

/* Active: cyan, not yellow */
.bb-home .bb-hero-tab.is-active{
  background: linear-gradient(180deg, rgba(34,211,238,.13), rgba(34,211,238,.06));
  box-shadow: 0 0 0 1px rgba(34,211,238,.26) inset;
  color: rgba(125,235,255,.95);
}
.bb-home .bb-hero-tab.is-active .bb-hero-tab__ico{ color: rgba(125,235,255,.95); }

/* Hover */
.bb-home .bb-hero-tab:hover{
  background: rgba(34,211,238,.06);
  color: rgba(125,235,255,.92);
}

/* Hints (3 cards) */
.bb-home .bb-hero-hints{
  margin-top: 10px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.bb-home .bb-hero-hint{
  display:block;
  text-decoration:none;
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.bb-home .bb-hero-hint:hover{
  transform: translateY(-1px);
  border-color: rgba(34,211,238,.22);
  background: rgba(34,211,238,.05);
  box-shadow: 0 14px 30px rgba(0,0,0,.24);
}
.bb-home .bb-hero-hint__k{
  display:block;
  color: rgba(125,235,255,.92);
  font-weight: 860;
  line-height: 1.2;
  margin-bottom: 3px;
}
.bb-home .bb-hero-hint__d{
  display:block;
  color: rgba(234,236,239,.66);
  font-weight: 650;
  font-size: .92rem;
  line-height: 1.35;
  word-break: break-word;
}

/* Flow */
.bb-home .bb-hero-flow{
  margin-top: 14px;
  display:flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}
.bb-home .bb-hero-step{
  flex: 1 1 0;
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration:none;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.bb-home .bb-hero-step:hover{
  transform: translateY(-1px);
  border-color: rgba(34,211,238,.18);
  background: rgba(34,211,238,.04);
}

.bb-home .bb-hero-step__ico{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 14px 26px rgba(0,0,0,.20), 0 0 0 1px rgba(255,255,255,.02) inset;
  color: rgba(34,211,238,.90); /* no yellow */
}

.bb-home .bb-hero-step__text{ display:block; min-width: 0; }
.bb-home .bb-hero-step__t{
  display:block;
  color: rgba(234,236,239,.90);
  font-weight: 900;
  line-height: 1.2;
}
.bb-home .bb-hero-step__m{ color: rgba(234,236,239,.70); font-weight: 800; }
.bb-home .bb-hero-step__s{
  display:block;
  margin-top: 3px;
  color: rgba(234,236,239,.62);
  font-weight: 650;
  font-size: .92rem;
  line-height: 1.25;
}

/* Arrow: cyan */
.bb-home .bb-hero-flow__arrow{
  flex: 0 0 40px;
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, rgba(34,211,238,.10), rgba(34,211,238,.70), rgba(34,211,238,.10));
  position: relative;
  filter: drop-shadow(0 0 10px rgba(34,211,238,.10));
  opacity: .95;
}
.bb-home .bb-hero-flow__arrow:after{
  content:"";
  position:absolute;
  right:-2px; top:50%;
  transform: translateY(-50%);
  width:0; height:0;
  border-left: 8px solid rgba(34,211,238,.70);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .bb-home .bb-hero-hints{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px){
  .bb-home .bb-hero-hints{ grid-template-columns: 1fr; }
  .bb-home .bb-hero-flow{
    display:grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .bb-home .bb-hero-flow__arrow{ display:none; }
  .bb-home .bb-hero-tab{ min-width: 132px; }
}
@media (max-width: 420px){
  .bb-home .bb-hero-tab{ min-width: 120px; }
}

/* breathing space above hero CTA buttons */
.bb-home .bb-hero__cta{ margin-top: 18px; }
@media (max-width: 860px){
  .bb-home .bb-hero__cta{ margin-top: 22px; }
}

/* =========================================================
  SAFETY CHECKLIST (HTML instead of Image #2) — NO YELLOW
  Scope: .bb-home only — bb-safety-*
========================================================= */

.bb-home .bb-safety{
  --text: rgba(234,236,239,.92);
  --muted: rgba(234,236,239,.62);
  --sec:  #22D3EE;
  --sec2: #7DEBFF;

  color: var(--text);
  border-radius: 18px;
  padding: 16px 14px 14px;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(900px 320px at 18% 10%, rgba(34,211,238,.14), transparent 62%),
    radial-gradient(900px 320px at 82% 110%, rgba(34,211,238,.08), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 46px rgba(0,0,0,.36), 0 0 0 1px rgba(255,255,255,.03) inset;
}
.bb-home .bb-safety:before{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  background: radial-gradient(520px 220px at 50% 14%, rgba(34,211,238,.10), transparent 70%);
  opacity:.9;
}

.bb-home .bb-safety__i{
  fill:none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header */
.bb-home .bb-safety__head{
  position: relative;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.bb-home .bb-safety__title{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}
.bb-home .bb-safety__badge{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(34,211,238,.10);
  border: 1px solid rgba(34,211,238,.24);
  color: rgba(34,211,238,.95);
  flex: 0 0 auto;
}
.bb-home .bb-safety__h{
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 900;
  color: rgba(234,236,239,.92);
}

/* Mini card */
.bb-home .bb-safety__mini{
  text-decoration:none;
  color: rgba(234,236,239,.92);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 12px 24px rgba(0,0,0,.28);
  min-width: 210px;
  flex: 0 0 auto;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.bb-home .bb-safety__mini:hover{
  border-color: rgba(34,211,238,.28);
  background: rgba(34,211,238,.06);
  transform: translateY(-1px);
}
.bb-home .bb-safety__miniTop{
  display:block;
  font-weight: 900;
  margin-bottom: 6px;
  color: rgba(234,236,239,.86);
}
.bb-home .bb-safety__miniRow{
  display:flex;
  align-items:center;
  gap: 10px;
  color: rgba(234,236,239,.78);
  font-weight: 750;
}
.bb-home .bb-safety__miniIco{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(34,211,238,.95);
}
.bb-home .bb-safety__ok{
  margin-left:auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(34,211,238,.12);
  border: 1px solid rgba(34,211,238,.24);
  color: rgba(34,211,238,.95);
}

/* List */
.bb-home .bb-safety__list{
  position: relative;
  margin-top: 12px;
  display:grid;
  gap: 10px;
}
.bb-home .bb-safety__item{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.bb-home .bb-safety__ico{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.06);
  color: rgba(34,211,238,.92); /* no yellow */
  flex: 0 0 auto;
}
.bb-home .bb-safety__txt{
  min-width: 0;
  flex: 1 1 auto;
}
.bb-home .bb-safety__k{
  font-weight: 900;
  color: rgba(234,236,239,.92);
  line-height: 1.2;
}
.bb-home .bb-safety__sm{ color: rgba(234,236,239,.72); font-weight: 800; }
.bb-home .bb-safety__d{
  margin-top: 4px;
  color: rgba(234,236,239,.62);
  font-weight: 650;
  font-size: .93rem;
  line-height: 1.35;
}

/* Tick */
.bb-home .bb-safety__tick{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(34,211,238,.10);
  border: 1px solid rgba(34,211,238,.22);
  color: rgba(34,211,238,.95);
  flex: 0 0 auto;
}

/* Footer */
.bb-home .bb-safety__foot{
  position: relative;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.bb-home .bb-safety__note{
  color: rgba(234,236,239,.58);
  font-weight: 700;
}

/* Secondary chips (avoid CTA vibe) */
.bb-home .bb-safety__actions{
  display:flex;
  gap: 10px;
}
.bb-home .bb-safety__a{
  text-decoration:none;
  font-weight: 850;
  color: rgba(34,211,238,.92);
  padding: 8px 10px;
  border-radius: 12px; /* not pill */
  background: rgba(34,211,238,.06);
  border: 1px solid rgba(34,211,238,.16);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.bb-home .bb-safety__a:hover{
  background: rgba(34,211,238,.10);
  border-color: rgba(34,211,238,.26);
  color: rgba(125,235,255,.95);
  transform: translateY(-1px);
}

/* ===== Responsive ===== */
@media (max-width: 860px){
  .bb-home .bb-safety__head{
    flex-direction: column;
    align-items: stretch;
  }
  .bb-home .bb-safety__mini{
    min-width: 0;
    width: 100%;
  }
  .bb-home .bb-safety__actions{
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
@media (max-width: 420px){
  .bb-home .bb-safety__item{ align-items: flex-start; }
  .bb-home .bb-safety__tick{
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }
  .bb-home .bb-safety__ico{
    width: 40px;
    height: 40px;
  }
}

.bb-disclaimer{
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.bb-disclaimer__inner{
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  padding: 10px 0;
}
.bb-disclaimer__txt{
  font-size:12px; line-height:1.35;
  color: rgba(234,236,239,.78);
}
.bb-disclaimer__a{
  font-size:12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(247,166,0,.35);
  color: rgba(234,236,239,.92);
  white-space: nowrap;
}
.bb-disclaimer__a:hover{ opacity:.92; }
@media (max-width: 860px){
  .bb-disclaimer__inner{ flex-direction:column; align-items:flex-start; }
}
