* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #14252b;
  --muted: #66777d;
  --teal: #137f79;
  --teal-dark: #0d5f5b;
  --mint: #eaf7f4;
  --line: #dfe9e7;
  --white: #ffffff;
  --soft: #f7faf9;
  --gold: #d8a64d;

  --shadow:
    0 24px 60px rgba(17, 48, 52, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

h1,
h2,
h3,
strong {
  font-family: "Manrope", "DM Sans", sans-serif;
}

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

.container {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  height: 78px;
  border-bottom: 1px solid rgba(223, 233, 231, 0.75);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);

  position: sticky;
  top: 0;

  z-index: 20;
}

.nav {
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  place-items: center;

  width: 37px;
  height: 37px;

  border-radius: 11px;

  background: var(--teal);
  color: #ffffff;

  font-size: 25px;
  font-weight: 700;

  box-shadow:
    0 7px 20px rgba(19, 127, 121, 0.20);
}

.brand-mark.small {
  width: 28px;
  height: 28px;

  border-radius: 8px;

  font-size: 18px;
}

.brand strong {
  display: block;

  font-size: 17px;
  line-height: 1.1;

  letter-spacing: -0.3px;
}

.brand small {
  display: block;

  color: #849196;

  font-size: 10px;

  letter-spacing: 0.4px;

  margin-top: 3px;
}

.desktop-nav {
  display: flex;
  gap: 29px;

  color: #52656a;

  font-size: 13px;
  font-weight: 600;
}

.desktop-nav a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--teal);
}

.nav-cta {
  padding: 11px 17px;

  border: 1px solid #cfe2df;
  border-radius: 10px;

  color: var(--teal);
  background: #f7fcfb;

  font-size: 13px;
  font-weight: 700;

  transition: 0.2s ease;
}

.nav-cta:hover {
  background: var(--mint);
}

.menu-btn {
  display: none;

  border: 0;
  background: none;

  font-size: 22px;

  color: var(--ink);

  cursor: pointer;
}


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

.hero {
  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      #f7fbfa 0%,
      #ffffff 100%
    );

  padding: 88px 0 74px;
}

.hero-glow {
  position: absolute;

  width: 500px;
  height: 500px;

  background:
    radial-gradient(
      circle,
      rgba(89, 183, 172, 0.15),
      transparent 65%
    );

  right: -120px;
  top: -150px;
}

.hero-grid {
  display: grid;

  grid-template-columns:
    1fr 470px;

  gap: 75px;

  align-items: center;

  position: relative;
}

.eyebrow,
.section-label {
  font-size: 10px;

  letter-spacing: 1.7px;

  text-transform: uppercase;

  font-weight: 800;

  color: var(--teal);
}

.eyebrow {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 7px 11px;

  background: var(--mint);

  border-radius: 30px;
}

.pulse {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #3aa89e;

  box-shadow:
    0 0 0 5px rgba(58, 168, 158, 0.11);
}

.hero h1 {
  font-size: 52px;

  line-height: 1.10;

  letter-spacing: -2px;

  margin: 20px 0 21px;

  max-width: 700px;
}

.hero-text {
  font-size: 17px;

  color: var(--muted);

  max-width: 625px;
}

.hero-actions {
  display: flex;

  gap: 12px;

  margin: 29px 0 35px;
}

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 13px 18px;

  border-radius: 10px;

  font-size: 13px;

  font-weight: 700;

  transition: 0.2s ease;
}

.btn-primary {
  background: var(--teal);

  color: #ffffff;

  box-shadow:
    0 9px 24px rgba(19, 127, 121, 0.18);
}

.btn-primary:hover {
  background: var(--teal-dark);

  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--line);

  background: #ffffff;

  color: #40555a;
}

.btn-ghost:hover {
  border-color: #b9d6d2;
}

.trust-row {
  display: flex;

  gap: 30px;
}

.trust-row div {
  padding-right: 30px;

  border-right: 1px solid var(--line);
}

.trust-row div:last-child {
  border: 0;
}

.trust-row strong {
  display: block;

  font-size: 18px;
}

.trust-row span {
  display: block;

  color: #859196;

  font-size: 11px;

  margin-top: 2px;
}


/* =========================================================
   PHONE
========================================================= */

.hero-visual {
  height: 540px;

  position: relative;

  display: flex;

  align-items: center;
  justify-content: center;
}

