.hero {
  min-height: 690px;
  padding: 110px 0 0px;
  color: var(--bs-white);
  position: relative;
  overflow: hidden;
  background: var(--brand-hero);
}

.hero-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
	opacity: .14;
	border: 1px solid var(--bs-white);
}

.glow-one {
	width: 440px;
	height: 440px;
	right: -160px; top: 100px;
}

.glow-two {
	width: 220px;
	height: 220px;
	left: 43%;
	bottom: -130px;
}

.eyebrow {
	font-weight:700;
	letter-spacing:.1em;
	font-size:12px;
	text-transform:uppercase;
	margin-bottom: 18px;
	opacity: .88;
 }

#hello span {
	display: block; 
}

#hello .hello-2 {
	margin-left: 7.6em; 
}

.eyebrow.dark {
	color: var(--brand-teal);
}

.hero h1 em { 
	font-style:normal;
	color: var(--brand-coral); 
}

.btn-ghost {
	color: var(--bs-white);
	border: 1px solid rgba(255,255,255,.45);
	font-weight: 700;
}

.btn-ghost:hover {
	background: rgba(255,255,255,.1);
	color: var(--bs-white);
}

.benefits { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 45px; font-size: 13px; color: rgba(255,255,255,.75); }
.benefits i { color: #b95ee5; margin-right: 5px; }

.dashboard-wrap {
	position: relative;
	padding: 25px 0 25px 25px;
}

.stats-grid {
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:12px;
	margin:17px 0;
}

.stat-box {
	border:1px solid var(--brand-mint-100);
	border-radius:13px;
	padding:12px;
	display:flex;
	gap:10px;
	align-items:center;
}

.stat-icon {
	min-width:34px;
	height:34px;
	border-radius:9px;
	display:grid;
	place-items:center;
	background:var(--brand-mint-100);
	color:var(--brand-teal); 
}

.stat-icon.coral {
	background:#fff0ee;
	color:#ef5b54;
}

.stat-icon.purple {
	background:#eeeafb;
	color:#7956c7;
}

.stat-box small {
	display:block;
	color:var(--brand-muted);
	font-size:9px;
}

.stat-box strong {
	display:block;
	font-size:17px;
}

.positive {
	font-size:9px;
	color:#24a16b;
}

.r {
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:10px;
}

.r > span:first-child {
	flex:1;
	min-width:0;
}

.who {
	display:flex;
	align-items:center;
	gap:10px;
	min-width:0;
}

.avatar {
	width: 29px;
    height: 29px;
    border-radius: 50%;
    background: var(--brand-mint-100);
    color: var(--brand-teal);
    display: grid;
	flex:none;
    place-items: center;
    font-size: 8px;
    font-weight: 800;
}

.avatar.alt {
	background:#ffe1dd;
	color:#e35b53;
}

.avatar.third {
	background:#e9e2fb;
	color:#7050b9;
}

.avatar.fourth {
	background:#a1d4f9;
	color:#2d369b;
}

.who .info {
	display:flex;
	flex-direction:column;
	line-height:1.25;
	min-width:0;
}

.who .info strong, .who .info {
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
    font-size: 12px;
}

.who small {
	color: var(--brand-muted);
    font-size: 10px;
    margin-top: 2px;
}

.time {
	flex:none;
	width:35px;
	font-size:9px;
	color:#7d8997;
}

.floating-card {
	position:absolute;
	z-index:3;
	bottom:-16px;
	left:0;
	background:var(--bs-white);
	color:var(--brand-ink);
	border-radius:13px;
	padding:13px 16px;
	display:flex;
	gap:10px;
	align-items:center;
	box-shadow:0 12px 35px rgba(0,0,0,.2);
}

.floating-card i {
	color:var(--brand-teal);
	font-size:22px;
}

.floating-card strong,.floating-card small {
	display:block;
}

.floating-card strong {
	font-size:11px;
}

.floating-card small {
	font-size:9px;
	color:var(--brand-muted);
	margin-top:2px;
}

.trust-strip {
	background:var(--bs-white);
	padding:25px 0;
	border-bottom:1px solid var(--brand-mint-100);
}

.trust-strip strong,.trust-strip span {
	display:block;
}

.trust-strip strong {
	font-size:14px;
}

.trust-strip span {
	font-size:11px;
	color:var(--brand-muted);
	margin-top:3px;
}

.mad {
	font-size:clamp(18px,2.6vw,24px);
	line-height:2.1;
}

.mad-hint {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-coral);
  margin: 0 0 4px;
  min-height: 1.6em;
}

