:root {
  --green-950: #06210a;
  --green-900: #0b3410;
  --green-800: #0f4a15;
  --green-700: #00790e;
  --green-600: #00aa13;
  --green-500: #00c519;
  --green-400: #2ed94b;
  --green-300: #7de896;
  --green-200: #b3f2c1;
  --green-100: #dcf9e2;
  --green-50: #f0fcf2;
  --ink: #0b1f0d;
  --muted: #5b6b5e;
  --line: #dcefdc;
  --white: #ffffff;
  --warning: #e6a944;
  --danger: #d86b61;
  --shadow: 0 22px 60px rgba(23, 89, 35, 0.12);
  --shadow-sm: 0 12px 35px rgba(23, 89, 35, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

svg {
  display: block;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(214, 236, 218, 0.78);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 35px rgba(19, 77, 30, 0.08);
}

.nav-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 130px;
}

.brand-mark {
  width: 42px;
  height: 42px;
}

.brand-mark svg rect {
  fill: var(--green-600);
}

.brand-mark svg path {
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
}

.brand > span:last-child {
  display: flex;
  align-items: baseline;
  gap: 5px;
  line-height: 1;
}

.brand strong {
  font-size: 22px;
  color: var(--green-900);
  letter-spacing: -0.04em;
}

.brand small {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 700;
  color: #4f6b64;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--green-700);
}

.main-nav .nav-cta {
  color: var(--white);
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--green-700);
  box-shadow: 0 8px 24px rgba(38, 128, 55, 0.22);
}

.main-nav .nav-cta:hover {
  color: var(--white);
  background: var(--green-800);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--green-100);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 9px;
  background: var(--green-800);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 820px;
  padding: 150px 0 92px;
  background:
    radial-gradient(circle at 76% 20%, rgba(164, 233, 177, 0.34), transparent 30%),
    linear-gradient(180deg, var(--green-50), #fff 88%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(72, 157, 88, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 157, 88, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.hero-ornament {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-ornament-one {
  width: 460px;
  height: 460px;
  top: 70px;
  right: -220px;
  border: 1px solid rgba(66, 166, 84, 0.18);
}

.hero-ornament-two {
  width: 310px;
  height: 310px;
  left: -170px;
  bottom: 90px;
  border: 50px solid rgba(177, 231, 187, 0.18);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green-700);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 5px rgba(84, 190, 103, 0.15);
}

.hero h1 {
  margin: 22px 0;
  max-width: 620px;
  font-size: clamp(44px, 5.2vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.058em;
  color: var(--green-950);
}

.hero h1 span {
  color: var(--green-600);
}

.hero-copy > p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--green-700);
  box-shadow: 0 14px 28px rgba(38, 128, 55, 0.24);
}

.btn-primary:hover {
  background: var(--green-800);
  box-shadow: 0 17px 34px rgba(38, 128, 55, 0.3);
}

.btn-secondary {
  color: var(--green-800);
  border: 1px solid var(--green-200);
  background: rgba(255, 255, 255, 0.8);
}

.hero-trust {
  display: flex;
  gap: 34px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-item strong {
  color: var(--green-900);
  font-size: 17px;
}

.trust-item span {
  color: #789089;
  font-size: 12px;
}

.hero-visual {
  position: relative;
  padding: 34px 0 28px;
}

.dashboard-window {
  overflow: hidden;
  min-height: 492px;
  border: 1px solid rgba(180, 224, 188, 0.85);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 40px 90px rgba(25, 96, 38, 0.18);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.window-bar {
  height: 58px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #e7f0ed;
}

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

.window-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d4e4df;
}

.window-bar > span {
  color: #7a908a;
  font-size: 12px;
  font-weight: 700;
}

.window-profile {
  justify-self: end;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--green-800);
  background: var(--green-100);
  font-size: 10px;
  font-weight: 900;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 64px 1fr;
  min-height: 434px;
}

.mini-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  background: var(--green-900);
}

.mini-logo {
  width: 31px;
  height: 31px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--green-900);
  background: var(--green-300);
  font-size: 13px;
  font-weight: 900;
}

