/* ==========================================================================
   Sector Detail Pages - Common Stylesheet (sector-details.css)
   Fidelity: Cyber-Minimalist, High-Tech Glassmorphism, and Fluid Animations.
   ========================================================================== */

/* 1. Page Background & Glow Gradients */
.sector-details-bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: var(--bg-color-main);
  overflow: hidden;
  pointer-events: none;
}

.details-glow-1 {
  position: absolute;
  top: -10%;
  right: 5%;
  width: 600px;
  height: 600px;
  filter: blur(100px);
  opacity: 0.85;
  pointer-events: none;
  border-radius: 50%;
}

.details-glow-2 {
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 500px;
  height: 500px;
  filter: blur(100px);
  opacity: 0.65;
  pointer-events: none;
  border-radius: 50%;
}

/* Individual page themes via class hooks */
body.theme-creators .details-glow-1 {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, rgba(5, 5, 5, 0) 70%); /* Violet */
}
body.theme-creators .details-glow-2 {
  background: radial-gradient(circle, rgba(255, 163, 181, 0.06) 0%, rgba(5, 5, 5, 0) 70%); /* Luminous Rose */
}

body.theme-teams .details-glow-1 {
  background: radial-gradient(circle, rgba(65, 105, 225, 0.08) 0%, rgba(5, 5, 5, 0) 70%); /* Royal Blue */
}
body.theme-teams .details-glow-2 {
  background: radial-gradient(circle, rgba(218, 255, 156, 0.05) 0%, rgba(5, 5, 5, 0) 70%); /* Pale Green */
}

body.theme-students .details-glow-1 {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(5, 5, 5, 0) 70%); /* Cyan */
}
body.theme-students .details-glow-2 {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, rgba(5, 5, 5, 0) 70%); /* Soft Blue */
}

body.theme-journalists .details-glow-1 {
  background: radial-gradient(circle, rgba(234, 179, 8, 0.08) 0%, rgba(5, 5, 5, 0) 70%); /* Amber/Gold */
}
body.theme-journalists .details-glow-2 {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.05) 0%, rgba(5, 5, 5, 0) 70%); /* Ruby Red */
}

/* 2. Hero Split Layout */
.details-hero-section {
  padding: 10rem 0 5rem 0;
  position: relative;
  z-index: 2;
}

.details-hero-grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  align-items: center;
  text-align: center;
}