.mad-hint i {
	color: var(--bs-white);
}

.mad select {
    font: inherit;
    font-weight: 500;
    color: var(--brand-coral);
    background: var(--brand-teal);
    border: 0;
    border-radius: 8px 8px 0 0;
    padding: 2px 8px;
    cursor: pointer;
    max-width: 100%;
}

.mad select:focus,
.mad select:focus-visible {
  outline: 0;
  box-shadow: none;
}

.dash {
  	background: rgba(255,255,255,.98);
  	color: var(--brand-ink);
	border-radius: 22px;
  	padding: 23px;
	box-shadow: 0 28px 70px rgba(0,0,0,.25);
	position: relative;
	z-index: 2;
	min-height: 450px;
}

.dt {
	display:flex;
	justify-content:space-between;
	align-items:center;
	padding-bottom:18px;
	border-bottom:1px solid var(--brand-mint-100); 
}

.dt b {
	display:flex;
	gap:10px;
	align-items:center;
}

.dt small {
	color:var(--brand-muted);
}

.rows{min-height:172px}

.r {
	display:flex;
	justify-content:space-between;
	gap:10px;
	padding:10px 12px;
	margin-bottom:8px;
	font-size:14px;
	border-bottom: 1px solid var(--brand-mint-100);
}

.ok {
	color:var(--brand-teal);
}

.w {
	color:var(--brand-coral);
}

#voice {
	position:fixed;
	left:16px;
	bottom:16px;
	z-index:1040;
	max-width:min(380px,calc(100% - 32px));
    display:flex;
	gap:10px;
	align-items:center;
	background:var(--brand-teal-dark);
	border:1px solid var(--brand-teal);
    border-radius:18px;
	padding:10px 14px 10px 10px;
	font-size:14px;
	color:#e8f6f6;
    box-shadow:0 10px 30px rgba(0,0,0,.4);
	transition: opacity .3s ease, transform .3s ease;
}

#voice button {
	border:0;
	background:none;
	color:#8fb5b8;
	cursor:pointer;
	font-size:18px;
}

#voice.off {
	display:none;
}

#voice.hide {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

@media (max-width: 991px) {
  .hero {
	  padding-top:110px; 
	  padding-bottom:40px; 
   }
   
  .dashboard-wrap {
	  margin-top:20px;
	  padding-left:0;
  }
  
}

@media (max-width: 575px) {
  .hero {
	  padding:100px 0 70px;
  }
  
  #hello .hello-2 {
	  margin-left: 3.6em; 
  }
  
  .stats-grid {
	  grid-template-columns:1fr; 
  }
  
}

/* Features */

.features {
  padding: 80px 0;
  background: linear-gradient(110deg, var(--brand-mint-100), var(--brand-bg));
}

.section-heading {
  margin-bottom: 25px;
}

.section-heading h2 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.1;
  color: var(--brand-navy); margin-bottom: 18px;
  margin-bottom: 7px;
}

.section-heading p {
  color: var(--brand-muted);
  font-size: 13px;
}

.feature-card {
  min-height: 155px;
  border: 1px solid var(--brand-mint-100);
  border-radius: 11px;
  padding: 18px 12px;
  text-align: center;
  background: #fff;
  transition: .2s ease;
  cursor:pointer;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(9,57,78,.08);
}

.feature-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-teal);
  background: var(--brand-mint-100);
}

.feature-icon.blue {
	color: #338bd0;
	background: #e1f0ff;
}

.feature-icon.purple {
	color: #7654c0;
	background: #eee7fc;
}