.mini-sidebar span {
  width: 23px;
  height: 23px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.mini-sidebar span.active {
  background: var(--green-400);
  box-shadow: 0 0 0 5px rgba(118, 210, 135, 0.1);
}

.dashboard-content {
  padding: 27px 25px 22px;
  background: #f8fcfa;
}

.dash-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-heading small,
.dash-heading h3 {
  display: block;
}

.dash-heading small {
  color: #8ca19b;
  font-size: 10px;
}

.dash-heading h3 {
  margin: 2px 0 0;
  color: var(--green-950);
  font-size: 19px;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green-700);
  background: var(--green-100);
  font-size: 9px;
  font-weight: 800;
}

.live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 4px rgba(84, 190, 103, 0.13);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.metric-card {
  min-height: 112px;
  padding: 14px;
  border: 1px solid #e5f0ec;
  border-radius: 16px;
  background: #fff;
}

.metric-icon {
  width: 27px;
  height: 27px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--green-700);
  background: var(--green-100);
  font-size: 10px;
  font-weight: 900;
}

.metric-card span,
.metric-card strong {
  display: block;
}

.metric-card span {
  color: #7e948e;
  font-size: 9px;
}

.metric-card strong {
  margin-top: 1px;
  color: var(--green-950);
  font-size: 20px;
}

.metric-card strong small {
  color: #9fb1ac;
  font-size: 10px;
}

.dash-panels {
  display: grid;
  grid-template-columns: 1.32fr 0.68fr;
  gap: 12px;
  margin-top: 13px;
}

.schedule-panel,
.activity-panel {
  padding: 15px;
  border: 1px solid #e5f0ec;
  border-radius: 16px;
  background: #fff;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.panel-title strong {
  font-size: 11px;
}

.panel-title span {
  color: #91a49f;
  font-size: 8px;
}

.shift-row {
  display: grid;
  grid-template-columns: 29px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid #eff4f2;
}

.avatar {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--green-800);
  background: var(--green-100);
  font-size: 8px;
  font-weight: 900;
}

.shift-row div strong,
.shift-row div span {
  display: block;
}

.shift-row div strong {
  font-size: 8.5px;
}

.shift-row div span {
  color: #8a9f99;
  font-size: 7px;
}

.status {
  padding: 4px 6px;
  border-radius: 999px;
  font-size: 6.5px;
}

.status.on {
  color: var(--green-800);
  background: var(--green-100);
}

.status.break {
  color: #8b6d25;
  background: #fff5d9;
}

.status.late {
  color: #ae4f47;
  background: #fff0ed;
}

.activity-panel {
  display: flex;
  flex-direction: column;
}

.activity-chart {
  flex: 1;
  min-height: 120px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 5px;
  padding: 12px 3px 5px;
  border-bottom: 1px solid #edf3f1;
}

.activity-chart span {
  flex: 1;
  min-width: 7px;
  max-width: 13px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--green-400), var(--green-600));
}

.activity-panel > small {
  margin-top: 8px;
  color: #93a69f;
  font-size: 7px;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid rgba(188, 225, 195, 0.9);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  animation: float 4.5s ease-in-out infinite;
}

.floating-card.attendance {
  left: -35px;
  bottom: -2px;
}

.floating-card.handover {
  right: -22px;
  top: 0;
  animation-delay: -2.2s;
}

.floating-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 900;
}

.floating-icon.check {
  color: var(--green-800);
  background: var(--green-100);
}

.floating-icon.note {
  color: #936f19;
  background: #fff4d8;
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  font-size: 10px;
}

