/* ============================================================
   psychiatry.css — Use Cases: Psychiatry Residency Training
   ============================================================ */

/* ---- Shared tokens (local overrides / additions) ---- */
:root {
  --psyc-primary:           #447569;
  --psyc-secondary:         #1c5b5d;
  --psyc-dark-teal:         #03494b;
  --psyc-on-surface:        #1a1c1b;
  --psyc-on-surface-var:    #444846;
  --psyc-surface-low:       #eff5f1;
  --psyc-primary-container: #dcebe6;
  --psyc-outline:           #c4c7c5;
  --psyc-outline-primary:   #a0cdc0;
  --psyc-bg-tint:           #faf8f4;
}

/* ============================================================
   LAYOUT WRAPPERS
   ============================================================ */
.psyc-section {
  padding: 96px 144px;
}

.psyc-section-inner {
  max-width: 1152px;
  margin: 0 auto;
}

.psyc-section__heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.96px;
  color: var(--psyc-secondary);
  text-align: center;
  margin: 0 0 32px;
}

.psyc-section__intro {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: var(--psyc-on-surface);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

/* ============================================================
   HERO
   ============================================================ */
.psyc-hero {
  position: relative;
  width: 100%;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.psyc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(238, 245, 241, 0) 55%, rgb(238, 245, 241) 100%),
    radial-gradient(ellipse 100% 115% at 50% 32%,
      rgb(255, 253, 243) 0%,
      rgb(238, 245, 241) 51%,
      rgb(198, 224, 210) 100%
    );
}

/* Left yellow-green blob */
.psyc-hero__bg::before {
  content: '';
  position: absolute;
  width: 68%;
  height: 90%;
  left: -8%;
  top: -10%;
  border-radius: 50%;
  transform: rotate(25deg);
  filter: blur(50px);
  background: linear-gradient(175.44deg,
    rgba(247, 243, 113, 0.18) 12.89%,
    rgba(0, 188, 107, 0.18) 27.36%,
    rgba(0, 188, 107, 0) 50%
  );
}

/* Right yellow-green blob */
.psyc-hero__bg::after {
  content: '';
  position: absolute;
  width: 62%;
  height: 85%;
  right: -8%;
  top: -10%;
  border-radius: 50%;
  transform: rotate(155deg);
  filter: blur(50px);
  background: linear-gradient(147.56deg,
    rgba(247, 243, 113, 0.18) 24.89%,
    rgba(0, 188, 107, 0.18) 34.98%,
    rgba(0, 188, 107, 0) 50%
  );
}

.psyc-hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 64px 144px;
  text-align: center;
}

.psyc-hero__h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 64px;
  line-height: 76px;
  letter-spacing: -2.56px;
  color: rgba(3, 73, 75, 0.9);
  max-width: 1044px;
  margin: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.psyc-btn-primary {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  background: transparent;
  border-radius: 360px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.psyc-btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(93.6deg, #f99522 50%, #fee478 100%);
  backface-visibility: hidden;
  transform: translateZ(0);
}

.psyc-btn-primary--sm {
  padding: 16px 32px;
  font-size: 18px;
  line-height: 28px;
}

.psyc-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: transparent;
  border: 1px solid var(--psyc-primary);
  border-radius: 360px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: #1C4F44;
  text-decoration: none;
  white-space: nowrap;
}

.psyc-btn-outline--no-border {
  border: none;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.psyc-stats-section {
  background: #fff;
}

.psyc-stats-section__intro {
  max-width: 860px;
  opacity: 0.9;
}

.psyc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 896px;
  margin: 0 auto;
}

.psyc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px;
}

.psyc-stat__number {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: -0.8px;
  color: var(--psyc-primary);
  text-align: center;
}

.psyc-stat__label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #53606a;
  text-align: center;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ============================================================
   SCENARIO TABS SECTION
   ============================================================ */
.psyc-scenarios-section {
  background: #fff;
}

.psyc-tab-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.psyc-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 360px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  background: transparent;
  color: var(--psyc-on-surface);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.psyc-tab--active {
  background: var(--psyc-primary);
  color: #fff;
}

.psyc-tab:hover:not(.psyc-tab--active) {
  background: var(--psyc-primary-container);
}

/* Scenario content panels */
.psyc-scenario-content {
  display: none;
}

.psyc-scenario-content--active {
  display: flex;
  gap: 64px;
  align-items: center;
  padding-top: 16px;
}