.feature-icon.green {
	color: #27a57a;
	background: #def6eb;
}

.feature-icon.orange {
	color: #f27d3d;
	background: #fff0e5;
}

.feature-icon.violet {
	color: #5b55b9;
	background: #e9e9fc;
}

.feature-card h3 {
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 7px;
}

.feature-card p {
  color: var(--brand-muted);
  font-size: 9px;
  line-height: 1.55;
  margin: 0;
}

/* How it works */

.how-it-works {
  padding: 80px 0;
  background: #fff;
}

.how-it-works h2 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.1;
  color: var(--brand-navy); margin-bottom: 18px;
}

.read {
  color: var(--brand-muted);
  font-size: clamp(14px, 1.7vw, 16px);
  font-weight: 600;
  line-height: 1.5;
  margin: 12px 0 28px;
}

.read span {
	opacity: .2;
	transition: opacity .25s;
}

.read span.on {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .read span {
	  opacity: 1;
	  transition: none;
  }
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 28px 0 16px;
}

.step {
  flex: 1 1 0;
  min-width: 0;
  margin-top: 0;
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.step > span {
  flex: none;
  min-width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-teal);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
}

.step strong { display: block; font-size: 13px; }

.step p {
  color: var(--brand-muted);
  font-size: 10px;
  line-height: 1.5;
  margin: 5px 0 0;
  max-width: none;
}

.steps > i {
  flex: none;
  align-self: center;
  color: #76a7b2;
  font-size: 12px;
}

@media (max-width: 575px) {
  .steps {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .step { flex: none; }
  .steps > i {
    align-self: flex-start;
    margin-left: 9px;
    transform: rotate(90deg);
  }
}

.learn-link {
  color: var(--brand-teal);
  font-size: 10px;
  font-weight: 800;
}

/* Dashboard */

.product-preview {
  position: relative;
  padding: 20px 0 20px 25px;
}

.dashboard {
  min-height: 310px;
  background: #f9fcfd;
  border: 5px solid rgba(255,255,255,.18);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,25,40,.3);
  display: flex;
  color: var(--brand-ink);
}

.dash-sidebar {
  width: 115px;
  flex: 0 0 115px;
  padding: 16px 8px;
  color: #d9edf0;
  background: var(--brand-teal);
}

.dash-logo {
  font-size: 9px;
  font-weight: 800;
  margin-bottom: 18px;
  display: flex;
  gap: 5px;
  align-items: center;
}

.dash-sidebar a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 7px;
  margin-bottom: 2px;
  border-radius: 5px;
  font-size: 7px;
  color: #a7c7d0;
}

.dash-sidebar a.selected {
  background: var(--brand-coral);
  color: #fff;
}

.dash-content {
  flex: 1;
  padding: 14px;
  min-width: 0;
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.search {
  height: 26px;
  flex: 1;
  border: 1px solid #e0eaee;
  border-radius: 6px;
  color: #9baab5;
  font-size: 7px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
}

.dash-header > i { font-size: 10px; color: #667b8a; }

.user-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-mint-100);
  color: var(--brand-teal);
  display: grid;
  place-items: center;
  font-size: 8px;
  font-weight: 800;
}

.doctor strong,
.doctor small {
  display: block;
}

.doctor strong { font-size: 7px; }
.doctor small { font-size: 6px; color: #8494a0; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.metric {
  background: #fff;
  border: 1px solid var(--brand-mint-100);
  border-radius: 7px;
  padding: 9px;
  position: relative;
}

.metric small,
.metric strong,
.metric b { display: block; }

.metric small { font-size: 6px; color: var(--brand-muted); }
.metric strong { font-size: 17px; margin-top: 4px; }
.metric b {
  position: absolute;
  right: 8px;
  bottom: 9px;
  color: #21a96d;
  font-size: 6px;
}

.dashboard-row {
  display: grid;
  grid-template-columns: 1.55fr .85fr;
  gap: 8px;
  margin-top: 8px;
}

