/* =========================
   Core Vision Portal Styles
   ========================= */

/* General spacing for sections */
.hero,
.intro,
.pillars,
.interconnection,
.cta {
  padding: 3rem 0;
}

.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--heading-color, #222); /* fallback to dark gray */
}

.hero .subhead {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* Intro text */
.intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Pillar grid */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pillar {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.pillar p {
  font-size: 1rem;
  line-height: 1.5;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Interconnection section */
.interconnection {
  background: #f9fafb;
}

.interconnection h2 {
  margin-top: 0;
}

.interconnection ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

/* CTA section */
.cta {
  background: var(--primary-color);
  color: #fff;
  text-align: center;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.cta .btn {
  margin: 0.5rem;
}

/* Buttons (inherits from main.css but allows overrides here) */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  background: #e0e0e0;
  color: #333;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #d5d5d5;
}

.btn.primary {
  background: #fff;
  color: var(--primary-color);
}

.btn.primary:hover {
  background: #f0f0f0;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero .subhead {
    font-size: 1rem;
  }
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  vertical-align: top;
}

.comparison-table thead th {
  background-color: #f5f5f5;
  text-align: left;
  font-weight: 600;
}

.comparison-table tbody tr.alt {
  background-color: #fafafa;
}

.comparison-table td:first-child {
  font-weight: 600;
}

