/* style/resources-platform-review.css */

/* Variables for consistency */
:root {
  --page-resources-platform-review-primary-color: #1A237E;
  --page-resources-platform-review-secondary-color: #FFC107;
  --page-resources-platform-review-text-dark: #333;
  --page-resources-platform-review-text-light: #fff;
  --page-resources-platform-review-bg-light: #f8f9fa;
  --page-resources-platform-review-bg-dark: #2c3e50;
  --page-resources-platform-review-border-color: #e0e0e0;
}

.page-resources-platform-review {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-resources-platform-review-text-dark);
  background-color: var(--page-resources-platform-review-bg-light);
}

.page-resources-platform-review .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section */
.page-resources-platform-review .hero-section {
  background: linear-gradient(135deg, var(--page-resources-platform-review-primary-color) 0%, #3f51b5 100%); /* Slightly lighter blue for gradient */
  color: var(--page-resources-platform-review-text-light);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources-platform-review .hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:xocdia88,abstract_pattern,geometric_shapes,subtle_texture]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-resources-platform-review .hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--page-resources-platform-review-secondary-color); /* Highlight with accent color */
  position: relative;
  z-index: 1;
}

.page-resources-platform-review .hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-resources-platform-review .hero-actions .btn {
  margin: 0 10px;
  position: relative;
  z-index: 1;
}

/* Buttons */
.page-resources-platform-review .btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.05em;
}

.page-resources-platform-review .btn-primary {
  background-color: var(--page-resources-platform-review-secondary-color);
  color: var(--page-resources-platform-review-primary-color);
  border: 2px solid var(--page-resources-platform-review-secondary-color);
}

.page-resources-platform-review .btn-primary:hover {
  background-color: #e6b000; /* Slightly darker yellow */
  border-color: #e6b000;
  transform: translateY(-2px);
}

.page-resources-platform-review .btn-secondary {
  background-color: transparent;
  color: var(--page-resources-platform-review-text-light);
  border: 2px solid var(--page-resources-platform-review-text-light);
}