.psyc-scenario-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.psyc-scenario-card {
  background: #fff;
  border: 1px solid var(--psyc-outline);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.psyc-scenario-card__title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  color: var(--psyc-secondary);
  margin: 0;
}

.psyc-scenario-card__text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--psyc-on-surface);
  margin: 0;
}

.psyc-skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.psyc-skills-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--psyc-on-surface);
}

.psyc-skills-list__item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 0;
}

/* Chat Mockup */
.psyc-chat-mockup {
  width: 498px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--psyc-outline);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.psyc-chat-mockup__titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--psyc-outline);
  background: #fff;
}

.psyc-chat-mockup__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.psyc-chat-mockup__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.psyc-chat-mockup__dot--red   { background: #ff6467; }
.psyc-chat-mockup__dot--yellow{ background: #ffb900; }
.psyc-chat-mockup__dot--green { background: #05df72; }

.psyc-chat-mockup__close {
  width: 16px; height: 16px;
}

.psyc-chat-mockup__patient {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--psyc-surface-low);
  background: #fff;
}

.psyc-chat-mockup__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--psyc-primary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--psyc-secondary);
  flex-shrink: 0;
}

.psyc-chat-mockup__patient-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.psyc-chat-mockup__patient-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  color: var(--psyc-on-surface);
}

.psyc-chat-mockup__patient-tags {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 15px;
  color: var(--psyc-on-surface-var);
}

.psyc-chat-mockup__messages {
  background: var(--psyc-surface-low);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.psyc-chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.psyc-chat-msg--patient { flex-direction: row; }
.psyc-chat-msg--therapist { flex-direction: row-reverse; }

.psyc-chat-msg__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--psyc-primary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 15px;
  color: var(--psyc-secondary);
  flex-shrink: 0;
}

.psyc-chat-msg__bubble {
  padding: 8px 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  max-width: 350px;
}

.psyc-chat-msg--patient .psyc-chat-msg__bubble {
  background: #f1f1ef;
  border-radius: 8px;
  color: #1c2b28;
}

.psyc-chat-msg--therapist .psyc-chat-msg__bubble {
  background: var(--psyc-primary);
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 1px 1.5px rgba(0,0,0,.1), 0 1px 1px rgba(0,0,0,.1);
}

.psyc-chat-mockup__input {
  background: #fff;
  border-top: 1px solid rgba(68,117,105,.15);
  padding: 16px;
}

.psyc-chat-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--psyc-outline);
  border-radius: 360px;
  padding: 9px 13px;
  background: #fff;
}

.psyc-chat-input-bar__placeholder {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #6b7b78;
}

.psyc-chat-input-bar__icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
}

.psyc-chat-input-bar__send {
  width: 24px; height: 24px;
  background: var(--psyc-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
}

.psyc-chat-input-bar__send img {
  width: 12px; height: 12px;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.psyc-compare-section {
  background: #fff;
}

.psyc-compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(68,117,105,.15);
  box-shadow: 0 4px 32px rgba(3,73,75,.08);
}

.psyc-compare-table thead tr {
  background: var(--psyc-dark-teal);
}

.psyc-compare-table thead th {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13.6px;
  color: #fff;
  padding: 17.5px 24px;
  text-align: left;
}

.psyc-compare-table thead th:first-child { width: 32%; }
.psyc-compare-table thead th:nth-child(2){ width: 38%; }
.psyc-compare-table thead th:last-child  { width: 30%; }

.psyc-compare-table tbody tr:nth-child(even) td {
  background: var(--psyc-bg-tint);
}

.psyc-compare-table tbody td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(68,117,105,.15);
  font-size: 13.6px;
  vertical-align: middle;
  background: #fff;
}

.psyc-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.psyc-compare-table tbody td:first-child {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #1a2320;
}

.psyc-compare-table tbody td:nth-child(2) {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #c0392b;
}

.psyc-compare-table tbody td:last-child {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--psyc-dark-teal);
}

.psyc-check {
  font-weight: 700;
  color: var(--psyc-primary);
  margin-right: 2px;
}

/* ============================================================
   AI SIMULATION LAB — FEATURE CARDS
   ============================================================ */
.psyc-features-section {
  background: #fff;
}

.psyc-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.psyc-feature-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--psyc-outline-primary);
  border-radius: 12px;
  background: #fff;
}

.psyc-feature-card__icon {
  width: 64px; height: 64px;
  background: var(--psyc-primary-container);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.psyc-feature-card__icon img {
  width: 32px; height: 32px;
}

.psyc-feature-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.psyc-feature-card__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--psyc-on-surface);
  margin: 0;
}

