/*
Theme Name: BinaryBridge Company
Theme URI: https://binarybridgegroup.com
Author: BinaryBridge LLC
Author URI: https://binarybridgegroup.com
Description: A one-page company WordPress theme for BinaryBridge LLC, including Privacy Policy, Terms of Use, and Contact page layouts.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: binarybridge-company
*/

:root {
  --bb-bg: #0b1020;
  --bb-card: rgba(255, 255, 255, 0.08);
  --bb-card-border: rgba(255, 255, 255, 0.14);
  --bb-text: #f7f8fc;
  --bb-muted: #aeb7d1;
  --bb-accent: #7c5cff;
  --bb-accent-2: #29d3ff;
  --bb-white: #ffffff;
  --bb-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --bb-radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.35), transparent 35%),
    radial-gradient(circle at top right, rgba(41, 211, 255, 0.22), transparent 30%),
    var(--bb-bg) !important;
  color: var(--bb-text) !important;
  line-height: 1.6 !important;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.bb-page {
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.35), transparent 35%),
    radial-gradient(circle at top right, rgba(41, 211, 255, 0.22), transparent 30%),
    var(--bb-bg);
  color: var(--bb-text);
  min-height: 100vh;
}

.bb-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.bb-site-header {
  padding: 28px 0;
}

.bb-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bb-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: -0.03em;
  font-size: 20px;
}

.bb-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--bb-accent), var(--bb-accent-2));
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px rgba(124, 92, 255, 0.32);
}

.bb-logo span {
  font-weight: 850;
  color: white;
  font-size: 17px;
}

.bb-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--bb-muted);
  font-size: 14px;
}

.bb-nav-links a:hover {
  color: var(--bb-white);
}

.bb-hero {
  padding: 72px 0 56px;
}

.bb-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.bb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--bb-card-border);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  color: #d8ddff;
  font-size: 14px;
  margin-bottom: 22px;
}

.bb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #44e5a1;
  box-shadow: 0 0 0 6px rgba(68, 229, 161, 0.12);
}

.bb-hero h1 {
  font-size: clamp(44px, 7vw, 78px) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.075em !important;
  margin: 0 0 24px !important;
  color: var(--bb-text) !important;
  font-weight: 850 !important;
}

.bb-gradient-text {
  background: linear-gradient(120deg, #ffffff, #b8c4ff 42%, #83e9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bb-hero p {
  color: var(--bb-muted) !important;
  font-size: 19px !important;
  max-width: 650px;
  margin: 0 0 32px !important;
}

.bb-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.bb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 15px;
  transition: 0.2s ease;
  border: none;
}

.bb-btn-primary {
  background: var(--bb-white);
  color: #111426;
}

.bb-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 255, 255, 0.18);
}

.bb-btn-secondary {
  border: 1px solid var(--bb-card-border);
  color: var(--bb-text);
  background: rgba(255, 255, 255, 0.04);
}

.bb-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.bb-hero-card {
  border: 1px solid var(--bb-card-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.045));
  border-radius: var(--bb-radius);
  padding: 28px;
  box-shadow: var(--bb-shadow);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.bb-hero-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.18);
  right: -70px;
  top: -70px;
}

.bb-card-title {
  position: relative;
  font-size: 22px !important;
  letter-spacing: -0.04em;
  margin: 0 0 20px !important;
  color: var(--bb-text) !important;
}

.bb-stack {
  position: relative;
  display: grid;
  gap: 14px;
}

.bb-stack-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.bb-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 18px;
}

.bb-stack-item h3 {
  font-size: 15px !important;
  margin: 0 0 2px !important;
  color: var(--bb-text) !important;
}

.bb-stack-item p {
  font-size: 14px !important;
  margin: 0 !important;
  color: var(--bb-muted) !important;
}

.bb-section {
  padding: 54px 0;
}

.bb-section-head {
  max-width: 720px;
  margin-bottom: 26px;
}

