/* Comparison Page Styling */

.quick-pick-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%);
  border-radius: 8px;
  border-top: 3px solid #1565C0;
}

.quick-pick-card {
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  border-left: 4px solid #0D47A1;
  transition: all 0.3s ease;
}

.quick-pick-card.card-a {
  border-left-color: #1565C0;
}

.quick-pick-card.card-b {
  border-left-color: #64b5f6;
}

.quick-pick-card:hover {
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.15);
  transform: translateY(-2px);
}

.quick-pick-card h3 {
  color: #0D47A1;
  margin: 0 0 0.75rem 0;
  font-size: 1.2rem;
}

.quick-pick-card p {
  margin: 0 0 1rem 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.comparison-table th {
  background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #0D47A1;
}

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.comparison-table tr:nth-child(even) td {
  background-color: #f9fbff;
}

.comparison-table tr:hover td {
  background-color: #f0f7ff;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  font-weight: 500;
  background-color: #f5f5f5;
  color: #333;
}

.comparison-table tr:nth-child(even) td:first-child {
  background-color: #eff5ff;
}

/* FAQ Comparison Section */
.faq-comparison {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%);
  border-radius: 8px;
  border-left: 4px solid #1565C0;
}

.faq-comparison h2 {
  color: #0D47A1;
  margin-top: 0;
}

.faq-item {
  margin: 1.5rem 0;
  padding: 1rem;
  background: white;
  border-radius: 6px;
  border-left: 3px solid #b3d9ff;
}

.faq-item:hover {
  border-left-color: #1565C0;
}

.faq-item h4 {
  color: #0D47A1;
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-item p {
  color: #555;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
  color: white;
  border: 2px solid #1565C0;
}

.btn-primary:hover {
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #1565C0;
  border: 2px solid #1565C0;
}

.btn-outline:hover {
  background: #f0f7ff;
  border-color: #0D47A1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .quick-pick-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    margin: 1.5rem 0;
  }

  .quick-pick-card {
    padding: 1rem;
  }

  .quick-pick-card h3 {
    font-size: 1.1rem;
  }

  .quick-pick-card p {
    font-size: 0.9rem;
  }

  .comparison-table {
    font-size: 0.85rem;
    margin: 1.5rem 0;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem;
  }

  .faq-comparison {
    padding: 1rem;
    margin: 1.5rem 0;
  }

  .faq-item {
    padding: 0.75rem;
    margin: 1rem 0;
  }

  .faq-item h4 {
    font-size: 0.95rem;
  }

  .faq-item p {
    font-size: 0.9rem;
  }

  .btn {
    display: block;
    text-align: center;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    margin-top: 0.75rem;
  }

  .quick-pick-card .btn {
    width: 100%;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .quick-pick-cards {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-top-color: #64b5f6;
  }

  .quick-pick-card {
    background: #2a2a2a;
    border-left-color: #64b5f6;
  }

  .quick-pick-card h3 {
    color: #64b5f6;
  }

  .quick-pick-card p {
    color: #c0c0c0;
  }

  .comparison-table {
    background: #1a1a1a;
    border-color: #424242;
  }

  .comparison-table th {
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
  }

  .comparison-table td {
    border-bottom-color: #424242;
  }

  .comparison-table tr:nth-child(even) td {
    background-color: #2a2a2a;
  }

  .comparison-table tr:hover td {
    background-color: #333;
  }

  .comparison-table td:first-child {
    background-color: #2a2a2a;
  }

  .faq-comparison {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-left-color: #64b5f6;
  }

  .faq-comparison h2 {
    color: #64b5f6;
  }

  .faq-item {
    background: #2a2a2a;
    border-left-color: #424242;
  }

  .faq-item h4 {
    color: #64b5f6;
  }

  .faq-item p {
    color: #c0c0c0;
  }

  .btn-primary {
    color: white;
    border-color: #64b5f6;
  }

  .btn-outline {
    color: #64b5f6;
    border-color: #64b5f6;
  }

  .btn-outline:hover {
    background: #333;
    border-color: #90caf9;
  }
}

/* Print Styling */
@media print {
  .quick-pick-cards {
    background: white;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }

  .quick-pick-card {
    background: white;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }

  .comparison-table {
    background: white;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }

  .faq-comparison {
    background: white;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }

  .faq-item {
    background: white;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }

  .btn {
    display: none;
  }
}

/* Accessibility */
.quick-pick-card:focus-within {
  outline: 2px solid #1565C0;
  outline-offset: 4px;
}

.faq-item:focus-within {
  outline: 2px solid #1565C0;
  outline-offset: 2px;
}

.btn:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