.floating-card small {
  color: #849b95;
  font-size: 8px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.logo-strip {
  padding: 23px 0;
  border-top: 1px solid #e8f1ee;
  border-bottom: 1px solid #e8f1ee;
  background: #fff;
}

.logo-strip .container {
  display: flex;
  align-items: center;
  gap: 45px;
}

.logo-strip p {
  flex: 0 0 auto;
  margin: 0;
  color: #8ca09b;
  font-size: 12px;
  font-weight: 700;
}

.clinic-types {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.clinic-types span {
  color: #6f8781;
  font-size: 12px;
  font-weight: 800;
}

.section {
  padding: 108px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 48px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 15px 0 15px;
  color: var(--green-950);
  font-size: clamp(34px, 4vw, 51px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.pain-section {
  background: #fff;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pain-card {
  position: relative;
  min-height: 310px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid #e1eee9;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #fbfefd);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pain-card:hover {
  transform: translateY(-7px);
  border-color: var(--green-300);
  box-shadow: var(--shadow-sm);
}

.pain-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -55px;
  bottom: -65px;
  border-radius: 50%;
  background: var(--green-100);
}

.card-number {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #bed5ce;
  font-size: 12px;
  font-weight: 900;
}

.icon-box {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--green-700);
  background: var(--green-100);
}

.icon-box svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pain-card h3 {
  margin: 30px 0 12px;
  color: var(--green-950);
  font-size: 20px;
  line-height: 1.35;
}

.pain-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.workflow-section {
  overflow: hidden;
  background: var(--green-50);
}

.workflow {
  position: relative;
  max-width: 930px;
  margin: 0 auto;
  padding: 10px 0;
}

.workflow-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(var(--green-300), var(--green-600), var(--green-300));
}

.workflow-item {
  position: relative;
  width: 50%;
  padding: 0 58px 44px 0;
}

.workflow-item:nth-child(odd) {
  margin-left: 50%;
  padding: 0 0 44px 58px;
}

.workflow-step {
  position: absolute;
  top: 0;
  right: -23px;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 6px solid var(--green-50);
  border-radius: 50%;
  color: #fff;
  background: var(--green-700);
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 7px 17px rgba(36, 122, 52, 0.24);
}

.workflow-item:nth-child(odd) .workflow-step {
  right: auto;
  left: -23px;
}

.workflow-card {
  padding: 27px;
  border: 1px solid #d9ebe5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(36, 104, 48, 0.06);
}

.workflow-label,
.mini-label {
  display: block;
  margin-bottom: 8px;
  color: var(--green-600);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.workflow-card h3 {
  margin: 0 0 10px;
  color: var(--green-950);
  font-size: 21px;
  line-height: 1.3;
}

.workflow-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.workflow-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.workflow-card li {
  position: relative;
  padding: 6px 0 6px 20px;
  color: #4f6a63;
  font-size: 12px;
}

.workflow-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 900;
}

.features-section {
  background: #fff;
}

.feature-tabs {
  overflow: hidden;
  border: 1px solid #dcebe6;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
}

.tab-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px;
  border-bottom: 1px solid #e5efec;
  background: var(--green-50);
}

.tab-btn {
  min-height: 52px;
  padding: 0 15px;
  border: 0;
  border-radius: 14px;
  color: #6b817b;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.tab-btn.active {
  color: var(--green-800);
  background: #fff;
  box-shadow: 0 8px 22px rgba(32, 112, 47, 0.09);
}

.tab-content {
  display: none;
  grid-template-columns: 1fr 1fr;
  min-height: 410px;
  align-items: center;
}

.tab-content.active {
  display: grid;
  animation: fadeUp 0.4s ease;
}

.tab-copy {
  padding: 56px;
}

.tab-copy h3 {
  margin: 0 0 16px;
  color: var(--green-950);
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.tab-copy > p {
  margin: 0;
  color: var(--muted);
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 27px;
}

.check-list span {
  position: relative;
  padding-left: 25px;
  color: #4e6862;
  font-size: 13px;
  font-weight: 700;
}

.check-list span::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-800);
  background: var(--green-100);
  font-size: 9px;
  font-weight: 900;
}

.tab-visual {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 45px;
  background:
    radial-gradient(circle at 70% 25%, rgba(144, 223, 158, 0.34), transparent 38%),
    var(--green-50);
}

