/* Industry page styles (/for/:slug) — contrast aligned with marketing.css tokens */

/* Blanket dark-section links (marketing may not set these) */
.section-dark a {
  color: #cbd5e1;
}
.section-dark a:hover {
  color: #f1f5f9;
}

.industry-hero {
  padding: 80px 0 60px;
}
.industry-hero h1 {
  font-size: 2.75rem;
}

.industry-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.industry-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s;
}
.industry-service-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
}
.industry-service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #0f172a;
}
[data-theme="dark"] .industry-service-card h3 {
  color: #f1f5f9;
}
.industry-service-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 14px;
  color: #334155;
}
[data-theme="dark"] .industry-service-card p {
  color: #cbd5e1;
}
.industry-service-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.industry-city-tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 999px;
  color: #334155;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
}
[data-theme="dark"] .industry-city-tag {
  color: #e2e8f0;
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
}

/* Feature cards inside dark sections — override global .section-dark p !important where cards are light (light theme) */
.section-dark .feature-card p {
  color: #cbd5e1 !important;
}
.section-dark .feature-card h3 {
  color: #f1f5f9 !important;
}
[data-theme="light"] .section-dark .feature-card p {
  color: #334155 !important;
}
[data-theme="light"] .section-dark .feature-card h3 {
  color: #0f172a !important;
}

/* Pricing band — safe secondary text (replaces inline var(--text-secondary)) */
.industry-pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
}
.industry-pricing-card .industry-pricing-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.industry-pricing-muted {
  color: #334155;
  font-size: 0.95rem;
  margin-bottom: 24px;
}
[data-theme="dark"] .industry-pricing-muted {
  color: #cbd5e1;
}
.industry-pricing-amount {
  color: var(--text-primary);
}

/* "We Also Build" pills sit on .section-dark — ensure contrast when global theme is light */
.section-dark .compare-other-pill {
  color: #e2e8f0;
  border-color: rgba(139, 92, 246, 0.4);
}
.section-dark .compare-other-pill:hover {
  color: #f1f5f9;
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(139, 92, 246, 0.12);
  text-decoration: none;
}

@media (max-width: 768px) {
  .industry-hero h1 {
    font-size: 2rem;
  }
  .industry-services-grid {
    grid-template-columns: 1fr;
  }
}

/* Industries Hub Grid */
.industries-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.industry-hub-card {
  background: var(--card-bg, rgba(255,255,255,0.05));
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 12px;
  padding: 32px 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.industry-hub-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent, #a78bfa);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.industry-hub-icon {
  color: var(--accent, #a78bfa);
  margin-bottom: 16px;
}

.industry-hub-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.industry-hub-card p {
  font-size: 0.95rem;
  color: var(--text-secondary, #94a3b8);
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.industry-hub-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent, #a78bfa);
}

@media (max-width: 640px) {
  .industries-hub-grid {
    grid-template-columns: 1fr;
  }
}
