:root {
  color-scheme: dark;
  --bg: #040508;
  --panel: rgba(10, 10, 10, 0.72);
  --panel-strong: rgba(10, 10, 10, 0.9);
  --panel-border: rgba(255, 255, 255, 0.1);
  --text: rgba(255, 255, 255, 0.9);
  --muted: rgba(255, 255, 255, 0.68);
  --gold: #f9d65a;
  --gold-soft: #b7923a;
  --blue-shadow: rgba(53, 98, 182, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter Tight", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(29, 52, 96, 0.28), transparent 28%),
    linear-gradient(180deg, #05060a 0%, #08090c 100%);
  color: var(--text);
}

img { display: block; max-width: 100%; }
button, input { font: inherit; }

.bf-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 20px;
}

.bf-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.bf-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 8, 17, 0.28), rgba(6, 8, 17, 0.84)),
    radial-gradient(circle at center, rgba(249, 214, 90, 0.08), transparent 32%);
}

.bf-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bf-hero-accent {
  position: absolute;
  width: min(24vw, 360px);
  opacity: 0.76;
  z-index: 1;
}

.bf-hero-accent-left { left: -3%; bottom: 6%; transform: rotate(-18deg); }
.bf-hero-accent-top { left: 7%; top: 10%; transform: rotate(18deg); }
.bf-hero-accent-right { right: -2%; bottom: 12%; transform: rotate(14deg); }

.bf-hero .bf-shell {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
}

.bf-timer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bf-timer-item {
  min-width: 86px;
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  text-align: center;
}

.bf-timer-item strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  color: #fff;
}

.bf-timer-item span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.bf-hero-copy {
  width: min(100%, 680px);
  padding: 36px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)),
    rgba(10, 10, 10, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.bf-eyebrow {
  margin: 0;
  font-size: 15px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.bf-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.42), 0 0 46px rgba(249, 214, 90, 0.18);
}

.bf-lead {
  margin: 18px 0 0;
  max-width: 560px;
  font-size: 22px;
  line-height: 1.42;
  color: var(--muted);
}

.bf-button {
  border: 0;
  cursor: pointer;
  margin-top: 26px;
  padding: 18px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6de75 0%, #c79c34 100%);
  color: #111;
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 20px 48px rgba(199, 156, 52, 0.28), 0 0 34px rgba(249, 214, 90, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bf-button:hover { transform: translateY(-2px); }
.bf-button.wide { width: 100%; }

.bf-marquee {
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  background: #0a0b0f;
}

.bf-marquee-track {
  width: max-content;
  display: flex;
  gap: 32px;
  padding: 18px 0;
  animation: bf-marquee 28s linear infinite;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.82);
}

@keyframes bf-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.bf-main { padding: 56px 0 80px; }
.bf-section + .bf-section { margin-top: 56px; }

.bf-heading h2,
.bf-cta-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.96;
}

.bf-heading h2 span,
.bf-cta-copy h2 span {
  color: var(--gold);
}

.bf-heading p {
  margin: 14px 0 0;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--muted);
}

.bf-audience-grid,
.bf-courses-grid {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.bf-audience-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bf-courses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.bf-audience-card,
.bf-course-card,
.bf-cta-card,
.bf-modal-dialog {
  border: 1px solid var(--panel-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    var(--panel);
  border-radius: 28px;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.bf-audience-card {
  padding: 24px;
}

.bf-card-index,
.bf-course-card span {
  display: inline-block;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.bf-audience-card p,
.bf-course-card p,
.bf-summary p,
.bf-cta-copy p,
.bf-footer-brand p,
.bf-form-note,
.bf-modal-dialog p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.bf-audience-card p { margin-top: 12px; }
.bf-audience-card strong,
.bf-course-card strong,
.bf-footer-brand p:first-child {
  color: #fff;
}

.bf-course-column h3 {
  margin: 0 0 14px;
  font-size: 24px;
}

.bf-course-column { display: grid; gap: 16px; }

.bf-course-card { padding: 22px; }
.bf-course-card strong {
  display: block;
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.1;
}
.bf-course-card p { margin-top: 10px; }
.bf-course-card.is-gold { background:
  linear-gradient(180deg, rgba(249,214,90,0.14), rgba(255,255,255,0.02)),
  rgba(15, 12, 4, 0.86); }

.bf-summary {
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.bf-summary p strong { color: #fff; }

.bf-cta-card {
  padding: 34px;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.bf-cta-note,
.bf-cta-highlight {
  color: var(--gold) !important;
}

.bf-cta-copy p + p { margin-top: 12px; }
.bf-cta-copy h2 { margin: 12px 0 0; }
.bf-cta-side { display: grid; gap: 20px; justify-items: start; }

.bf-footer {
  padding: 0 0 40px;
}

.bf-footer-inner {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.bf-footer-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  max-width: 680px;
}

.bf-footer-brand img {
  width: 170px;
  height: auto;
}

.bf-footer-brand div,
.bf-footer-actions {
  display: grid;
  gap: 8px;
}

.bf-footer-links,
.bf-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.bf-footer-links a,
.bf-footer-socials a,
.bf-success a {
  color: #fff;
  text-decoration: none;
}

.bf-footer-socials img {
  width: 30px;
  height: 30px;
}

.bf-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
}

.bf-modal.is-open { display: block; }

.bf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 10, 0.74);
  backdrop-filter: blur(8px);
}

.bf-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 520px);
  margin: 8vh auto 0;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)),
    var(--panel-strong);
}

.bf-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.76);
  font-size: 32px;
  cursor: pointer;
}

.bf-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.bf-form label {
  display: grid;
  gap: 8px;
}

.bf-form label span {
  font-size: 14px;
  color: #fff;
}

.bf-form input {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #fff;
}

.bf-form-status {
  min-height: 20px;
}

.bf-success {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.bf-success p { color: #fff; }

@media (max-width: 991px) {
  .bf-audience-grid,
  .bf-courses-grid,
  .bf-cta-card,
  .bf-footer-inner,
  .bf-footer-brand {
    grid-template-columns: 1fr;
  }

  .bf-footer-inner {
    display: grid;
  }
}

@media (max-width: 767px) {
  .bf-shell { padding: 0 16px; }
  .bf-hero { min-height: auto; padding: 24px 0 40px; }
  .bf-hero-accent { width: 170px; opacity: 0.5; }
  .bf-hero-copy,
  .bf-audience-card,
  .bf-course-card,
  .bf-cta-card,
  .bf-modal-dialog {
    border-radius: 24px;
    padding: 22px;
  }
  .bf-timer-item {
    min-width: 70px;
    padding: 12px 10px;
  }
  .bf-timer-item strong { font-size: 24px; }
  .bf-lead { font-size: 18px; }
  .bf-button {
    width: 100%;
    padding: 16px 20px;
  }
  .bf-main { padding: 42px 0 56px; }
}
