/* =========================================================================
   OUTRÉ — Power BI Complete Course Detail Page Stylesheet (power-bi.css)
   Aesthetic: Apple × Linear × Stripe (Cinematic, Glassmorphic, Precision)
   ========================================================================= */

:root {
  --font-sans: var(--font-body);
}

/* --- 1. Master Course Shell & Background --- */
.pbi-page-body {
  background-color: #07080D;
  background-color: var(--bg-canvas, #07080D);
  color: #FFFFFF;
  color: var(--text-main, #FFFFFF);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

[data-theme="light"] .pbi-page-body {
  background-color: #F7F7FA;
  background-color: var(--bg-canvas, #F7F7FA);
  color: #0F1016;
  color: var(--text-main, #0F1016);
}

.pbi-canvas-wrapper {
  margin: 0 auto;
  max-width: 1440px;
  padding: 0 64px 80px;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .pbi-canvas-wrapper {
    padding: 0 32px 60px;
  }
}

@media (max-width: 768px) {
  .pbi-canvas-wrapper {
    padding: 0 16px 50px;
  }
}

/* Back Link Header Bar */
.pbi-top-breadcrumb-bar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-top: 20px;
}

.pbi-back-link {
  align-items: center;
  color: var(--text-muted);
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 200ms ease, transform 200ms ease;
}

.pbi-back-link:hover {
  color: var(--color-1);
  transform: translateX(-4px);
}

/* Ambient Radial Glows */
.pbi-hero-glow-1 {
  background: radial-gradient(circle, rgba(223, 255, 79, 0.12) 0%, rgba(224, 64, 90, 0.08) 45%, transparent 70%);
  filter: blur(80px);
  height: 600px;
  left: 10%;
  pointer-events: none;
  position: absolute;
  top: -100px;
  width: 700px;
  z-index: 0;
}

.pbi-hero-glow-2 {
  background: radial-gradient(circle, rgba(110, 63, 227, 0.15) 0%, rgba(41, 159, 171, 0.08) 50%, transparent 70%);
  filter: blur(90px);
  height: 550px;
  pointer-events: none;
  position: absolute;
  right: 5%;
  top: 150px;
  width: 650px;
  z-index: 0;
}

/* --- 2. Hero Section --- */
.pbi-hero-section {
  padding: 40px 0 24px;
  position: relative;
  text-align: center;
}

.pbi-hero-eyebrow {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  margin-bottom: 24px;
}

.pbi-eyebrow-pill {
  background: rgba(224, 64, 90, 0.1);
  border: 1px solid rgba(224, 64, 90, 0.35);
  border-radius: 999px;
  color: var(--color-1);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 6px 16px;
  text-transform: uppercase;
}

.pbi-hero-headline {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: clamp(26px, 5.2vw, 76px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 auto 24px;
  max-width: 1020px;
  text-transform: uppercase;
  word-break: break-word;
}

.pbi-headline-lime {
  color: #DFFF4F;
  text-shadow: 0 0 40px rgba(223, 255, 79, 0.35);
}

[data-theme="light"] .pbi-headline-lime {
  color: #799404;
  text-shadow: none;
}

.pbi-hero-subtext {
  color: var(--text-sub);
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 400;
  line-height: 1.5;
  margin: 0 auto 36px;
  max-width: 680px;
}

/* Metadata Chips Row */
.pbi-meta-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.pbi-meta-chip {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: var(--text-main);
  display: inline-flex;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  padding: 8px 18px;
  transition: all 200ms ease;
}

[data-theme="light"] .pbi-meta-chip {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.09);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pbi-meta-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.pbi-chip-dot {
  background: var(--color-1);
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

/* Rounded Navigation Filter Bar */
.pbi-hero-nav-bar {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 0 auto;
  max-width: 100%;
  padding: 6px;
}

[data-theme="light"] .pbi-hero-nav-bar {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.hero-nav-pill {
  background: transparent;
  border: none;
  border-radius: 999px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  transition: all 240ms cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.hero-nav-pill:hover {
  color: var(--text-main);
}

.hero-nav-pill.active {
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  color: #0E1019;
}

[data-theme="light"] .hero-nav-pill.active {
  background: #0E1019;
  color: #FFFFFF;
}

/* --- 3. Course Overview Section --- */
.pbi-overview-section {
  padding: 60px 0;
}

.pbi-overview-grid {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: 1.15fr 1fr;
}

@media (max-width: 960px) {
  .pbi-overview-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.pbi-overview-editorial {
  display: flex;
  flex-direction: column;
}

.pbi-overview-eyebrow {
  color: var(--color-2);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.pbi-overview-title {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.pbi-overview-body {
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 30px;
}

.pbi-pillars-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 36px;
}

@media (max-width: 540px) {
  .pbi-pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pbi-pillar-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  transition: all 200ms ease;
}

.pbi-pillar-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

[data-theme="light"] .pbi-pillar-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.pbi-pillar-icon {
  font-size: 20px;
}

.pbi-pillar-name {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

/* 3D Showcase Card (Right Column) */
.pbi-overview-visual-card {
  background: #0A0C14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 50px rgba(223, 255, 79, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 440px;
  overflow: hidden;
  padding: 40px;
  position: relative;
}

[data-theme="light"] .pbi-overview-visual-card {
  background: #F8F9FD;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.pbi-overview-stage-img {
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7));
  height: auto;
  margin: 0 auto;
  max-width: 320px;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.pbi-overview-visual-card:hover .pbi-overview-stage-img {
  transform: scale(1.05) translateY(-6px);
}

.pbi-stage-caption {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pbi-stage-title {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.pbi-stage-tag {
  color: var(--color-1);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* --- 4. Interactive Learning Journey (Carousel Signature Section) --- */
.pbi-journey-section {
  padding: 16px 0 80px;
  position: relative;
}

.pbi-journey-header {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 36px;
}

.pbi-journey-title-wrap {
  display: flex;
  flex-direction: column;
}

.pbi-journey-eyebrow {
  color: var(--color-1);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.pbi-journey-title {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

/* Carousel Control Arrows */
.pbi-carousel-ctrls {
  align-items: center;
  display: flex;
  gap: 12px;
}

.carousel-arrow-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  font-size: 20px;
  height: 48px;
  justify-content: center;
  transition: all 240ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 48px;
}

.carousel-arrow-btn:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #0E1019;
  transform: scale(1.08);
}

[data-theme="light"] .carousel-arrow-btn {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .carousel-arrow-btn:hover {
  background: #0E1019;
  color: #FFFFFF;
}

/* Horizontal Track Engine */
.pbi-carousel-track-wrapper {
  margin: 0 -64px;
  overflow: hidden;
  padding: 20px 64px 30px;
  position: relative;
}

@media (max-width: 1024px) {
  .pbi-carousel-track-wrapper {
    margin: 0 -32px;
    padding: 20px 32px 30px;
  }
}

@media (max-width: 768px) {
  .pbi-carousel-track-wrapper {
    margin: 0 -16px;
    padding: 20px 16px 30px;
  }
}

.pbi-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pbi-carousel-track::-webkit-scrollbar {
  display: none;
}

/* Individual Module Card */
.carousel-module-card {
  border-radius: 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 490px;
  justify-content: space-between;
  overflow: hidden;
  padding: 32px 28px 24px;
  position: relative;
  scroll-snap-align: center;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms ease;
  width: 320px;
}

.carousel-module-card:hover {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(-8px) scale(1.02);
}

/* Card Themes & Color Profiles */
.card-lime {
  background: linear-gradient(155deg, #F3FFAA 0%, #DFFF4F 55%, #C2E82E 100%);
  color: #121808;
}

.card-lime .card-mod-num,
.card-lime .card-mod-tag {
  color: rgba(18, 24, 8, 0.65);
}

.card-lime .card-mod-title {
  color: #0E1504;
}

.card-analyst-photo {
  background: #080A12 url('assets/pbi-card-analyst.png') center center / cover no-repeat;
  color: #FFFFFF;
}

.card-analyst-photo::after {
  background: linear-gradient(to top, rgba(8, 10, 18, 0.95) 0%, rgba(8, 10, 18, 0.2) 60%, transparent 100%);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.card-analyst-photo .card-top-content,
.card-analyst-photo .card-bottom-content {
  position: relative;
  z-index: 2;
}

.card-purple {
  background: linear-gradient(155deg, #5A35D6 0%, #3F20A8 60%, #201062 100%);
  color: #FFFFFF;
}

.card-coral {
  background: linear-gradient(155deg, #FF4565 0%, #E02344 60%, #9B0F27 100%);
  color: #FFFFFF;
}

.card-teal {
  background: linear-gradient(155deg, #1FC1D2 0%, #1593A1 60%, #0C5D66 100%);
  color: #FFFFFF;
}

.card-amber {
  background: linear-gradient(155deg, #FFA73B 0%, #EA7414 60%, #A34803 100%);
  color: #FFFFFF;
}

.card-blue {
  background: linear-gradient(155deg, #374E9E 0%, #223473 60%, #111B40 100%);
  color: #FFFFFF;
}

.card-indigo {
  background: linear-gradient(155deg, #5130A8 0%, #351C75 60%, #1A0B42 100%);
  color: #FFFFFF;
}

.card-gold {
  background: linear-gradient(155deg, #FFC043 0%, #E59516 60%, #9E6000 100%);
  color: #FFFFFF;
}

/* Card Content Hierarchy */
.card-top-content {
  display: flex;
  flex-direction: column;
}

.card-meta-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.card-mod-num {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.card-mod-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-mod-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.18;
  text-transform: uppercase;
}

/* Card 3D Artwork Graphic */
.card-bottom-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card-3d-artwork-img {
  border-radius: 20px;
  display: block;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.45));
  height: 210px;
  margin-bottom: 12px;
  object-fit: cover;
  object-position: bottom center;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.carousel-module-card:hover .card-3d-artwork-img {
  transform: scale(1.08) translateY(-6px);
}

.card-click-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  gap: 6px;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  text-transform: uppercase;
}

.card-lime .card-click-pill {
  background: rgba(18, 24, 8, 0.12);
  color: #121808;
}

/* --- 5. Glassmorphism Module Detail Modal System --- */
.pbi-modal-overlay {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 300ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.pbi-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.pbi-modal-backdrop {
  background: rgba(5, 7, 13, 0.84);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  inset: 0;
  position: absolute;
}

.pbi-modal-window {
  background: rgba(13, 16, 26, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.75), 0 0 50px rgba(224, 64, 90, 0.15);
  display: grid;
  grid-template-columns: 380px 1fr;
  height: 86vh;
  max-height: 780px;
  max-width: 1080px;
  overflow: hidden;
  position: relative;
  transform: scale(0.94);
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 92%;
  z-index: 2;
}

.pbi-modal-overlay.active .pbi-modal-window {
  transform: scale(1);
}

[data-theme="light"] .pbi-modal-window {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

/* Modal Left Column */
.modal-left-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.3) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 32px;
}

[data-theme="light"] .modal-left-panel {
  background: #F7F8FC;
  border-right-color: rgba(0, 0, 0, 0.08);
}

.modal-left-top {
  display: flex;
  flex-direction: column;
}

.modal-badge-pill {
  background: rgba(224, 64, 90, 0.15);
  border: 1px solid rgba(224, 64, 90, 0.35);
  border-radius: 999px;
  color: var(--color-1);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  padding: 5px 14px;
  text-transform: uppercase;
  width: fit-content;
}

.modal-main-title {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.modal-main-intro {
  color: var(--text-sub);
  font-size: 13.5px;
  line-height: 1.58;
}

.modal-3d-visual-wrap {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 16px 0;
}

.modal-3d-visual-img {
  border-radius: 18px;
  display: block;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.5));
  height: 160px;
  object-fit: cover;
  object-position: bottom center;
  width: 150px;
}

/* Modal Bottom Navigation Controls */
.modal-left-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-progress-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-progress-meta {
  align-items: center;
  color: var(--text-muted);
  display: flex;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.08em;
}

.modal-progress-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  height: 4px;
  overflow: hidden;
  width: 100%;
}

.modal-progress-fill {
  background: linear-gradient(90deg, var(--color-1), var(--color-2));
  border-radius: 999px;
  height: 100%;
  transition: width 300ms ease;
  width: 11%;
}

.modal-nav-btn-row {
  display: flex;
  gap: 10px;
}

.modal-step-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  flex: 1;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
  justify-content: center;
  padding: 10px 14px;
  transition: all 200ms ease;
}

.modal-step-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

[data-theme="light"] .modal-step-btn {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.1);
  color: #12141D;
}

/* Modal Right Column (Scrollable Syllabus) */
.modal-right-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-right-sticky-header {
  align-items: center;
  background: rgba(13, 16, 26, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  padding: 20px 28px;
  position: relative;
  z-index: 5;
}

[data-theme="light"] .modal-right-sticky-header {
  background: #FFFFFF;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.modal-syllabus-label {
  align-items: center;
  color: var(--text-main);
  display: flex;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  gap: 8px;
}

.modal-header-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.modal-toggle-text-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.modal-toggle-text-btn:hover {
  color: var(--color-1);
}

.modal-close-icon-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  height: 36px;
  justify-content: center;
  transition: all 200ms ease;
  width: 36px;
}

.modal-close-icon-btn:hover {
  background: var(--color-1);
  border-color: var(--color-1);
  color: #FFFFFF;
  transform: scale(1.08);
}

/* Syllabus Scroll Body & Accordions */
.modal-syllabus-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px 36px;
  scroll-behavior: smooth;
}

.syllabus-accordion-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 200ms ease, background 200ms ease;
}

.syllabus-accordion-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .syllabus-accordion-item {
  background: #F7F8FC;
  border-color: rgba(0, 0, 0, 0.06);
}

.syllabus-accordion-header {
  align-items: center;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
  text-align: left;
  width: 100%;
}

.acc-title-wrap {
  align-items: center;
  display: flex;
  gap: 12px;
}

.acc-index {
  color: var(--color-1);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.acc-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.acc-chevron {
  color: var(--text-muted);
  font-size: 14px;
  transition: transform 250ms ease;
}

.syllabus-accordion-item.open .acc-chevron {
  transform: rotate(180deg);
}

.syllabus-accordion-body {
  display: none;
  padding: 0 20px 20px 20px;
}

.syllabus-accordion-item.open .syllabus-accordion-body {
  display: block;
}

.syllabus-topic-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.syllabus-topic-list li {
  align-items: flex-start;
  color: var(--text-sub);
  display: flex;
  font-size: 13.5px;
  gap: 10px;
  line-height: 1.5;
}

.topic-dot {
  background: var(--color-2);
  border-radius: 50%;
  flex-shrink: 0;
  height: 6px;
  margin-top: 7px;
  width: 6px;
}

/* Modal Responsive Breakpoint */
@media (max-width: 900px) {
  .pbi-modal-window {
    grid-template-columns: 1fr;
    height: 92vh;
    max-height: 92vh;
  }
  .modal-left-panel {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-right: none;
    padding: 24px;
  }
  .modal-3d-visual-wrap {
    display: none;
  }
}

/* --- 6. Outré Lab Section --- */
.pbi-lab-section {
  padding: 60px 0;
}

.pbi-lab-card {
  align-items: center;
  background: radial-gradient(circle at 80% 50%, rgba(223, 255, 79, 0.06), transparent 60%), #0A0C14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 40px;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
  padding: 56px 60px;
  position: relative;
}

[data-theme="light"] .pbi-lab-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

@media (max-width: 960px) {
  .pbi-lab-card {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }
}

.pbi-lab-content {
  display: flex;
  flex-direction: column;
}

.pbi-lab-eyebrow {
  color: #DFFF4F;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

[data-theme="light"] .pbi-lab-eyebrow {
  color: #799404;
}

.pbi-lab-title {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.pbi-lab-quote {
  border-left: 3px solid #DFFF4F;
  color: var(--text-sub);
  font-size: 18px;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 28px;
  padding-left: 18px;
}

.pbi-lab-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.lab-feature-chip {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text-main);
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  padding: 7px 16px;
}

.lab-cta-pill {
  align-items: center;
  background: #DFFF4F;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(223, 255, 79, 0.35);
  color: #0E1019;
  display: inline-flex;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  padding: 13px 26px;
  text-decoration: none;
  transition: all 240ms ease;
  width: fit-content;
}

.lab-cta-pill:hover {
  box-shadow: 0 12px 30px rgba(223, 255, 79, 0.5);
  transform: translateY(-2px);
}

.pbi-lab-visual-box {
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
}

.pbi-lab-mockup-img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: block;
  max-width: 100%;
}

/* --- 7. Outré Studio (Portfolio Projects) --- */
.pbi-studio-section {
  padding: 60px 0 80px;
  position: relative;
}

.pbi-studio-header {
  margin-bottom: 40px;
  text-align: center;
}

.pbi-studio-eyebrow {
  color: var(--color-1);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.pbi-studio-title {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.pbi-studio-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 auto;
  max-width: 600px;
}

.pbi-studio-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
  .pbi-studio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pbi-studio-grid {
    grid-template-columns: 1fr;
  }
}

.studio-project-card {
  background: #0E1019;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 24px;
  position: relative;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-project-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(-6px);
}

[data-theme="light"] .studio-project-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.studio-card-icon {
  font-size: 28px;
  margin-bottom: 18px;
}

.studio-card-title {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 10px;
}

.studio-card-desc {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.studio-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.studio-mini-tag {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
}

/* --- 8. Capstone Showcase (Deep-Dive) --- */
.pbi-capstone-section {
  padding: 60px 0 80px;
  position: relative;
}

.pbi-capstone-header {
  margin-bottom: 36px;
  text-align: center;
}

.capstone-tabs-bar {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 40px;
}

.capstone-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  transition: all 240ms ease;
}

.capstone-tab-btn.active {
  background: var(--color-1);
  border-color: var(--color-1);
  box-shadow: 0 4px 20px rgba(224, 64, 90, 0.4);
  color: #FFFFFF;
}

.capstone-pane {
  display: none;
}

.capstone-pane.active {
  display: block;
}

.capstone-showcase-box {
  background: #0A0C14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  display: grid;
  gap: 40px;
  grid-template-columns: 1.15fr 1fr;
  overflow: hidden;
  padding: 50px;
  position: relative;
}

[data-theme="light"] .capstone-showcase-box {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

@media (max-width: 960px) {
  .capstone-showcase-box {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
}

.capstone-details-col {
  display: flex;
  flex-direction: column;
}

.capstone-topic-tag {
  color: var(--color-2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.capstone-project-title {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.capstone-project-desc {
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.capstone-features-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

@media (max-width: 500px) {
  .capstone-features-list {
    grid-template-columns: 1fr;
  }
}

.capstone-features-list li {
  align-items: center;
  color: var(--text-main);
  display: flex;
  font-size: 13.5px;
  font-weight: 600;
  gap: 8px;
}

.capstone-features-list .check-icon {
  color: var(--color-1);
}

/* Capstone Visual Mockup Preview (Right Col) */
.capstone-preview-col {
  align-items: center;
  display: flex;
  justify-content: center;
}

.capstone-mockup-frame {
  background: #111422;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  width: 100%;
}

.capstone-mockup-topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 6px;
  padding: 12px 16px;
}

.mock-dot {
  border-radius: 50%;
  height: 9px;
  width: 9px;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.capstone-mockup-body {
  padding: 24px;
}

.mockup-kpi-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 20px;
}

.mock-kpi-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px;
}

.mock-kpi-num {
  color: #DFFF4F;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.mock-kpi-lbl {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.mock-chart-container {
  align-items: flex-end;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  gap: 8px;
  height: 120px;
  justify-content: space-around;
  padding: 14px;
}

.mock-bar {
  background: linear-gradient(to top, var(--color-1), var(--color-2));
  border-radius: 4px 4px 0 0;
  width: 18px;
}

/* --- 9. Final CTA Banner --- */
.pbi-cta-section {
  padding: 60px 0 80px;
  position: relative;
}

.pbi-cta-banner-card {
  background: radial-gradient(circle at 50% 0%, rgba(224, 64, 90, 0.25) 0%, rgba(249, 150, 56, 0.1) 45%, #080A10 80%);
  border: 1px solid rgba(224, 64, 90, 0.4);
  border-radius: 36px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 60px rgba(224, 64, 90, 0.2);
  overflow: hidden;
  padding: 70px 40px;
  position: relative;
  text-align: center;
}

.pbi-cta-badge {
  background: rgba(224, 64, 90, 0.15);
  border: 1px solid rgba(224, 64, 90, 0.35);
  border-radius: 999px;
  color: var(--color-1);
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
  padding: 6px 18px;
  text-transform: uppercase;
}

.pbi-cta-title {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 auto 20px;
  max-width: 840px;
}

.pbi-cta-subtitle {
  color: var(--text-sub);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 auto 36px;
  max-width: 600px;
}

.pbi-cta-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.pbi-primary-cta {
  align-items: center;
  background: linear-gradient(90deg, #E0405A 0%, #F99638 100%);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(224, 64, 90, 0.5);
  color: #FFFFFF;
  display: inline-flex;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
  padding: 15px 32px;
  text-decoration: none;
  transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pbi-primary-cta:hover {
  box-shadow: 0 14px 40px rgba(224, 64, 90, 0.7);
  transform: translateY(-3px);
}

.pbi-secondary-cta {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: var(--text-main);
  display: inline-flex;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
  padding: 15px 28px;
  text-decoration: none;
  transition: all 240ms ease;
}

.pbi-secondary-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Mobile Responsive Nav and Breadcrumb Adjustments */
@media (max-width: 900px) {
  .nav-links-wrap {
    display: none !important;
  }
  .pbi-top-breadcrumb-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .agency-navbar {
    padding: 8px 14px;
  }
}

