/* ============================================
   VIDEO TUTORIALS PAGE STYLES
   ============================================ */

/* === Video Hero Section === */
.video-hero {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
  color: white;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.video-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v6h6V4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.video-hero .container {
  position: relative;
  z-index: 1;
}

/* Breadcrumb Styling - WHITE TEXT, NO UNDERLINE */
.video-hero .breadcrumb-custom {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.video-hero .breadcrumb-custom a {
  color: white !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.video-hero .breadcrumb-custom a:hover {
  opacity: 1;
  text-decoration: none !important;
}

.video-hero .breadcrumb-custom span {
  color: white;
  opacity: 0.7;
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-badge-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
}

.hero-feature-item i {
  color: #fef3c7;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* === Video Showcase Card === */
.video-showcase-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.video-showcase-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.video-thumbnail {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.video-thumbnail img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
  transform: scale(1.1);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.8));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.play-button {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #10b981;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-thumbnail:hover .play-button {
  transform: scale(1.1);
  background: white;
  color: #059669;
}

.video-stats {
  display: flex;
  justify-content: space-around;
  padding: 1.5rem;
  background: #f9fafb;
}

.video-stats .stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #4b5563;
}

.video-stats .stat i {
  color: #10b981;
  font-size: 1.2rem;
}

/* === Video Trust Strip === */
.video-trust-strip {
  background: white;
  padding: 2rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.trust-stat {
  text-align: center;
  padding: 1rem;
}

.trust-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #10b981;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trust-label {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 600;
}

/* === Filter Navigation === */
.filter-nav {
  background: white;
  padding: 1rem 0;
  border-bottom: 2px solid #e5e7eb;
  z-index: 99;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background: white;
  border: 2px solid #e5e7eb;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  color: #4b5563;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover {
  border-color: #10b981;
  color: #10b981;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #10b981;
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* === Video Library Section === */
.video-library-section {
  padding: 80px 0;
  background: #f9fafb;
}

.topic-section {
  margin-bottom: 4rem;
}

.topic-header {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.topic-header-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topic-icon-large {
  font-size: 3rem;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-count-badge {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
}

/* === Video Card === */
.video-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.2);
}

.video-thumbnail-wrapper {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.video-thumbnail-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail-img {
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.play-btn-small {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #10b981;
  transition: transform 0.3s ease;
}

.video-card:hover .play-btn-small {
  transform: scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.tier-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tier-badge.foundation {
  background: #10b981;
  color: white;
}

.tier-badge.higher {
  background: #ef4444;
  color: white;
}

.tier-badge.both {
  background: #3b82f6;
  color: white;
}

.video-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.video-card-body h5 {
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1f2937;
}

.video-description {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #9ca3af;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.video-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Featured Video */
.featured-video {
  position: relative;
  border: 2px solid #10b981;
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
}

/* === Why Video Section === */
.why-video-section {
  padding: 80px 0;
  background: white;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1.5rem;
  align-items: start;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #10b981;
  flex-shrink: 0;
}

.benefit-item h5 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.benefit-item p {
  color: #6b7280;
  margin: 0;
}

/* Video Preview Grid */
.video-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
}

.preview-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.preview-card img {
  transition: transform 0.3s ease;
}

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

.preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.preview-overlay i {
  font-size: 3rem;
  color: white;
}

.floating-stat {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.floating-stat i {
  font-size: 2.5rem;
  color: #10b981;
}

.floating-stat .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #1f2937;
  line-height: 1;
}

.floating-stat .stat-label {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 600;
}

/* === CTA Section === */
.video-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #10b981 0%, #065f46 100%);
  position: relative;
  overflow: hidden;
}

.video-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v6h6V4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.cta-card {
  position: relative;
  z-index: 1;
  color: white;
}

/* === Responsive === */
@media (max-width: 991px) {
  .video-hero {
    padding: 80px 0 60px;
  }
  
  .video-showcase-card {
    transform: rotate(0);
    margin-top: 3rem;
  }
  
  .floating-stat {
    position: static;
    margin-top: 2rem;
  }
  
  .video-preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .filter-buttons {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 1rem;
  }
  
  .filter-btn {
    white-space: nowrap;
  }
  
  .trust-number {
    font-size: 2rem;
  }
  
  .topic-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .video-hero .breadcrumb-custom {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}