.home-page {
  --home-primary: #18588a;
  --home-primary-dark: #12466f;
  --home-navy: #15192b;
  --home-cyan: #00a4db;
  --home-text: #5d6978;
  --home-soft: #f3f8fb;
  --home-line: #e2ebf1;
  color: var(--home-text);
  background: #fff;
}

.home-page .section,
.home-page .section-lg { position: relative; }

.home-page .section-title {
  position: relative;
  margin-bottom: 34px;
  color: var(--home-navy);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.22;
  letter-spacing: -.5px;
}

.home-page .subtitle {
  margin-bottom: 10px;
  color: var(--home-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.home-page p { line-height: 1.75; }

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 210px 0 155px;
  background-position: center;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(12, 29, 49, .95) 0%, rgba(18, 70, 111, .88) 50%, rgba(24, 88, 138, .55) 100%);
  content: "";
}

.home-hero::after {
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.035), 0 0 0 160px rgba(255,255,255,.025);
  content: "";
}

.home-hero .container { position: relative; z-index: 2; }
.home-hero h1 { max-width: 700px; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.12; letter-spacing: -1.5px; }
.home-hero p { max-width: 620px; font-size: 17px; line-height: 1.75; }
.home-hero-kicker { display: inline-block; margin-bottom: 18px; padding: 7px 13px; border: 1px solid rgba(147, 220, 245, .35); border-radius: 30px; background: rgba(0, 164, 219, .12); color: #a9e6f8; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.home-hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 26px; padding: 0; color: rgba(255,255,255,.88); list-style: none; }
.home-hero-points li { font-size: 13px; }
.home-hero-points i { margin-right: 7px; color: #79d5f0; }
.home-hero .btn { padding: 14px 28px; border-radius: 9px; box-shadow: 0 12px 30px rgba(0, 164, 219, .2); }
.home-hero .col-lg-5 img { filter: drop-shadow(0 28px 40px rgba(0,0,0,.25)); }

.home-clients { overflow: hidden; padding: 76px 0 95px; background: #fff; }
.home-clients > .container > .row:first-child { margin-bottom: 64px; }
.home-clients .partner-carousel { margin-top: 25px; padding: 20px 0; border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); }
.home-clients .partner-track img { padding: 10px; border-radius: 10px; background: #fff; filter: grayscale(20%); transition: filter .2s ease, transform .2s ease; }
.home-clients .partner-track img:hover { filter: grayscale(0); transform: translateY(-3px); }
.home-clients .col-md-4 { display: flex; margin-top: 20px; }
.home-clients .col-md-4 > div {
  overflow: hidden;
  width: 100%;
  padding: 35px 28px !important;
  border: 1px solid var(--home-line);
  border-radius: 16px !important;
  background: #fff;
  box-shadow: 0 14px 34px rgba(21, 25, 43, .07) !important;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.home-clients .col-md-4 > div:hover { border-color: rgba(24, 88, 138, .35); transform: translateY(-7px); box-shadow: 0 22px 44px rgba(21, 25, 43, .12) !important; }
.home-clients .img-fluid1 { max-height: 155px; object-fit: contain; }
.home-clients .card-title { color: var(--home-navy); }

.home-models { overflow: hidden; background: var(--home-soft); }
.home-models::before { position: absolute; top: -170px; right: -170px; width: 380px; height: 380px; border-radius: 50%; background: rgba(0, 164, 219, .06); content: ""; }
.home-models .col-lg-3 { display: flex; margin-bottom: 26px; }
.home-models .card { width: 100%; padding-top: 30px !important; border: 1px solid transparent !important; border-radius: 14px !important; box-shadow: 0 10px 26px rgba(21, 25, 43, .06) !important; transition: .25s ease; }
.home-models .card:hover { border-color: rgba(24, 88, 138, .25) !important; transform: translateY(-6px); box-shadow: 0 18px 38px rgba(21, 25, 43, .11) !important; }
.home-models .card-body { padding: 12px 24px 28px; }
.home-models .card img { height: 74px; object-fit: contain; }
.home-models .card h4 { color: var(--home-navy); font-size: 18px; }

.home-story,
.home-cloud { padding: 95px 0; }
.home-cloud { background: var(--home-soft); }
.home-story img,
.home-cloud img { border-radius: 18px; filter: drop-shadow(0 18px 30px rgba(21, 25, 43, .12)); }
.home-story .col-md-6:last-child,
.home-cloud .col-md-6:first-child { padding-right: 55px; padding-left: 55px; }

.home-features { padding: 105px 0; background: linear-gradient(180deg, #f5f9fc 0%, #fff 100%); }
.home-features::before { position: absolute; top: -210px; left: 50%; width: 560px; height: 560px; border: 1px solid rgba(24, 88, 138, .08); border-radius: 50%; box-shadow: 0 0 0 75px rgba(24, 88, 138, .025), 0 0 0 150px rgba(24, 88, 138, .018); content: ""; transform: translateX(-50%); }
.mio-feature-heading { position: relative; z-index: 1; max-width: 800px; margin: 0 auto 55px; }
.mio-feature-heading .section-title { margin-bottom: 18px; }
.mio-feature-heading > p:last-child { max-width: 720px; margin: 0 auto; font-size: 16px; }
.mio-feature-flow { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: start; }
.mio-feature-flow::before { position: absolute; top: 42px; right: 8%; left: 8%; z-index: -1; height: 3px; background: linear-gradient(90deg, #12466f, #18588a, #00a4db, #2879a8, #15192b); content: ""; }
.mio-feature-step { position: relative; min-height: 330px; padding: 24px 20px 22px; border: 1px solid var(--home-line); border-radius: 16px; background: rgba(255,255,255,.97); box-shadow: 0 14px 34px rgba(21, 25, 43, .08); transition: transform .25s ease, box-shadow .25s ease; }
.mio-feature-step:nth-child(even) { margin-top: 42px; }
.mio-feature-step:hover { transform: translateY(-8px); box-shadow: 0 22px 45px rgba(21, 25, 43, .13); }
.mio-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mio-step-top span { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; color: #fff; font-size: 18px; font-weight: 700; box-shadow: 0 9px 22px rgba(21, 25, 43, .16); }
.mio-step-top i { font-size: 23px; opacity: .65; }
.mio-feature-step h3 { min-height: 50px; margin-bottom: 13px; color: var(--home-navy); font-size: 17px; line-height: 1.45; }
.mio-feature-step p { margin-bottom: 12px; color: #637080; font-size: 13px; line-height: 1.65; }
.mio-feature-step small { display: block; padding-top: 12px; border-top: 1px solid var(--home-line); color: #7a8693; font-size: 11px; line-height: 1.55; }
.mio-step-1 .mio-step-top span { background: #12466f; }
.mio-step-1 .mio-step-top i { color: #12466f; }
.mio-step-2 .mio-step-top span { background: #18588a; }
.mio-step-2 .mio-step-top i { color: #18588a; }
.mio-step-3 .mio-step-top span { background: #00a4db; }
.mio-step-3 .mio-step-top i { color: #0789b1; }
.mio-step-4 .mio-step-top span { background: #2879a8; }
.mio-step-4 .mio-step-top i { color: #2879a8; }
.mio-step-5 .mio-step-top span { background: #15192b; }
.mio-step-5 .mio-step-top i { color: #15192b; }
.mio-feature-summary { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 820px; margin: 46px auto 0; padding: 17px 24px; border: 1px solid rgba(24, 88, 138, .16); border-radius: 12px; background: #edf6fb; color: #506070; }
.mio-feature-summary i { color: var(--home-primary); font-size: 20px; }
.mio-feature-summary span { color: var(--home-primary); font-weight: 700; }
.mio-feature-summary strong { color: var(--home-navy); font-weight: 500; }

.home-app { position: relative; padding: 42px 0; background: linear-gradient(120deg, #15192b 0%, #18588a 70%, #1679a8 100%) !important; }
.home-app::after { position: absolute; top: -130px; right: -100px; width: 400px; height: 400px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; }
.home-app .container { position: relative; z-index: 1; }
.home-app .section-title { margin-bottom: 14px; font-size: clamp(28px, 3vw, 38px); }
.home-app p { max-width: 650px; margin-bottom: 0 !important; color: rgba(255,255,255,.8); }
.home-app-image { width: auto; max-height: 245px; filter: drop-shadow(0 16px 28px rgba(0,0,0,.24)); }

.home-journey { padding: 95px 0; background-color: var(--home-soft); background-blend-mode: soft-light; }
.home-journey .mobile-height { overflow: hidden; box-shadow: 0 20px 46px rgba(21, 25, 43, .16); }
.home-journey .col-md-6:last-child { padding-left: 55px; }

.home-integrations { padding: 95px 0; background: #fff; }
.mio-integration-orbit { position: relative; width: min(100%, 520px); margin: 0 auto; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #fff 0%, #f8fbfd 48%, #eef6fa 100%); box-shadow: inset 0 0 0 1px rgba(24, 88, 138, .08), 0 25px 55px rgba(21, 25, 43, .1); }
.mio-integration-orbit::before { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(0,164,219,.08), transparent 63%); content: ""; }
.mio-orbit-ring { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(24, 88, 138, .17); border-radius: 50%; transform: translate(-50%, -50%); }
.mio-orbit-ring-1 { width: 38%; height: 38%; border-style: dashed; }
.mio-orbit-ring-2 { width: 66%; height: 66%; }
.mio-orbit-ring-3 { width: 88%; height: 88%; border-color: rgba(0, 164, 219, .2); }
.mio-orbit-center { position: absolute; top: 50%; left: 50%; z-index: 4; display: flex; align-items: center; justify-content: center; flex-direction: column; width: 29%; height: 29%; border: 1px solid rgba(24, 88, 138, .13); border-radius: 50%; background: #fff; box-shadow: 0 14px 36px rgba(21, 25, 43, .14); transform: translate(-50%, -50%); }
.mio-orbit-center::after { position: absolute; inset: -9px; border: 1px solid rgba(0,164,219,.18); border-radius: 50%; content: ""; }
.mio-orbit-center img { position: relative; z-index: 1; width: 65%; max-height: 55px; object-fit: contain; }
.mio-orbit-center span { position: relative; z-index: 1; margin-top: 5px; color: #718092; font-size: 10px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.mio-orbit-node { position: absolute; z-index: 5; display: flex; align-items: center; flex-direction: column; min-width: 88px; color: var(--home-navy); text-align: center; transform: translate(-50%, -50%); }
.mio-orbit-node > span { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 7px; border: 4px solid #fff; border-radius: 16px; background: linear-gradient(145deg, #1d659a, #12466f); box-shadow: 0 10px 24px rgba(21, 25, 43, .2); color: #fff; font-size: 23px; transition: transform .25s ease, box-shadow .25s ease; }
.mio-orbit-node strong { padding: 4px 9px; border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: 0 4px 12px rgba(21,25,43,.08); font-size: 11px; line-height: 1.25; white-space: nowrap; }
.mio-orbit-node:hover > span { transform: translateY(-5px) scale(1.06); box-shadow: 0 15px 30px rgba(21, 25, 43, .26); }
.mio-node-crm { top: 15%; left: 22%; }
.mio-node-report { top: 13%; left: 73%; }
.mio-node-sign { top: 37%; left: 72%; }
.mio-node-emr { top: 58%; left: 88%; }
.mio-node-invoice { top: 86%; left: 63%; }
.mio-node-booking { top: 82%; left: 28%; }
.mio-node-prescription { top: 49%; left: 10%; }
.mio-node-sign > span,
.mio-node-booking > span { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(145deg, #00a4db, #1679a8); font-size: 19px; }
.mio-node-emr > span,
.mio-node-prescription > span { background: linear-gradient(145deg, #2480ae, #18588a); }
.mio-orbit-pulse { position: absolute; z-index: 2; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: var(--home-cyan); box-shadow: 0 0 0 4px rgba(0,164,219,.14); animation: mioOrbitPulse 3.8s ease-in-out infinite; }
.mio-pulse-1 { top: 25%; left: 47%; }
.mio-pulse-2 { right: 25%; bottom: 24%; animation-delay: 1.8s; }
@keyframes mioOrbitPulse { 0%, 100% { opacity: .4; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }
.home-integrations li { margin-bottom: 18px !important; padding: 16px 18px; border: 1px solid var(--home-line); border-radius: 12px; background: #fff; }
.home-integrations li .pr-3 { padding-right: 20px !important; }
.home-integrations li i { border-radius: 50%; color: var(--home-primary) !important; }
.home-integrations li h5 { color: var(--home-navy); }
.home-integrations li p { margin-bottom: 0; }

.home-partners { padding: 85px 0; background: var(--home-soft) !important; }
.home-partners ul { flex-wrap: wrap; justify-content: center !important; gap: 14px; }
.home-partners li { flex: 0 0 calc(25% - 14px); margin: 0 !important; }
.home-partners .partner-logo { display: flex; align-items: center; justify-content: center; height: 100px; padding: 18px; border: 1px solid var(--home-line); border-radius: 12px; background: #fff; transition: .2s ease; }
.home-partners .partner-logo:hover { border-color: rgba(24, 88, 138, .35); box-shadow: 0 10px 25px rgba(21, 25, 43, .08); transform: translateY(-4px); }
.home-partners img { max-height: 62px; object-fit: contain; }

.pricing-2026-home { padding: 100px 0; background: #fff; }

.home-activity,
.home-news { padding: 95px 0; }
.home-activity { background: var(--home-soft); }
.home-news { background: #fff; }
.home-activity .card,
.home-news .card { overflow: hidden; height: 100%; border: 1px solid var(--home-line) !important; border-radius: 14px !important; box-shadow: 0 10px 26px rgba(21, 25, 43, .07) !important; transition: transform .25s ease, box-shadow .25s ease; }
.home-activity .card:hover,
.home-news .card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(21, 25, 43, .12) !important; }
.home-activity .card-img-top,
.home-news .card-img-top { width: 100%; height: 220px; border-radius: 0 !important; object-fit: cover; }
.home-activity .card-body,
.home-news .card-body { min-height: 120px; padding: 22px; }
.home-activity h5,
.home-news h5 { color: var(--home-navy); font-size: 17px; line-height: 1.5; }
.home-news .card-date { display: inline-block; margin-bottom: 9px; color: var(--home-primary); font-size: 12px; font-weight: 600; }

@media (max-width: 1199px) {
  .mio-feature-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mio-feature-flow::before { display: none; }
  .mio-feature-step:nth-child(even) { margin-top: 0; }
}

@media (max-width: 991px) {
  .home-hero { min-height: auto; padding: 170px 0 100px; }
  .home-story .col-md-6:last-child,
  .home-cloud .col-md-6:first-child,
  .home-journey .col-md-6:last-child { padding-right: 15px; padding-left: 15px; }
  .home-partners li { flex-basis: calc(33.333% - 14px); }
}

@media (max-width: 767px) {
  .home-page .section-title { font-size: 30px; }
  .home-hero { padding: 145px 0 80px; text-align: center; }
  .home-hero h1 { font-size: 38px; }
  .home-clients,
  .home-story,
  .home-cloud,
  .home-features,
  .home-journey,
  .home-integrations,
  .home-partners,
  .pricing-2026-home,
  .home-activity,
  .home-news { padding-top: 70px; padding-bottom: 70px; }
  .mio-feature-flow { grid-template-columns: 1fr; gap: 14px; }
  .mio-feature-flow::before { display: block; top: 30px; right: auto; bottom: 30px; left: 41px; width: 3px; height: auto; background: linear-gradient(180deg, #12466f, #18588a, #00a4db, #2879a8, #15192b); }
  .mio-feature-step,
  .mio-feature-step:nth-child(even) { min-height: auto; margin-top: 0; padding-left: 78px; }
  .mio-step-top { position: absolute; top: 20px; left: 16px; }
  .mio-step-top i { display: none; }
  .mio-feature-step h3 { min-height: 0; }
  .mio-feature-summary { align-items: flex-start; flex-wrap: wrap; justify-content: flex-start; }
  .home-app { padding: 45px 0 0; }
  .home-app-copy { padding-bottom: 28px; }
  .home-app-image { max-height: 210px; }
  .mio-integration-orbit { width: min(100%, 470px); }
  .mio-orbit-node > span { width: 50px; height: 50px; border-width: 3px; font-size: 19px; }
  .mio-orbit-node strong { font-size: 10px; }
  .home-partners li { flex-basis: calc(50% - 14px); }
}

@media (max-width: 420px) {
  .mio-integration-orbit { width: 100%; }
  .mio-orbit-node { min-width: 70px; }
  .mio-orbit-node > span,
  .mio-node-sign > span,
  .mio-node-booking > span { width: 43px; height: 43px; border-radius: 12px; font-size: 17px; }
  .mio-orbit-node strong { padding: 3px 6px; font-size: 8px; }
  .mio-node-prescription { left: 14%; }
  .mio-node-emr { left: 85%; }
  .mio-orbit-center span { display: none; }
  .home-partners li { flex-basis: 100%; }
}
