/* ==========================================================================
   TheCyberPicks Pillar Page — tcp-pillar.css
   Uses LOCKED design system tokens from tcp-design-system.css
   No new color/font/spacing variables introduced
   ========================================================================== */

/* --- Breadcrumbs --- */
.tcp-breadcrumbs {
  padding: var(--tcp-space-4) 0 0;
  font-size: var(--tcp-fs-small);
  color: var(--tcp-text-muted);
}

.tcp-breadcrumbs a {
  color: var(--tcp-text-muted);
  text-decoration: none;
}

.tcp-breadcrumbs a:hover {
  color: var(--tcp-primary);
  text-decoration: underline;
}

.tcp-breadcrumbs .tcp-breadcrumb-sep {
  margin: 0 var(--tcp-space-2);
  color: var(--tcp-border);
}

.tcp-breadcrumbs .tcp-breadcrumb-current {
  color: var(--tcp-text);
  font-weight: 500;
}

/* --- Pillar page header --- */
.tcp-pillar-header {
  padding: var(--tcp-space-8) 0 var(--tcp-space-6);
}

.tcp-pillar-header h1 {
  margin: 0 0 var(--tcp-space-4);
}

/* --- Quick-pick boxes --- */
.tcp-quick-picks {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tcp-space-4);
  margin: var(--tcp-space-8) 0;
}

.tcp-quick-pick {
  display: flex;
  align-items: center;
  gap: var(--tcp-space-4);
  background: var(--tcp-bg);
  border: 1px solid var(--tcp-border);
  border-radius: 8px;
  padding: var(--tcp-space-4) var(--tcp-space-6);
  transition: box-shadow 0.2s ease;
}

.tcp-quick-pick:hover {
  box-shadow: 0 4px 16px rgba(26, 35, 50, 0.08);
}

.tcp-quick-pick--highlight {
  border-color: var(--tcp-accent);
  background: rgba(0, 200, 150, 0.03);
}

.tcp-quick-pick-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--tcp-primary);
}

.tcp-quick-pick--highlight .tcp-quick-pick-icon {
  color: var(--tcp-accent);
}

.tcp-quick-pick-content {
  flex: 1;
  min-width: 0;
}

.tcp-quick-pick-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tcp-text-muted);
  margin-bottom: 2px;
}

.tcp-quick-pick-name {
  display: block;
  font-size: var(--tcp-fs-h3);
  font-weight: 700;
  color: var(--tcp-text);
  line-height: var(--tcp-lh-heading);
}

.tcp-quick-pick-reason {
  display: block;
  font-size: var(--tcp-fs-small);
  color: var(--tcp-text-muted);
  margin-top: 2px;
}

.tcp-quick-pick .tcp-cta-button {
  flex-shrink: 0;
  font-size: var(--tcp-fs-small);
  padding: var(--tcp-space-2) var(--tcp-space-4);
  white-space: nowrap;
}

/* --- Table note --- */
.tcp-table-note {
  font-size: var(--tcp-fs-small);
  color: var(--tcp-text-muted);
  margin-top: var(--tcp-space-2);
  text-align: center;
}

/* --- Product detail sections --- */
.tcp-product-section {
  padding: var(--tcp-space-8) 0;
  border-top: 1px solid var(--tcp-border);
}

.tcp-product-section:first-of-type {
  border-top: none;
}

.tcp-product-section h2 {
  margin: 0 0 var(--tcp-space-6);
}

/* At-a-glance box */
.tcp-at-a-glance {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tcp-space-4);
  background: var(--tcp-bg-alt);
  border: 1px solid var(--tcp-border);
  border-radius: 8px;
  padding: var(--tcp-space-6);
  margin-bottom: var(--tcp-space-6);
}

.tcp-aag-header {
  display: flex;
  align-items: center;
  gap: var(--tcp-space-4);
  flex-wrap: wrap;
}

.tcp-aag-rating {
  font-size: var(--tcp-fs-h2);
  font-weight: 700;
  color: var(--tcp-text);
  display: flex;
  align-items: center;
  gap: var(--tcp-space-2);
}

.tcp-aag-rating .tcp-stars {
  color: var(--tcp-rating-star);
  font-size: var(--tcp-fs-base);
}

.tcp-aag-price {
  font-size: var(--tcp-fs-h3);
  font-weight: 600;
  color: var(--tcp-text);
}

.tcp-aag-price span {
  font-size: var(--tcp-fs-small);
  color: var(--tcp-text-muted);
  font-weight: 400;
}

.tcp-aag-best-for {
  font-size: var(--tcp-fs-small);
  color: var(--tcp-text-muted);
}

