/**
 * Premium Blog Content Styles
 * Professional, modern, and premium styling for blog posts
 * Matches the design from your HTML example
 */

/* ============================================
   TL;DR CARD - Premium Highlight Box
   ============================================ */
.tldr-card {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(13, 148, 136, 0.1) 100%);
  border-left: 4px solid #14b8a6;
  padding: 1.8rem;
  border-radius: 12px;
  margin: 2rem 0 2.5rem;
  border: 1px solid #1e293b;
  position: relative;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.tldr-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #14b8a6;
  margin-bottom: 1rem;
}

.premium-h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  line-height: 1.2;
  margin: 2.5rem 0 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  padding-bottom: 1rem;
}

.premium-h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #14b8a6, #0d9488);
  border-radius: 2px;
}

.premium-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin: 2.5rem 0 1.2rem;
  color: #f8fafc;
  position: relative;
  padding-bottom: 0.5rem;
}

.premium-h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #14b8a6, #0d9488);
  border-radius: 3px;
}

.premium-h3::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #14b8a6;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.premium-list li {
  padding: 0.9rem 0 0.9rem 2.8rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-list li::before {
  content: '\2713'; /* Checkmark */
  position: absolute;
  left: 0;
  top: 0.9rem;
  color: #14b8a6;
  background-color: rgba(20, 184, 166, 0.15);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(13, 148, 136, 0.1) 100%);
  border-left: 4px solid #14b8a6;
  padding: 1.8rem;
  border-radius: 12px;
  margin: 2rem 0;
  border: 1px solid #1e293b;
  position: relative;
}

.highlight-box::before {
  content: '\26A1'; /* Lightning bolt */
  position: absolute;
  top: -15px;
  left: -15px;
  background: #14b8a6;
  color: #020617;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.faq-container {
  margin-top: 3rem;
  background: #0f172a;
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid #1e293b;
  position: relative;
}

.faq-container::before {
  content: 'FAQs';
  position: absolute;
  top: -12px;
  left: 24px;
  background: #020617;
  padding: 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #14b8a6;
  letter-spacing: 0.5px;
}

.faq-item {
  margin-bottom: 0.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #1e293b;
  background: #0f172a;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: #14b8a6;
  box-shadow: 0 5px 15px rgba(20, 184, 166, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  cursor: pointer;
  color: #f8fafc;
  font-weight: 600;
  font-size: 1.1rem;
  background: #1e293b;
  transition: all 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background: rgba(20, 184, 166, 0.1);
}

.faq-question.active {
  background: rgba(20, 184, 166, 0.15);
  color: #14b8a6;
}

.question-icon {
  color: #14b8a6;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.faq-question.active .question-icon {
  transform: rotate(90deg);
  color: #14b8a6;
}

.faq-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #14b8a6;
  color: #020617;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-question.active .toggle-icon {
  transform: rotate(180deg);
  color: #14b8a6;
}

.premium-em {
  font-style: normal;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, rgba(13, 148, 136, 0.2) 100%);
  padding: 2px 6px;
  border-radius: 4px;
  color: #14b8a6;
  font-weight: 500;
}

.category-tag {
  display: inline-block;
  background-color: #1e293b;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  color: #cbd5e1;
  border: 1px solid #334155;
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-tag:hover {
  background-color: #14b8a6;
  color: #020617;
  border-color: #14b8a6;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  .premium-h1 {
    font-size: 2rem;
  }

  .premium-h2 {
    font-size: 1.6rem;
  }

  .premium-h3 {
    font-size: 1.3rem;
  }

  .faq-container {
    padding: 1.5rem;
  }

  .faq-question {
    padding: 1.2rem;
    font-size: 1rem;
  }

  .faq-answer.active {
    padding: 1.2rem;
  }

  .tldr-card,
  .highlight-box {
    padding: 1.2rem;
  }
}

/* ============================================
   ANIMATION UTILITIES
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}
