/* ==========================================================================
   NEXTGEN TECHEDGE — HEALTHCARE TECHNOLOGY & AI DESIGN SYSTEM
   Modern, sophisticated enterprise healthcare technology styling.
   Consistent with authentic NextGen TechEdge Purple & Brand Gradient palette.
   ========================================================================== */

:root {
  --hc-purple: #8426b0;
  --hc-purple-dark: #5e167e;
  --hc-purple-light: rgba(132, 38, 176, 0.12);
  --hc-purple-subtle: rgba(132, 38, 176, 0.05);
  --hc-fuchsia: #b81c8c;
  --hc-coral: #df414c;
  --hc-navy-dark: #0a0f1d;
  --hc-navy: #0f172a;
  --hc-navy-card: #1e293b;
  --hc-border-subtle: rgba(132, 38, 176, 0.18);
  --hc-radius: 18px;
}

/* Base Spacing & Layout */
.hc-section {
  padding: 96px 0;
  position: relative;
}

.hc-section-alt {
  background: #fbfbfd;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.hc-section-dark {
  background: var(--hc-navy-dark);
  color: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hc-section {
    padding: 56px 0;
  }
  .hc-section-dark {
    padding: 64px 0;
  }
}

/* Eyebrows & Headings */
.hc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-purple);
  margin-bottom: 14px;
}

.hc-eyebrow.light {
  color: #e9d5ff;
}

.hc-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.hc-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.hc-h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hc-section-dark .hc-h2 {
  color: #ffffff;
}

.hc-lead {
  font-size: 1.12rem;
  line-height: 1.72;
  color: var(--text-body);
  max-width: 780px;
  margin-bottom: 32px;
}

.hc-lead-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hc-text-center {
  text-align: center;
}

/* Section 1: Hero */
.hc-hero {
  padding: 130px 0 80px;
  background: radial-gradient(circle at 85% 15%, rgba(132, 38, 176, 0.07) 0%, transparent 50%),
              radial-gradient(circle at 10% 70%, rgba(223, 65, 76, 0.05) 0%, transparent 45%),
              #fafafc;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hc-hero-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 48px;
  align-items: center;
}

.hc-hero-content {
  z-index: 2;
}

.hc-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: linear-gradient(135deg, #8426b0 0%, #df414c 100%) !important;
  color: #ffffff !important;
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(132, 38, 176, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
}

.hc-btn-primary span,
.hc-btn-primary svg {
  color: #ffffff !important;
  fill: none;
}

.hc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(132, 38, 176, 0.45);
  color: #ffffff !important;
}

.hc-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  color: var(--text-main);
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.hc-btn-secondary:hover {
  border-color: var(--brand-purple);
  color: var(--brand-purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Hero Visual Composition */
.hc-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hc-hero-composition {
  position: relative;
  width: 100%;
  max-width: 640px;
}

.hc-hero-main-img {
  width: 100%;
  border-radius: 16px;
  border: 1.5px solid rgba(132, 38, 176, 0.2);
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.22);
  display: block;
  background: #ffffff;
}

.hc-hero-float-badge {
  position: absolute;
  bottom: -18px;
  left: 24px;
  background: #ffffff;
  border: 1.5px solid rgba(132, 38, 176, 0.25);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.hc-float-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(132, 38, 176, 0.08);
  color: var(--brand-purple);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hc-float-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-main);
}

.hc-float-text span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Section 2: Three Connected Platforms */
.hc-platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.hc-platform-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--hc-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.hc-platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -8px rgba(15, 23, 42, 0.12);
  border-color: rgba(132, 38, 176, 0.35);
}

.hc-platform-media {
  height: 210px;
  background: #f1f5f9;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hc-platform-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.hc-platform-card:hover .hc-platform-media img {
  transform: scale(1.03);
}

.hc-platform-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hc-platform-id {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.hc-platform-sub {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-purple);
  margin-bottom: 14px;
}

.hc-platform-desc {
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--text-body);
  margin-bottom: 20px;
  flex: 1;
}

.hc-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.hc-chip {
  font-size: 0.74rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hc-platform-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-purple);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.hc-platform-link:hover {
  gap: 12px;
}

/* Section 3: Patient Journey Stepper */
.hc-journey-container {
  margin-top: 48px;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
}

.hc-journey-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 36px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.hc-journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  min-width: 110px;
}