.psyc-feature-card__desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--psyc-on-surface);
  margin: 0;
}

/* ============================================================
   EVALUATION SECTION
   ============================================================ */
.psyc-eval-section {
  background: #fff;
}

.psyc-eval-row {
  display: flex;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.psyc-eval-row:last-child {
  margin-bottom: 0;
}

.psyc-eval-row__col {
  flex: 1;
  min-width: 0;
}

/* Evaluation report mockup */
.psyc-eval-report {
  border: 1px solid var(--psyc-outline);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
}

.psyc-eval-report__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--psyc-outline);
  background: #fff;
}

.psyc-eval-report__title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  color: #1c2b28;
}

.psyc-eval-report__subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--psyc-on-surface-var);
}

.psyc-eval-report__score-wrap {
  text-align: right;
}

.psyc-eval-report__score {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.48px;
  color: var(--psyc-primary);
}

.psyc-eval-report__score-label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: var(--psyc-on-surface-var);
}

.psyc-eval-report__body {
  display: flex;
  gap: 24px;
  padding: 20px;
}

.psyc-eval-rubrics {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.psyc-rubric-row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--psyc-on-surface);
}

.psyc-rubric-row span:first-child { flex: 1; }

.psyc-rubric-row--1 { background: #faefec; }
.psyc-rubric-row--2 { background: #9ba6ee; }
.psyc-rubric-row--3 { background: #fae9f4; }
.psyc-rubric-row--4 { background: #edf2e9; }
.psyc-rubric-row--5 { background: #e6e5ef; }
.psyc-rubric-row--6 { background: #fff8e3; }
.psyc-rubric-row--7 { background: #fff1e1; }

.psyc-eval-detail {
  flex: 1;
  background: #eceefc;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--psyc-on-surface);
}

.psyc-eval-detail__title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

.psyc-eval-detail__text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
}

.psyc-eval-report__notes {
  margin: 0 20px 20px;
  background: var(--psyc-surface-low);
  border-left: 4px solid var(--psyc-secondary);
  border-radius: 8px;
  padding: 16px 16px 16px 20px;
}

.psyc-eval-report__notes-label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--psyc-on-surface);
  margin-bottom: 8px;
}

.psyc-eval-report__notes-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--psyc-on-surface);
}

/* Eval right-side feature list */
.psyc-eval-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -1.28px;
  color: var(--psyc-on-surface);
  margin: 0 0 12px;
}

.psyc-eval-intro {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: var(--psyc-on-surface);
  margin: 0 0 48px;
}

.psyc-feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.psyc-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 13px 17px;
  border: 1px solid var(--psyc-outline);
  border-radius: 10px;
  background: #fff;
}

.psyc-feature-item img {
  width: 24px; height: 24px;
  flex-shrink: 0;
}

.psyc-feature-item__label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  color: var(--psyc-on-surface);
}

/* Icon above feedback card */
.psyc-feedback-card__icon-above {
  display: flex;
  justify-content: flex-start;
  padding-left: 25px;
  margin-bottom: 24px;
}

/* Transcript feedback card */
.psyc-feedback-card {
  background: #fff;
  border: 1px solid var(--psyc-outline);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(68,117,105,.12);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.psyc-feedback-card__lines {
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0.6;
}

.psyc-feedback-card__line {
  height: 16px;
  border-radius: 9999px;
  background: #f1f1ef;
}

.psyc-feedback-card__line--highlight {
  background: rgba(43,92,81,.1);
  position: relative;
}

.psyc-feedback-card__line--highlight::after {
  content: '';
  position: absolute;
  right: -16px;
  top: -8px;
  width: 32px; height: 32px;
  background: var(--psyc-primary);
  border: 2px solid #fff;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.33333 7H9.33333V5.83333H2.33333V7ZM2.33333 5.25H9.33333V4.08333H2.33333V5.25ZM2.33333 3.5H9.33333V2.33333H2.33333V3.5ZM11.6667 11.6667L9.33333 9.33333H1.16667C0.845833 9.33333 0.571181 9.2191 0.342708 8.99063C0.114236 8.76215 0 8.4875 0 8.16667V1.16667C0 0.845833 0.114236 0.571181 0.342708 0.342708C0.571181 0.114236 0.845833 0 1.16667 0H10.5C10.8208 0 11.0955 0.114236 11.324 0.342708C11.5524 0.571181 11.6667 0.845833 11.6667 1.16667V11.6667ZM1.16667 8.16667H9.82917L10.5 8.82292V1.16667H1.16667V8.16667ZM1.16667 8.16667V1.16667V8.16667Z' fill='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.psyc-feedback-card__note {
  background: var(--psyc-surface-low);
  border-left: 4px solid var(--psyc-secondary);
  border-radius: 8px;
  padding: 16px 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.psyc-feedback-card__note-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--psyc-secondary);
}

