/* ===== MATERIALS PAGE ===== */

/* Hero */
.mat-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.mat-hero-content {
  position: relative;
  z-index: 2;
}

.mat-hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin: 20px auto 16px;
  max-width: 700px;
}

.mat-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #f1a900, #ffd166);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mat-hero .hero-description {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.mat-hero .hero-badge {
  justify-content: center;
}

.mat-hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 20px;
}

.mat-hero-stats .hero-stat-number { color: white; }
.mat-hero-stats .hero-stat-label { color: rgba(255,255,255,0.7); }

/* Search Bar */
.mat-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto 32px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 12px 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.mat-search-bar:focus-within {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.mat-search-bar svg {
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.mat-search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 0.95rem;
  font-family: 'Open Sans', sans-serif;
}

.mat-search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.mat-search-bar kbd {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Manrope', sans-serif;
}

/* Filter Tabs */
.mat-filters {
  padding: 0;
  position: sticky;
  top: 64px;
  z-index: 90;
  background: var(--surface);
  border-bottom: 1px solid var(--card-border);
  transition: background 0.3s;
}

.mat-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.mat-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}

.mat-tabs::-webkit-scrollbar { display: none; }

.mat-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--card-border);
  border-radius: 50px;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.mat-tab:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(12, 52, 255, 0.05);
}

.mat-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.mat-tab.active svg path { fill: white; }

.mat-tab svg path {
  fill: var(--text-muted);
  transition: fill 0.3s;
}

.mat-tab:hover svg path { fill: var(--brand); }

.mat-results-count {
  color: var(--text-muted);
  font-size: 0.85rem;
  white-space: nowrap;
  font-weight: 500;
}

/* Materials Grid */
.mat-grid-section {
  padding: 48px 0 80px;
}

.mat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mat-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.mat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--card-hover-border);
}

.mat-card-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.mat-card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mat-card:hover .mat-card-thumb-img {
  transform: scale(1.05);
}

.mat-card-thumb-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mat-card-icon {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.85);
}

.mat-card-thumb-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 52, 255, 0.08) 0%, rgba(241, 169, 0, 0.08) 100%);
}

.mat-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Manrope', sans-serif;
}

.mat-card-badge.guia {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}
.mat-card-badge.plantilla {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}
.mat-card-badge.ebook {
  background: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
}
.mat-card-badge.infografia {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}
.mat-card-badge.herramienta {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.mat-card-badge.checklist {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
}

.mat-card-new {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 8px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--accent);
  color: #1a1a2e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mat-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mat-card-body h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.mat-card-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  flex: 1;
}

.mat-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--card-border);
}

.mat-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mat-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mat-card-action {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.82rem;
  font-family: 'Manrope', sans-serif;
  transition: gap 0.3s;
}

.mat-card:hover .mat-card-action {
  gap: 10px;
}

/* Empty State */
.mat-empty {
  text-align: center;
  padding: 80px 20px;
}

.mat-empty h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  color: var(--text);
  margin: 16px 0 8px;
}

.mat-empty p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Quiz Section */
.mat-quiz-section {
  padding: 80px 0;
}

.mat-quiz-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.mat-quiz-header { margin-bottom: 32px; }