.phone {
  width: 305px;
  height: 555px;

  border-radius: 35px;

  padding: 9px;

  background: #18282d;

  box-shadow:
    0 35px 70px rgba(18, 42, 46, 0.23);

  transform: rotate(1.5deg);

  position: relative;

  z-index: 2;
}

.phone-speaker {
  position: absolute;

  top: 16px;
  left: 50%;

  transform: translateX(-50%);

  width: 74px;
  height: 5px;

  border-radius: 8px;

  background: #304247;

  z-index: 4;
}

.phone-screen {
  height: 100%;

  overflow: hidden;

  border-radius: 27px;

  background: #edf7f5;
}

.wa-header {
  height: 66px;

  background: #0f6e69;

  color: #ffffff;

  display: flex;

  align-items: center;

  gap: 9px;

  padding: 16px;
}

.wa-header .avatar {
  width: 34px;
  height: 34px;

  border-radius: 50%;

  display: grid;
  place-items: center;

  background: #dff3ef;

  color: var(--teal);

  font-size: 10px;

  font-weight: 800;
}

.wa-header b {
  display: block;

  font-size: 11px;
}

.wa-header small {
  display: block;

  font-size: 9px;

  opacity: 0.75;
}

.wa-header > span {
  margin-left: auto;

  font-size: 19px;
}

.chat {
  padding: 13px 10px;

  height: 435px;

  overflow: hidden;

  background:
    linear-gradient(
      #eaf5f2,
      #f5f9f8
    );
}

.chat-date {
  text-align: center;

  font-size: 8px;

  color: #7d8c8e;

  margin-bottom: 8px;
}

.msg {
  font-size: 9px;

  line-height: 1.5;

  max-width: 81%;

  padding: 8px 9px;

  border-radius: 9px;

  margin: 6px 0;

  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.04);
}

.msg span {
  display: block;

  text-align: right;

  color: #99a5a6;

  font-size: 7px;

  margin-top: 3px;
}

.msg.bot {
  background: #ffffff;

  border-top-left-radius: 3px;
}

.msg.patient {
  background: #d9f4ee;

  margin-left: auto;

  border-top-right-radius: 3px;
}

.success-msg {
  border-left: 3px solid #37a893 !important;
}

.quick-options {
  display: flex;

  gap: 4px;

  margin: 6px 0 7px;
}

.quick-options button {
  border: 1px solid #c4e2dc;

  background: #ffffff;

  color: #16766f;

  border-radius: 12px;

  padding: 5px 7px;

  font-size: 8px;

  cursor: pointer;
}

.wa-input {
  height: 40px;

  margin: 7px;

  border-radius: 19px;

  background: #ffffff;

  color: #a0acad;

  padding: 11px 13px;

  font-size: 9px;

  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.05);
}

.wa-input span {
  float: right;

  color: var(--teal);

  font-size: 13px;
}


/* =========================================================
   FLOATING CARDS
========================================================= */

.floating-card {
  position: absolute;

  background: #ffffff;

  border: 1px solid #e3eeeb;

  border-radius: 13px;

  padding: 12px 14px;

  display: flex;

  align-items: center;

  gap: 10px;

  box-shadow: var(--shadow);

  z-index: 4;
}

.mini-top {
  right: 0;
  top: 77px;
}

.mini-bottom {
  left: 0;
  bottom: 61px;
}

.mini-card b {
  display: block;

  font-size: 11px;
}

.mini-card small {
  display: block;

  font-size: 9px;

  color: #879397;

  margin-top: 2px;
}

.status-dot {
  width: 9px;
  height: 9px;

  border-radius: 50%;

  background: #44b49c;

  box-shadow:
    0 0 0 5px #e6f7f2;
}

.check {
  width: 25px;
  height: 25px;

  border-radius: 50%;

  display: grid;
  place-items: center;

  background: #e4f6f1;

  color: #208678;

  font-size: 13px;
}


/* =========================================================
   TRUST STRIP
========================================================= */

.logo-strip {
  border-top: 1px solid var(--line);

  border-bottom: 1px solid var(--line);

  padding: 20px 0;

  background: #ffffff;
}

.logo-strip .container {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;
}

