/* ==========================================================================
   Feature Spotlight Modal - Figma Spec (Frame 1171276024)
   ========================================================================== */

/* Fullscreen Backdrop */
.spotlight-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

/* Outer Glassmorphism Frame (Frame 1171276024) */
.spotlight-outer-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px;
  gap: 10px;
  max-width: 1304px;
  width: 100%;
  max-height: calc(100vh - 48px);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
  border-radius: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: spotlightPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes spotlightPopIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Close Button */
.spotlight-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #E4E7EC;
  box-shadow: 0 4px 8px rgba(16, 24, 40, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: #475467;
}

.spotlight-close-btn:hover {
  background: #FFFFFF;
  color: #101828;
  transform: scale(1.08);
  box-shadow: 0 6px 12px rgba(16, 24, 40, 0.1);
}

/* Inner White Card (Frame 493) */
.spotlight-inner-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 24px;
  gap: 24px;
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0px 20px 24px -4px rgba(16, 24, 40, 0.08), 0px 8px 8px -4px rgba(16, 24, 40, 0.03);
  border-radius: 32px;
  overflow: hidden;
}

/* Reversed Layout modifier for "Level up your Knowledge" */
.spotlight-inner-card.is-reversed {
  flex-direction: row-reverse;
}

/* Content Column (Frame 494) */
.spotlight-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  gap: 20px;
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  max-height: 780px;
}

/* Custom Scrollbar for Content Col */
.spotlight-content-col::-webkit-scrollbar {
  width: 6px;
}
.spotlight-content-col::-webkit-scrollbar-thumb {
  background: #E4E7EC;
  border-radius: 3px;
}

/* Header Area */
.spotlight-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.spotlight-title {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-page);
  line-height: 1.35;
  color: #0A0A0A;
  margin: 0;
  letter-spacing: -0.02em;
}

.spotlight-title-gradient {
  background: linear-gradient(180deg, #2966F4 55.29%, #1849B3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.spotlight-subtitle {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-medium);
  font-size: var(--gf-text-body);
  line-height: 1.5;
  color: #0A0A0A;
  margin: 0;
}

.spotlight-description {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-regular);
  font-size: var(--gf-text-body);
  line-height: 1.6;
  color: #475467;
  margin: 0;
}

/* List Type 1: Checklist */
.spotlight-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 4px 0;
}

.spotlight-check-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.spotlight-check-icon-box {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.spotlight-check-icon {
  width: 24px;
  height: 24px;
  color: #2966F4;
  stroke-width: 2.66667px;
}

.spotlight-check-text {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-regular);
  font-size: var(--gf-text-body);
  line-height: 1.6;
  color: #475467;
  margin: 0;
}

/* List Type 2: Stats / Metrics */
.spotlight-stats-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin: 4px 0;
}

.spotlight-stat-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.spotlight-stat-number {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-bold);
  font-size: var(--gf-text-page);
  line-height: 1;
  color: #2966F4;
  min-width: 48px;
}

.spotlight-stat-label {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-regular);
  font-size: var(--gf-text-body);
  line-height: 1.55;
  color: #475467;
  margin: 0;
}

/* List Type 3: Course Topics with Outlined Icons */
.spotlight-topics-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 4px 0;
}

.spotlight-topic-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.spotlight-topic-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  color: #2966F4;
  flex-shrink: 0;
}

.spotlight-topic-label {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-medium);
  font-size: var(--gf-text-body);
  line-height: 1.5;
  color: #475467;
}

/* CTA Button Container */
.spotlight-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
}

.spotlight-cta-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 32px;
  width: fit-content;
  min-width: 260px;
  max-width: 420px;
  height: 60px;
  background: #2966F4;
  border-radius: 32px;
  border: none;
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-medium);
  font-size: var(--gf-text-body);
  letter-spacing: -0.2px;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(41, 102, 244, 0.28);
}

.spotlight-cta-btn:hover {
  background: #1c52cf;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(41, 102, 244, 0.38);
}

.spotlight-cta-btn:active {
  transform: translateY(0);
}

.spotlight-cta-icon {
  width: 22px;
  height: 22px;
  color: #FFFFFF;
}

.spotlight-footnote {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-regular);
  font-size: var(--gf-text-body);
  line-height: 1.4;
  color: #475467;
  margin: 0;
}

/* Radiant Blue Graphic Column (Frame 488) */
.spotlight-graphic-col {
  position: relative;
  flex: 1;
  min-width: 0;
  background: #2966F4;
  border-radius: 24px;
  overflow: hidden;
  min-height: 600px;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Figma Blur Blobs (Frame 1171276010, 1171276012, 1171276011) */
.spotlight-blur-blob-1 {
  position: absolute;
  width: 158px;
  height: 348px;
  left: -80px;
  top: 180px;
  background: #FFFFFF;
  filter: blur(105.4px);
  -webkit-filter: blur(105.4px);
  border-radius: 200px;
  pointer-events: none;
  opacity: 0.85;
}

.spotlight-blur-blob-2 {
  position: absolute;
  width: 325px;
  height: 348px;
  right: -60px;
  bottom: 60px;
  background: #FFFFFF;
  filter: blur(189.75px);
  -webkit-filter: blur(189.75px);
  border-radius: 200px;
  pointer-events: none;
  opacity: 0.8;
}

.spotlight-blur-blob-3 {
  position: absolute;
  width: 122px;
  height: 303px;
  left: 25%;
  top: -80px;
  background: #FFFFFF;
  filter: blur(70.5px);
  -webkit-filter: blur(70.5px);
  border-radius: 200px;
  transform: rotate(-90deg);
  pointer-events: none;
  opacity: 0.75;
}

/* Subtle decorative inner glow ring */
.spotlight-graphic-overlay {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .spotlight-inner-card,
  .spotlight-inner-card.is-reversed {
    flex-direction: column-reverse;
  }
  .spotlight-inner-card.is-reversed {
    flex-direction: column;
  }
  .spotlight-graphic-col {
    min-height: 240px;
    height: 240px;
    flex: none;
  }
  .spotlight-content-col {
    max-height: none;
    padding: 8px;
  }
  .spotlight-title {
    font-size: var(--gf-text-section);
  }
  .spotlight-stat-number {
    font-size: var(--gf-text-section);
  }
}

@media (max-width: 640px) {
  .spotlight-backdrop {
    padding: 12px;
  }
  .spotlight-outer-frame {
    border-radius: 24px;
    padding: 8px;
  }
  .spotlight-inner-card {
    border-radius: 20px;
    padding: 16px;
  }
  .spotlight-title {
    font-size: var(--gf-text-card);
  }
  .spotlight-cta-btn {
    width: 100%;
    max-width: none;
    font-size: var(--gf-text-body);
  }
}