.tcp-aag-best-for strong {
  color: var(--tcp-text);
}

.tcp-aag-lists {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tcp-space-4);
}

.tcp-aag-pros,
.tcp-aag-cons {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tcp-aag-pros li,
.tcp-aag-cons li {
  padding: var(--tcp-space-1) 0;
  font-size: var(--tcp-fs-small);
  display: flex;
  align-items: flex-start;
  gap: var(--tcp-space-2);
}

.tcp-aag-pros li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--tcp-accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 4.5l-7 7L3 8' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 4.5l-7 7L3 8' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tcp-aag-cons li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--tcp-danger);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' stroke='white' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' stroke='white' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tcp-product-cta {
  margin-top: var(--tcp-space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--tcp-space-4);
}

.tcp-product-cta .tcp-read-review {
  font-size: var(--tcp-fs-small);
  color: var(--tcp-primary);
  text-decoration: underline;
}

.tcp-product-cta .tcp-read-review:hover {
  color: var(--tcp-primary-dark);
}

/* --- Methodology section --- */
.tcp-methodology-section {
  padding: var(--tcp-space-8) 0;
  border-top: 1px solid var(--tcp-border);
}

.tcp-methodology-section h2 {
  margin: 0 0 var(--tcp-space-4);
}

/* --- FAQ section --- */
.tcp-faq-section {
  padding: var(--tcp-space-8) 0;
  border-top: 1px solid var(--tcp-border);
}

.tcp-faq-section h2 {
  margin: 0 0 var(--tcp-space-6);
}

.tcp-faq-item {
  border-bottom: 1px solid var(--tcp-border);
  padding: var(--tcp-space-4) 0;
}

.tcp-faq-item:last-child {
  border-bottom: none;
}

.tcp-faq-item h3 {
  font-size: var(--tcp-fs-base);
  font-weight: 600;
  margin: 0 0 var(--tcp-space-2);
  color: var(--tcp-text);
}

.tcp-faq-item p {
  margin: 0;
  font-size: var(--tcp-fs-base);
  color: var(--tcp-text-muted);
  line-height: var(--tcp-lh-body);
}

/* --- Author byline --- */
.tcp-author-byline {
  display: flex;
  align-items: center;
  gap: var(--tcp-space-4);
  padding: var(--tcp-space-6) 0;
  border-top: 1px solid var(--tcp-border);
  margin-top: var(--tcp-space-4);
}

.tcp-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tcp-bg-alt);
  border: 2px solid var(--tcp-border);
  flex-shrink: 0;
  object-fit: cover;
}

.tcp-author-info {
  flex: 1;
}

.tcp-author-name {
  font-weight: 600;
  color: var(--tcp-text);
  font-size: var(--tcp-fs-base);
}

.tcp-author-name a {
  color: var(--tcp-text);
  text-decoration: none;
}

.tcp-author-name a:hover {
  color: var(--tcp-primary);
}

.tcp-author-meta {
  font-size: var(--tcp-fs-small);
  color: var(--tcp-text-muted);
  margin-top: 2px;
}

.tcp-author-meta a {
  color: var(--tcp-primary);
  text-decoration: none;
}

.tcp-author-meta a:hover {
  text-decoration: underline;
}

/* --- Related content --- */
.tcp-related-section {
  padding: var(--tcp-space-6) 0;
  border-top: 1px solid var(--tcp-border);
}

.tcp-related-section h2 {
  font-size: var(--tcp-fs-h3);
  margin: 0 0 var(--tcp-space-4);
}

.tcp-related-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tcp-related-links li {
  margin-bottom: var(--tcp-space-2);
}

.tcp-related-links a {
  color: var(--tcp-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--tcp-space-2);
}

.tcp-related-links a:hover {
  text-decoration: underline;
  color: var(--tcp-primary-dark);
}

.tcp-related-links a::before {
  content: "\2192";
  font-size: var(--tcp-fs-small);
}

/* --- Responsive — sm: 640px --- */
@media (min-width: 640px) {
  .tcp-quick-picks {
    grid-template-columns: 1fr;
  }

  .tcp-aag-lists {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Responsive — md: 768px --- */
@media (min-width: 768px) {
  .tcp-at-a-glance {
    grid-template-columns: auto 1fr;
  }
}

/* --- Responsive — lg: 1024px --- */
@media (min-width: 1024px) {
  .tcp-quick-picks {
    grid-template-columns: 1fr;
  }

  .tcp-pillar-header h1 {
    font-size: 2.5rem;
  }
}