.page-resources-platform-review .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-resources-platform-review .btn-text-promo {
  color: var(--page-resources-platform-review-secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-resources-platform-review .btn-text-promo:hover {
  color: #e6b000;
  text-decoration: none;
}

.page-resources-platform-review .btn-large {
  padding: 15px 30px;
  font-size: 1.2em;
}

/* Content Section */
.page-resources-platform-review .content-section {
  padding: 60px 0;
  background-color: var(--page-resources-platform-review-bg-light);
}

.page-resources-platform-review .article-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-resources-platform-review .article-toc {
  flex: 0 0 280px; /* Fixed width for TOC */
  position: sticky;
  top: 30px; /* Adjust as needed */
  padding: 25px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--page-resources-platform-review-primary-color);
}

.page-resources-platform-review .toc-title {
  font-size: 1.8em;
  color: var(--page-resources-platform-review-primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-platform-review .toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-platform-review .toc-list li {
  margin-bottom: 10px;
}

.page-resources-platform-review .toc-list a {
  text-decoration: none;
  color: var(--page-resources-platform-review-text-dark);
  font-size: 1.05em;
  transition: color 0.2s ease;
  display: block;
  padding: 5px 0;
}

.page-resources-platform-review .toc-list a:hover {
  color: var(--page-resources-platform-review-primary-color);
  font-weight: bold;
}

.page-resources-platform-review .toc-list ul {
  list-style: none;
  padding-left: 15px;
  margin-top: 5px;
}

.page-resources-platform-review .toc-list ul a {
  font-size: 0.95em;
  color: #555;
}

.page-resources-platform-review .toc-list ul a:hover {
  color: var(--page-resources-platform-review-secondary-color);
}

.page-resources-platform-review .article-content {
  flex: 1;
  max-width: 800px; /* Optimal reading width */
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-resources-platform-review .article-content h2 {
  font-size: 2.5em;
  color: var(--page-resources-platform-review-primary-color);
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--page-resources-platform-review-secondary-color);
  padding-bottom: 10px;
  font-weight: bold;
}

.page-resources-platform-review .article-content h3 {
  font-size: 1.8em;
  color: var(--page-resources-platform-review-primary-color);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-resources-platform-review .article-content p {
  margin-bottom: 1em;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-platform-review .article-content ul.list-bullets,
.page-resources-platform-review .article-content ol.list-ordered {
  margin-bottom: 1.5em;
  padding-left: 25px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page-resources-platform-review .article-content ul.list-bullets li {
  margin-bottom: 0.8em;
  position: relative;
}

.page-resources-platform-review .article-content ul.list-bullets li::before {
  content: '▶'; /* Custom bullet */
  color: var(--page-resources-platform-review-secondary-color);
  position: absolute;
  left: -25px;
  font-size: 0.8em;
  top: 5px;
}

.page-resources-platform-review .article-content ol.list-ordered li {
  margin-bottom: 0.8em;
}

.page-resources-platform-review .article-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-platform-review .text-link {
  color: var(--page-resources-platform-review-primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-resources-platform-review .text-link:hover {
  text-decoration: underline;
  color: var(--page-resources-platform-review-secondary-color);
}

/* Review Cards */
.page-resources-platform-review .review-card-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-platform-review .review-card {
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid var(--page-resources-platform-review-secondary-color);
}

.page-resources-platform-review .review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-resources-platform-review .review-card-image {
  max-width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-resources-platform-review .review-card-title {
  font-size: 1.6em;
  color: var(--page-resources-platform-review-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-platform-review .review-card-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

.page-resources-platform-review .review-card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
}

.page-resources-platform-review .review-card-features li {
  font-size: 0.95em;
  margin-bottom: 8px;
  color: #444;
}

.page-resources-platform-review .review-card-features li::before {
  content: '✓';
  color: #4CAF50; /* Green checkmark */
  margin-right: 8px;
  font-weight: bold;
}

.page-resources-platform-review .review-card-btn {
  margin-top: 15px;
}

/* Call to action text within article */
.page-resources-platform-review .call-to-action-text {
  text-align: center;
  margin: 30px 0;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--page-resources-platform-review-primary-color);
}

/* FAQ Section */
.page-resources-platform-review .faq-container {
  margin-top: 40px;
}

.page-resources-platform-review .faq-item {
  background-color: #fefefe;
  border: 1px solid var(--page-resources-platform-review-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
}

.page-resources-platform-review .faq-question {
  font-size: 1.3em;
  color: var(--page-resources-platform-review-primary-color);
  margin-top: 0;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: bold;
  position: relative;
}

.page-resources-platform-review .faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-resources-platform-review .faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-resources-platform-review .faq-answer {
  font-size: 1.05em;
  color: #555;
  margin-bottom: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
  opacity: 0;
}

.page-resources-platform-review .faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  opacity: 1;
  margin-top: 15px;
}

/* Final CTA */
.page-resources-platform-review .final-cta {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

/* Related Resources */
.page-resources-platform-review .related-resources {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px dashed var(--page-resources-platform-review-border-color);
  text-align: center;
}

.page-resources-platform-review .related-title {
  font-size: 2em;
  color: var(--page-resources-platform-review-primary-color);
  margin-bottom: 30px;
}

.page-resources-platform-review .related-list {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.page-resources-platform-review .related-list li a {
  font-size: 1.1em;
  padding: 10px 15px;
  border: 1px solid var(--page-resources-platform-review-primary-color);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.page-resources-platform-review .related-list li a:hover {
  background-color: var(--page-resources-platform-review-primary-color);
  color: var(--page-resources-platform-review-text-light);
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-platform-review .article-container {
    flex-direction: column;
  }

  .page-resources-platform-review .article-toc {
    position: static;
    width: 100%;
    margin-bottom: 40px;
  }

  .page-resources-platform-review .article-content {
    padding: 30px;
  }

  .page-resources-platform-review .hero-title {
    font-size: 2.5em;
  }

  .page-resources-platform-review .hero-subtitle {
    font-size: 1.1em;
  }

  .page-resources-platform-review .article-content h2 {
    font-size: 2em;
  }

  .page-resources-platform-review .article-content h3 {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-platform-review .hero-section {
    padding: 80px 0;
  }

  .page-resources-platform-review .hero-title {
    font-size: 2em;
  }

  .page-resources-platform-review .hero-subtitle {
    font-size: 1em;
  }

  .page-resources-platform-review .hero-actions .btn {
    display: block;
    margin: 15px auto;
    max-width: 250px;
  }

  .page-resources-platform-review .content-section {
    padding: 40px 0;
  }

  .page-resources-platform-review .article-content {
    padding: 20px;
  }

  .page-resources-platform-review .article-content h2 {
    font-size: 1.8em;
  }

  .page-resources-platform-review .article-content h3 {
    font-size: 1.4em;
  }

  .page-resources-platform-review .article-content p,
  .page-resources-platform-review .article-content ul,
  .page-resources-platform-review .article-content ol {
    font-size: 1em;
  }

  .page-resources-platform-review .review-card-wrapper {
    grid-template-columns: 1fr;
  }

  .page-resources-platform-review .related-list {
    flex-direction: column;
    align-items: center;
  }

  .page-resources-platform-review .related-list li a {
    width: 80%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-resources-platform-review .hero-title {
    font-size: 1.8em;
  }

  .page-resources-platform-review .hero-subtitle {
    font-size: 0.9em;
  }

  .page-resources-platform-review .article-content h2 {
    font-size: 1.6em;
  }

  .page-resources-platform-review .article-content h3 {
    font-size: 1.2em;
  }

  .page-resources-platform-review .toc-title {
    font-size: 1.5em;
  }

  .page-resources-platform-review .toc-list a {
    font-size: 0.9em;
  }
}