/* Outer Section Styling */
.past-session-detail-section {
  width: 100%;
  background-color: #052c6a;
  /* Dark Navy Background */
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  padding: 3rem 1.5rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
  color: #ffffff;
}

.past-session-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

/* Left Column Styling */
.session-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 0.4rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ff7a38;
  margin-bottom: 1.75rem;
  letter-spacing: 0.5px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: #ff7a38;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff7a38;
}

.session-title {
  font-size: 2.65rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.session-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 2rem 0;
}

/* Status Tags Row */
.session-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.perk-pill {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 10px;
}

/* Social Proof Note */
.live-social-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #94a3b8;
}

.live-social-proof strong {
  color: #ffffff;
}

/* Right Column: Video Card Box */
.video-card-box {
  background: linear-gradient(135deg, #132247 0%, #0d1733 100%);
  border: 1px solid #1e3366;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Video Header Overlay */
.video-header-overlay {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.speaker-avatar-name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.speaker-mini-avatar {
  width: 28px;
  height: 28px;
  background-color: #ff7a38;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.replay-badge {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* Video Center Content */
.video-center-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem 0;
}

.video-main-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.video-mpesa-mock {
  background-color: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}

.mpesa-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 1px;
}

.mpesa-comparison {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.strike {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 1rem;
}

.not-equal {
  color: #ff7a38;
}

.highlight-price {
  color: #ff7a38;
}

/* Video Footer Action (Play & YouTube Button) */
.video-footer-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.youtube-play-icon {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.youtube-play-icon:hover {
  transform: scale(1.08);
}

.btn-watch-youtube {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-watch-youtube:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Media Queries */
@media (max-width: 968px) {
  .past-session-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .session-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 640px) {
  .past-session-detail-section {
    padding: 4rem 1rem;
  }

  .video-card-box {
    padding: 1.5rem;
  }

  .session-info-col {
    padding-top: 3rem;
}}

/* Outer Section Styling */
.cost-section {
  width: 100%;
  background-color: #06347e;
  /* Dark Navy Background */
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  padding: 3.5rem 1.5rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
  text-align: center;
  color: #ffffff;
}

.cost-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header */
.cost-header {
  margin-bottom: 3rem;
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ff7a38;
  /* Vibrant Orange */
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  color: #ffffff;
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 1rem 0;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Cost Breakdown Card */
.cost-card-wrapper {
  width: 100%;
  margin-bottom: 1.75rem;
}

.cost-card {
  background-color: #111a33;
  border: 1px solid #1e2d54;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  text-align: left;
}

.cost-window-bar {
  background-color: #0b1329;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1e2d54;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red {
  background-color: #1e2d54;
}

.dot.yellow {
  background-color: #1e2d54;
}

.dot.green {
  background-color: #1e2d54;
}

.cost-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1px;
}

/* Cost Body & Bars */
.cost-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cost-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cost-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.model-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.model-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ff7a38;
  letter-spacing: 0.5px;
}

.progress-track {
  width: 100%;
  height: 8px;
  background-color: #1a284d;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #ff7a38;
  border-radius: 4px;
}

.progress-fill.gpt4 {
  width: 85%;
}

.progress-fill.claude {
  width: 55%;
}

.progress-fill.opensource {
  width: 25%;
}

.cost-card-footer {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 1px;
  margin-top: 0.5rem;
  border-top: 1px dashed #1a284d;
  padding-top: 1.25rem;
}

/* Footer Note */
.cost-footer-note {
  font-size: 0.95rem;
  color: #94a3b8;
  margin: 0 0 3rem 0;
}

/* Step Indicator */
.steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  width: 100%;
  position: relative;
}

.steps-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 15%;
  right: 15%;
  height: 1px;
  background-color: #1e2d54;
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  background-color: #0b1329;
  padding: 0 0.75rem;
}

.step-item.active {
  color: #ff7a38;
}

.step-num {
  font-weight: 800;
}

.step-item.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ff7a38;
}

/* Button */
.cost-action {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.btn-primary-orange {
  display: block;
  width: 100%;
  background-color: #ff7a38;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255, 122, 56, 0.35);
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
  text-align: center;
}

.btn-primary-orange:hover {
  background-color: #e66728;
  transform: translateY(-2px);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.15rem;
  }

  .cost-body {
    padding: 1.25rem;
  }

  .steps-indicator {
    flex-direction: column;
    gap: 1rem;
  }

  .steps-indicator::before {
    display: none;
  }
}


/* YouTube player wrapper */
.webinar-inline-player {
  width: 100%;
  height: 245px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  position: relative;
}

/* YouTube iframe */
.webinar-inline-player iframe {
  width: 460px;
  height: 245px;
  max-width: none;
  border: none;
  display: block;
  flex-shrink: 0;
}

/* Keep the video card at its existing width */
.video-card-box {
  box-sizing: border-box;
  max-width: 100%;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 640px) {
  .webinar-inline-player {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .webinar-inline-player iframe {
    width: 100%;
    height: 100%;
  }
}

.perk-pill:hover {
    background-color: #e66728;
}

.btn-watch-youtube:hover {
    background-color: #e66728;
}

.step-item:hover {
    background-color: #e66728;
    color: #ffffff;
}