.panel {
  background: #fff;
  border: 1px solid var(--brand-mint-100);
  border-radius: 7px;
  padding: 9px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.panel-title strong { font-size: 7px; }
.panel-title a,
.panel-title small { font-size: 5px; color: var(--brand-teal); }

.appointment {
  display: grid;
  grid-template-columns: 46px 20px 1fr 70px;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  border-bottom: 1px solid #edf2f4;
  font-size: 5px;
  color: #74838e;
}

.patient-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-mint-100);
  color: var(--brand-teal);
  font-size: 5px;
  font-weight: 800;
}

.patient-avatar.coral {
	background: #ffe5e2;
	color: #e65e55;
}

.patient-avatar.green {
	background: #e0f6eb;
	color: #26956b;
}

.patient-avatar.purple {
	background: #eee6fb;
	color: #7653bd;
}

.patient strong,
.patient small {
	display: block;
}

.patient strong {
	font-size: 6px;
	color: var(--brand-ink); 
}

.patient small {
	font-size: 5px;
	margin-top: 2px;
}

.revenue {
  min-width: 0;
}

.revenue-chart {
  height: 120px;
  display: flex;
  align-items: end;
  gap: 9px;
  padding: 8px;
}

.revenue-chart > div {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: end;
  flex-direction: column;
  justify-content: end;
}

.revenue-chart i {
  width: 100%;
  display: block;
  background: linear-gradient(#11abb4, #49cdd1);
  border-radius: 3px 3px 0 0;
}

.revenue-chart span {
  font-size: 5px;
  color: #8595a0;
  margin-top: 4px;
}

/* Phone */

.mobile-preview {
  position: absolute;
  width: 116px;
  height: 236px;
  right: -5px;
  bottom: -8px;
  background: #fff;
  border: 5px solid #092c3f;
  border-radius: 17px;
  color: var(--brand-ink);
  padding: 14px 9px 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
  font-size: 6px;
}

.phone-top {
  position: absolute;
  top: 4px;
  left: 37px;
  width: 37px;
  height: 5px;
  background: #092c3f;
  border-radius: 5px;
}

.phone-logo {
  color: var(--brand-teal);
  font-size: 7px;
  font-weight: 900;
  margin-bottom: 8px;
}

.mobile-preview > small {
  display: block;
  font-size: 6px;
  color: #607989;
  margin-bottom: 10px;
}

.phone-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-bottom: 11px;
}

.phone-stats div {
  padding: 5px 2px;
  text-align: center;
  background: #f2f8f9;
  border-radius: 4px;
}

.phone-stats b,
.phone-stats span {
	display: block;
}

.phone-stats b {
	font-size: 9px;
}

.phone-stats span {
	font-size: 4px;
	color: var(--brand-muted);
}

.mobile-preview > strong {
	font-size: 6px;
}

.phone-row {
  padding: 7px 0;
  border-bottom: 1px solid #edf1f2;
  color: var(--brand-muted);
  font-size: 5px;
}

.phone-row span {
  float: right;
  color: var(--brand-ink);
}

.phone-nav {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 5px;
  display: flex;
  justify-content: space-around;
  color: var(--brand-teal);
}

/* ---------- Product preview: responsive ---------- */
.product-preview {
	max-width: 100%;
}

.dashboard {
	max-width: 100%;
}

@media (max-width: 991px) {
  .product-preview {
	  margin-top: 24px;
	  padding: 10px 0 30px 0;
  }
  
  .mobile-preview {
	  right: 8px; bottom: 0;
  }
}

