/* ============================================
   Case Studies Page — Featured Study, Cards, Pilot CTA
   ============================================ */

/* ---- Compact Hero ---- */

.cs-hero {
  padding-top: 120px;
  padding-bottom: var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.cs-hero__content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.cs-hero__content h1 {
  margin-bottom: var(--space-md);
}

.cs-hero__content h1 .highlight {
  color: var(--accent-orange);
}

.cs-hero__content .lead {
  max-width: 720px;
  font-size: var(--text-xl);
  color: var(--text-secondary);
}

/* Hero background gradient orbs */
.cs-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(247, 147, 26, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.cs-hero::after {
  content: '';
  position: absolute;
  bottom: -250px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

@media (max-width: 768px) {
  .cs-hero {
    padding-top: 100px;
    padding-bottom: var(--space-2xl);
  }
}

/* ---- Featured Case Study ---- */

.featured-study {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  border-top: 3px solid var(--accent-orange);
  position: relative;
  overflow: hidden;
}

.featured-study::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(247, 147, 26, 0.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.featured-study__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.featured-study__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-orange-glow);
  border-radius: var(--radius-md);
  color: var(--accent-orange);
  flex-shrink: 0;
}

.featured-study__title h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2xs);
}

.featured-study__title .badge {
  margin-top: var(--space-xs);
}

.featured-study__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.featured-study__detail h4 {
  font-size: var(--text-base);
  color: var(--accent-cyan);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-weight: 600;
}

.featured-study__detail p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

.featured-study__results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border-subtle);
}

.featured-study__metric {
  text-align: center;
}

.featured-study__metric-value {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.featured-study__metric-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: 180px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .featured-study {
    padding: var(--space-2xl) var(--space-xl);
  }

  .featured-study__body {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .featured-study__results {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .featured-study__metric-value {
    font-size: var(--text-3xl);
  }
}

/* ---- Coming Soon Cards Grid ---- */

.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .cs-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Coming Soon Card ---- */

.cs-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.cs-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cs-card__badge-overlay {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
}

.cs-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  flex-shrink: 0;
}

.cs-card__icon--healthcare {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
}

.cs-card__icon--mssp {
  background: var(--accent-cyan-glow);
  color: var(--accent-cyan);
}

.cs-card__icon--federal {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}

.cs-card__icon--tech {
  background: var(--accent-orange-glow);
  color: var(--accent-orange);
}

.cs-card .badge--coming-soon {
  background: var(--bg-tertiary);
  border-color: var(--border-medium);
  color: var(--text-tertiary);
  font-size: var(--text-xs);
}

.cs-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

.cs-card__industry {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.cs-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

/* ---- Testimonial Placeholder ---- */

.cs-testimonials {
  max-width: 800px;
  margin: 0 auto;
}

.cs-testimonial-placeholder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.cs-testimonial-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
}

.cs-testimonial-item blockquote {
  font-size: var(--text-base);
  color: var(--text-secondary);
  font-style: italic;
  line-height: var(--leading-normal);
  margin-bottom: var(--space-md);
  position: relative;
  padding-left: var(--space-lg);
}

.cs-testimonial-item blockquote::before {
  content: '\201C';
  font-size: 2.5rem;
  color: var(--accent-orange);
  position: absolute;
  top: -8px;
  left: -4px;
  line-height: 1;
  font-style: normal;
}

.cs-testimonial-item cite {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  font-style: normal;
  display: block;
}

@media (max-width: 768px) {
  .cs-testimonial-placeholder {
    grid-template-columns: 1fr;
  }
}

/* ---- Pilot Program CTA ---- */

.pilot-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
}

.pilot-cta h2 {
  margin-bottom: var(--space-md);
}

.pilot-cta p {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  font-size: var(--text-lg);
  color: var(--text-secondary);
}

.pilot-cta .btn {
  margin: 0 var(--space-sm);
}

@media (max-width: 480px) {
  .pilot-cta {
    padding: var(--space-2xl) var(--space-lg);
  }
  .pilot-cta .btn {
    display: block;
    margin: var(--space-sm) 0;
  }
}
