:root {
  --primary: #1261d7;
  --primary-dark: #0749b2;
  --primary-soft: #e9f1ff;
  --ink: #0d1b35;
  --muted: #68758b;
  --border: #e2e8f1;
  --surface: #f6f9fe;
  --footer: #061a38;
  --shadow: 0 18px 55px rgba(7, 35, 82, .12);
}

html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background: #fff;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--primary); }
.section-space { padding: 5rem 0; }

.navbar {
  min-height: 82px;
  border-bottom: 1px solid rgba(225, 232, 244, .78);
  transition: box-shadow .25s ease;
}
.navbar.nav-scrolled { box-shadow: 0 10px 35px rgba(15, 31, 61, .07); }
.brand-mark {
  align-items: center;
  background: var(--primary);
  border-radius: 13px;
  color: #fff;
  display: inline-flex;
  font-size: 1.38rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.navbar-brand strong { color: var(--primary); font-size: 1.45rem; }
.brand-subtitle { color: #667287; font-size: .68rem; }
.nav-link {
  border-bottom: 2px solid transparent;
  color: #29384f;
  font-weight: 500;
  padding-bottom: .45rem !important;
  padding-top: .45rem !important;
}
.nav-link:hover, .nav-link.active {
  border-color: var(--primary);
  color: var(--primary) !important;
}

.btn { border-radius: .55rem; font-weight: 600; }
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-lg { font-size: .98rem; min-height: 54px; display: inline-flex; align-items: center; justify-content: center; }

.hero-section {
  background:
    radial-gradient(circle at 48% 22%, rgba(18,97,215,.07), transparent 30%),
    linear-gradient(110deg, #fff 0%, #f7fbff 56%, #eef5fe 100%);
  margin-top: 82px;
  overflow: hidden;
}
.min-vh-hero { min-height: calc(100vh - 82px); padding: 4.25rem 0; }
.badge-soft {
  background: var(--primary-soft);
  border-radius: 30px;
  color: var(--primary);
  display: inline-flex;
  font-size: .78rem;
  font-weight: 700;
  padding: .55rem 1rem;
}
.hero-title {
  color: #08162f;
  font-size: clamp(2.6rem, 4vw, 3.55rem);
  line-height: 1.14;
  letter-spacing: -.045em;
}
.hero-title span { color: var(--primary); }
.hero-text {
  color: #4d596c;
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 600px;
}
.highlight { align-items: flex-start; display: flex; gap: .75rem; }
.highlight i {
  color: var(--primary);
  font-size: 1.55rem;
  line-height: 1;
}
.highlight strong { display: block; font-size: .88rem; }
.highlight small { color: var(--muted); font-size: .75rem; }

.hero-visual {
  border-radius: 1.25rem;
  height: 640px;
  overflow: hidden;
  position: relative;
}
.hero-doctor {
  border-radius: 1.25rem;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  width: 100%;
}
.hero-visual::before {
  background: linear-gradient(90deg, rgba(244,248,254,.94), rgba(244,248,254,.28) 64%, transparent);
  content: "";
  inset: 0;
  position: absolute;
}
.login-card {
  background: #fff;
  border-radius: .8rem;
  left: 20px;
  padding: 2rem 1.75rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: min(330px, calc(100% - 42px));
}
.login-card .form-label {
  color: #1b2940;
  font-size: .8rem;
  font-weight: 600;
}
.input-group-lg > .form-control, .input-group-lg > .input-group-text {
  background: #fff;
  border-color: #dbe3ee;
  font-size: .93rem;
  min-height: 48px;
}
.input-group-text { color: #69788f; }
.password-toggle { cursor: pointer; }
.password-toggle:hover { color: var(--primary); }

.section-heading { max-width: 710px; }
.eyebrow {
  color: var(--primary);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.section-heading h2, .platform-section h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.45rem);
  font-weight: 750;
  letter-spacing: -.035em;
  margin-top: .65rem;
}
.feature-card {
  border: 1px solid var(--border);
  border-radius: .75rem;
  height: 100%;
  padding: 1.55rem 1.15rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  box-shadow: 0 16px 36px rgba(11, 40, 82, .08);
  transform: translateY(-4px);
}
.feature-card i {
  align-items: center;
  background: var(--primary-soft);
  border-radius: 50%;
  color: var(--primary);
  display: inline-flex;
  font-size: 1.65rem;
  height: 58px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 58px;
}
.feature-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .65rem; }
.feature-card p { color: var(--muted); font-size: .82rem; line-height: 1.55; margin: 0; }

.platform-section {
  background: linear-gradient(100deg, #eff6ff 0%, #fff 63%);
}
.dashboard-device {
  background: #101722;
  border-radius: 1.2rem 1.2rem .45rem .45rem;
  box-shadow: 0 35px 55px rgba(13,27,53,.18);
  padding: 1rem 1rem .6rem;
  position: relative;
}
.dashboard-device img { border-radius: .42rem; }
.dashboard-device::after {
  background: linear-gradient(90deg, #b5bdc7, #f0f2f4, #b8c0c8);
  border-radius: 0 0 40px 40px;
  bottom: -18px;
  content: "";
  height: 18px;
  left: -5%;
  position: absolute;
  width: 110%;
}

.dashboard-screen {
  background: #f5f8fd;
  border-radius: .42rem;
  display: flex;
  height: 345px;
  overflow: hidden;
  width: 100%;
}
.dashboard-sidebar {
  background: #062754;
  color: rgba(255,255,255,.72);
  flex: 0 0 28%;
  padding: 1.1rem .82rem;
}
.dash-brand {
  color: #fff;
  font-size: .8rem;
  font-weight: 750;
  margin-bottom: 1.7rem;
  white-space: nowrap;
}
.dash-brand i { color: #6fa8ff; margin-right: .35rem; }
.dash-menu {
  border-radius: .38rem;
  font-size: .66rem;
  margin-bottom: .5rem;
  padding: .43rem .36rem;
}
.dash-menu i { margin-right: .35rem; }
.dash-menu.active { background: rgba(255,255,255,.13); color: #fff; }
.dashboard-content {
  flex: 1;
  padding: 1rem .8rem;
}
.dash-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: .85rem;
}
.dash-header small {
  color: #71839b;
  display: block;
  font-size: .58rem;
}
.dash-header strong { display: block; font-size: .8rem; }
.dash-avatar {
  align-items: center;
  background: var(--primary-soft);
  border-radius: 50%;
  color: var(--primary);
  display: inline-flex;
  font-size: .5rem;
  font-weight: bold;
  height: 24px;
  justify-content: center;
  width: 24px;
}
.dash-stat-row {
  display: flex;
  gap: .48rem;
  margin-bottom: .65rem;
}
.dash-stat {
  background: white;
  border-radius: .4rem;
  flex: 1;
  padding: .52rem .43rem;
}
.dash-stat small {
  color: #748499;
  display: block;
  font-size: .48rem;
}
.dash-stat strong {
  color: #142440;
  display: block;
  font-size: .84rem;
}
.dash-stat span { color: #08a56c; font-size: .49rem; }
.dash-panels {
  display: flex;
  gap: .48rem;
}
.dash-table, .dash-activity {
  background: white;
  border-radius: .4rem;
  flex: 1;
  min-height: 138px;
  padding: .62rem .52rem;
}
.dash-table strong, .dash-activity strong {
  display: block;
  font-size: .58rem;
  margin-bottom: .48rem;
}
.dash-table p, .dash-activity p {
  border-bottom: 1px solid #edf1f6;
  color: #697a91;
  font-size: .48rem;
  margin: 0;
  padding: .38rem 0;
}
.dash-table p span {
  color: #23334d;
  display: inline-block;
  width: 63%;
}
.dash-activity i { color: var(--primary); margin-right: .24rem; }
@media (max-width: 575.98px) {
  .dashboard-screen { height: 280px; }
  .dashboard-sidebar { padding: .85rem .5rem; }
  .dash-brand { font-size: .66rem; }
  .dash-menu { font-size: .55rem; }
}

.benefit-item {
  display: flex;
  gap: .9rem;
  margin-bottom: 1.1rem;
}
.benefit-item i { color: var(--primary); font-size: 1.1rem; margin-top: .15rem; }
.benefit-item strong { display: block; font-size: 1rem; }
.benefit-item p { color: var(--muted); margin: .2rem 0 0; }

.audience-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  height: 100%;
  padding: 2rem;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.audience-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}
.audience-card > i {
  background: var(--primary-soft);
  border-radius: .75rem;
  color: var(--primary);
  display: inline-flex;
  font-size: 1.8rem;
  margin-bottom: 1.35rem;
  padding: .8rem 1rem;
}
.audience-card h3 { font-size: 1.35rem; font-weight: 700; }
.audience-card p { color: var(--muted); line-height: 1.65; }
.audience-card a { font-weight: 600; text-decoration: none; }
.audience-card.featured { border: 2px solid rgba(18,97,215,.45); }
.recommended {
  background: var(--primary);
  border-radius: 30px;
  color: white;
  font-size: .7rem;
  font-weight: 700;
  padding: .36rem .75rem;
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
}

.cta-section {
  background: linear-gradient(100deg, #0647a7, #1261d7);
  color: white;
  padding: 3.1rem 0;
}
.cta-section h2 { font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 720; }
.cta-section p { color: rgba(255,255,255,.8); }
.cta-section .btn-light { color: var(--primary); }

.site-footer {
  background: var(--footer);
  color: rgba(255,255,255,.7);
  padding: 3.2rem 0 1.6rem;
}
.footer-brand { color: white; text-decoration: none; }
.footer-brand .brand-mark { background: white; color: var(--primary); }
.footer-copy { max-width: 270px; }
.site-footer h3 {
  color: white;
  font-size: .84rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.site-footer .col-lg-2 > a, .site-footer .col-lg-2 > span {
  color: rgba(255,255,255,.68);
  display: block;
  font-size: .88rem;
  margin-bottom: .65rem;
  text-decoration: none;
}
.site-footer a:hover { color: white; }
.social-icons { display: flex; gap: 1.2rem; }
.social-icons a { color: white; font-size: 1.15rem; }
.site-footer hr { border-color: rgba(255,255,255,.13); margin: 2.5rem 0 1.45rem; }
.copyright { color: rgba(255,255,255,.48); font-size: .83rem; }

@media (max-width: 991.98px) {
  .navbar { min-height: 72px; }
  .hero-section { margin-top: 72px; }
  .min-vh-hero { padding: 3rem 0; }
  .hero-visual { height: 610px; margin-top: .5rem; }
  .login-card { left: 50%; transform: translate(-50%, -50%); }
  .nav-link { border-bottom: 0; }
  .section-space { padding: 4rem 0; }
}
@media (max-width: 575.98px) {
  .hero-visual { height: 580px; }
  .hero-doctor { object-position: 72% center; }
  .login-card { padding: 1.55rem 1.25rem; }
  .section-space { padding: 3.25rem 0; }
}
