/* ——— LAYOUT ——— */
.bb-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ——— HEADER ——— */
.bb-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  background: rgba(10, 15, 13, 0.72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-1);
}
.bb-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.bb-logo {
  width: 44px; height: 44px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--brand-dim);
  box-shadow: 0 0 20px var(--brand-glow), inset 0 0 0 1px rgba(0,0,0,0.4);
  flex-shrink: 0; background: #000;
}
.bb-logo.sm { width: 36px; height: 36px; border-radius: 8px; }
.bb-logo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.bb-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.bb-brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  color: var(--fg-1); letter-spacing: -0.01em;
}
.bb-brand-sub {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-3); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px;
}
.bb-nav { display: flex; gap: 32px; }
.bb-nav a { color: var(--fg-2); font-size: 14px; font-weight: 500; }
.bb-nav a:hover { color: var(--brand); }
.bb-header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--brand);
  border: 1px solid var(--brand-mid);
  padding: 8px 14px; border-radius: 8px; font-size: 13px;
  font-family: var(--font-display); font-weight: 600;
  transition: all var(--dur-base) var(--ease-standard);
}
.bb-header-cta:hover { background: var(--brand-dim); box-shadow: var(--glow-sm); color: var(--brand); }

/* ——— BUTTONS ——— */
.bb-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  padding: 12px 18px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; transition: all var(--dur-base) var(--ease-standard);
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.bb-btn-primary { background: var(--brand); color: var(--fg-inverse); box-shadow: var(--glow-sm); }
.bb-btn-primary:hover { background: var(--brand-hover); color: var(--fg-inverse); box-shadow: var(--glow-md); }
.bb-btn-primary:active { transform: scale(0.98); background: var(--brand-press); }
.bb-btn-ghost { background: transparent; border-color: var(--line-2); color: var(--fg-1); }
.bb-btn-ghost:hover { border-color: var(--brand-mid); color: var(--brand); }
.bb-btn-pending {
  background: transparent; color: var(--warning);
  border: 1px dashed rgba(255, 198, 77, 0.4);
  cursor: default; box-shadow: none;
}
.bb-btn-full { width: 100%; justify-content: center; }
.bb-btn-apk { justify-content: space-between; padding: 12px 18px; font-size: 13px; }
.bb-btn-apk-lead { display: inline-flex; align-items: center; gap: 8px; }
.bb-btn-meta { font-size: 11px; letter-spacing: 0.02em; color: var(--fg-3); font-weight: 500; }
.bb-product-cta-stack { display: flex; flex-direction: column; gap: 8px; }

/* ——— BADGES ——— */
.bb-badge {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 9999px;
  display: inline-flex; align-items: center; gap: 6px;
  text-transform: uppercase; white-space: nowrap;
}
.bb-badge-live { background: rgba(43,255,136,0.1); color: var(--brand); border: 1px solid var(--brand-dim); }
.bb-badge-soon { background: rgba(255,198,77,0.1); color: var(--warning); border: 1px solid rgba(255,198,77,0.3); }
.bb-badge-neutral { background: var(--bg-3); color: var(--fg-2); border: 1px solid var(--line-2); }
.bb-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.bb-badge .dot.pulse { animation: bb-pulse 1.6s infinite ease-in-out; }
@keyframes bb-pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }

/* ——— CHIPS ——— */
.bb-chip {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 9999px;
  background: var(--bg-3); color: var(--fg-2); border: 1px solid var(--line-2);
  white-space: nowrap;
}