.mat-quiz-progress {
  height: 6px;
  background: var(--card-border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
}

.mat-quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mat-quiz-counter {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
}

.mat-quiz-question {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.4;
  min-height: 60px;
}

.mat-quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.mat-quiz-option {
  padding: 14px 20px;
  border: 2px solid var(--card-border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  line-height: 1.4;
}

.mat-quiz-option:hover {
  border-color: var(--brand-light);
  background: rgba(12, 52, 255, 0.04);
}

.mat-quiz-option.selected {
  border-color: var(--brand);
  background: rgba(12, 52, 255, 0.08);
  color: var(--brand);
  font-weight: 600;
}

.mat-quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.mat-quiz-prev,
.mat-quiz-next {
  min-width: 140px;
}

/* Quiz Result */
.mat-quiz-result {
  text-align: center;
}

.mat-quiz-score-ring {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
}

.mat-quiz-score-ring svg {
  width: 100%;
  height: 100%;
}

.mat-quiz-score-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mat-quiz-score-text span {
  font-family: 'Manrope', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.mat-quiz-score-text small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mat-quiz-result h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.mat-quiz-result > p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.mat-quiz-recommendations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
}

.mat-quiz-rec {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: rgba(12, 52, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
}

.mat-quiz-rec-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.mat-quiz-rec-text h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.mat-quiz-rec-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.mat-quiz-result-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Checklist Section */
.mat-checklist-section {
  padding: 0 0 80px;
}

.mat-checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.mat-checklist-text .section-title {
  text-align: left;
}

.mat-checklist-text .section-subtitle {
  text-align: left;
  max-width: 100%;
}

.mat-checklist-meter {
  margin-top: 32px;
}

.mat-checklist-meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  font-family: 'Manrope', sans-serif;
}

.mat-checklist-meter-bar {
  height: 10px;
  background: var(--card-border);
  border-radius: 5px;
  overflow: hidden;
}

.mat-checklist-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981);
  border-radius: 5px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mat-checklist-meter-status {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mat-checklist-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mat-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.mat-check-item:hover {
  border-color: var(--brand-light);
  background: rgba(12, 52, 255, 0.03);
}

.mat-check-item.checked {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.06);
}

.mat-check-box {
  width: 22px;
  height: 22px;
  border: 2px solid var(--card-border);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mat-check-item.checked .mat-check-box {
  background: #10b981;
  border-color: #10b981;
}

.mat-check-box svg {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.mat-check-item.checked .mat-check-box svg {
  opacity: 1;
  transform: scale(1);
}

.mat-check-label {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.3;
}

.mat-check-item.checked .mat-check-label {
  color: #10b981;
}

/* Card Animations */
.mat-card {
  opacity: 0;
  transform: translateY(20px);
  animation: matCardIn 0.5s ease forwards;
}

.mat-card:nth-child(1) { animation-delay: 0s; }
.mat-card:nth-child(2) { animation-delay: 0.06s; }
.mat-card:nth-child(3) { animation-delay: 0.12s; }
.mat-card:nth-child(4) { animation-delay: 0.18s; }
.mat-card:nth-child(5) { animation-delay: 0.24s; }
.mat-card:nth-child(6) { animation-delay: 0.3s; }
.mat-card:nth-child(7) { animation-delay: 0.36s; }
.mat-card:nth-child(8) { animation-delay: 0.42s; }
.mat-card:nth-child(9) { animation-delay: 0.48s; }
.mat-card:nth-child(10) { animation-delay: 0.54s; }
.mat-card:nth-child(11) { animation-delay: 0.6s; }
.mat-card:nth-child(12) { animation-delay: 0.66s; }

@keyframes matCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Active link in nav */
.active-link {
  color: var(--accent) !important;
  font-weight: 600;
}

/* Modal / Material Preview */
.mat-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mat-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mat-modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mat-modal-overlay.open .mat-modal {
  transform: translateY(0) scale(1);
}

.mat-modal-header {
  padding: 24px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.mat-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s;
}

.mat-modal-close:hover {
  background: var(--card-border);
}

.mat-modal-body {
  padding: 24px;
}

.mat-modal-body h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.mat-modal-body .mat-modal-category {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.mat-modal-body .mat-modal-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.mat-modal-topics {
  margin-bottom: 24px;
}

.mat-modal-topics h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.mat-modal-topics ul {
  list-style: none;
  padding: 0;
}

.mat-modal-topics li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  color: var(--text);
  font-size: 0.88rem;
}

.mat-modal-topics li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.mat-modal-cta {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid var(--card-border);
}

.mat-modal-cta .btn {
  flex: 1;
  text-align: center;
}

/* New badge colors */
.mat-card-badge.podcast {
  background: rgba(236, 72, 153, 0.15);
  color: #ec4899;
}
.mat-card-badge.video {
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
}
.mat-card-badge.genially {
  background: rgba(14, 165, 233, 0.15);
  color: #0ea5e9;
}
.mat-card-badge.documento {
  background: rgba(99, 102, 241, 0.15);
  color: #6366f1;
}

/* ===== MEDIA SECTION (Podcasts & Videos) ===== */
.mat-media-section {
  padding: 80px 0;
  background: var(--surface-alt);
}

.mat-media-header {
  text-align: center;
  margin-bottom: 48px;
}

.mat-subsection-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

/* ===== PODCAST PLAYER COMPONENT ===== */
.podcast-player {
  margin-bottom: 40px;
}

.podcast-player-main {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 260px 1fr;
}

.podcast-player-cover {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.podcast-cover-art {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.podcast-cover-bg {
  text-align: center;
  position: relative;
  z-index: 1;
}

.podcast-cover-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.podcast-cover-label {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Podcast cover thumbnail */
.podcast-cover-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.podcast-cover-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
}

.podcast-player-cover.has-thumbnail .podcast-cover-art {
  position: absolute;
  inset: 0;
}

/* Waveform visualization */
.podcast-cover-waves {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 40px;
  margin-bottom: 16px;
}

.podcast-cover-waves span {
  display: block;
  width: 3px;
  height: 12px;
  background: rgba(236, 72, 153, 0.5);
  border-radius: 2px;
  transition: height 0.3s;
}

.podcast-cover-waves.animating span {
  animation: podcastWave 1.2s ease-in-out infinite alternate;
}

.podcast-cover-waves.animating span:nth-child(1) { animation-delay: 0s; }
.podcast-cover-waves.animating span:nth-child(2) { animation-delay: 0.1s; }
.podcast-cover-waves.animating span:nth-child(3) { animation-delay: 0.2s; }
.podcast-cover-waves.animating span:nth-child(4) { animation-delay: 0.3s; }
.podcast-cover-waves.animating span:nth-child(5) { animation-delay: 0.4s; }
.podcast-cover-waves.animating span:nth-child(6) { animation-delay: 0.5s; }
.podcast-cover-waves.animating span:nth-child(7) { animation-delay: 0.6s; }
.podcast-cover-waves.animating span:nth-child(8) { animation-delay: 0.7s; }
.podcast-cover-waves.animating span:nth-child(9) { animation-delay: 0.8s; }
.podcast-cover-waves.animating span:nth-child(10) { animation-delay: 0.9s; }

@keyframes podcastWave {
  0% { height: 8px; background: rgba(236, 72, 153, 0.4); }
  100% { height: 36px; background: rgba(236, 72, 153, 0.9); }
}

.podcast-play-main {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899, #f472b6);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 2;
}

.podcast-play-main:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.5);
}

/* Player Details */
.podcast-player-details {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
}

.podcast-player-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.podcast-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Manrope', sans-serif;
  background: rgba(236, 72, 153, 0.12);
  color: #ec4899;
}

.podcast-ep-num {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.podcast-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 8px;
}

.podcast-guest {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.podcast-guest svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.podcast-platforms {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.podcast-platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  text-decoration: none;
  transition: all 0.2s ease;
}

.podcast-platform-btn.spotify {
  background: #1db954;
  color: #fff;
}

.podcast-platform-btn.spotify:hover {
  background: #1ed760;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.3);
}

.podcast-platform-btn.apple {
  background: #9933ff;
  color: #fff;
}

.podcast-platform-btn.apple:hover {
  background: #a855f7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(153, 51, 255, 0.3);
}

.podcast-platform-btn.youtube {
  background: #ff0000;
  color: #fff;
}

.podcast-platform-btn.youtube:hover {
  background: #ff3333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.podcast-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

/* Audio Controls */
.podcast-controls {
  margin-top: auto;
}

.podcast-waveform {
  position: relative;
  height: 48px;
  background: var(--surface-alt);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  margin-bottom: 12px;
}

.podcast-waveform-progress {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: rgba(236, 72, 153, 0.12);
  border-radius: 8px;
  transition: width 0.3s linear;
  z-index: 1;
}

.podcast-waveform-bars {
  position: absolute;
  inset: 4px;
  display: flex;
  align-items: center;
  gap: 2px;
  z-index: 2;
}

.podcast-bar {
  flex: 1;
  background: var(--card-border);
  border-radius: 1px;
  min-height: 4px;
  transition: background 0.2s;
}

.podcast-waveform-progress ~ .podcast-waveform-bars .podcast-bar {
  background: var(--card-border);
}

.podcast-waveform-hover {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  background: rgba(236, 72, 153, 0.06);
  pointer-events: none;
  z-index: 0;
}

.podcast-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.podcast-time {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 36px;
}

.podcast-control-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.podcast-ctrl-btn {
  display: flex;
  align-items: center;
  gap: 2px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  color: var(--text-muted);
  transition: all 0.2s;
  position: relative;
}

.podcast-ctrl-btn:hover {
  background: var(--surface-alt);
  color: var(--text);
}

.podcast-ctrl-btn small {
  font-size: 0.6rem;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
}

.podcast-ctrl-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899, #f472b6);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(236, 72, 153, 0.3);
}

.podcast-ctrl-play:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
}

.podcast-right-ctrls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.podcast-speed-btn {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--card-border);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.podcast-speed-btn:hover {
  border-color: #ec4899;
  color: #ec4899;
}

.podcast-vol-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.podcast-vol-btn:hover {
  color: var(--text);
}

/* Podcast Episodes List */
.podcast-episodes {
  margin-bottom: 56px;
}

.podcast-ep-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.podcast-ep-card:hover {
  border-color: var(--brand-light);
  box-shadow: var(--shadow-soft);
  transform: translateX(4px);
}

.podcast-ep-card.active {
  border-color: #ec4899;
  background: rgba(236, 72, 153, 0.03);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.08);
}

.podcast-ep-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.podcast-ep-play-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899, #f472b6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.podcast-ep-card:hover .podcast-ep-play-circle {
  transform: scale(1.1);
}

