/* ============================================================
   VisionStack AI — comparison.css
   Styles for comparison pages: hero, tables, recommendations, CTAs
   ============================================================ */

.hero {
  text-align: center;
  padding: 5rem 2rem 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--accent, #00e5a0);
}

.hero-desc {
  color: var(--muted, #888);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Comparison Table */
.comparison-table {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface, #111);
  border: 1px solid var(--border, #2a2a4a);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table thead {
  background: var(--surface2, #0e0e14);
}

.comparison-table th {
  padding: 1rem;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text, #e0e0e0);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border, #2a2a4a);
}

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border, #2a2a4a);
  color: var(--text, #e0e0e0);
  font-size: 0.9rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover {
  background: var(--surface2, #0e0e14);
}

.comparison-table small {
  color: var(--muted, #888);
  font-size: 0.8rem;
}

/* Recommendations */
.recommendations {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}

.recommendations h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.rec-card {
  background: var(--surface, #111);
  border: 1px solid var(--border, #2a2a4a);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.rec-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.rec-card p {
  color: var(--muted, #888);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--surface2, #0e0e14);
  border: 1px solid var(--border, #2a2a4a);
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.cta-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-section p {
  color: var(--muted, #888);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  background: var(--accent, #00e5a0);
  color: #000;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.85;
}

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

  .comparison-table,
  .recommendations,
  .cta-section {
    padding: 0 1rem;
  }

  .comparison-table table {
    font-size: 0.8rem;
  }

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