/* Masterclass Custom Styles */

/* Smooth scroll offset for sections */
#about,
#audience,
#solutions,
#sandesh,
#faq,
#cta {
  scroll-margin-top: 120px; /* header (80px) + snackbar (40px) */
}

/* Timer Snackbar - Minimal */
.timer-snackbar {
  position: sticky;
  top: 80px;
  z-index: 9998;
  background: rgba(183, 75, 2, 0.95);
  color: var(--tsc-color-cream);
  padding: 6px 0;
  border-bottom: 1px solid rgba(183, 75, 2, 0.3);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.timer-snackbar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.timer-snackbar-text {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2px;
  opacity: 0.95;
}
.timer-snackbar-grid {
  display: flex;
  align-items: center;
  gap: 4px;
}
.timer-snackbar-item {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.timer-snackbar-value {
  font-family: var(--tsc-font-heading);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  color: var(--tsc-color-cream);
}
.timer-snackbar-label {
  font-size: 10px;
  text-transform: lowercase;
  letter-spacing: 0.3px;
  opacity: 0.85;
  margin-left: 2px;
}
.timer-snackbar-separator {
  font-size: 12px;
  opacity: 0.5;
  margin: 0 2px;
}

/* Custom Hero for Masterclass */
.masterclass-hero {
  padding-top: 80px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--tsc-color-ink-strong) 0%, #0a1f1d 50%, var(--tsc-color-mustard) 100%);
  position: relative;
  overflow: hidden;
  color: var(--tsc-color-cream);
}
.masterclass-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(183, 75, 2, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 236, 209, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.masterclass-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.masterclass-hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.masterclass-hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.masterclass-hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}
.masterclass-badge {
  display: inline-block;
  background: rgba(255, 236, 209, 0.15);
  border: 1px solid rgba(255, 236, 209, 0.3);
  color: var(--tsc-color-cream);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  width: fit-content;
  letter-spacing: 0.5px;
}
.masterclass-hero-title {
  font-size: 64px;
  line-height: 72px;
  letter-spacing: -1px;
  margin: 0;
  color: var(--tsc-color-cream);
  font-family: var(--tsc-font-heading);
}
.masterclass-hero-subtitle {
  font-size: 24px;
  line-height: 32px;
  color: #ffe7c9;
  margin: 0;
  font-weight: 400;
}
.masterclass-hero-desc {
  font-size: 18px;
  line-height: 28px;
  color: #eaddc4;
  margin: 0;
  margin-top: 12px;
}
.masterclass-hero-desc strong {
  color: var(--tsc-color-cream);
  font-weight: 600;
}
.masterclass-hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
.masterclass-pricing {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.masterclass-pricing-strike {
  text-decoration: line-through;
  color: #d4d4d4;
  font-size: 20px;
  opacity: 0.7;
}
.masterclass-pricing-current {
  color: var(--tsc-color-cream);
  font-size: 32px;
  font-weight: 700;
  font-family: var(--tsc-font-heading);
}
.masterclass-urgency {
  background: rgba(183, 75, 2, 0.25);
  border: 1px solid rgba(183, 75, 2, 0.4);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  color: #ffd7b2;
  display: inline-block;
  width: fit-content;
}

/* Masterclass Date/Time Display in About Section */
.masterclass-datetime {
  text-align: center;
  margin: 2rem 0 3rem;
  padding: 1.5rem;
  background: var(--tsc-color-bg-soft, #f5f5f5);
  border-radius: 12px;
  border: 2px solid var(--tsc-color-primary, #b74b02);
}
.masterclass-datetime-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--tsc-color-primary, #b74b02);
  margin-bottom: 0.5rem;
}
.masterclass-datetime-date {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tsc-color-text, #1a1a1a);
  font-family: var(--tsc-font-heading);
}
.masterclass-datetime-time {
  font-size: 1.2rem;
  color: var(--tsc-color-text-soft, #666);
  margin-top: 0.25rem;
}

/* About Sandesh Section - Web Optimized */
.sandesh-section {
  background: var(--tsc-color-ink-strong);
  position: relative;
  overflow: hidden;
}
.sandesh-content {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
  align-items: start;
}
.sandesh-image-wrapper {
  position: sticky;
}
.sandesh-portrait {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 236, 209, 0.2);
}
.sandesh-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sandesh-name {
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  color: var(--tsc-color-cream);
  margin: 0;
}
.sandesh-role {
  font-size: 18px;
  color: #ffe7c9;
  margin: 0;
}
.sandesh-bio {
  font-size: 18px;
  line-height: 28px;
  color: #d4d4d4;
  margin: 0;
}
.sandesh-bio strong {
  color: var(--tsc-color-cream);
}
.sandesh-achievements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.sandesh-achievement {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.sandesh-achievement-num {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: var(--tsc-color-cream);
  margin-bottom: 4px;
}
.sandesh-achievement-label {
  font-size: 14px;
  color: #ffe7c9;
}

/* Iconic Works - Moved out of nested structure */
.sandesh-iconic-works {
  margin-top: 48px;
}
.sandesh-iconic-works-title {
  color: var(--tsc-color-cream);
  font-size: 20px;
  margin-bottom: 16px;
  font-family: var(--tsc-font-heading);
}
.sandesh-albums {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.sandesh-album {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 236, 209, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sandesh-album:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Section CTA Component */
.section-cta-wrapper {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--tsc-color-stroke);
  text-align: center;
}
.section-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--tsc-color-accent);
  color: var(--tsc-color-cream);
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(183, 75, 2, 0.3);
}
.section-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(183, 75, 2, 0.4);
}
.section-cta-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-cta-strike {
  text-decoration: line-through;
  opacity: 0.6;
  font-size: 16px;
}
.section-cta-current {
  font-weight: 700;
  font-size: 20px;
}
.dark-section .section-cta-wrapper {
  border-top-color: rgba(255, 255, 255, 0.1);
}
.dark-section .section-cta-button {
  background: var(--tsc-color-accent);
}

/* Step Media Images */
.step-media .step-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--tsc-color-bg-soft);
  display: block;
}

