/*
 * medicalcare.css
 * Styles specific to medicalcare.html
 * Inherits CSS variables and base styles from projects.css
 * No inline styles. No new frameworks.
 */

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */

.mc-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

main > .container:first-child {
  padding: 0.9rem 2rem 0.6rem;
}

.mc-section {
  padding: 3rem 0;
}

.mc-section-alt {
  background: var(--bg);
}

.mc-section:not(.mc-section-alt) {
  background: #ffffff;
}


/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.mc-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
}

.mc-section-intro {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 720px;
  margin-bottom: 1.25rem;
}


/* ============================================================
   HERO
   ============================================================ */

.mc-hero {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 1.8rem 0 2rem;
}

.mc-hero .eyebrow {
  display: block;
  width: fit-content;
  background: transparent;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0;
  border-radius: 0;
  margin-bottom: 0.55rem;
}

.mc-hero-inner {
  max-width: 760px;
}

.mc-hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.mc-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0;
}

.mc-hero-badge {
  position: static;
  flex-shrink: 0;
}

.mc-hero-value-prop {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 0.55rem;
}

.mc-hero-audience {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.mc-hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.mc-btn-primary {
  background: var(--purple);
  color: #ffffff;
  border: 2px solid var(--purple);
}

.mc-btn-primary:hover {
  background: var(--purple-mid);
  border-color: var(--purple-mid);
}

.mc-btn-primary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.mc-btn-secondary {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}

.mc-btn-secondary:hover {
  background: var(--purple-light);
}

.mc-btn-secondary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}


/* ============================================================
   PRODUCT WALKTHROUGH VIDEO
   ============================================================ */

.mc-video-section {
  background: #ffffff;
  padding: 2.5rem 0 3rem;
}

.mc-video-header {
  max-width: 720px;
}

.mc-video-shell {
  width: 70%;
  max-width: 760px;
  min-width: 360px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.75rem;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(75, 0, 130, 0.1);
  overflow: hidden;
}

.mc-walkthrough-video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: var(--bg);
}


/* ============================================================
   PROBLEM SECTION
   ============================================================ */

.mc-problem-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.mc-problem-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.mc-problem-marker {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple);
  margin-top: 0.45rem;
}

.mc-problem-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.18rem;
}

.mc-problem-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}


/* ============================================================
   SOLUTION SECTION
   ============================================================ */

.mc-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.mc-solution-point {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mc-solution-icon {
  font-size: 1.15rem;
  color: var(--purple);
  line-height: 1;
}

.mc-solution-point strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.18rem;
}

.mc-solution-point p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}


/* ============================================================
   CORE MODULES
   ============================================================ */

.mc-modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.mc-module-card-wide {
  grid-column: 1 / -1;
}

.mc-module-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.15rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.mc-module-card:hover {
  box-shadow: 0 6px 20px rgba(75, 0, 130, 0.08);
  transform: translateY(-2px);
}

.mc-module-icon {
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.mc-module-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.mc-module-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}


/* ============================================================
   WORKFLOW SECTION
   ============================================================ */

.mc-workflow-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
}

.mc-workflow-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.mc-workflow-step:last-child {
  border-bottom: none;
}

.mc-step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--purple-light);
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.mc-step-content strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.18rem;
}

.mc-step-content p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}


/* ============================================================
   TECHNICAL HIGHLIGHTS
   ============================================================ */

.mc-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.mc-tech-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.95rem 1.15rem;
}

.mc-tech-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.22rem;
}

.mc-tech-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.mc-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mc-tag {
  background: var(--tag-bg);
  color: var(--tag-color);
  border-radius: 999px;
  padding: 0.23rem 0.62rem;
  font-size: 0.75rem;
  font-weight: 600;
}


/* ============================================================
   CLOSING CTA
   ============================================================ */

.mc-cta-section {
  background: #ffffff;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.mc-cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mc-cta-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.025em;
  margin-bottom: 0.35rem;
}

.mc-cta-sub {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.mc-cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.mc-cta-section .mc-btn-primary {
  background: var(--purple-light);
  color: var(--purple);
  border-color: var(--purple-light);
  box-shadow: 0 6px 18px rgba(75, 0, 130, 0.12);
}

.mc-cta-section .mc-btn-primary:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: #ffffff;
}

.mc-cta-section .mc-btn-secondary {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}

.mc-cta-section .mc-btn-secondary:hover {
  background: var(--purple-light);
  border-color: var(--purple);
}

.mc-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple);
  text-decoration: none;
  text-underline-offset: 3px;
}

.mc-contact-link:hover {
  color: var(--purple-mid);
  text-decoration: underline;
}

.mc-contact-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}


/* ============================================================
   RESPONSIVE - TABLET (max 768px)
   ============================================================ */

@media (max-width: 768px) {
  main > .container:first-child {
    padding: 0.75rem 1.5rem 0.45rem;
  }

  .mc-hero {
    padding: 2rem 0 1.75rem;
  }

  .mc-hero-title {
    font-size: 2.25rem;
  }

  .mc-section {
    padding: 2.35rem 0;
  }

  .mc-section-title {
    font-size: 1.5rem;
  }

  .mc-section-intro {
    margin-bottom: 1.15rem;
  }

  .mc-video-shell {
    width: 85%;
    max-width: 700px;
    min-width: 0;
  }

  .mc-solution-grid {
    grid-template-columns: 1fr;
  }

  .mc-modules-grid {
    grid-template-columns: 1fr;
  }

  .mc-module-card-wide {
    grid-column: auto;
  }

  .mc-tech-grid {
    grid-template-columns: 1fr;
  }

  .mc-cta-title {
    font-size: 1.35rem;
  }
}


/* ============================================================
   RESPONSIVE - MOBILE (max 480px)
   ============================================================ */

@media (max-width: 480px) {
  .mc-container {
    padding: 0 1rem;
  }

  main > .container:first-child {
    padding: 0.65rem 1rem 0.35rem;
  }

  .mc-hero {
    padding: 1.75rem 0 1.5rem;
  }

  .mc-hero-title {
    font-size: 1.9rem;
  }

  .mc-hero-badge-wrap {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .mc-hero-value-prop {
    font-size: 0.975rem;
  }

  .mc-hero-actions {
    flex-direction: column;
  }

  .mc-btn {
    width: 100%;
    justify-content: center;
  }

  .mc-section {
    padding: 2rem 0;
  }

  .mc-section-title {
    font-size: 1.3rem;
  }

  .mc-section-intro {
    margin-bottom: 1rem;
  }

  .mc-video-shell {
    width: 100%;
    max-width: none;
    padding: 0.5rem;
  }

  .mc-cta-section {
    padding: 1.4rem 0 2rem;
  }

  .mc-cta-inner {
    padding: 0;
  }

  .mc-workflow-step {
    gap: 0.875rem;
    padding: 0.8rem 0;
  }

  .mc-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .mc-cta-section .mc-btn {
    width: 100%;
    max-width: 300px;
  }
}