.psyc-feedback-card__note-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--psyc-on-surface);
}

/* Score circles */
.psyc-score-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.psyc-score-card {
  background: #fff;
  border: 1px solid var(--psyc-outline);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(68,117,105,.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* SVG-based circular progress ring */
.psyc-score-card__circle {
  width: 96px; height: 96px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.psyc-score-circle-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.psyc-score-circle-track {
  fill: none;
  stroke: #F1F1EF;
  stroke-width: 8;
  stroke-linecap: round;
}

.psyc-score-circle-fill {
  fill: none;
  stroke: var(--psyc-secondary);
  stroke-width: 8;
  stroke-linecap: round;
}

.psyc-score-card__circle-value {
  position: relative;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--psyc-on-surface);
}

.psyc-score-card__label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--psyc-on-surface);
  text-align: center;
}

/* Custom rubric mini-cards */
.psyc-rubric-tags {
  display: flex;
  gap: 16px;
}

.psyc-rubric-tag {
  flex: 1;
  border: 1px solid var(--psyc-outline);
  border-radius: 12px;
  padding: 17px;
}

.psyc-rubric-tag__title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--psyc-primary);
  margin: 0 0 8px;
}

.psyc-rubric-tag__sub {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--psyc-on-surface-var);
  margin: 0;
}

/* ============================================================
   LEARNING CYCLE
   ============================================================ */
.psyc-cycle-section {
  background: #fff;
}

.psyc-cycle {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.psyc-cycle::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 81px;
  width: calc(100% - 162px);
  height: 1px;
  background: var(--psyc-outline);
  z-index: 0;
}

.psyc-cycle__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.psyc-cycle__number {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--psyc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: -0.8px;
  color: #fff;
  flex-shrink: 0;
}

.psyc-cycle__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--psyc-primary);
  margin: 0;
}

.psyc-cycle__desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: var(--psyc-on-surface);
  margin: 0;
}

/* ============================================================
   FAQ SECTION
   — item styles come from resource-hub.css (.faq-item*)
   ============================================================ */
.psyc-faq-section {
  background: #fff;
}

.psyc-faq-list {
  width: 100%;
}

.psyc-faq-list .faq-item {
  border-bottom-color: #c4c7c5;
  padding: 32px 0;
}

/* tighten question font to match psychiatry heading scale */
.psyc-faq-list .faq-item__q {
  font-size: 20px;
  line-height: 28px;
}

.psyc-faq-list .faq-item__row {
  gap: 16px;
  padding: 0 0 0 12px;
}

.psyc-faq-list .faq-item__toggle {
  color: #1a1c1b;
}

.psyc-faq-list .faq-item__toggle::before {
  content: "";
}

.psyc-faq-list .faq-item--open .faq-item__toggle::after {
  opacity: 0;
}

.psyc-faq-list .faq-item__panel {
  max-width: none;
  font-size: 16px;
  line-height: 24px;
  margin-top: 16px;
  padding: 0 12px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.psyc-cta-section {
  padding: 96px 144px 160px;
  position: relative;
}

.psyc-cta-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.psyc-cta-section__bg::before {
  content: '';
  position: absolute;
  top: 38%; left: 50%;
  transform: translate(-50%, -50%) rotate(-23.37deg);
  width: 382px; height: 248px;
  background: radial-gradient(circle, rgba(157,237,193,1) 0%, rgba(143,231,182,.3) 100%);
  filter: blur(50px);
}

.psyc-cta-section__bg::after {
  content: '';
  position: absolute;
  top: 42%; left: 30%;
  width: 190px; height: 276px;
  background: linear-gradient(175deg, rgba(244,225,79,.3) 13%, rgba(229,253,106,.3) 27%);
  transform: rotate(-38.53deg);
  filter: blur(50px);
}

.psyc-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px 16px;
}

.psyc-cta__heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.96px;
  color: var(--psyc-secondary);
  margin: 0;
}

.psyc-cta__text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #1c4f44;
  max-width: 750px;
  margin: 0;
}

