/* Comparison Page Specific Styles */

/* Hero Section */
.comparison-hero {
  padding-top: 160px;
  padding-bottom: 64px;
  background-color: var(--white);
  text-align: center;
}

.comparison-hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.breadcrumb {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .separator {
  margin: 0 8px;
  color: var(--muted);
}

.comparison-hero h1 {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.comparison-hero .hero-subtext {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--charcoal);
  line-height: 1.6;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Quick Summary */
.summary-section {
  padding-top: 0;
  padding-bottom: 80px;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.summary-card {
  background-color: var(--stone);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid var(--border);
}

.summary-card.highlight {
  background-color: var(--blue-light);
  border-color: #D0E0FF;
}

.summary-card h2 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 16px;
}

.summary-card p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Reviews Section */
.reviews-section {
  background-color: var(--stone);
  padding-top: 80px;
  padding-bottom: 80px;
}

.reviews-header {
  text-align: center;
  margin-bottom: 48px;
}

.reviews-header h2 {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--navy);
  margin-bottom: 16px;
}

.reviews-header p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--mid);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.star-rating {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--amber);
  background-color: #FFF8E1;
  padding: 4px 8px;
  border-radius: 4px;
}

.review-quote {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.review-source {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* Comparison Table */
.compare-table-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.compare-table-header {
  text-align: center;
  margin-bottom: 48px;
}

.compare-table-header h2 {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--navy);
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  max-width: 1000px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.compare-table th:first-child {
  color: var(--charcoal);
  width: 40%;
}

.compare-table th:nth-child(2) {
  color: var(--mid);
  width: 30%;
  text-align: center;
}

.compare-table th:nth-child(3) {
  color: var(--navy);
  width: 30%;
  text-align: center;
  background-color: var(--blue-light);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.compare-table td:first-child {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
}

.compare-table td:nth-child(2) {
  text-align: center;
  color: var(--mid);
  font-family: var(--font-body);
  font-size: 15px;
}

.compare-table td:nth-child(3) {
  text-align: center;
  background-color: rgba(235, 242, 255, 0.3);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
}

.compare-table tr:last-child td:nth-child(3) {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.check-icon {
  color: var(--success);
  display: inline-block;
  vertical-align: middle;
}

.cross-icon {
  color: var(--danger);
  display: inline-block;
  vertical-align: middle;
}

.dash-icon {
  color: var(--muted);
  display: inline-block;
  vertical-align: middle;
}

/* Five Things Section */
.five-things-section {
  background-color: var(--stone);
  padding-top: 80px;
  padding-bottom: 80px;
}

.five-things-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.five-things-header h2 {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--navy);
}

.five-things-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.thing-item {
  display: flex;
  gap: 24px;
  background-color: var(--white);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.thing-number {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--blue);
  font-weight: 600;
  opacity: 0.8;
}

.thing-content h3 {
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
}

.thing-content p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--charcoal);
  margin-bottom: 0;
  line-height: 1.6;
}

/* One Thing Section */
.one-thing-section {
  background-color: var(--navy);
  color: var(--white);
  padding-top: 80px;
  padding-bottom: 80px;
  text-align: center;
}

.one-thing-container {
  max-width: 720px;
  margin: 0 auto;
}

.one-thing-section h2 {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--white);
  margin-bottom: 24px;
}

.one-thing-section p {
  font-family: var(--font-body);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Pricing Compare Section */
.pricing-compare-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.pricing-compare-header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-compare-header h2 {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--navy);
}

.pricing-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-compare-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.pricing-compare-card.highlight {
  border: 2px solid var(--navy);
  box-shadow: 0 12px 24px rgba(13, 27, 75, 0.04);
}

.pricing-compare-card h3 {
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.pricing-compare-card.highlight h3 {
  color: var(--navy);
}

.pricing-cost {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1;
}

.pricing-compare-card.highlight .pricing-cost {
  color: var(--navy);
}

.pricing-detail {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--mid);
  margin-bottom: 24px;
}

.pricing-note {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  background-color: var(--stone);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 0;
}

.pricing-compare-card.highlight .pricing-note {
  background-color: var(--blue-light);
  color: var(--navy);
}

/* Responsive */
@media (max-width: 992px) {
  .summary-grid,
  .reviews-grid,
  .pricing-compare-grid {
    grid-template-columns: 1fr;
  }
  
  .thing-item {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .comparison-hero h1 {
    font-size: 40px;
  }
  
  .compare-table th,
  .compare-table td {
    padding: 16px 12px;
    font-size: 14px;
  }
  
  .compare-table td:first-child {
    font-size: 14px;
  }
}