.profile-panel,
.calendar-panel,
.task-panel,
.report-panel {
  width: 100%;
  max-width: 430px;
  padding: 22px;
  border: 1px solid rgba(200, 230, 206, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 25px 50px rgba(31, 100, 44, 0.13);
}

.profile-top {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e9f1ee;
}

.profile-avatar {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--green-800);
  background: var(--green-100);
  font-size: 14px;
  font-weight: 900;
}

.profile-top div strong,
.profile-top div span {
  display: block;
}

.profile-top div strong {
  font-size: 13px;
}

.profile-top div span {
  color: #839991;
  font-size: 10px;
}

.profile-top b {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green-800);
  background: var(--green-100);
  font-size: 8px;
}

.document-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 15px 0;
  border-bottom: 1px solid #edf3f1;
}

.document-row:last-child {
  border-bottom: 0;
}

.document-row span {
  font-size: 12px;
  font-weight: 800;
}

.document-row strong {
  color: var(--green-700);
  font-size: 9px;
}

.document-row small {
  grid-column: 1 / -1;
  color: #92a59f;
  font-size: 9px;
}

.document-row.warning strong {
  color: #a97616;
}

.calendar-head,
.task-head,
.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-head strong,
.task-head strong,
.report-head strong {
  font-size: 14px;
}

.calendar-head span,
.task-head span,
.report-head span {
  color: #829890;
  font-size: 10px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-grid.labels span {
  padding-bottom: 7px;
  color: #93a69f;
  text-align: center;
  font-size: 8px;
  font-weight: 800;
}

.calendar-grid.days span {
  min-height: 43px;
  padding: 7px 5px;
  border-radius: 10px;
  background: #f7fbf9;
  color: #607771;
  font-size: 9px;
}

.calendar-grid.days span.today {
  color: #fff;
  background: var(--green-700);
}

.calendar-grid.days i {
  display: block;
  margin-top: 4px;
  color: var(--green-600);
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
}

.calendar-grid.days .today i {
  color: var(--green-200);
}

.task-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 11px;
  padding: 13px 0;
  border-bottom: 1px solid #edf3f1;
}

.task-item:last-child {
  border-bottom: 0;
}

.task-item i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--green-800);
  background: var(--green-100);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.task-item div strong,
.task-item div span {
  display: block;
}

.task-item div strong {
  font-size: 11px;
}

.task-item div span {
  color: #8aa098;
  font-size: 8px;
}

.task-item.alert i {
  color: #a56532;
  background: #fff0df;
}

.report-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 18px;
}

.report-head {
  grid-column: 1 / -1;
  margin-bottom: 5px;
}

.donut {
  position: relative;
  width: 155px;
  height: 155px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--green-600) 0 84%, var(--green-300) 84% 96%, #e7efec 96% 100%);
}

.donut::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: #fff;
}

.donut div {
  position: relative;
  z-index: 1;
  text-align: center;
}

.donut strong,
.donut span {
  display: block;
}

.donut strong {
  color: var(--green-900);
  font-size: 27px;
}

.donut span {
  color: #8ca09a;
  font-size: 8px;
}

.report-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-legend span {
  display: grid;
  grid-template-columns: 9px 1fr auto;
  align-items: center;
  gap: 7px;
  color: #687e78;
  font-size: 9px;
}

.report-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-600);
}

.report-legend span:nth-child(2) i {
  background: var(--green-300);
}

.report-legend span:nth-child(3) i {
  background: #e7efec;
}

.report-legend b {
  color: var(--green-900);
}

.feature-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 23px;
}

.mini-feature {
  min-height: 175px;
  padding: 23px;
  border: 1px solid #e1eee9;
  border-radius: 20px;
  background: #fff;
}

.mini-feature b {
  display: block;
  color: var(--green-500);
  font-size: 11px;
}

.mini-feature strong {
  display: block;
  margin: 22px 0 7px;
  color: var(--green-950);
  font-size: 16px;
}

.mini-feature span {
  color: var(--muted);
  font-size: 12px;
}

.dashboard-section {
  background: var(--green-900);
}

.dashboard-showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 68px;
}

.showcase-copy .eyebrow {
  color: var(--green-300);
}

