/* ============================================================
   BESTFFL REDESIGN PREMIUM — EDITORIAL PACKS v2.0.0
   Consultant-report style cards with visual hierarchy & callouts
   ============================================================ */

.bestffl-review-pack {
  background: linear-gradient(
    135deg,
    var(--bestffl-bg-secondary) 0%,
    var(--bestffl-bg-tertiary) 100%
  );
  border: 1px solid var(--bestffl-border-medium);
  border-radius: var(--bestffl-radius-xl);
  padding: var(--bestffl-space-7);
  margin: var(--bestffl-space-8) 0;
  box-shadow: var(--bestffl-shadow-md);
  transition: all var(--bestffl-transition-normal);
  position: relative;
  overflow: hidden;
}

.bestffl-review-pack:hover {
  box-shadow: var(--bestffl-shadow-lg);
  border-color: var(--bestffl-border-strong);
}

/* Subtle glow accent on hover */
.bestffl-review-pack::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(200, 230, 27, 0.06),
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--bestffl-transition-normal);
}

.bestffl-review-pack:hover::before {
  opacity: 1;
}

/* ============================================================
   REVIEW PACK HEADER (Title + Tagline)
   ============================================================ */

.review-pack__header {
  margin-bottom: var(--bestffl-space-7);
  padding-bottom: var(--bestffl-space-6);
  border-bottom: 2px solid var(--bestffl-border-medium);
  position: relative;
}

.review-pack__title {
  font-size: var(--bestffl-h2-size);
  font-weight: 700;
  line-height: var(--bestffl-h2-line);
  letter-spacing: -0.01em;
  margin-bottom: var(--bestffl-space-3);
  color: var(--bestffl-text-primary);
  background: linear-gradient(
    90deg,
    var(--bestffl-text-primary) 0%,
    var(--bestffl-gold) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.review-pack__tagline {
  font-size: 0.95rem;
  color: var(--bestffl-text-tertiary);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ============================================================
   REVIEW SECTIONS (Modular content blocks)
   ============================================================ */

.review-sections {
  display: flex;
  flex-direction: column;
  gap: var(--bestffl-space-6);
  margin-bottom: var(--bestffl-space-7);
}

.review-section {
  position: relative;
  padding: var(--bestffl-space-5);
  border-radius: var(--bestffl-radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--bestffl-border-light);
  transition: all var(--bestffl-transition-fast);
}

.review-section:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--bestffl-border-medium);
}

.review-section h3 {
  font-size: var(--bestffl-h3-size);
  font-weight: 600;
  margin-bottom: var(--bestffl-space-3);
  color: var(--bestffl-text-primary);
  display: flex;
  align-items: center;
  gap: var(--bestffl-space-3);
}

/* Icon prefix for section headers (emoji safe) */
.review-section h3::before {
  content: attr(data-icon);
  font-size: 1.4em;
  opacity: 0.8;
}

/* ============================================================
   SECTION VARIANTS
   ============================================================ */

/* Headline / Executive Summary */
.review-section--headline {
  background: linear-gradient(
    135deg,
    rgba(240, 216, 96, 0.08) 0%,
    rgba(200, 230, 27, 0.06) 100%
  );
  border: 1px solid rgba(240, 216, 96, 0.2);
  padding: var(--bestffl-space-6);
  margin-bottom: var(--bestffl-space-6);
}

.review-section--headline h3 {
  color: var(--bestffl-gold);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--bestffl-space-4);
}

.review-section--headline p {
  color: var(--bestffl-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.review-section--headline strong {
  color: var(--bestffl-text-primary);
  font-weight: 700;
}

/* Best For / Use Cases */
.review-section--best-for {
  background: linear-gradient(
    135deg,
    rgba(200, 230, 27, 0.06) 0%,
    rgba(181, 119, 208, 0.04) 100%
  );
  border: 1px solid rgba(200, 230, 27, 0.15);
}

.review-section--best-for ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--bestffl-space-3);
}

.review-section--best-for li {
  padding-left: var(--bestffl-space-5);
  position: relative;
  color: var(--bestffl-text-secondary);
  line-height: 1.6;
}

.review-section--best-for li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--bestffl-lime);
  font-weight: 700;
  font-size: 1.1em;
}

/* Tradeoffs / Cautions */
.review-section--tradeoffs {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.06) 0%,
    rgba(181, 119, 208, 0.04) 100%
  );
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.review-section--tradeoffs ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--bestffl-space-3);
}

.review-section--tradeoffs li {
  padding-left: var(--bestffl-space-5);
  position: relative;
  color: var(--bestffl-text-secondary);
  line-height: 1.6;
}

