/* CSS variables from site identity */

:root {
  --bb-kelly:var(--theme-component-primary-1);
  --bb-kelly-dim:var(--theme-catalog-muted-54);
  --bb-bg:var(--theme-component-page-20);
  --bb-panel-bg:var(--theme-catalog-page-56);
  --bb-text:var(--theme-component-ink-18);
  --bb-text-dim:var(--theme-catalog-muted-58);
  --bb-error:var(--theme-component-error-1);
  --bb-glow-primary:0 0 20px var(--theme-component-primary-34);
  --font-tech:'Ultra', Georgia, serif;
  --font-code:'JetBrains Mono', 'Fira Code', monospace;
}

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

body {
  background-color:var(--bb-bg);
  color:var(--bb-text);
  font-family: var(--font-body, 'Geist', sans-serif);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

.bb-container {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* --- HUD ELEMENTS --- */

#scrollProgress {
  position: fixed;
  top: 80px;
  left: 0;
  width: 0%;
  height: 3px;
  background:var(--bb-kelly);
  box-shadow:0 0 10px var(--bb-kelly);
  z-index: 1001;
  transition: width 0.1s linear;
}

.scan-beam {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background:linear-gradient(90deg, transparent, var(--bb-kelly), transparent);
  box-shadow:0 0 15px var(--bb-kelly);
  z-index: 9998;
  pointer-events: none;
  opacity: 0.15;
  animation: autoScan 10s infinite linear;
}

@keyframes autoScan {

  0% {
    top: -5%;
  }

  100% {
    top: 105%;
  }
}

/* NAVIGATION */

nav {
  height: 80px;
  background:var(--theme-component-page-21);
  border-bottom:1px solid var(--bb-kelly-dim);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
}

.logo img {
  height: 45px;
  filter:drop-shadow(0 0 5px var(--bb-kelly));
  transition: 0.3s ease;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  color:var(--bb-text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: 0.3s;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background:var(--bb-kelly);
  transition: 0.3s;
}

nav ul li a:hover {
  color:var(--bb-kelly);
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a.active {
  color:var(--bb-kelly);
}

nav ul li a.active::after {
  width: 100%;
}

/* HERO */

.hero {
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero .bb-container {
  display: flex;
  justify-content: center;
}

.hero-text {
  max-width: 1000px;
  z-index: 5;
  text-align: center;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color:var(--theme-component-ink-5);
  margin-bottom: 20px;
  text-shadow:0 0 15px var(--theme-component-page-45);
}

.hero-text p {
  font-size: 1.1rem;
  color:var(--bb-text-dim);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius:4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  font-size: max(14px, 0.88rem);
  transition: 0.25s ease;
}

.hero-cta-primary {
  background:var(--bb-kelly);
  color:var(--theme-catalog-ink-74);
}

.hero-cta-secondary {
  border:1px solid var(--bb-kelly);
  color:var(--bb-kelly);
  background:var(--theme-catalog-surface-150);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow:var(--bb-glow-primary);
}

/* HEX BG */

.bb-hero-bg-svg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  z-index: 1;
}

.hex-path {
  fill:none;
  stroke:var(--theme-catalog-border-158);
  stroke-width: 2;
}

.hex-glow {
  fill:none;
  stroke:var(--theme-catalog-border-159);
  stroke-width: 2;
  opacity: 0;
  animation: hexPulse 6s infinite;
}

@keyframes hexPulse {

  0%,100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

/* HERO OVERLAY CANVAS */

#lockon-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.45;
}

/* MISSION PHASE TITLES */

.mission-phase {
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.mission-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 3px;
  color:var(--bb-kelly);
  text-transform: uppercase;
}

.mission-line {
  flex: 1;
  height: 1px;
  background:var(--theme-catalog-surface-126);
  position: relative;
}

.mission-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -1px;
  width: 12px;
  height: 3px;
  background:var(--bb-kelly);
}

.mission-line.line-left::after {
  left: 0;
  right: auto;
}

.seo-panel {
  margin-top: 80px;
  padding: 42px;
  border:1px solid var(--theme-catalog-border-160);
  border-radius:4px;
  background:var(--theme-catalog-surface-161);
}

.seo-panel h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color:var(--theme-component-ink-5);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.seo-panel p {
  color:var(--bb-text-dim);
  font-size: max(15px, 1rem);
  max-width: 980px;
}

.seo-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.seo-mini {
  border-top:1px solid var(--theme-catalog-border-162);
  padding-top: 16px;
}

.seo-mini h3 {
  color:var(--bb-kelly);
  font-size: max(14px, 0.9rem);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.related-links a {
  color:var(--bb-kelly);
  text-decoration: none;
  border:1px solid var(--theme-catalog-border-158);
  border-radius:4px;
  padding: 10px 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.related-links a:hover {
  background:var(--theme-catalog-surface-153);
}

.phase-intro {
  max-width: 880px;
  margin: 20px auto 0;
  text-align: center;
  color:var(--bb-text-dim);
}

/* DRILL GRID */

.drill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* DRILL CARD */

.drill-card {
  background:var(--bb-panel-bg);
  border:1px solid var(--theme-catalog-border-63);
  border-radius:4px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.drill-card:hover {
  border-color:var(--bb-kelly);
  transform: translateY(-10px);
  box-shadow:var(--bb-glow-primary);
}

.drill-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background:var(--bb-text-dim);
  transition: 0.3s;
}

.drill-card:hover::before {
  background:var(--bb-kelly);
  box-shadow:0 0 15px var(--bb-kelly);
}

.drill-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}

.drill-icon {
  font-size: 2.2rem;
  color:var(--bb-kelly);
  filter:drop-shadow(0 0 10px var(--theme-component-primary-87));
}

.drill-id {
  font-family: var(--font-code);
  font-size: 14px;
  color:var(--bb-text-dim);
  border:1px solid var(--theme-component-border-15);
  padding: 4px 10px;
  border-radius:2px;
}

.drill-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
  color:var(--theme-component-ink-5);
}

.drill-desc {
  font-size: max(15px, 0.95rem);
  color:var(--bb-text-dim);
  margin-bottom: 30px;
  line-height: 1.6;
  flex-grow: 1;
}

.drill-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  font-family: var(--font-code);
  font-size: 14px;
  color:var(--bb-text-dim);
}

.drill-meta i {
  margin-right: 8px;
  color:var(--bb-kelly);
}

.btn-drill {
  padding: 15px;
  text-align: center;
  background:transparent;
  border:1px solid var(--bb-kelly);
  color:var(--bb-kelly);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.btn-drill:hover {
  background:var(--bb-kelly);
  color:var(--theme-catalog-ink-74);
  box-shadow:0 0 20px var(--theme-component-primary-34);
}

/* REVEAL UTILITY */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  filter:blur(4px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
  filter:blur(0px);
}

/* TACTICAL RETICLE */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 55px;
  height: 55px;
  border:1px solid var(--bb-kelly);
  border-radius:50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  transition: width 0.3s, height 0.3s;
  background-image:linear-gradient(90deg, var(--bb-kelly) 20%, transparent 20%, transparent 80%, var(--bb-kelly) 80%),
                              linear-gradient(180deg, var(--bb-kelly) 20%, transparent 20%, transparent 80%, var(--bb-kelly) 80%);
  background-position:center;
  background-size:100% 1px, 1px 100%;
  background-repeat:no-repeat;
}

.cursor-coords {
  position: absolute;
  right: -85px;
  top: -15px;
  font-family: var(--font-code);
  font-size: 14px;
  color:var(--bb-kelly);
  line-height: 1.4;
  text-transform: uppercase;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  background:var(--theme-catalog-surface-31);
  border-radius:50%;
  transform: translate(-50%, -50%);
  z-index: 10001;
  pointer-events: none;
}

.cursor.active {
  width: 85px;
  height: 85px;
  background:var(--theme-catalog-surface-75);
  border-color:var(--theme-component-border-7);
}

footer {
  padding: 80px 0;
  text-align: center;
  border-top:1px solid var(--bb-kelly-dim);
  color:var(--bb-text-dim);
}

.faq-section {
  margin: 90px auto 20px;
  max-width: 980px;
}

.faq-section h2 {
  text-align: center;
  color:var(--theme-component-ink-5);
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 30px;
}

.faq-section details {
  border-top:1px solid var(--theme-catalog-border-160);
  padding: 20px 0;
}

.faq-section details:last-child {
  border-bottom:1px solid var(--theme-catalog-border-160);
}

.faq-section summary {
  cursor: pointer;
  color:var(--theme-component-ink-5);
  font-weight: 800;
  font-size: 1.1rem;
}

.faq-section p {
  margin-top: 12px;
  color:var(--bb-text-dim);
}

@media (max-width: 768px) {

  .hero-text h1 {
    font-size: 2.5rem;
  }

  nav ul {
    display: none;
  }

  body {
    cursor: auto;
  }

  .cursor, .cursor-dot {
    display: none;
  }

  .mission-line {
    display: none;
  }

  .seo-panel {
    padding: 26px;
  }
}

/* =========================================================
       DRILLS SEO REVAMP: clearer marketing page treatment
    ========================================================= */

:root {
  --bb-ink:var(--theme-component-ink-20);
  --bb-muted:var(--theme-component-muted-1);
  --bb-soft-line:var(--theme-catalog-border-139);
  --bb-surface:var(--theme-catalog-surface-36);
  --bb-surface-2:var(--theme-catalog-surface-140);
}

html {
  scroll-behavior: smooth;
}

body {
  cursor: auto;
  background:linear-gradient(var(--theme-catalog-surface-141) 1px, transparent 1px),
        linear-gradient(90deg, var(--theme-catalog-surface-141) 1px, transparent 1px),
        var(--bb-bg);
  background-size:54px 54px;
  color:var(--bb-ink);
}

#scrollProgress,
    .scan-beam {
  display: none !important;
}

nav {
  background:var(--theme-catalog-page-164);
  border-bottom:1px solid var(--bb-soft-line);
}

nav ul li a {
  color:var(--bb-muted);
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: max(15px, 0.96rem);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

nav ul li a:hover,
    nav ul li a.active {
  color:var(--bb-ink);
}

main > .bb-container {
  max-width: 1180px;
}

.hero {
  height: auto;
  min-height: 250px;
  padding: 65px 0 24px;
  border-bottom:1px solid var(--bb-soft-line);
  background:linear-gradient(90deg, var(--theme-component-page-4) 0%, var(--theme-catalog-page-142) 46%, var(--theme-catalog-page-165) 100%),
        radial-gradient(circle at 72% 42%, var(--theme-catalog-surface-144), transparent 34%),
        var(--theme-component-page-3);
}

#lockon-canvas {
  opacity: 0.16;
  mix-blend-mode: screen;
}

.bb-hero-bg-svg {
  opacity: 0.12;
}

.hero .bb-container {
  justify-content: flex-start;
  max-width: 1180px;
}

.hero-text {
  max-width: 980px;
  text-align: left;
}

.hero-text::before {
  content: "QUESTION BANKS + BB BREAKDOWNS";
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  margin-bottom: 24px;
  border:1px solid var(--theme-catalog-border-145);
  border-radius:999px;
  background:var(--theme-catalog-surface-75);
  color:var(--bb-kelly);
  font-family: var(--font-code);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-text h1 {
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: none;
  max-width: 980px;
  margin-bottom: 16px;
}

.hero-text p {
  max-width: 900px;
  color:var(--bb-muted);
  font-size: 1.1rem;
  line-height: 1.55;
}

.hero-actions {
  justify-content: flex-start;
  gap: 14px;
  margin-top: 20px;
}

.hero-cta {
  min-height: 50px;
  border-radius:6px;
  letter-spacing: 0;
  text-transform: none;
  font-size: max(14px, 0.95rem);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.hero-cta-primary {
  box-shadow:0 0 24px var(--theme-component-primary-65);
}

.hero-cta-secondary {
  color:var(--bb-ink);
  border-color:var(--theme-catalog-border-146);
  background:var(--theme-catalog-surface-147);
}

.seo-panel {
  margin-top: -48px;
  padding: 0;
  border:1px solid var(--bb-soft-line);
  border-radius:8px;
  background:var(--bb-surface);
  overflow: hidden;
  box-shadow:0 24px 80px var(--theme-catalog-page-148);
}

.seo-panel > h2,
    .seo-panel > p {
  padding-left: 42px;
  padding-right: 42px;
}

.seo-panel > h2 {
  padding-top: 42px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-transform: none;
  max-width: 860px;
}

.seo-panel > p {
  color:var(--bb-muted);
  font-size: max(15px, 1.05rem);
  line-height: 1.75;
  max-width: 980px;
}

.seo-panel-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 36px;
  background:var(--bb-soft-line);
  border-top:1px solid var(--bb-soft-line);
}

.seo-mini {
  min-height: 190px;
  padding: 28px;
  border-top:0;
  background:var(--theme-catalog-surface-36);
}

.seo-mini h3 {
  color:var(--bb-ink);
  font-size: 1.1rem;
  letter-spacing: 0;
  text-transform: none;
}

.seo-mini p {
  color:var(--bb-muted);
  line-height: 1.62;
}

.related-links {
  margin: 0;
  padding: 28px 42px 42px;
  border-top:1px solid var(--bb-soft-line);
  background:var(--theme-catalog-surface-84);
}

.related-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius:6px;
  letter-spacing: 0;
  text-transform: none;
  color:var(--bb-ink);
  background:var(--theme-catalog-surface-70);
  border-color:var(--theme-component-border-10);
}

.mission-phase {
  margin-top: 100px;
  gap: 18px;
}

.mission-title {
  color:var(--bb-kelly);
  font-family: var(--font-code);
  font-size: 14px;
  letter-spacing: 0.05em;
}

.phase-intro {
  color:var(--bb-muted);
  line-height: 1.65;
  font-size: max(15px, 1.02rem);
  max-width: 780px;
}

.drill-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.drill-card {
  min-height: 100%;
  padding: 30px;
  border:1px solid var(--bb-soft-line);
  border-radius:8px;
  background:linear-gradient(135deg, var(--theme-catalog-surface-155), transparent 42%),
        var(--bb-surface-2);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.drill-card:hover {
  transform: translateY(-5px);
  border-color:var(--theme-catalog-border-167);
  box-shadow:0 24px 55px var(--theme-component-page-27);
}

.drill-card::before {
  width: 100%;
  height: 3px;
  background:var(--theme-catalog-surface-168);
}

.drill-card:hover::before {
  background:var(--bb-kelly);
}

.drill-header {
  align-items: center;
  margin-bottom: 22px;
}

.drill-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border:1px solid var(--theme-catalog-border-158);
  border-radius:8px;
  background:var(--theme-catalog-surface-75);
  font-size: 1.55rem;
}

.drill-id {
  border-color:var(--theme-catalog-border-156);
  color:var(--bb-muted);
  border-radius:999px;
  background:var(--theme-catalog-surface-169);
}

.drill-title {
  font-size: 1.75rem;
  letter-spacing: -0.01em;
}

.drill-desc {
  color:var(--bb-muted);
  font-size: max(15px, 1rem);
  line-height: 1.65;
}

.drill-meta {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.drill-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border:1px solid var(--theme-catalog-border-19);
  border-radius:999px;
  background:var(--theme-catalog-surface-169);
}

.drill-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
}