.bb-section-head h2 {
  font-size: clamp(30px, 4vw, 46px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.06em !important;
  margin: 0 0 14px !important;
  color: var(--bb-text) !important;
}

.bb-section-head p {
  color: var(--bb-muted) !important;
  font-size: 17px !important;
  margin: 0 !important;
}

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

.bb-service-card,
.bb-product-card,
.bb-info-card {
  border: 1px solid var(--bb-card-border);
  background: var(--bb-card);
  border-radius: 22px;
  padding: 24px;
  backdrop-filter: blur(14px);
}

.bb-service-card h3,
.bb-product-card h3,
.bb-info-card h3 {
  letter-spacing: -0.035em;
  margin: 0 0 8px !important;
  font-size: 19px !important;
  color: var(--bb-text) !important;
}

.bb-service-card p,
.bb-product-card p,
.bb-info-card p {
  color: var(--bb-muted) !important;
  font-size: 15px !important;
  margin: 0 !important;
}

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

.bb-product-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bb-tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dbe2ff;
  font-size: 13px;
  margin-top: 18px;
}

.bb-company-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.bb-info-list {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--bb-muted);
  font-size: 15px;
  margin: 0;
  padding: 0;
}

.bb-info-list strong {
  color: var(--bb-text);
}

.bb-cta {
  padding: 74px 0 88px;
}

.bb-cta-box {
  border: 1px solid var(--bb-card-border);
  border-radius: 30px;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.28), rgba(41, 211, 255, 0.08)),
    rgba(255, 255, 255, 0.07);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  box-shadow: var(--bb-shadow);
}

.bb-cta-box h2 {
  font-size: clamp(28px, 4vw, 44px) !important;
  letter-spacing: -0.06em !important;
  line-height: 1.05 !important;
  margin: 0 0 12px !important;
  color: var(--bb-text) !important;
}

.bb-cta-box p {
  color: var(--bb-muted) !important;
  max-width: 680px;
  margin: 0 !important;
}

.bb-legal-hero {
  padding: 72px 0 24px;
}

.bb-legal-card {
  width: min(900px, 100%);
  border: 1px solid var(--bb-card-border);
  background: rgba(255,255,255,0.075);
  border-radius: 30px;
  padding: clamp(26px, 5vw, 52px);
  box-shadow: var(--bb-shadow);
  backdrop-filter: blur(16px);
}

.bb-legal-card h1 {
  font-size: clamp(36px, 6vw, 64px) !important;
  line-height: 1 !important;
  letter-spacing: -0.075em !important;
  margin: 0 0 16px !important;
  color: var(--bb-text) !important;
}

.bb-legal-card .bb-updated {
  color: var(--bb-muted);
  margin-bottom: 30px;
  font-size: 15px;
}

.bb-legal-content {
  display: grid;
  gap: 26px;
}

.bb-legal-content h2 {
  color: var(--bb-text) !important;
  font-size: 24px !important;
  letter-spacing: -0.04em;
  margin: 0 0 8px !important;
}

.bb-legal-content p,
.bb-legal-content li {
  color: var(--bb-muted) !important;
  font-size: 16px !important;
}

.bb-legal-content p {
  margin: 0;
}

.bb-legal-content ul {
  margin: 8px 0 0 20px;
  padding: 0;
}

.bb-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}

.bb-contact-box {
  border: 1px solid var(--bb-card-border);
  background: var(--bb-card);
  border-radius: 24px;
  padding: 28px;
}

.bb-contact-box h2 {
  margin: 0 0 12px !important;
  color: var(--bb-text) !important;
  font-size: 28px !important;
  letter-spacing: -0.05em;
}

.bb-contact-box p,
.bb-contact-box li {
  color: var(--bb-muted) !important;
}

.bb-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 28px 0;
  color: var(--bb-muted);
  font-size: 14px;
}

.bb-footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.bb-footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .bb-hero-grid,
  .bb-grid-3,
  .bb-products,
  .bb-company-info,
  .bb-cta-box,
  .bb-contact-grid {
    grid-template-columns: 1fr;
  }

  .bb-nav-links {
    display: none;
  }

  .bb-hero {
    padding-top: 42px;
  }

  .bb-cta-box {
    padding: 30px;
  }

  .bb-hero h1 {
    font-size: 44px !important;
  }
}