.review-section--tradeoffs li::before {
  content: '⚠';
  position: absolute;
  left: 0;
  color: var(--bestffl-warning);
  font-weight: 700;
  font-size: 1.1em;
}

/* Generic list sections */
.review-section ul,
.review-section ol {
  margin-left: var(--bestffl-space-5);
  margin-bottom: var(--bestffl-space-3);
}

.review-section li {
  color: var(--bestffl-text-secondary);
  margin-bottom: var(--bestffl-space-2);
  line-height: 1.6;
}

.review-section li:last-child {
  margin-bottom: 0;
}

/* ============================================================
   SOURCES / CITATIONS (Premium card)
   ============================================================ */

.review-sources {
  background: var(--bestffl-bg-secondary);
  border: 2px solid var(--bestffl-border-strong);
  border-radius: var(--bestffl-radius-xl);
  padding: var(--bestffl-space-6);
  margin-top: var(--bestffl-space-7);
  box-shadow: var(--bestffl-shadow-sm);
}

.review-sources h4 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bestffl-gold);
  margin-bottom: var(--bestffl-space-4);
  display: flex;
  align-items: center;
  gap: var(--bestffl-space-2);
}

.review-sources h4::before {
  content: '🔗';
  font-size: 1.1em;
  opacity: 0.8;
}

.review-sources ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--bestffl-space-3);
}

.review-sources li {
  padding-left: var(--bestffl-space-4);
  position: relative;
}

.review-sources li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 4px;
  height: 4px;
  background: var(--bestffl-lime);
  border-radius: 50%;
  opacity: 0.8;
}

.review-sources a {
  color: var(--bestffl-text-secondary);
  text-decoration: none;
  transition: all var(--bestffl-transition-fast);
  display: flex;
  align-items: baseline;
  gap: var(--bestffl-space-2);
  font-size: 0.95rem;
  line-height: 1.6;
}

.review-sources a:hover {
  color: var(--bestffl-gold);
}

.review-sources a::after {
  content: '↗';
  font-size: 0.8em;
  opacity: 0.6;
  flex-shrink: 0;
}

/* ============================================================
   WINNER SPOTLIGHT (Special callout)
   ============================================================ */

.bestffl-winner-spotlight {
  background: linear-gradient(
    135deg,
    rgba(240, 216, 96, 0.12) 0%,
    rgba(200, 230, 27, 0.10) 100%
  );
  border: 2px solid var(--bestffl-gold);
  border-radius: var(--bestffl-radius-xl);
  padding: var(--bestffl-space-7);
  margin: var(--bestffl-space-8) 0;
  box-shadow:
    var(--bestffl-shadow-lg),
    var(--bestffl-shadow-glow-gold);
  position: relative;
  overflow: hidden;
}

.bestffl-winner-spotlight::before {
  content: '🥇';
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 120px;
  opacity: 0.08;
  z-index: 0;
}

.bestffl-winner-spotlight > * {
  position: relative;
  z-index: 1;
}

.bestffl-winner-spotlight h2 {
  color: var(--bestffl-gold);
  display: flex;
  align-items: center;
  gap: var(--bestffl-space-3);
}

.bestffl-winner-spotlight h2::before {
  content: '🏆';
  font-size: 1.4em;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
  .bestffl-review-pack {
    padding: var(--bestffl-space-5);
    margin: var(--bestffl-space-6) 0;
  }

  .review-pack__header {
    margin-bottom: var(--bestffl-space-5);
    padding-bottom: var(--bestffl-space-4);
  }

  .review-pack__title {
    font-size: 1.75rem;
  }

  .review-sections {
    gap: var(--bestffl-space-4);
  }

  .review-section {
    padding: var(--bestffl-space-4);
  }

  .review-sources {
    padding: var(--bestffl-space-4);
    margin-top: var(--bestffl-space-5);
  }

  .bestffl-winner-spotlight {
    padding: var(--bestffl-space-5);
    margin: var(--bestffl-space-6) 0;
  }
}

@media (max-width: 480px) {
  .bestffl-review-pack {
    padding: var(--bestffl-space-4);
    margin: var(--bestffl-space-4) 0;
    border-radius: var(--bestffl-radius-lg);
  }

  .review-pack__title {
    font-size: 1.4rem;
  }

  .review-pack__tagline {
    font-size: 0.8rem;
  }

  .review-section h3 {
    font-size: 1.1rem;
  }

  .review-sources ul {
    gap: var(--bestffl-space-2);
  }

  .review-sources a {
    font-size: 0.9rem;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {
  .bestffl-review-pack {
    box-shadow: none;
    border-color: #333;
    page-break-inside: avoid;
  }

  .review-sources a::after {
    display: none;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .bestffl-review-pack,
  .review-section,
  .review-sources a {
    transition: none;
  }
}