/* ——— HERO ——— */
.bb-hero {
  padding: 88px 32px 80px; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 35%, rgba(43,255,136,0.07), transparent 45%),
    radial-gradient(circle at 15% 10%, rgba(0,229,255,0.04), transparent 50%),
    var(--bg-0);
  border-bottom: 1px solid var(--line-1);
}
.bb-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(43,255,136,0.12) 1px, transparent 1px);
  background-size: 26px 26px; opacity: 0.55; pointer-events: none;
  mask-image: radial-gradient(ellipse at 30% 40%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, black, transparent 75%);
}
.bb-hero-grid {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center;
}
.bb-hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 10px; background: var(--brand-dim);
  border: 1px solid var(--brand-mid); border-radius: 9999px; color: var(--brand);
}
.bb-hero-status { display: inline-flex; align-items: center; gap: 6px; }
.bb-hero-status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.bb-hero-status .dot.pulse { animation: bb-pulse 1.6s infinite ease-in-out; box-shadow: 0 0 8px var(--brand); }
.bb-hero-sep { opacity: 0.5; }
.bb-hero-title {
  font-family: var(--font-display); font-size: 68px; font-weight: 800;
  line-height: 1.02; letter-spacing: -0.028em; margin: 22px 0 20px;
  color: var(--fg-1);
}
.bb-hero-title .accent { color: var(--brand); text-shadow: 0 0 40px var(--brand-glow); }
.bb-hero-lead {
  font-size: 17px; line-height: 1.6; color: var(--fg-2);
  max-width: 520px; margin: 0 0 28px;
}
.bb-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.bb-hero-meta {
  margin-top: 36px; display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); letter-spacing: 0.04em;
}
.bb-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.bb-hero-meta svg { color: var(--brand); opacity: 0.8; }
.bb-hero-visual {
  position: relative; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.bb-hero-dots {
  position: absolute; inset: -40px;
  background-image: radial-gradient(rgba(43,255,136,0.22) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 70%);
}
.bb-hero-logo {
  position: relative; width: 360px; height: 360px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--brand-mid);
  box-shadow: 0 0 80px var(--brand-glow), 0 24px 64px rgba(0,0,0,0.7), inset 0 0 0 1px rgba(43,255,136,0.08);
}
.bb-hero-logo img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(1.05) contrast(1.02); }
.bb-hero-logo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(0,0,0,0.18) 3px, rgba(0,0,0,0.18) 4px);
  opacity: 0.35;
}
.bb-hero-chip {
  position: absolute; bottom: 14px; left: 14px; padding: 5px 10px;
  background: rgba(10,15,13,0.85); backdrop-filter: blur(8px);
  border: 1px solid var(--brand-mid); border-radius: 9999px;
  font-size: 10px; color: var(--brand); letter-spacing: 0.1em; text-transform: uppercase;
}

/* ——— SECTIONS ——— */
.bb-section { max-width: 1200px; margin: 0 auto; padding: 88px 32px; }
.bb-section-head { max-width: 720px; margin-bottom: 44px; }
.bb-section-head .h2 { margin: 14px 0 16px; }
.bb-section-lead { font-size: 17px; color: var(--fg-2); line-height: 1.6; margin: 0; }
.bb-section-lead a { color: var(--brand); border-bottom: 1px dashed var(--brand-mid); }
.bb-section-lead a:hover { color: var(--brand-hover); }