.details-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.details-hero-content .badge {
  margin-bottom: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.details-hero-title {
  font-family: var(--font-header);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.details-hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.details-hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* 3. High-Fidelity Mockup Container */
.details-hero-visual {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.mockup-frame {
  width: 100%;
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease;
}

/* Mockup Header Bar */
.mockup-header-bar {
  background: rgba(20, 20, 20, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27c93f; }

.mockup-tab-title {
  font-size: 0.75rem;
  font-family: var(--font-main);
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

/* 3A. Creator Subtitle Mockup Specifics */
.creator-sub-editor {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.creator-video-box {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.video-dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--color-green-neon);
  color: #000;
  box-shadow: 0 0 15px rgba(218, 255, 156, 0.4);
}

.live-caption-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  width: 85%;
  color: #fff;
}

.live-caption-overlay span.highlight-caption {
  color: var(--color-green-neon);
}

.audio-waveform-track {
  height: 45px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: hidden;
}

.wave-bar {
  flex: 1;
  height: 15px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  transition: all 0.15s ease;
}

.wave-bar.active {
  background: var(--color-green-neon);
}

/* Animations for Waveform */
@keyframes pulseWave {
  0% { transform: scaleY(1); }
  50% { transform: scaleY(1.8); }
  100% { transform: scaleY(1); }
}

.wave-bar.animating {
  animation: pulseWave 1s ease-in-out infinite;
}

/* 3B. Teams Meeting Dashboard Mockup Specifics */
.teams-meeting-dashboard {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.meeting-header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 0.75rem;
}

.meeting-title-badge {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.meeting-status-active {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-green-neon);
}

.pulse-circle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green-neon);
  box-shadow: 0 0 10px var(--color-green-neon);
  animation: pulseActive 1.5s infinite;
}

@keyframes pulseActive {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

.speaker-cards-flow {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 180px;
  overflow-y: auto;
}

.speaker-bubble {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.speaker-bubble.active-speaking {
  border-color: rgba(65, 105, 225, 0.35);
  background: rgba(65, 105, 225, 0.05);
  box-shadow: 0 0 20px rgba(65, 105, 225, 0.08);
}

@keyframes avatarPulse {
  0% { box-shadow: 0 0 0 0 rgba(65, 105, 225, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(65, 105, 225, 0); }
  100% { box-shadow: 0 0 0 0 rgba(65, 105, 225, 0); }
}

.speaker-bubble.active-speaking .speaker-avatar {
  border-color: var(--color-blue-primary);
  animation: avatarPulse 2s infinite;
}

.speaker-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
}

.speaker-bubble.active-speaking .speaker-avatar {
  border-color: var(--color-blue-primary);
  box-shadow: 0 0 8px rgba(65, 105, 225, 0.4);
}

.speaker-details-block {
  flex: 1;
}

.speaker-name-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.speaker-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.speaker-time {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.speaker-transcript {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.ai-summary-aside {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 1rem;
}

.ai-aside-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-green-neon);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ai-summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ai-summary-list li {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
  position: relative;
  padding-left: 1.25rem;
}

.ai-summary-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-green-neon);
  font-weight: 700;
}

/* 3C. Students Research Workspace Specifics */
.students-workspace {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
}

.workspace-transcription-pane {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 1rem;
  max-height: 250px;
  overflow-y: auto;
}

.pane-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.transcription-paragraph {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.transcription-paragraph span.highlight-yellow {
  background: rgba(218, 255, 156, 0.15);
  border-bottom: 1px solid var(--color-green-neon);
  padding: 0.1rem 0.2rem;
  border-radius: 2px;
}

.transcription-paragraph span.highlight-cyan {
  background: rgba(6, 182, 212, 0.15);
  border-bottom: 1px solid #06b6d4;
  padding: 0.1rem 0.2rem;
  border-radius: 2px;
}

.research-codebook-pane {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1rem;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.research-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.research-tag.yellow-tag {
  background: rgba(218, 255, 156, 0.05);
  color: var(--color-green-neon);
  border-color: rgba(218, 255, 156, 0.15);
}

.research-tag.cyan-tag {
  background: rgba(6, 182, 212, 0.05);
  color: #06b6d4;
  border-color: rgba(6, 182, 212, 0.15);
}

.research-tag:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(255, 255, 255, 0.08);
}

.research-tag.yellow-tag.active-tag {
  background: var(--color-green-neon) !important;
  color: #000 !important;
  border-color: var(--color-green-neon);
  font-weight: 700;
}

.research-tag.cyan-tag.active-tag {
  background: #06b6d4 !important;
  color: #000 !important;
  border-color: #06b6d4;
  font-weight: 700;
}

.workspace-notes-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.notes-box-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.notes-box-desc {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* 3D. Journalists Media Specifics */
.journalists-recorder {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.recorder-player-bar {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.player-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.player-icon-btn.play-btn {
  background: #fff;
  color: #000;
}

.player-icon-btn:hover {
  border-color: var(--color-green-neon);
  color: var(--color-green-neon);
  transform: scale(1.08);
}

.player-icon-btn.play-btn:hover {
  background: var(--color-green-neon);
  color: #000;
  box-shadow: 0 0 10px rgba(218, 255, 156, 0.4);
}

.player-timeline-wrapper {
  flex: 1;
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  cursor: pointer;
}

.player-timeline-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 35%;
  background: var(--color-green-neon);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--color-green-neon);
}

.player-speed-toggles {
  display: flex;
  gap: 0.35rem;
}

.speed-toggle-btn {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.speed-toggle-btn.active {
  color: #000;
  background: var(--color-green-neon);
  border-color: var(--color-green-neon);
}

.quick-excerpt-pane {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1rem;
}

.excerpt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.publish-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #f87171;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.excerpt-quote {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--color-text-secondary);
  font-style: italic;
  padding-left: 0.75rem;
  border-left: 2px solid var(--color-green-neon);
}

/* 4. Statistics ROI Section */
.details-stats-section {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-header);
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-green-neon);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--color-green-neon) 30%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 40px rgba(218, 255, 156, 0.15);
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  max-width: 250px;
  line-height: 1.5;
}

/* 5. Core Pillars / Specific Features */
.details-features-section {
  padding: 6rem 0;
  position: relative;
  z-index: 2;
}

.details-features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.details-features-title {
  font-family: var(--font-header);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.details-features-desc {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.details-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.details-feature-card {
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 2.2rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-green-neon);
  transition: all 0.3s ease;
}

.details-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(218, 255, 156, 0.2);
  background: rgba(218, 255, 156, 0.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(218, 255, 156, 0.03);
}

.details-feature-card:hover .feature-icon-wrapper {
  background: var(--color-green-neon);
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(218, 255, 156, 0.3);
}

.details-feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.details-feature-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* 6. Unified Sticky Call to Action Banner */
.details-cta-section {
  padding: 6rem 0 8rem 0;
  position: relative;
  z-index: 2;
}

.details-cta-banner {
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.75) 0%, rgba(5, 5, 5, 0.95) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.details-cta-title {
  font-family: var(--font-header);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.details-cta-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

/* Responsive Adaptations */
@media (max-width: 991px) {
  .details-hero-grid {
    gap: 2.5rem;
  }
  
  .details-hero-title {
    font-size: 2.4rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .details-features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .students-workspace {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   DJO Assist Trint-like Web Workspace Layout & Elements
   ========================================================================== */

/* Max width extension for high-fidelity workspace mockups */
.details-hero-visual {
  max-width: 1100px !important;
}

/* Main Workspace Application Wrapper */
.workspace-app {
  display: grid;
  grid-template-columns: 210px 1fr 310px;
  height: 520px;
  background: rgba(8, 8, 8, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-main);
}

/* 1. Left Sidebar File Tree */
.workspace-sidebar {
  background: rgba(5, 5, 5, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow: hidden;
  text-align: left;
}

.sidebar-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.sidebar-search-wrapper svg {
  position: absolute;
  left: 10px;
  color: var(--color-text-muted);
  pointer-events: none;
}

.sidebar-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.45rem 0.5rem 0.45rem 1.85rem;
  font-size: 0.75rem;
  color: #fff;
  transition: all 0.2s ease;
}

.sidebar-search-input:focus {
  border-color: var(--color-green-neon);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

.sidebar-tree-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.sidebar-tree-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tree-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tree-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.tree-item.active {
  background: rgba(218, 255, 156, 0.06);
  color: var(--color-green-neon);
  border: 1px solid rgba(218, 255, 156, 0.12);
  font-weight: 600;
}

.tree-icon {
  flex-shrink: 0;
  opacity: 0.7;
}

.tree-item.active .tree-icon {
  opacity: 1;
}

/* 2. Center Canvas & Rich Editor */
.workspace-canvas {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
}

.canvas-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1.25rem;
  background: rgba(12, 12, 12, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.toolbar-left, .toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toolbar-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.toolbar-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.toolbar-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.toolbar-btn.accent-green {
  background: rgba(218, 255, 156, 0.08);
  border-color: rgba(218, 255, 156, 0.2);
  color: var(--color-green-neon);
}

.toolbar-btn.accent-green:hover {
  background: var(--color-green-neon);
  color: #000;
  box-shadow: 0 0 10px rgba(218, 255, 156, 0.3);
}

.canvas-editor-body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

/* Custom Diarized Rows in Editor */
.editor-transcript-segment {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.segment-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.segment-speaker {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.segment-time {
  font-size: 0.68rem;
  font-family: monospace;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.segment-text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

/* 3. Right Drawer */
.workspace-drawer {
  background: rgba(5, 5, 5, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
}

.drawer-visual-box {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  overflow: hidden;
}

.drawer-visual-box:hover {
  transform: scale(1.025);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(218, 255, 156, 0.05);
}

.drawer-visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
}

.drawer-panel {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* 4. Bottom Control Bar */
.workspace-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  background: rgba(10, 10, 10, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  height: 56px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 160px;
}

.footer-center {
  flex: 1;
  padding: 0 1.5rem;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  min-width: 160px;
}

/* Responsive collapse for workspace app */
@media (max-width: 991px) {
  .workspace-app {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
  .workspace-sidebar {
    display: none !important;
  }
  .workspace-drawer {
    border-left: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  }
  .workspace-footer {
    flex-direction: column;
    height: auto !important;
    padding: 1rem !important;
    gap: 0.8rem;
  }
  .footer-left, .footer-right {
    justify-content: center;
    width: 100%;
  }
  .footer-center {
    width: 100%;
    padding: 0 !important;
  }
}

/* Active Video Overlay inside Drawer */
.drawer-video-overlay-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.75rem;
  z-index: 2;
}

.drawer-video-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.live-badge {
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  background: #ef4444;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 3px;
}

.live-badge-dot {
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  animation: pulseActive 1.2s infinite;
}

.translation-overlay-badge {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--color-green-neon);
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(218, 255, 156, 0.2);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

/* Live Waveform in Bottom Footer Controls */
.pulsing-audio-wave-footer {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

/* Customize details styles to overwrite simpler ones and look high fidelity */
.teams-meeting-dashboard, 
.creator-sub-editor, 
.students-workspace, 
.journalists-recorder {
  padding: 0 !important;
  display: block !important;
  background: none !important;
  border: none !important;
}

/* ==========================================================================
   Premium Testimonials Scrolling Frame ("Cadre de témoignages défilants") & Extra Motion
   ========================================================================== */

.details-testimonials-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.testimonials-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.testimonials-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-green-neon);
  background: rgba(218, 255, 156, 0.08);
  border: 1px solid rgba(218, 255, 156, 0.18);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.testimonials-title {
  font-family: var(--font-header);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
}

.testimonials-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.testimonials-slider-container {
  width: 100%;
  overflow-x: auto;
  padding: 1rem 0.5rem 2rem 0.5rem;
  cursor: grab;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Hide standard scrollbar in Firefox */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.testimonials-slider-container::-webkit-scrollbar {
  display: none; /* Hide standard scrollbar in Chrome/Safari */
}

.testimonials-track {
  display: flex;
  gap: 1.75rem;
  width: max-content;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.012);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 2.25rem;
  width: 380px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(218, 255, 156, 0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 20px rgba(218, 255, 156, 0.04);
}

.testimonial-quote-symbol {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(218, 255, 156, 0.06);
  line-height: 1;
  pointer-events: none;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 1.25rem;
  color: var(--color-green-neon);
  font-size: 0.85rem;
}

.testimonial-feedback {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 1.75rem;
  font-style: italic;
  text-align: left;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
  border-color: var(--color-green-neon);
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.testimonial-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.testimonial-role {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Secondary Multi-Photo Displays (e.g. STUD 2 / JOURN 2) */
.secondary-photo-block {
  margin-top: 1.25rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  height: 140px;
  background-size: cover;
  background-position: center;
  transition: all 0.4s ease;
}

.secondary-photo-block:hover {
  transform: scale(1.02);
  border-color: rgba(6, 182, 212, 0.2);
}

.photo-block-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  padding: 0.5rem 0.75rem;
  font-size: 0.65rem;
  color: var(--color-text-secondary);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Enhanced movement keyframes */
@keyframes waveGrow {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.4); }
}

.wave-bar.animating {
  animation: waveGrow 1.5s ease-in-out infinite;
  transform-origin: bottom;
}

@keyframes subtleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.tree-item.active {
  animation: subtleFloat 3s ease-in-out infinite;
}

/* Responsive adjustment for testimonials on mobile */
@media (max-width: 768px) {
  .details-testimonials-section {
    padding: 3.5rem 0;
  }
  .testimonials-slider-container {
    mask-image: none;
    -webkit-mask-image: none;
    overflow-x: scroll;
  }
  .testimonial-card {
    width: 290px;
    padding: 1.5rem;
  }
}