.logo-strip span {
  font-size: 9px;

  letter-spacing: 1.3px;

  color: #9aa6a8;

  font-weight: 800;
}

.logo-strip div {
  display: flex;

  gap: 30px;

  color: #819093;

  font-size: 11px;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
  padding: 105px 0;
}

.soft-section {
  background: var(--soft);
}

.section-heading {
  max-width: 690px;

  margin-bottom: 48px;
}

.section-heading.centered {
  text-align: center;

  margin-left: auto;
  margin-right: auto;
}

.section-heading h2,
.copy-block h2,
.cta-card h2 {
  font-size: 37px;

  line-height: 1.18;

  letter-spacing: -1.2px;

  margin: 12px 0 13px;
}

.section-heading p,
.copy-block p {
  color: var(--muted);

  font-size: 15px;
}


/* =========================================================
   SOLUTION CARDS
========================================================= */

.three-cards {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 20px;
}

.info-card {
  padding: 30px;

  border: 1px solid var(--line);

  border-radius: 15px;

  background: #ffffff;
}

.info-card.featured {
  border-color: #b9ded9;

  box-shadow:
    0 14px 35px rgba(19, 127, 121, 0.08);
}

.icon-box {
  width: 42px;
  height: 42px;

  border-radius: 12px;

  background: var(--mint);

  color: var(--teal);

  display: grid;
  place-items: center;

  font-weight: 800;

  margin-bottom: 22px;
}

.info-card h3 {
  font-size: 17px;

  margin-bottom: 8px;
}

.info-card p {
  font-size: 13px;

  color: var(--muted);
}


/* =========================================================
   WHATSAPP SECTION
========================================================= */

.split {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 80px;

  align-items: center;
}

.copy-block {
  max-width: 520px;
}

.check-list {
  margin-top: 25px;

  display: grid;

  gap: 13px;
}

.check-list div {
  font-size: 13px;

  color: #44575c;
}

.check-list span {
  display: inline-grid;

  place-items: center;

  width: 21px;
  height: 21px;

  background: #e1f3ef;

  color: var(--teal);

  border-radius: 50%;

  font-size: 11px;

  margin-right: 8px;
}

.flow-card {
  background: #ffffff;

  border: 1px solid var(--line);

  border-radius: 17px;

  padding: 25px;

  box-shadow:
    0 18px 45px rgba(17, 48, 52, 0.07);
}

.flow-title {
  display: flex;

  justify-content: space-between;

  padding-bottom: 18px;

  border-bottom: 1px solid var(--line);
}

.flow-title span {
  font-weight: 800;

  font-size: 13px;
}

.flow-title small {
  color: #899598;

  font-size: 10px;
}

.flow {
  padding-top: 18px;
}

.flow-item {
  display: flex;

  gap: 13px;

  align-items: center;
}

.flow-item > span {
  width: 30px;
  height: 30px;

  border-radius: 50%;

  display: grid;
  place-items: center;

  background: #edf4f3;

  color: #718386;

  font-size: 9px;

  font-weight: 800;
}

.flow-item.active > span {
  background: var(--teal);

  color: #ffffff;
}

.flow-item b {
  display: block;

  font-size: 12px;
}

.flow-item small {
  display: block;

  color: #8a9799;

  font-size: 10px;
}

.connector {
  height: 23px;

  border-left: 1px dashed #c6d8d5;

  margin-left: 15px;
}


/* =========================================================
   DASHBOARD
========================================================= */

.dashboard-window {
  border: 1px solid #dce8e5;

  border-radius: 16px;

  overflow: hidden;

  background: #ffffff;

  box-shadow:
    0 25px 65px rgba(19, 51, 54, 0.10);
}

.window-top {
  height: 53px;

  border-bottom: 1px solid var(--line);

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 0 18px;
}

.window-brand {
  display: flex;

  align-items: center;

  gap: 8px;

  font-size: 12px;

  font-weight: 800;
}

.window-user {
  font-size: 10px;

  color: #617276;

  display: flex;

  align-items: center;

  gap: 7px;
}

.online-dot {
  width: 6px;
  height: 6px;

  background: #3cb39b;

  border-radius: 50%;
}

.dashboard-body {
  display: flex;

  min-height: 430px;
}

.sidebar {
  width: 165px;

  background: #fbfdfc;

  border-right: 1px solid var(--line);

  padding: 18px 10px;
}

