/* ==========================================================================
   Orvo Comparison Pages — compare.css
   Extends landing.css design system
   ========================================================================== */

/* ---------- Hero ---------- */
.compare-hero {
  padding: 140px 0 64px;
  background: linear-gradient(180deg, var(--slate-50) 0%, #fff 100%);
  text-align: center;
}
.compare-hero .section-label {
  margin-bottom: 16px;
}
.compare-hero h1 {
  font-size: 2.75rem;
  max-width: 720px;
  margin: 0 auto 20px;
}
.compare-hero .compare-subtitle {
  font-size: 1.125rem;
  color: var(--slate-500);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ---------- Verdict Banner ---------- */
.compare-verdict {
  background: var(--blue-600);
  color: #fff;
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  max-width: 800px;
  margin: 0 auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.compare-verdict svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.compare-verdict p {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}
.compare-verdict strong {
  font-weight: 700;
}

/* ---------- Section ---------- */
.compare-section {
  padding: var(--section-py) 0;
}
.compare-section:nth-child(even) {
  background: var(--slate-50);
}
.compare-section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.compare-section-header h2 {
  margin-bottom: 12px;
}
.compare-section-header p {
  font-size: 1rem;
  color: var(--slate-500);
}

/* ---------- Feature Comparison Table ---------- */
.compare-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.compare-table thead th {
  padding: 16px 20px;
  font-weight: 700;
  text-align: left;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  border-bottom: 2px solid var(--slate-200);
}
.compare-table thead th:first-child {
  color: var(--slate-700);
}
.compare-table thead th.orvo-col {
  color: var(--blue-600);
  background: var(--blue-50);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.compare-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-600);
  vertical-align: top;
}
.compare-table tbody td:first-child {
  font-weight: 600;
  color: var(--slate-800);
}
.compare-table tbody td.orvo-col {
  background: var(--blue-50);
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table .check {
  color: var(--blue-600);
  font-weight: 700;
}
.compare-table .cross {
  color: var(--slate-300);
}
.compare-table .partial {
  color: var(--slate-400);
  font-style: italic;
}

/* ---------- Split Cards (Orvo vs Competitor) ---------- */
.compare-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.compare-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.compare-card.orvo {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 1px var(--blue-600);
}
.compare-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.compare-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.compare-card-icon.orvo-icon {
  background: var(--blue-600);
  color: #fff;
}
.compare-card-icon.competitor-icon {
  background: var(--slate-100);
  color: var(--slate-600);
}
.compare-card h3 {
  font-size: 1.25rem;
  margin: 0;
}
.compare-card-subtitle {
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin: 0;
}
.compare-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.compare-card ul li {
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--slate-600);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.compare-card ul li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}
.compare-card.orvo ul li svg {
  color: var(--blue-600);
}
.compare-card ul li svg.x-icon {
  color: var(--slate-300);
}

/* ---------- Who Should Use ---------- */
.compare-who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.compare-who-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.compare-who-card h3 {
  font-size: 1.125rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.compare-who-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.compare-who-card li {
  padding: 6px 0;
  font-size: 0.9375rem;
  color: var(--slate-600);
  padding-left: 20px;
  position: relative;
}
.compare-who-card li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--slate-400);
}

/* ---------- Pricing Comparison ---------- */
.compare-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.compare-pricing-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.compare-pricing-card.orvo {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 1px var(--blue-600);
}
.compare-pricing-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
.compare-pricing-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 4px;
}
.compare-pricing-card .price span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-400);
}
.compare-pricing-card .price-detail {
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin-bottom: 16px;
}
.compare-pricing-card .price-note {
  font-size: 0.8125rem;
  color: var(--slate-500);
  font-weight: 500;
}

/* ---------- FAQ ---------- */
.compare-faq {
  max-width: 720px;
  margin: 0 auto;
}
.compare-faq-item {
  border-bottom: 1px solid var(--slate-100);
}
.compare-faq-item:last-child {
  border-bottom: none;
}
.compare-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-800);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.compare-faq-q svg {
  width: 20px;
  height: 20px;
  color: var(--slate-400);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.compare-faq-item.open .compare-faq-q svg {
  transform: rotate(45deg);
}
.compare-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.compare-faq-item.open .compare-faq-a {
  max-height: 300px;
}
.compare-faq-a p {
  padding-bottom: 20px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate-500);
}

/* ---------- Other Comparisons ---------- */
.compare-others {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 720px;
  margin: 24px auto 0;
}
.compare-others a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-600);
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  transition: border-color 0.2s, color 0.2s;
}
.compare-others a:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}
.compare-others a.active {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background: var(--blue-50);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .compare-hero h1 { font-size: 2rem; }
  .compare-cards,
  .compare-who-grid,
  .compare-pricing { grid-template-columns: 1fr; }
  .compare-verdict { flex-direction: column; text-align: center; }
  .compare-table { font-size: 0.8125rem; }
  .compare-table thead th,
  .compare-table tbody td { padding: 10px 12px; }
}