.btn-drill {
  min-height: 46px;
  padding: 10px 12px;
  margin-top: 0;
  border-radius:6px;
  letter-spacing: 0;
  text-transform: none;
  font-size: max(14px, 0.92rem);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn-drill-free {
  background:var(--bb-kelly);
  color:var(--theme-catalog-primary-18);
  border-color:var(--bb-kelly);
}

.btn-drill:hover {
  transform: translateY(-2px);
}

.faq-section {
  max-width: 1180px;
  margin-top: 110px;
  padding: 50px;
  border:1px solid var(--bb-soft-line);
  border-radius:8px;
  background:var(--theme-catalog-surface-36);
}

.faq-section h2 {
  text-align: left;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: none;
}

.faq-section summary {
  list-style: none;
  font-size: 1.08rem;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section details {
  border-color:var(--bb-soft-line);
}

.faq-section p {
  color:var(--bb-muted);
  line-height: 1.7;
}

footer {
  margin-top: 80px;
  background:var(--theme-catalog-page-26);
  border-top:1px solid var(--bb-soft-line);
}

@media (max-width: 980px) {

  .drill-grid,
      .seo-panel-grid {
    grid-template-columns: 1fr;
  }

  .drill-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .hero {
    min-height: auto;
    padding: 140px 0 70px;
  }

  .hero-text h1 {
    font-size: 2.65rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-cta {
    width: 100%;
  }

  .seo-panel {
    margin-top: -28px;
  }

  .seo-panel > h2,
      .seo-panel > p,
      .related-links {
    padding-left: 24px;
    padding-right: 24px;
  }

  .drill-card,
      .faq-section {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
      *::before,
      *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 768px) {

  nav .logo a {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .related-links a {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}