.side-item {
  display: flex;

  gap: 10px;

  align-items: center;

  padding: 10px 9px;

  color: #778689;

  font-size: 10px;

  border-radius: 7px;

  margin-bottom: 4px;
}

.side-item.active {
  background: #e7f5f2;

  color: var(--teal);

  font-weight: 800;
}

.dash-main {
  flex: 1;

  padding: 25px;
}

.dash-title {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 20px;
}

.dash-title small {
  color: #8a979a;

  font-size: 9px;
}

.dash-title h3 {
  font-size: 17px;

  margin-top: 2px;
}

.small-btn {
  border: 0;

  background: var(--teal);

  color: #ffffff;

  border-radius: 7px;

  padding: 9px 12px;

  font-size: 9px;

  font-weight: 700;

  cursor: pointer;
}

.kpis {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 10px;
}

.kpis > div {
  border: 1px solid var(--line);

  border-radius: 9px;

  padding: 13px;
}

.kpis span {
  display: block;

  color: #879497;

  font-size: 8px;
}

.kpis strong {
  display: block;

  font-size: 22px;

  margin: 4px 0;
}

.kpis em {
  font-style: normal;

  color: #3b998d;

  font-size: 8px;
}

.dash-grid {
  display: grid;

  grid-template-columns:
    1.55fr 1fr;

  gap: 12px;

  margin-top: 13px;
}

.table-card,
.schedule-card {
  border: 1px solid var(--line);

  border-radius: 9px;
}

.table-head {
  display: flex;

  justify-content: space-between;

  padding: 13px;

  border-bottom: 1px solid var(--line);

  font-size: 9px;
}

.table-head span {
  color: var(--teal);
}

.appointment-row {
  display: grid;

  grid-template-columns:
    40px 28px 1fr auto;

  gap: 9px;

  align-items: center;

  padding: 10px 12px;

  border-bottom: 1px solid #eef3f2;
}

.appointment-row:last-child {
  border: 0;
}

.appointment-row .time {
  font-size: 8px;

  color: #6d7c7f;
}

.patient-avatar {
  width: 27px;
  height: 27px;

  border-radius: 50%;

  background: #e8f3f1;

  color: #217b73;

  display: grid;

  place-items: center;

  font-size: 7px;

  font-weight: 800;
}

.appointment-row b {
  display: block;

  font-size: 9px;
}

.appointment-row small {
  display: block;

  color: #929d9f;

  font-size: 7px;
}

.pill {
  padding: 4px 6px;

  border-radius: 10px;

  font-size: 7px;
}

.pill.confirmed {
  background: #e7f6f1;

  color: #218879;
}

.pill.pending {
  background: #fff5df;

  color: #9a7125;
}

.schedule-line {
  display: grid;

  grid-template-columns:
    42px 12px 1fr;

  align-items: center;

  gap: 7px;

  padding: 12px;

  border-bottom: 1px solid #eef3f2;

  font-size: 8px;
}

.schedule-line span {
  color: #8b9799;
}

.schedule-line i {
  width: 8px;
  height: 8px;

  border: 2px solid #b8cbc8;

  border-radius: 50%;
}

.schedule-line i.filled {
  border-color: var(--teal);

  background: var(--teal);
}

.schedule-line i.break {
  border-color: #d5ad64;

  background: #f1dfbc;
}


/* =========================================================
   FEATURE GRID
========================================================= */

.feature-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 13px;
}