.podcast-ep-play-circle.playing {
  animation: podcastPulse 2s ease-in-out infinite;
}

@keyframes podcastPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(236, 72, 153, 0); }
}

.podcast-ep-number {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 36px;
}

.podcast-ep-content {
  flex: 1;
  min-width: 0;
}

.podcast-ep-content h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.podcast-ep-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.podcast-ep-guest {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.podcast-ep-guest svg {
  opacity: 0.5;
  flex-shrink: 0;
}

.podcast-ep-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.podcast-ep-duration {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.podcast-ep-duration svg {
  opacity: 0.5;
}

.podcast-ep-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.podcast-ep-platforms {
  display: flex;
  gap: 6px;
}

.podcast-ep-platform {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: all 0.2s ease;
  opacity: 0.6;
}

.podcast-ep-platform:hover {
  opacity: 1;
  transform: scale(1.15);
}

.podcast-ep-platform.spotify { color: #1db954; }
.podcast-ep-platform.apple { color: #9933ff; }
.podcast-ep-platform.youtube { color: #ff0000; }

/* ===== VIDEO SECTION ===== */
.video-section-header {
  margin-bottom: 8px;
}

.video-section-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.video-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Manrope', sans-serif;
  background: rgba(244, 63, 94, 0.12);
  color: #f43f5e;
}

/* Featured Video */
.video-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.video-featured-player {
  position: relative;
}

.video-embed-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.video-placeholder-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0c34ff 0%, #4d6aff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-placeholder:hover .video-placeholder-bg {
  transform: scale(1.05);
}

.video-placeholder-icon {
  font-size: 4rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.video-placeholder-brand {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.video-placeholder-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  transition: background 0.3s;
}

.video-placeholder:hover .video-placeholder-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.video-play-big {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.video-placeholder:hover .video-play-big {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.video-placeholder-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  z-index: 2;
}

/* Featured Video Info */
.video-featured-info {
  padding: 28px 32px 28px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.video-date {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.video-featured-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 12px;
}

.video-featured-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.video-featured-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.video-tag {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  background: var(--surface-alt);
  color: var(--text-muted);
  border: 1px solid var(--card-border);
}

/* Active Video Player */
.video-active-player {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.video-active-bg {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.video-active-icon {
  font-size: 3rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.video-active-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.video-active-playing {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
}

.video-eq-bar {
  width: 3px;
  height: 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  animation: eqBar 0.8s ease-in-out infinite alternate;
}

.video-eq-bar:nth-child(1) { animation-delay: 0s; height: 10px; }
.video-eq-bar:nth-child(2) { animation-delay: 0.15s; height: 18px; }
.video-eq-bar:nth-child(3) { animation-delay: 0.3s; height: 12px; }
.video-eq-bar:nth-child(4) { animation-delay: 0.45s; height: 16px; }

@keyframes eqBar {
  0% { height: 6px; }
  100% { height: 20px; }
}

.video-player-controls {
  background: rgba(0, 0, 0, 0.9);
  padding: 0;
}

.video-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.video-progress-fill {
  height: 100%;
  background: #f43f5e;
  width: 0%;
  transition: width 0.5s linear;
  border-radius: 2px;
}

.video-controls-row {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  gap: 12px;
}

.video-ctrl-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.video-ctrl-btn:hover {
  opacity: 1;
}

.video-ctrl-time {
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.video-ctrl-right {
  margin-left: auto;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.video-card.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(12, 52, 255, 0.1);
}

.video-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-card-icon {
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.video-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s;
}

.video-card:hover .video-card-overlay {
  opacity: 1;
}

.video-card-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s;
}

.video-card:hover .video-card-play-btn {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.3);
}

.video-card-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
}

.video-card-info {
  padding: 16px 20px;
}

.video-card-info h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.video-card-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.video-card-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
  transition: gap 0.3s;
}

.video-card:hover .video-card-action {
  gap: 8px;
}

/* ===== GENIALLY SECTION ===== */
.mat-genially-section {
  padding: 80px 0;
}

.mat-genially-header {
  text-align: center;
  margin-bottom: 48px;
}

.mat-genially-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mat-genially-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mat-genially-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.mat-genially-visual {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mat-genially-icon {
  font-size: 3.5rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

.mat-genially-interact-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0ea5e9;
  font-family: 'Manrope', sans-serif;
}

.mat-genially-interact-badge svg path { fill: #0ea5e9; }

.mat-genially-body {
  padding: 20px;
}

.mat-genially-body h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.mat-genially-body p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* ===== DOCUMENTS SECTION ===== */
.mat-docs-section {
  padding: 80px 0;
  background: var(--surface-alt);
}

.mat-docs-header {
  text-align: center;
  margin-bottom: 48px;
}

.mat-docs-list {
  max-width: 800px;
  margin: 0 auto;
}

.mat-doc-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mat-doc-item:hover {
  border-color: var(--brand-light);
  box-shadow: var(--shadow-soft);
  transform: translateX(4px);
}

.mat-doc-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.mat-doc-info {
  flex: 1;
  min-width: 0;
}

.mat-doc-info h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.mat-doc-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mat-doc-type {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.7rem;
  font-family: 'Manrope', sans-serif;
}

.mat-doc-new {
  background: var(--accent);
  color: #1a1a2e;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.mat-doc-download {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(12, 52, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.mat-doc-item:hover .mat-doc-download {
  background: rgba(12, 52, 255, 0.12);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .mat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mat-checklist-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mat-genially-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .podcast-player-main {
    grid-template-columns: 220px 1fr;
  }
  .podcast-player-cover {
    min-height: 240px;
  }
  .video-featured {
    grid-template-columns: 1.2fr 1fr;
  }
}

@media (max-width: 768px) {
  .mat-hero {
    padding: 130px 0 60px;
  }

  .mat-hero h1 {
    font-size: 1.8rem;
  }

  .mat-hero-stats {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .mat-hero-stats .hero-stat {
    flex: 1 1 auto;
    min-width: 120px;
    padding: 16px 20px;
  }
  .mat-hero-stats .hero-stat-number {
    font-size: 28px;
  }

  .mat-search-bar kbd {
    display: none;
  }

  .mat-filters {
    top: 56px;
  }

  .mat-filter-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .mat-tabs {
    width: 100%;
    padding-bottom: 4px;
  }

  .mat-grid {
    grid-template-columns: 1fr;
  }

  .mat-grid-section {
    padding: 32px 0 60px;
  }

  .mat-quiz-card {
    padding: 24px 16px;
  }

  .mat-quiz-options {
    grid-template-columns: 1fr;
  }

  .mat-quiz-recommendations {
    grid-template-columns: 1fr;
  }

  .mat-quiz-nav {
    flex-direction: column;
  }

  .mat-quiz-prev,
  .mat-quiz-next {
    width: 100%;
  }

  .mat-checklist-text .section-title {
    font-size: 1.5rem;
  }

  .mat-card-thumb {
    height: 150px;
  }

  .mat-modal {
    width: 95%;
    margin: 16px;
  }

  .mat-modal-cta {
    flex-direction: column;
  }

  .mat-quiz-result-actions {
    flex-direction: column;
    align-items: center;
  }

  .podcast-player-main {
    grid-template-columns: 1fr;
  }

  .podcast-player-cover {
    min-height: 180px;
  }

  .podcast-player-details {
    padding: 20px;
  }

  .podcast-time-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .video-featured {
    grid-template-columns: 1fr;
  }

  .video-featured-info {
    padding: 20px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .mat-genially-grid {
    grid-template-columns: 1fr;
  }

  .mat-media-section,
  .mat-genially-section,
  .mat-docs-section {
    padding: 60px 0;
  }

  .podcast-ep-meta {
    flex-direction: column;
    gap: 4px;
  }

  .podcast-ep-left {
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }

  .mat-doc-item {
    padding: 16px;
    gap: 12px;
  }

  .mat-doc-info h4 {
    font-size: 0.88rem;
  }
}

/* ===== BLOG SECTION ===== */
.blog-section {
  padding: 80px 0;
  background: var(--surface-alt);
}

.blog-header {
  text-align: center;
  margin-bottom: 48px;
}

/* Featured Article */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
  transition: box-shadow 0.3s;
}

.blog-featured:hover {
  box-shadow: var(--shadow-elevated);
}

.blog-featured-img {
  position: relative;
  background: linear-gradient(135deg, #0c34ff 0%, #6366f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.blog-featured-img-bg {
  text-align: center;
}

.blog-featured-icon {
  font-size: 4rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.blog-category-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.blog-featured-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.blog-date,
.blog-read-time {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
}

.blog-featured-content h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 12px;
}

.blog-featured-content > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.blog-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, #6366f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.blog-author-info {
  display: flex;
  flex-direction: column;
}

.blog-author-name {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.blog-author-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  transition: gap 0.3s;
}

.blog-read-more:hover {
  gap: 8px;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.blog-card-img {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.blog-card-body {
  padding: 20px;
}

.blog-card-body .blog-meta {
  margin-bottom: 8px;
}

.blog-card-body h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
  transition: gap 0.3s;
}

.blog-card:hover .blog-card-link {
  gap: 8px;
}

.blog-view-all {
  text-align: center;
}

.blog-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ===== WEBINAR SECTION ===== */
.webinar-section {
  padding: 80px 0;
}

.webinar-header {
  text-align: center;
  margin-bottom: 48px;
}

.webinar-live-card {
  background: var(--white);
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.webinar-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--brand);
  color: white;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom-right-radius: var(--radius-sm);
}

.webinar-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: webinarPulse 2s infinite;
}

@keyframes webinarPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.webinar-live-content {
  display: flex;
  gap: 32px;
  padding: 32px;
}

.webinar-live-left {
  flex-shrink: 0;
}

.webinar-date-box {
  width: 100px;
  padding: 20px 16px;
  background: linear-gradient(135deg, var(--brand), #4d6aff);
  border-radius: var(--radius-sm);
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.webinar-date-month {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
}

.webinar-date-day {
  font-family: 'Manrope', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.webinar-date-time {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.7;
}

.webinar-live-info h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.webinar-speaker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.webinar-speaker-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.webinar-speaker-name {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.webinar-speaker-role {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.webinar-live-info > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.webinar-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.webinar-topic-tag {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  background: rgba(12, 52, 255, 0.06);
  color: var(--brand);
  border: 1px solid rgba(12, 52, 255, 0.12);
}

.webinar-live-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.webinar-register-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.webinar-spots {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
}

.webinar-past-header {
  margin-top: 48px;
}

/* Past Webinars Grid */
.webinar-past-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.webinar-past-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.webinar-past-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.webinar-past-thumb {
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.webinar-past-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.webinar-past-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s;
}

.webinar-past-card:hover .webinar-past-play {
  opacity: 1;
}

.webinar-past-play svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.webinar-past-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
}

.webinar-past-info {
  padding: 16px 20px;
}

.webinar-past-info h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.webinar-past-speaker {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.webinar-past-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ===== WEBINAR VIDEO MODAL ===== */
.webinar-video-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.webinar-video-overlay.open {
  opacity: 1;
}

.webinar-video-modal {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.webinar-video-overlay.open .webinar-video-modal {
  transform: translateY(0) scale(1);
}

.webinar-video-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.webinar-video-close:hover {
  background: rgba(0, 0, 0, 0.85);
}

.webinar-video-banner {
  width: 100%;
  height: 100px;
  position: relative;
  overflow: hidden;
  background: #000;
}

.webinar-video-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.webinar-video-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.webinar-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.webinar-video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.webinar-video-info {
  padding: 20px 24px;
}

.webinar-video-info-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
}

.webinar-video-info h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.webinar-video-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'Manrope', sans-serif;
}

.webinar-video-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 600px) {
  .webinar-video-modal {
    max-width: 100%;
    border-radius: 12px;
  }

  .webinar-video-banner {
    height: 50px;
  }

  .webinar-video-info {
    padding: 14px 16px;
  }

  .webinar-video-meta {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ===== TESTIMONIAL SECTION ===== */
.testimonial-section {
  padding: 80px 0;
  background: var(--surface-alt);
}

.testimonial-header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, #6366f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-family: 'Manrope', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testimonial-company {
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Testimonial Stats */
.testimonial-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
}

.testimonial-stat {
  text-align: center;
}

.testimonial-stat-num {
  font-family: 'Manrope', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 4px;
}

.testimonial-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
  padding: 80px 0;
}

.newsletter-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  background: linear-gradient(135deg, #0c34ff 0%, #1a1a2e 100%);
  border-radius: var(--radius);
  padding: 48px;
  overflow: hidden;
  position: relative;
}

.newsletter-content {
  position: relative;
  z-index: 1;
}

.newsletter-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.newsletter-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  line-height: 1.3;
}

.newsletter-content > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.newsletter-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.newsletter-input-group input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 0.9rem;
  font-family: 'Open Sans', sans-serif;
  backdrop-filter: blur(8px);
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}

.newsletter-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-input-group input:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
}

.newsletter-consent svg {
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.5;
  fill: rgba(255, 255, 255, 0.4);
}

.newsletter-consent svg path {
  fill: rgba(255, 255, 255, 0.4);
}

.newsletter-success {
  text-align: center;
  padding: 20px 0;
}

.newsletter-success-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.newsletter-success h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.newsletter-success p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

/* Newsletter Visual */
.newsletter-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.newsletter-visual-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.newsletter-preview-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}

.newsletter-preview-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.newsletter-preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.newsletter-preview-card span {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== RESPONSIVE: NEW SECTIONS ===== */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .webinar-past-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured-img {
    min-height: 200px;
  }
  .blog-featured-content {
    padding: 20px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .webinar-live-content {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  .webinar-date-box {
    flex-direction: row;
    width: auto;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
  }
  .webinar-date-day {
    font-size: 1.5rem;
  }
  .webinar-past-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
    gap: 16px;
  }
  .testimonial-stat-num {
    font-size: 1.4rem;
  }
  .newsletter-card {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 28px;
  }
  .newsletter-input-group {
    flex-direction: column;
  }
  .newsletter-content h2 {
    font-size: 1.3rem;
  }
  .blog-section,
  .webinar-section,
  .testimonial-section,
  .newsletter-section {
    padding: 60px 0;
  }
}
