/* Comparison Pages - Shared Styles */

body {
  line-height: 1.7;
}

.container {
  max-width: 900px;
}

/* Header */
.header {
  background: linear-gradient(-45deg, #0f172a, #1e1b4b, #172554, #0c4a6e);
  background-size: 400% 400%;
  animation: gradient-shift 20s ease infinite;
  color: white;
  padding: 40px 20px 60px;
}

.header nav {
  max-width: 900px;
  margin: 0 auto 30px;
}

.header nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 15px;
}

.header nav a:hover {
  color: white;
}

.header-content {
  max-width: 900px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.header h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.header p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 700px;
}

/* Quick Summary */
.summary {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin: -30px 20px 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: relative;
}

.summary h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--dark);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.summary-item {
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
}

.summary-item h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 8px;
}

.summary-item p {
  font-weight: 600;
  color: var(--dark);
}

.winner {
  background: var(--accent-light) !important;
}

.winner p {
  color: var(--accent-hover);
}

/* Comparison Table */
.comparison-section {
  padding: 60px 20px;
}

.comparison-section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--dark);
}

.comparison-table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.comparison-table thead th {
  background: var(--dark);
  color: white;
  font-weight: 600;
  font-size: 15px;
}

.comparison-table thead th:first-child {
  background: #1e293b;
}

.comparison-table tbody tr:hover {
  background: #f8fafc;
}

.comparison-table td:first-child {
  font-weight: 500;
  color: #334155;
}

.check {
  color: var(--accent);
  font-weight: bold;
}

.cross {
  color: #ef4444;
}

.partial {
  color: #f59e0b;
}

.highlight-cell {
  background: var(--accent-light);
}

/* Content Sections */
.content-section {
  padding: 60px 20px;
  background: white;
}

.content-section:nth-child(even) {
  background: #f8fafc;
}

.content-section h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.content-section h3 {
  font-size: 1.25rem;
  margin: 30px 0 12px;
  color: var(--dark);
}

.content-section p {
  color: #475569;
  margin-bottom: 16px;
}

.content-section ul {
  margin: 16px 0;
  padding-left: 24px;
  color: #475569;
}

.content-section li {
  margin-bottom: 10px;
}

/* Pros and Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.pros, .cons {
  padding: 24px;
  border-radius: 12px;
}

.pros {
  background: var(--accent-light);
}

.cons {
  background: #fef2f2;
}

.pros h4, .cons h4 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.pros h4 {
  color: var(--accent-hover);
}

.cons h4 {
  color: #dc2626;
}

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

.pros li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: bold;
}

.cons li::before {
  content: "✗ ";
  color: #dc2626;
  font-weight: bold;
}

/* Pricing Section */
.pricing-section {
  padding: 60px 20px;
  background: var(--dark);
  color: white;
}

.pricing-section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

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

.pricing-card {
  background: white;
  color: var(--dark);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

.pricing-card.featured {
  border: 3px solid var(--accent);
  position: relative;
}

.pricing-card.featured::before {
  content: "BEST VALUE";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: #64748b;
}

.pricing-card .desc {
  color: #64748b;
  font-size: 15px;
  margin: 12px 0 20px;
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 20px 0;
  padding: 0;
}

.pricing-card li {
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 15px;
}

.pricing-card li:last-child {
  border: none;
}

/* CTA Section Override */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
}

.cta-section .cta-btn {
  background: white;
  color: var(--accent-hover);
}

.cta-section .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .header h1 {
    font-size: 1.85rem;
  }

  .summary-grid,
  .pros-cons,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-table table {
    min-width: 600px;
  }
}