.feature-grid article {
  background: #ffffff;

  border: 1px solid var(--line);

  padding: 22px;

  border-radius: 13px;

  min-height: 175px;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-grid article:hover {
  transform: translateY(-3px);

  box-shadow:
    0 12px 30px rgba(19, 127, 121, 0.08);
}

.feature-icon {
  display: grid;

  place-items: center;

  width: 36px;
  height: 36px;

  border-radius: 10px;

  background: #eaf6f4;

  color: var(--teal);

  font-size: 15px;

  margin-bottom: 18px;
}

.feature-grid h3 {
  font-size: 13px;

  margin-bottom: 6px;
}

.feature-grid p {
  font-size: 11px;

  color: #78878a;
}


/* =========================================================
   PATIENT JOURNEY
========================================================= */

.stats-band {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  border: 1px solid var(--line);

  border-radius: 16px;

  overflow: hidden;
}

.stats-band > div {
  padding: 29px 25px;

  border-right: 1px solid var(--line);
}

.stats-band > div:last-child {
  border: 0;
}

.stats-band strong {
  font-size: 10px;

  color: var(--teal);

  letter-spacing: 1px;
}

.stats-band h3 {
  font-size: 14px;

  margin: 8px 0 5px;
}

.stats-band p {
  font-size: 11px;

  color: #859194;
}


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

.cta-section {
  padding: 0 0 95px;
}

.cta-card {
  background:
    linear-gradient(
      135deg,
      #106f6a,
      #0c5d59
    );

  color: #ffffff;

  border-radius: 20px;

  padding: 50px 55px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 50px;

  box-shadow:
    0 25px 60px rgba(19, 127, 121, 0.18);
}

.cta-card .section-label {
  color: #a9e2da;
}

.cta-card h2 {
  max-width: 650px;

  margin-top: 9px;
}

.cta-card p {
  max-width: 650px;

  color: #d2e9e6;

  font-size: 14px;
}

.cta-actions {
  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 11px;

  min-width: 190px;
}

.btn-white {
  background: #ffffff;

  color: #116d68;

  padding: 13px 20px;
}

.cta-actions span {
  font-size: 9px;

  color: #a9d7d2;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  border-top: 1px solid var(--line);

  padding: 25px 0;
}

.footer-inner {
  display: flex;

  justify-content: space-between;

  align-items: center;
}

.footer-brand .brand-mark {
  width: 31px;
  height: 31px;

  font-size: 21px;
}

.footer-inner p {
  font-size: 10px;

  color: #8b9799;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 950px) {

  .hero-grid {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow {
    margin: auto;
  }

  .hero-text {
    margin: auto;
  }

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

  .hero-visual {
    height: 540px;
  }

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

  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .cta-card {
    align-items: flex-start;

    flex-direction: column;
  }

  .cta-actions {
    align-items: flex-start;
  }
}


@media (max-width: 700px) {

  .container {
    width: min(
      100% - 30px,
      1160px
    );
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 38px;

    letter-spacing: -1.4px;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-visual {
    transform: scale(0.88);

    margin:
      -30px -30px;
  }

  .logo-strip .container,
  .logo-strip div {
    flex-wrap: wrap;
  }

  .logo-strip div {
    gap: 12px;
  }

  .section {
    padding: 75px 0;
  }

  .three-cards,
  .split {
    grid-template-columns: 1fr;

    gap: 15px;
  }

  .section-heading h2,
  .copy-block h2,
  .cta-card h2 {
    font-size: 30px;
  }

  .dashboard-body {
    overflow: auto;
  }

  .sidebar {
    min-width: 120px;
  }

  .dash-main {
    min-width: 650px;
  }

  .feature-grid {
    grid-template-columns:
      1fr 1fr;
  }

  .stats-band {
    grid-template-columns:
      1fr 1fr;
  }

  .stats-band > div:nth-child(2) {
    border-right: 0;
  }

  .stats-band > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .cta-card {
    padding: 35px 27px;
  }

  .footer-inner {
    flex-direction: column;

    gap: 12px;
  }

  .trust-row {
    gap: 12px;
  }

  .trust-row div {
    padding-right: 12px;
  }
}


@media (max-width: 460px) {

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

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

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    transform: scale(0.72);

    margin:
      -70px -75px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .stats-band {
    grid-template-columns: 1fr;
  }

  .stats-band > div {
    border-right: 0 !important;

    border-bottom: 1px solid var(--line) !important;
  }

  .stats-band > div:last-child {
    border-bottom: 0 !important;
  }

  .mini-top {
    right: -10px;
  }

  .mini-bottom {
    left: -15px;
  }
}


.reveal {
  opacity: 0;
  transform: translateY(18px);

  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

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


/* Mobile navigation */

@media (max-width: 950px) {

  .desktop-nav.mobile-open {
    display: flex;

    position: absolute;

    top: 78px;
    left: 0;
    right: 0;

    padding: 18px 24px;

    background: #ffffff;

    border-bottom: 1px solid var(--line);

    box-shadow:
      0 15px 30px rgba(20, 37, 43, 0.08);

    flex-direction: column;

    gap: 15px;

    z-index: 50;
  }

}