.psyc-cta__buttons {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ============================================================
   RESPONSIVE — TABLET  (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .psyc-section {
    padding: 64px 40px;
  }

  .psyc-hero__content {
    padding: 48px 40px;
  }

  .psyc-hero__h1 {
    font-size: 44px;
    line-height: 54px;
    letter-spacing: -1.5px;
  }

  .psyc-section__heading {
    font-size: 36px;
    line-height: 44px;
  }

  /* Stats: 2×2 */
  .psyc-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Tabs: scrollable row */
  .psyc-tab-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    padding-bottom: 4px;
  }
  .psyc-tab-list::-webkit-scrollbar {
    display: none;
  }

  /* Scenario panel: stack */
  .psyc-scenario-content--active {
    flex-direction: column;
    gap: 32px;
  }

  .psyc-chat-mockup {
    width: 100%;
  }

  /* Compare table: horizontal scroll */
  .psyc-compare-section .psyc-section-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .psyc-compare-table {
    min-width: 620px;
  }

  /* Features: 2 columns */
  .psyc-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Eval rows: stack */
  .psyc-eval-row {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 48px;
  }

  .psyc-eval-heading {
    font-size: 26px;
    line-height: 32px;
  }

  .psyc-eval-intro {
    font-size: 17px;
    line-height: 26px;
    margin-bottom: 32px;
  }

  /* Rubric tags: 2 columns */
  .psyc-rubric-tags {
    flex-wrap: wrap;
  }
  .psyc-rubric-tag {
    flex: 1 1 calc(50% - 8px);
  }

  /* Learning cycle: vertical */
  .psyc-cycle {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  /* connector runs through the center of the 64px number circles (left: 32px) */
  .psyc-cycle::before {
    top: 48px;          /* 16px step padding + 32px half of 64px circle */
    left: 32px;         /* center of 64px number circle */
    width: 1px;
    height: calc(100% - 96px);   /* top-center to bottom-center of first/last numbers */
    transform: none;
  }

  .psyc-cycle__step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    padding: 16px 0;
    width: 100%;
  }

  .psyc-cycle__number {
    width: 64px;
    height: 64px;
    font-size: 28px;
    line-height: 36px;
    flex-shrink: 0;
  }

  .psyc-cycle__title {
    margin-top: 4px;
  }

  /* CTA */
  .psyc-cta-section {
    padding: 64px 40px 96px;
  }

  .psyc-cta__heading {
    font-size: 36px;
    line-height: 44px;
  }

  .psyc-cta__text {
    font-size: 17px;
    line-height: 26px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE  (≤ 560px)
   ============================================================ */
@media (max-width: 560px) {
  .psyc-section {
    padding: 48px 20px;
  }

  .psyc-hero {
    min-height: unset;
  }

  .psyc-hero__content {
    padding: 40px 20px 56px;
    gap: 32px;
  }

  .psyc-hero__h1 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -1px;
  }

  .psyc-section__heading {
    font-size: 28px;
    line-height: 36px;
    letter-spacing: -0.5px;
  }

  .psyc-section__intro {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 32px;
  }

  /* Stats: still 2×2 but tighter */
  .psyc-stats {
    gap: 16px;
  }

  .psyc-stat__number {
    font-size: 32px;
    line-height: 40px;
  }

  .psyc-stat__label {
    font-size: 12px;
    line-height: 18px;
  }

  /* Primary button: full width on hero */
  .psyc-hero__content .psyc-btn-primary {
    width: 100%;
    font-size: 17px;
    padding: 16px 24px;
  }

  /* Features: single column */
  .psyc-features-grid {
    grid-template-columns: 1fr;
  }

  /* Eval report body: stack internally */
  .psyc-eval-report__body {
    flex-direction: column;
  }

  /* Score cards: stay 2 cols but smaller circles */
  .psyc-score-card__circle {
    width: 80px;
    height: 80px;
  }

  .psyc-score-card__circle-inner {
    width: 62px;
    height: 62px;
    font-size: 17px;
  }

  /* Rubric tags: single column */
  .psyc-rubric-tags {
    flex-direction: column;
  }

  .psyc-rubric-tag {
    flex: 1 1 auto;
  }

  /* CTA */
  .psyc-cta-section {
    padding: 48px 20px 72px;
  }

  .psyc-cta__heading {
    font-size: 28px;
    line-height: 36px;
  }

  .psyc-cta__text {
    font-size: 16px;
    line-height: 24px;
  }

  .psyc-cta__buttons {
    flex-direction: column;
    width: 100%;
  }

  .psyc-cta__buttons .psyc-btn-primary,
  .psyc-cta__buttons .psyc-btn-outline {
    width: 100%;
    justify-content: center;
  }
}