.showcase-copy h2 {
  margin: 17px 0;
  color: #fff;
  font-size: clamp(35px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.showcase-copy > p {
  margin: 0;
  color: #bdd6cf;
}

.benefit-list {
  display: grid;
  gap: 17px;
  margin-top: 32px;
}

.benefit-list > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: start;
  gap: 13px;
}

.benefit-list i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--green-900);
  background: var(--green-300);
  font-style: normal;
  font-weight: 900;
}

.benefit-list strong,
.benefit-list small {
  display: block;
}

.benefit-list strong {
  color: #fff;
  font-size: 14px;
}

.benefit-list small {
  margin-top: 3px;
  color: #a9c7bf;
  font-size: 11px;
}

.showcase-card {
  padding: 30px;
  border: 1px solid rgba(180, 226, 188, 0.2);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 35px 80px rgba(4, 35, 10, 0.25);
}

.showcase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.showcase-top small,
.showcase-top strong {
  display: block;
}

.showcase-top small {
  color: #8ca19a;
  font-size: 10px;
}

.showcase-top strong {
  margin-top: 3px;
  color: var(--green-950);
  font-size: 17px;
}

.showcase-top > span {
  padding: 8px 11px;
  border-radius: 10px;
  color: var(--green-700);
  background: var(--green-100);
  font-size: 9px;
  font-weight: 800;
}

.showcase-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-top: 26px;
}

.showcase-kpis > div {
  padding: 17px;
  border-radius: 16px;
  background: #f6fbf9;
}

.showcase-kpis span,
.showcase-kpis strong,
.showcase-kpis small {
  display: block;
}

.showcase-kpis span {
  color: #81968f;
  font-size: 9px;
}

.showcase-kpis strong {
  margin: 3px 0;
  color: var(--green-900);
  font-size: 27px;
}

.showcase-kpis small {
  color: #91a39e;
  font-size: 8px;
}

.showcase-progress {
  margin-top: 25px;
  padding: 22px;
  border: 1px solid #e5efec;
  border-radius: 18px;
}

.progress-head,
.progress-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.progress-head strong {
  font-size: 12px;
}

.progress-head span {
  color: var(--green-700);
  font-size: 12px;
  font-weight: 900;
}

.progress-bar {
  height: 10px;
  margin: 14px 0 10px;
  overflow: hidden;
  border-radius: 99px;
  background: #e9f1ee;
}

.progress-bar i {
  display: block;
  width: 87%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-500), var(--green-700));
}

.progress-labels span {
  color: #8ea19c;
  font-size: 8px;
}

.showcase-alert {
  display: grid;
  grid-template-columns: 37px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
  padding: 15px;
  border-radius: 16px;
  background: #fff8e8;
}

.alert-symbol {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #9f7218;
  background: #ffe7ac;
  font-weight: 900;
}

.showcase-alert strong,
.showcase-alert span {
  display: block;
}

.showcase-alert strong {
  color: #785915;
  font-size: 11px;
}

.showcase-alert span {
  color: #9b7f3f;
  font-size: 8px;
}

.showcase-alert button {
  padding: 7px 10px;
  border: 0;
  border-radius: 9px;
  color: #86621a;
  background: #ffe3a2;
  font-size: 8px;
  font-weight: 800;
}