/* ——— PRODUCT GRID ——— */
.bb-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bb-product {
  background: var(--bg-2); border: 1px solid var(--brand-dim);
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: all var(--dur-base) var(--ease-standard); position: relative;
}
.bb-product:hover:not(.is-soon) { border-color: var(--brand-mid); box-shadow: var(--glow-md); }
.bb-product.is-soon { border-style: dashed; opacity: 0.9; }
.bb-product-thumb {
  aspect-ratio: 16/10; border-bottom: 1px solid var(--line-1);
  background: radial-gradient(circle at 50% 60%, rgba(43,255,136,0.08), transparent 55%), var(--bg-0);
  position: relative; overflow: hidden;
}
.bb-product-thumb::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(43,255,136,0.035) 0, rgba(43,255,136,0.035) 1px, transparent 1px, transparent 16px),
    repeating-linear-gradient(90deg, rgba(43,255,136,0.035) 0, rgba(43,255,136,0.035) 1px, transparent 1px, transparent 16px);
  pointer-events: none;
}
.bb-product-thumb-label { position: absolute; left: 12px; bottom: 10px; font-size: 10px; color: var(--fg-3); letter-spacing: 0.08em; opacity: 0.7; }
.bb-product-soon {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--warning);
}
.bb-product-soon .eyebrow { color: var(--warning); font-size: 10px; }
.bb-product-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.bb-product-icon {
  width: 104px; height: 104px; border-radius: 22px;
  box-shadow: 0 0 40px rgba(43,255,136,0.2), 0 16px 32px rgba(0,0,0,0.55); display: block;
}
.bb-product-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.bb-product-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bb-product-top { display: flex; flex-direction: column; gap: 8px; }
.bb-product-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  margin: 0; color: var(--fg-1); letter-spacing: -0.015em;
}
.bb-product-desc {
  font-size: 14px; color: var(--fg-2); line-height: 1.55; margin: 0;
  min-height: calc(14px * 1.55 * 3);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bb-product-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.bb-product-foot {
  margin-top: auto; padding: 16px 0 0; display: flex; flex-direction: column;
  gap: 10px; border-top: 1px solid var(--line-1);
}
.bb-product-compat {
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px 14px; background: var(--bg-1);
  border: 1px solid var(--line-1); border-radius: 8px;
}
.bb-compat-row { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: start; }
.bb-compat-label { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); padding-top: 3px; }
.bb-compat-groups { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bb-compat-group { display: grid; grid-template-columns: 80px 1fr; gap: 8px; min-width: 0; align-items: baseline; }
.bb-compat-brand { font-family: var(--font-display); font-weight: 600; font-size: 12px; color: var(--fg-1); }
.bb-compat-models { font-size: 11px; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-compat-android { font-size: 12px; color: var(--fg-1); padding-top: 2px; }
.bb-compat-price { font-size: 12px; color: var(--fg-1); padding-top: 2px; }
.bb-compat-price.is-free { color: var(--brand); font-weight: var(--fw-medium); }
.bb-product-compat-empty {
  min-height: 84px; align-items: center; justify-content: center;
  color: var(--fg-3); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  border-style: dashed; display: flex !important;
}

/* ——— OFFER ——— */
.bb-offer { border-top: 1px solid var(--line-1); border-bottom: 1px solid var(--line-1); }
.bb-offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.bb-offer-points {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.bb-offer-points li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-2); }
.bb-offer-points svg { color: var(--brand); flex-shrink: 0; }
.bb-offer-actions { display: flex; flex-direction: column; align-items: stretch; }
.bb-offer-card {
  background: var(--bg-2); border: 1px solid var(--brand-dim);
  border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--glow-sm);
}
.bb-offer-card-head { display: flex; align-items: center; gap: 14px; }
.bb-offer-card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--bg-3); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--brand-dim); flex-shrink: 0;
}
.bb-offer-card-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bb-offer-card-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--fg-1); }
.bb-offer-card-sub { font-size: 11px; color: var(--fg-3); letter-spacing: 0.04em; }
.bb-offer-reveal {
  display: flex; flex-direction: column; gap: 10px;
  animation: bb-reveal 240ms var(--ease-standard);
}
@keyframes bb-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.bb-offer-note { font-size: 12px; color: var(--fg-3); margin: 0; line-height: 1.5; text-align: center; }
.bb-offer-reveal { display: none; }
.bb-offer-reveal.is-open { display: flex; }

