:root {
  --bcg-color-dark: #0B0E11;
  --bcg-color-bright: #F5F7F7;
  --bcg-color-accent: #0FC65C;
  --bcg-color-accent-hover: #12e36b;
  --bcg-color-bg: #111417;
  --bcg-color-text: #E6EAEA;
  --bcg-color-muted: #8A9296;
  --bcg-font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --bcg-font-heading: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --bcg-radius: 0.75rem;
  --bcg-transition: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --bcg-accent-glow: rgba(15, 198, 92, 0.25);
  --bcg-border-subtle: rgba(255, 255, 255, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bcg-color-bg);
  color: var(--bcg-color-text);
  font-family: var(--bcg-font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.bcg-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.bcg-header {
  background-color: var(--bcg-color-dark);
  border-bottom: 1px solid var(--bcg-border-subtle);
  border-top: 3px solid var(--bcg-color-accent);
  position: sticky;
  top: 0;
  z-index: 100;
}

.bcg-header__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  gap: 1rem;
}

.bcg-header__left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.bcg-header__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-grow: 1;
  justify-content: flex-end;
}

.bcg-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.bcg-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: opacity var(--bcg-transition);
}

.bcg-logo:hover {
  opacity: 0.9;
}

.bcg-logo img {
  max-height: 38px;
  width: auto;
}

.bcg-nav {
  position: relative;
  display: flex;
  align-items: center;
}

.bcg-nav__checkbox {
  display: none !important;
}

.bcg-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1010;
  position: relative;
}

.bcg-nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--bcg-color-text);
  transition: transform var(--bcg-transition), opacity var(--bcg-transition);
  border-radius: 2px;
}

.bcg-nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.bcg-nav__item {
  position: relative;
}

.bcg-nav__link {
  color: var(--bcg-color-text);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  padding: 0.5rem 0;
  display: block;
  transition: color var(--bcg-transition);
}

.bcg-nav__link:hover,
.bcg-nav__link--active {
  color: var(--bcg-color-accent);
}

.bcg-nav__item--has-children .bcg-nav__link::after {
  content: '▾';
  margin-left: 0.35rem;
  font-size: 0.8rem;
  color: var(--bcg-color-muted);
}

.bcg-nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bcg-color-dark);
  border: 1px solid var(--bcg-border-subtle);
  border-radius: var(--bcg-radius);
  padding: 0.75rem 1rem;
  min-width: 180px;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  z-index: 1020;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.bcg-nav__item--has-children:hover .bcg-nav__submenu {
  display: flex;
}

.bcg-lang {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.bcg-lang__link {
  color: var(--bcg-color-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: var(--bcg-transition);
}

.bcg-lang__link:hover {
  color: var(--bcg-color-text);
  border-color: var(--bcg-border-subtle);
}

.bcg-lang__link--active {
  color: var(--bcg-color-accent);
  border-color: rgba(15, 198, 92, 0.2);
  background-color: rgba(15, 198, 92, 0.05);
}

.bcg-breadcrumbs {
  background-color: var(--bcg-color-bg);
  border-bottom: 1px solid var(--bcg-border-subtle);
  padding: 0.75rem 1.5rem;
}

.bcg-breadcrumbs ol {
  max-width: 1280px;
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
}

.bcg-breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bcg-color-muted);
}

.bcg-breadcrumbs__item + .bcg-breadcrumbs__item::before {
  content: '/';
  color: rgba(255, 255, 255, 0.15);
}

.bcg-breadcrumbs__link {
  color: var(--bcg-color-muted);
  text-decoration: none;
  transition: color var(--bcg-transition);
}

.bcg-breadcrumbs__link:hover {
  color: var(--bcg-color-accent);
}

.bcg-breadcrumbs__item[aria-current="page"] {
  color: var(--bcg-color-text);
}

.bcg-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bcg-font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.65rem 1.25rem;
  border-radius: var(--bcg-radius);
  transition: all var(--bcg-transition);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.bcg-cta--primary {
  background-color: var(--bcg-color-accent);
  color: var(--bcg-color-dark);
}

.bcg-cta--primary:hover {
  background-color: var(--bcg-color-accent-hover);
  box-shadow: 0 0 16px var(--bcg-accent-glow);
  transform: translateY(-1px);
}

.bcg-cta--secondary {
  background-color: transparent;
  color: var(--bcg-color-text);
  border-color: var(--bcg-border-subtle);
}

.bcg-cta--secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--bcg-color-accent);
  color: var(--bcg-color-accent);
}

.bcg-main-content {
  flex: 1;
  width: 100%;
}

.bcg-footer {
  background-color: var(--bcg-color-dark);
  border-top: 1px solid var(--bcg-border-subtle);
  padding: 4rem 1.5rem 2rem 1.5rem;
  margin-top: auto;
}

.bcg-footer__container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.bcg-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.bcg-footer__brand {
  max-width: 400px;
}

.bcg-footer__tagline {
  color: var(--bcg-color-muted);
  font-size: 0.875rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.bcg-footer__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bcg-footer__middle {
  border-top: 1px solid var(--bcg-border-subtle);
  border-bottom: 1px solid var(--bcg-border-subtle);
  padding: 2rem 0;
}

.bcg-footer-nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: center;
}

.bcg-footer-nav__link {
  color: var(--bcg-color-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--bcg-transition);
}

.bcg-footer-nav__link:hover {
  color: var(--bcg-color-accent);
}

.bcg-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.bcg-footer__copyright {
  font-size: 0.8125rem;
  color: var(--bcg-color-muted);
}

.bcg-footer__disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
  max-width: 650px;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .bcg-nav__toggle {
    display: flex;
  }

  .bcg-nav__list {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background-color: var(--bcg-color-dark);
    border-left: 1px solid var(--bcg-border-subtle);
    padding: 6rem 1.5rem 2rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    z-index: 1005;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .bcg-nav__checkbox:checked ~ .bcg-nav__list {
    right: 0;
  }

  .bcg-nav__checkbox:checked ~ .bcg-nav__toggle .bcg-nav__toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--bcg-color-accent);
  }

  .bcg-nav__checkbox:checked ~ .bcg-nav__toggle .bcg-nav__toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .bcg-nav__checkbox:checked ~ .bcg-nav__toggle .bcg-nav__toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--bcg-color-accent);
  }

  .bcg-nav__submenu {
    position: static;
    border: none;
    box-shadow: none;
    padding: 0.5rem 0 0 1rem;
    border-left: 1px solid var(--bcg-border-subtle);
    display: flex;
  }

  .bcg-nav__item--has-children:hover .bcg-nav__submenu {
    display: flex;
  }
}

@media (max-width: 768px) {
  .bcg-header__actions {
    display: none;
  }
  .bcg-footer__top {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .bcg-footer__actions {
    justify-content: center;
  }
  .bcg-footer-nav__list {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}