.roles-section {
  background: var(--green-50);
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.role-card {
  min-height: 220px;
  padding: 27px;
  border: 1px solid #dcebe6;
  border-radius: 22px;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.role-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
}

.role-badge {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green-700);
  background: var(--green-100);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.role-card h3 {
  margin: 34px 0 10px;
  color: var(--green-950);
  font-size: 18px;
}

.role-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cta-section {
  padding-top: 80px;
  background: #fff;
}

.cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
  padding: 58px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  box-shadow: 0 30px 70px rgba(29, 102, 42, 0.26);
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-glow {
  position: absolute;
  z-index: 0;
  width: 390px;
  height: 390px;
  right: 4%;
  top: -230px;
  border-radius: 50%;
  background: rgba(183, 240, 193, 0.17);
}

.eyebrow.light {
  color: var(--green-200);
}

.cta-card h2 {
  max-width: 760px;
  margin: 15px 0;
  color: #fff;
  font-size: clamp(33px, 4vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.cta-card p {
  max-width: 760px;
  margin: 0;
  color: #d9f3eb;
}

.btn-white {
  min-width: 190px;
  color: var(--green-800);
  background: #fff;
  box-shadow: 0 15px 35px rgba(8, 53, 16, 0.18);
}

footer {
  padding: 39px 0;
  background: #fff;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.footer-wrap p {
  margin: 0;
  color: #70867f;
  font-size: 12px;
}

.footer-wrap > span {
  justify-self: end;
  color: #8fa19c;
  font-size: 11px;
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
}

.footer-brand strong {
  font-size: 19px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero-copy {
    max-width: 760px;
    text-align: center;
    margin-inline: auto;
  }

  .hero h1,
  .hero-copy > p {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    max-width: 720px;
    margin-inline: auto;
  }

  .pain-grid,
  .role-grid,
  .feature-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-showcase {
    grid-template-columns: 1fr;
  }

  .showcase-copy {
    max-width: 720px;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 78px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 17px;
    border: 1px solid #dcebe6;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 14px;
    border-radius: 11px;
  }

  .main-nav .nav-cta {
    text-align: center;
  }

  .logo-strip .container {
    flex-direction: column;
    gap: 16px;
  }

  .clinic-types {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .workflow-line {
    left: 22px;
  }

  .workflow-item,
  .workflow-item:nth-child(odd) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 32px 67px;
  }

  .workflow-step,
  .workflow-item:nth-child(odd) .workflow-step {
    right: auto;
    left: 0;
  }

  .tab-content {
    grid-template-columns: 1fr;
  }

  .tab-copy {
    padding: 38px;
  }

  .tab-visual {
    min-height: 390px;
  }

  .cta-card {
    grid-template-columns: 1fr;
    padding: 44px;
  }

  .btn-white {
    justify-self: start;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-wrap > span {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero {
    min-height: auto;
    padding: 126px 0 70px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-trust {
    gap: 18px;
  }

  .trust-item strong {
    font-size: 14px;
  }

  .trust-item span {
    font-size: 10px;
  }

  .dashboard-window {
    min-height: 390px;
  }

  .window-bar {
    grid-template-columns: 1fr 1fr;
  }

  .window-bar > span {
    display: none;
  }

  .dashboard-layout {
    grid-template-columns: 48px 1fr;
  }

  .dashboard-content {
    padding: 18px 13px;
  }

  .metric-grid {
    gap: 7px;
  }

  .metric-card {
    min-height: 95px;
    padding: 10px;
  }

  .metric-card span {
    font-size: 7px;
  }

  .metric-card strong {
    font-size: 16px;
  }

  .dash-panels {
    grid-template-columns: 1fr;
  }

  .activity-panel {
    display: none;
  }

  .floating-card.handover {
    right: -5px;
    top: -18px;
  }

  .floating-card.attendance {
    left: -5px;
    bottom: -25px;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .pain-grid,
  .role-grid,
  .feature-mini-grid {
    grid-template-columns: 1fr;
  }

  .pain-card {
    min-height: 250px;
  }

  .tab-buttons {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }

  .tab-copy {
    padding: 29px 24px;
  }

  .tab-copy h3 {
    font-size: 27px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .tab-visual {
    min-height: 350px;
    padding: 27px 16px;
  }

  .report-panel {
    grid-template-columns: 1fr;
  }

  .donut {
    margin-inline: auto;
  }

  .showcase-card {
    padding: 20px;
  }

  .showcase-kpis {
    gap: 7px;
  }

  .showcase-kpis > div {
    padding: 12px 10px;
  }

  .showcase-kpis strong {
    font-size: 22px;
  }

  .showcase-alert {
    grid-template-columns: 35px 1fr;
  }

  .showcase-alert button {
    grid-column: 2;
    justify-self: start;
  }

  .cta-card {
    padding: 34px 25px;
  }

  .btn-white {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