/* ——— CONTACTS ——— */
.bb-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bb-contact {
  position: relative; background: var(--bg-2); border: 1px solid var(--brand-dim);
  border-radius: 12px; transition: all var(--dur-base) var(--ease-standard);
}
.bb-contact.is-primary { border-color: var(--brand-mid); box-shadow: var(--glow-sm); }
.bb-contact:hover { border-color: var(--brand-mid); box-shadow: var(--glow-sm); }
.bb-contact-link { display: flex; align-items: center; gap: 14px; padding: 18px 56px 18px 18px; color: inherit; text-decoration: none; }
.bb-contact-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--bg-3); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--brand-dim); flex-shrink: 0;
}
.bb-contact.is-primary .bb-contact-icon { background: var(--brand-dim); border-color: var(--brand-mid); }
.bb-contact-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.bb-contact-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.bb-contact-value { font-family: var(--font-display); font-size: 15px; color: var(--fg-1); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-contact-hint { font-size: 11px; color: var(--fg-3); margin-top: 2px; line-height: 1.4; }
.bb-contact-copy {
  position: absolute; top: 50%; right: 14px; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 6px;
  background: transparent; border: 1px solid var(--line-2); color: var(--fg-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 150ms;
}
.bb-contact-copy:hover { border-color: var(--brand-mid); color: var(--brand); }

/* ——— FOOTER ——— */
.bb-footer { border-top: 1px solid var(--line-1); background: var(--bg-1); margin-top: 48px; }
.bb-footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 48px 32px 32px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start;
}
.bb-footer-brand { display: flex; gap: 12px; align-items: center; }
.bb-footer-name { display: block; font-family: var(--font-display); font-weight: 700; color: var(--fg-1); font-size: 15px; }
.bb-footer-tag { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 3px; }
.bb-footer-legal { display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--fg-1); }
.bb-footer-legal-row { display: grid; grid-template-columns: 70px 1fr; gap: 8px; }
.bb-footer-legal .dim { color: var(--fg-3); }
.bb-footer-links { display: flex; flex-direction: column; gap: 10px; }
.bb-footer-links a { color: var(--fg-2); font-size: 14px; }
.bb-footer-links a:hover { color: var(--brand); }
.bb-footer-copy {
  grid-column: 1 / -1; margin-top: 12px; padding-top: 24px;
  border-top: 1px solid var(--line-1);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.bb-footer-copy .mono { font-size: 11px; }
.bb-footer-disclaimer { font-size: 11px; color: var(--fg-3); max-width: 640px; line-height: 1.5; text-align: right; }

/* ——— MODAL ——— */
.bb-modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,15,13,0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: bb-fade 200ms ease;
}
@keyframes bb-fade { from { opacity: 0; } to { opacity: 1; } }
.bb-modal-backdrop.hidden { display: none; }
.bb-modal {
  width: 100%; max-width: 480px; background: var(--bg-1);
  border: 1px solid var(--brand-mid); border-radius: 16px; padding: 28px;
  box-shadow: var(--glow-lg);
}
.bb-modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.bb-modal-close {
  width: 32px; height: 32px; border-radius: 6px;
  background: transparent; border: 1px solid var(--line-2); color: var(--fg-2);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.bb-modal-close:hover { border-color: var(--brand-mid); color: var(--brand); }
.bb-modal h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.bb-modal-sub { margin: 0; color: var(--fg-2); font-size: 14px; }
.bb-modal-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line-1); font-size: 14px;
}
.bb-modal-row:last-child { border-bottom: none; }
.bb-modal-row .k { color: var(--fg-3); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.bb-modal-row .v { color: var(--fg-1); font-family: var(--font-mono); }
.bb-modal-row .v.brand { color: var(--brand); font-weight: 500; }
.bb-modal-note { margin: 16px 0 0; font-size: 12px; color: var(--fg-3); line-height: 1.5; }

/* ——— RESPONSIVE ——— */
@media (max-width: 960px) {
  .bb-hero { padding: 56px 24px 48px; }
  .bb-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .bb-hero-title { font-size: 44px; }
  .bb-hero-visual { max-width: 360px; margin: 0 auto; }
  .bb-hero-logo { width: 280px; height: 280px; }
  .bb-nav { display: none; }
  .bb-section { padding: 56px 24px; }
  .bb-product-grid { grid-template-columns: 1fr; }
  .bb-offer-grid { grid-template-columns: 1fr; gap: 24px; }
  .bb-contact-grid { grid-template-columns: 1fr; }
  .bb-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .bb-footer-disclaimer { text-align: left; }
}