/* Vision Section Feature Items */
.vision-feature-item {
  background: var(--tsc-color-bg-soft);
  border-color: #f2d8b6;
}
.vision-feature-title {
  color: var(--tsc-color-ink-strong);
}
.vision-feature-desc {
  color: var(--tsc-color-ink-muted);
}

/* About Section Highlight Box */
.about-highlight-box {
  margin-top: 32px;
  padding: 24px;
  background: var(--tsc-color-bg-soft);
  border-radius: 14px;
  border: 1px solid #f2d8b6;
}
.about-highlight-text {
  margin: 0;
  color: var(--tsc-color-ink-strong);
  font-size: 18px;
  line-height: 28px;
  text-align: center;
}

/* Audience Section Lead */
.audience-lead-wrapper {
  margin-top: 32px;
  text-align: center;
}
.audience-lead-text {
  color: #ffe7c9;
  margin-bottom: 0;
}

/* Audience Section - 2 columns for stats */
#audience .stats {
  grid-template-columns: repeat(2, 1fr);
}

/* FAQ Container */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}
.faq-container-inner {
  margin-top: 32px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--tsc-color-stroke);
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(8, 61, 58, 0.06);
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(8, 61, 58, 0.1);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--tsc-font-heading);
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  color: var(--tsc-color-ink-strong);
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background: var(--tsc-color-bg-soft);
}

.faq-question:focus-visible {
  outline: 3px solid var(--tsc-color-focus);
  outline-offset: -3px;
}

.faq-icon {
  font-size: 20px;
  color: var(--tsc-color-accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 24px 24px 24px;
}

.faq-answer-content {
  color: var(--tsc-color-ink-muted);
  font-size: 16px;
  line-height: 26px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.faq-answer-content p {
  margin-bottom: 12px;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content strong {
  color: var(--tsc-color-ink-strong);
  font-weight: 600;
}

/* CTA Section Styles */
.cta-pricing-wrapper {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.cta-pricing-display {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tsc-color-cream);
}
.cta-pricing-strike {
  text-decoration: line-through;
  opacity: 0.7;
}
.cta-pricing-current {
  font-weight: 700;
  font-size: 20px;
}
.cta-urgency-text {
  text-align: center;
  color: #d4d4d4;
  margin-top: 16px;
  font-size: 14px;
}

/* Header Sticky */
.masterclass-header-sticky {
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* Responsive Styles */
    @media (max-width: 1024px) {
      .masterclass-hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .masterclass-hero-title {
        font-size: 48px;
        line-height: 56px;
      }
  .sandesh-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sandesh-image-wrapper {
    position: static;
  }
  .sandesh-achievements {
    grid-template-columns: repeat(3, 1fr);
  }
  .sandesh-albums {
    grid-template-columns: repeat(3, 1fr);
  }
  .timer-snackbar {
    top: 80px;
  }
  .section-cta-button {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .section-cta-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  .masterclass-hero {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .masterclass-hero-title {
    font-size: 36px;
    line-height: 44px;
  }
  .masterclass-hero-subtitle {
    font-size: 20px;
    line-height: 28px;
  }
  .masterclass-hero-desc {
    font-size: 16px;
    line-height: 24px;
  }
      .timer-snackbar {
        top: 80px;
        padding: 5px 0;
      }
      .timer-snackbar-content {
        gap: 8px;
        flex-wrap: wrap;
      }
      .timer-snackbar-text {
        font-size: 12px;
      }
      .timer-snackbar-value {
        font-size: 13px;
      }
      .timer-snackbar-label {
        font-size: 9px;
      }
      .timer-snackbar-separator {
        font-size: 11px;
      }
  .sandesh-name {
    font-size: 28px;
    line-height: 36px;
  }
  .sandesh-achievements {
    grid-template-columns: 1fr;
  }
  .sandesh-albums {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-cta-button {
    flex-direction: column;
    gap: 12px;
    padding: 14px 24px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .section-cta-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }
  .masterclass-hero-cta .btn {
    width: 100%;
  }
  .masterclass-hero-cta {
    width: 100%;
  }
  .cta-pricing-wrapper {
    flex-direction: column;
    width: 100%;
  }
  .cta-pricing-wrapper .btn {
    width: 100%;
  }
  .faq-question {
    font-size: 16px;
    line-height: 24px;
    padding: 16px 20px;
  }
  .faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
  }
  
  /* Audience section mobile optimization */
  #audience .stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  #audience .stat {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
  }
  
  #audience .stat-icon {
    font-size: 40px;
    margin-bottom: 12px;
  }
  
  #audience .stat-num {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 8px;
  }
  
  #audience .stat-label {
    font-size: 15px;
    line-height: 22px;
  }
  
  .audience-lead-wrapper {
    margin-top: 24px;
    padding: 0 16px;
  }
  
  .audience-lead-text {
    font-size: 16px;
    line-height: 24px;
  }
}