.hc-journey-node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--brand-purple);
  color: var(--brand-purple);
  font-family: 'Space Grotesk', var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(132, 38, 176, 0.15);
  margin-bottom: 10px;
}

.hc-journey-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  max-width: 100px;
}

.hc-journey-connector {
  position: absolute;
  top: 22px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: linear-gradient(to right, #8426b0, #b81c8c, #df414c);
  z-index: 1;
}

.hc-journey-bands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px dashed var(--border-light);
  padding-top: 24px;
}

.hc-journey-band {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px 20px;
  border-left: 4px solid var(--brand-purple);
}

.hc-journey-band.pacs {
  border-left-color: var(--brand-fuchsia);
}

.hc-journey-band.lx {
  border-left-color: var(--brand-coral);
}

.hc-band-title {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.hc-band-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hc-ai-band {
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(132, 38, 176, 0.06), rgba(223, 65, 76, 0.04));
  border: 1px solid rgba(132, 38, 176, 0.2);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hc-ai-band-badge {
  background: var(--brand-purple);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hc-ai-band-text {
  font-size: 0.84rem;
  color: var(--text-body);
}

.hc-journey-caption {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

/* Section 4: 12 HMS Capabilities */
.hc-grid-12 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.hc-cap-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.hc-cap-card:hover {
  transform: translateY(-3px);
  border-color: rgba(132, 38, 176, 0.35);
  box-shadow: var(--shadow-md);
}

.hc-cap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hc-cap-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(132, 38, 176, 0.08);
  color: var(--brand-purple);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hc-cap-num {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.hc-cap-title {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.hc-cap-body {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

/* Section 5: Real HMS Interface Carousel */
.hc-carousel-section {
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 96px 0;
  overflow: hidden;
}

.hc-carousel-container {
  position: relative;
  margin-top: 44px;
  width: 100%;
}

.hc-carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
}

.hc-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hc-carousel-slide {
  flex: 0 0 70%;
  max-width: 860px;
  padding: 0 16px;
  opacity: 0.55;
  transform: scale(0.92);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  user-select: none;
}

.hc-carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hc-slide-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.15);
  cursor: pointer;
}

.hc-slide-media {
  position: relative;
  background: #0f172a;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hc-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hc-slide-zoom-hint {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hc-slide-card:hover .hc-slide-zoom-hint {
  opacity: 1;
}

.hc-slide-info {
  padding: 22px 26px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.hc-slide-badge {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-purple);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.hc-slide-title {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.hc-slide-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
}

/* Carousel Controls */
.hc-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}

.hc-carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.hc-carousel-btn:hover {
  background: var(--brand-purple);
  color: #ffffff;
  border-color: var(--brand-purple);
  transform: scale(1.05);
}

.hc-carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.hc-carousel-status {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hc-carousel-counter {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.hc-carousel-dots {
  display: flex;
  gap: 6px;
}

.hc-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hc-carousel-dot.active {
  width: 24px;
  border-radius: 999px;
  background: var(--brand-purple);
}

/* Accessible Lightbox Modal */
.hc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 15, 29, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hc-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.hc-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hc-lightbox-close:hover {
  background: #ffffff;
  color: #0f172a;
}

.hc-lightbox-content {
  max-width: 1100px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hc-lightbox-img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.hc-lightbox-caption {
  margin-top: 16px;
  text-align: center;
  color: #ffffff;
  max-width: 720px;
}

.hc-lightbox-caption h4 {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.hc-lightbox-caption p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 0;
}

/* Section 6: AI-Assisted Medical Imaging */
.hc-ai-grid {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

.hc-stage-diagram {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px;
}

.hc-stage-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 18px;
  position: relative;
  transition: all 0.25s ease;
}

.hc-stage-row:hover {
  background: rgba(132, 38, 176, 0.18);
  border-color: rgba(184, 28, 140, 0.45);
}

.hc-stage-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #8426b0 0%, #df414c 100%);
  color: #ffffff;
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hc-stage-text strong {
  display: block;
  font-size: 0.92rem;
  color: #ffffff;
}

.hc-stage-text span {
  font-size: 0.78rem;
  color: #94a3b8;
}

.hc-ai-support-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.hc-ai-card {
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
}

.hc-ai-card h4 {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: #e9d5ff;
  margin-bottom: 8px;
}

.hc-ai-card p {
  font-size: 0.85rem;
  line-height: 1.58;
  color: #cbd5e1;
  margin: 0;
}

.hc-notice-banner {
  margin-top: 28px;
  background: rgba(245, 158, 11, 0.1);
  border-left: 3px solid #f59e0b;
  border-radius: 0 10px 10px 0;
  padding: 12px 18px;
  font-size: 0.84rem;
  color: #fde68a;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Section 7: Diagnostic Operations */
.hc-diag-grid {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 44px;
  align-items: center;
  margin-top: 44px;
}

.hc-diag-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.hc-diag-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.hc-diag-card h4 {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.hc-diag-card p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

.hc-spec-strip {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(132, 38, 176, 0.08) 0%, rgba(223, 65, 76, 0.06) 100%);
  border: 1.5px solid var(--border-brand);
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.hc-spec-item {
  text-align: center;
}

.hc-spec-num {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-purple);
  line-height: 1;
}

.hc-spec-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Section 8: Engineering Foundation */
.hc-foundations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.hc-foundation-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--hc-radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.hc-foundation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-purple);
}

.hc-foundation-card.odoo::before {
  background: var(--brand-coral);
}

.hc-foundation-title {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.hc-foundation-text {
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--text-body);
  margin: 0;
}

.hc-foundation-bridge {
  margin-top: 36px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.hc-foundation-bridge p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-body);
  max-width: 780px;
  margin: 0;
}

/* Section 9: Deployment References */
.hc-deploy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.hc-deploy-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hc-deploy-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-purple);
}

.hc-deploy-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(132, 38, 176, 0.08);
  color: var(--brand-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.hc-deploy-name {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 6px;
}

.hc-deploy-loc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hc-footnote {
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* Section 10: Final CTA Banner */
.hc-cta-section {
  padding: 90px 0;
  background: linear-gradient(135deg, rgba(132, 38, 176, 0.08) 0%, rgba(184, 28, 140, 0.06) 50%, rgba(223, 65, 76, 0.08) 100%);
  border-top: 1.5px solid var(--border-brand);
  text-align: center;
}

.hc-cta-container {
  max-width: 760px;
  margin: 0 auto;
}

/* ==========================================================================
   PART D: CASE STUDY SPECIFIC STYLES
   ========================================================================== */

.hc-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.hc-fact-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.hc-fact-card.dark {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(255, 255, 255, 0.12);
}

.hc-fact-card.dark .hc-fact-label {
  color: #94a3b8;
}

.hc-fact-card.dark .hc-fact-val {
  color: #ffffff;
}

.hc-fact-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hc-fact-val {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Phase Sequence Bar */
.hc-phase-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.hc-phase-item {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hc-phase-item strong {
  font-size: 0.88rem;
  color: var(--text-main);
  display: block;
}

.hc-phase-badge {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-purple);
  background: rgba(132, 38, 176, 0.1);
  padding: 3px 8px;
  border-radius: 6px;
}

/* Side by Side Screenshots */
.hc-side-by-side {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.hc-side-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hc-side-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(132, 38, 176, 0.35);
}

.hc-side-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.hc-side-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hc-side-caption {
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--text-body);
  font-weight: 600;
  background: #ffffff;
}

/* Section 6: 10,000 Chest X-Rays Big Stat */
.hc-stat-card-wrap {
  margin: 40px 0;
  background: linear-gradient(135deg, #0a0f1d 0%, #161024 100%);
  border: 1.5px solid rgba(132, 38, 176, 0.35);
  border-radius: 20px;
  padding: 48px 40px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.hc-big-stat {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  font-weight: 800;
  color: #e9d5ff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hc-big-stat-desc {
  max-width: 520px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #e2e8f0;
}

/* 4-Step Timeline */
.hc-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
  position: relative;
}

.hc-timeline-step {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.25s ease;
}

.hc-timeline-step:hover {
  transform: translateY(-3px);
  border-color: var(--brand-purple);
}

.hc-timeline-num {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brand-purple);
  margin-bottom: 8px;
}

.hc-timeline-title {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.hc-timeline-desc {
  font-size: 0.86rem;
  line-height: 1.58;
  color: var(--text-body);
  margin: 0;
}

/* Workflow Comparison Table */
.hc-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.hc-compare-col {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.hc-compare-col.ai {
  border-color: rgba(132, 38, 176, 0.35);
  background: #fdfcff;
}

.hc-compare-title {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hc-compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hc-compare-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
}

.hc-compare-bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.hc-compare-col.ai .hc-compare-bullet {
  background: rgba(132, 38, 176, 0.12);
  color: var(--brand-purple);
}

/* Pull Quote */
.hc-pullquote {
  margin: 44px 0 0;
  background: linear-gradient(135deg, rgba(132, 38, 176, 0.06) 0%, rgba(223, 65, 76, 0.04) 100%);
  border-left: 4px solid var(--brand-purple);
  border-radius: 0 16px 16px 0;
  padding: 28px 36px;
}

.hc-pullquote p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0;
}

/* Subtle Calcifications Disclaimer Card */
.hc-disclaimer-card {
  margin-top: 36px;
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.hc-disclaimer-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fef3c7;
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hc-disclaimer-text h4 {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 6px;
}

.hc-disclaimer-text p {
  font-size: 0.9rem;
  line-height: 1.62;
  color: #78350f;
  margin: 0;
}

/* 6 Complexity Cards */
.hc-complexity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.hc-complexity-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.hc-complexity-card h4 {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.hc-complexity-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

/* 7 Deliverables */
.hc-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.hc-deliverable-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.hc-deliverable-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(132, 38, 176, 0.12);
  color: var(--brand-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.hc-deliverable-content h4 {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.hc-deliverable-content p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0;
}

/* Tech Stack 4 Groups */
.hc-techstack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.hc-tech-group {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}

.hc-tech-group-title {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hc-tech-group-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 16px;
  background: var(--brand-purple);
  border-radius: 2px;
}

.hc-tech-group:nth-child(2) .hc-tech-group-title::before {
  background: var(--brand-fuchsia);
}

.hc-tech-group:nth-child(3) .hc-tech-group-title::before {
  background: var(--brand-coral);
}

.hc-tech-group:nth-child(4) .hc-tech-group-title::before {
  background: var(--brand-crimson, #c00380);
}

.hc-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hc-tech-pill {
  font-size: 0.82rem;
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  color: #334155;
  padding: 6px 14px;
  border-radius: 8px;
}

/* 3 Engineering Principles */
.hc-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.hc-principle-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
}

.hc-principle-num {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand-purple);
  line-height: 1;
  margin-bottom: 14px;
}

.hc-principle-title {
  font-family: 'Space Grotesk', var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.hc-principle-desc {
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--text-body);
  margin: 0;
}

/* ==========================================================================
   PART G: RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .hc-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hc-platforms-grid {
    grid-template-columns: 1fr;
  }
  .hc-grid-12 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hc-carousel-slide {
    flex: 0 0 85%;
  }
  .hc-ai-grid {
    grid-template-columns: 1fr;
  }
  .hc-diag-grid {
    grid-template-columns: 1fr;
  }
  .hc-deploy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hc-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hc-complexity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hc-principles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hc-hero {
    padding: 100px 0 60px;
  }
  .hc-grid-12 {
    grid-template-columns: 1fr;
  }
  .hc-carousel-slide {
    flex: 0 0 95%;
    transform: none;
    opacity: 1;
  }
  .hc-ai-support-cards {
    grid-template-columns: 1fr;
  }
  .hc-diag-features {
    grid-template-columns: 1fr;
  }
  .hc-foundations-grid {
    grid-template-columns: 1fr;
  }
  .hc-deploy-grid {
    grid-template-columns: 1fr;
  }
  .hc-facts-grid {
    grid-template-columns: 1fr;
  }
  .hc-phase-bar {
    grid-template-columns: 1fr;
  }
  .hc-side-by-side {
    grid-template-columns: 1fr;
  }
  .hc-timeline-grid {
    grid-template-columns: 1fr;
  }
  .hc-compare-grid {
    grid-template-columns: 1fr;
  }
  .hc-complexity-grid {
    grid-template-columns: 1fr;
  }
  .hc-techstack-grid {
    grid-template-columns: 1fr;
  }
  .hc-journey-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-left: 20px;
  }
  .hc-journey-step {
    flex-direction: row;
    gap: 14px;
    text-align: left;
    min-width: unset;
  }
  .hc-journey-node {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .hc-journey-connector {
    display: none;
  }
  .hc-journey-bands {
    grid-template-columns: 1fr;
  }
  .hc-stat-card-wrap {
    padding: 32px 24px;
  }
  .hc-disclaimer-card {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hc-h1 {
    font-size: 2.1rem;
  }
  .hc-h2 {
    font-size: 1.65rem;
  }
  .hc-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hc-hero-actions a {
    justify-content: center;
  }
  .hc-carousel-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

/* Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hc-carousel-slide {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