@media (max-width: 767px) {
  .mobile-preview {
	  display: none;
  }
  
  .product-preview {
	  padding-bottom: 0;
  }
  
  .dash-sidebar {
	  display: none;
  }
  
  .dashboard {
	  min-height: 0;
  }
  
  .dash-content {
	  padding: 12px;
  }
  
  .dash-header .doctor,
  .dash-header > i:last-child {
	  display: none;
  }

  .dashboard-row {
	  grid-template-columns: 1fr;
  }
  
  .revenue-chart {
	  height: 90px;
  }

  .search {
	  font-size: 9px;
	  height: 30px;
  }
  
  .metric small {
	  font-size: 8px;
  }
  
  .metric strong {
	  font-size: 15px;
  }
  
  .panel-title strong {
	  font-size: 10px;
  }
  
  .panel-title a, .panel-title small {
	  font-size: 8px;
  }
  
  .appointment {
	  grid-template-columns: 50px 24px 1fr auto;
	  font-size: 8px;
	  gap: 6px;
   }
  
  .appointment > small {
	  text-align: right;
	  font-size: 8px;
  }
  
  .patient-avatar {
	  width: 24px;
	  height: 24px;
	  font-size: 7px;
  }
  
  .patient strong {
	  font-size: 9px;
  }
  
  .patient small {
	  font-size: 8px;
   }

  .revenue-chart span {
	  font-size: 8px;
  }
}

@media (max-width: 575px) {
  .metric {
	  padding: 8px 6px;
  }
  
  .metric strong {
	  font-size: 14px;
  }
  
  .metric b {
	  position: static;
	  margin-top: 2px;
	  font-size: 8px;
  }
  
  .appointment {
	  grid-template-columns: 44px 24px 1fr;
  }
  
  .appointment > small {
	  display: none;
  }
}

/* Security */

.security {
  padding: 80px 0;
  background: linear-gradient(110deg, var(--brand-bg), var(--brand-mint-100));
  overflow: hidden;
}

.sec-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-mint-200);
  color: var(--brand-teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.security h2 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--brand-navy);
  margin-bottom: 18px;
}

.security h2 em {
  font-style: normal;
  color: var(--brand-teal);
}

.sec-lead {
  color: var(--brand-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 560px;
}

.sec-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  cursor: pointer;
}

.sec-icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: var(--brand-mint-200);
  color: var(--brand-navy);
  transition: transform .2s, background .2s, color .2s;
}

.sec-item:hover .sec-icon {
  transform: translateY(-3px);
  background: var(--brand-teal);
  color: #fff;
}

.sec-item h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 2px 0 6px;
  color: var(--brand-ink);
}

.sec-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--brand-muted);
  margin: 0;
}

/* visual */

.sec-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.sec-visual::before {
  content: "";
  position: absolute;
  inset: 4% 2%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-mint-200) 0%, rgba(216,243,244,0) 70%);
}

.sec-laptop {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.sec-ring {
  position: absolute;
  width: 74%;
  aspect-ratio: 1.8;
  border: 2px solid rgba(45,212,191,.45);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.sec-shield {
  position: relative;
  font-size: clamp(150px, 22vw, 240px);
  line-height: 1;
  color: var(--brand-teal);
  filter: drop-shadow(0 24px 40px rgba(0,128,144,.35));
}

.sec-badges {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 460px);
  display: flex;
  justify-content: space-around;
  gap: 6px;
  background: #fff;
  border-radius: 18px;
  padding: 16px 12px;
  box-shadow: 0 16px 40px rgba(10,60,80,.12);
}

.sec-badges > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sec-badges > div + div {
  border-left: 1px solid var(--brand-mint-100);
  padding-left: 8px;
}

.sec-badges i {
  font-size: 26px;
  color: var(--brand-teal);
}

.sec-badges span {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-teal);
}

.sec-badges b {
  color: var(--brand-ink);
}

@media (max-width: 575px) {
  .security {
    padding: 56px 0;
  }

  .sec-visual {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding-top: 10px;
  }

  .sec-visual::before {
    inset: 0 2% 22%;
  }

  .sec-ring {
    top: 4%;
    left: 13%;
  }

  .sec-badges {
    position: static;
    transform: none;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 4px;
    padding: 12px 8px;
  }

  .sec-badges > div {
    gap: 5px;
  }

  .sec-badges > div + div {
    border-left: 1px solid var(--brand-mint-100);
    padding-left: 6px;
  }

  .sec-badges i {
    font-size: 18px;
  }

  .sec-badges span {
    font-size: 9px;
  }
}