/* Final QELVIRO presentation layer. Loaded last on purpose. */
.hero-system {
  width: min(100%, 1040px);
  min-height: 606px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: radial-gradient(circle at 50% 50%,rgba(255,255,255,.065),transparent 32%),linear-gradient(145deg,rgba(255,255,255,.025),transparent 38%),#050505;
  box-shadow: 0 70px 130px rgba(0,0,0,.65),0 0 0 1px rgba(255,255,255,.02);
}
.hero-system::before { background: radial-gradient(420px circle at var(--mx) var(--my),rgba(255,255,255,.1),transparent 50%); }
.hero-system::after {
  opacity: .34;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);
  mask-image: linear-gradient(to bottom,#000,transparent 95%);
}
.hero-system-head { min-height: 58px; padding-inline: 22px; color: #777; border-color: rgba(255,255,255,.09); }
.hero-system-head b { color: #fff; }
.hero-system-head b i { background: #fff; box-shadow: 0 0 12px #fff; }
.architecture-map { height: 455px; }
.arch-lines { left: 50%; width: 66%; transform: translateX(-50%); }
.arch-lines path { stroke: rgba(255,255,255,.13); }
.arch-lines .arch-signal { stroke: rgba(255,255,255,.72); }
.arch-core { width: 118px; height: 118px; border-color: rgba(255,255,255,.42); background: #f4f4f4; box-shadow: 0 0 70px rgba(255,255,255,.12); }
.arch-core::before { border-color: rgba(255,255,255,.1); }
.arch-core span { color: #080808; font-size: 2rem; }
.arch-core small { color: #5e5e5e; }
.arch-node { width: 168px; padding: 15px 16px; border: 1px solid rgba(255,255,255,.12); border-left: 1px solid rgba(255,255,255,.55); border-radius: 8px; background: rgba(12,12,12,.92); box-shadow: 0 18px 45px rgba(0,0,0,.35); }
.arch-node i { color: #fff; }
.arch-node small { color: #777; }
.arch-data,.arch-control { left: 11%; }
.arch-auto,.arch-insight { right: 11%; }
.system-cursor { position: absolute; z-index: 6; display: flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 6px; background: rgba(245,245,245,.96); color: #050505; box-shadow: 0 12px 35px rgba(0,0,0,.35); font: 500 .57rem var(--mono); animation: cursorFloat 4.5s ease-in-out infinite; }
.system-cursor i { width: 6px; height: 6px; border-radius: 50%; background: #111; }
.cursor-one { left: 29%; top: 23%; }
.cursor-two { right: 26%; bottom: 22%; animation-delay: -2.1s; }
.hero-system-foot { min-height: 92px; border-color: rgba(255,255,255,.09); background: rgba(0,0,0,.64); }
.hero-system-foot div + div { border-color: rgba(255,255,255,.09); }
.hero-system-foot small { color: #666; }
.hero-system-foot b { color: #cfcfcf; }
.capability-rail { margin-top: 82px; border-color: rgba(255,255,255,.08); background: #030303; }
.capability-rail::before { background: linear-gradient(90deg,#000,transparent); }
.capability-rail::after { background: linear-gradient(-90deg,#000,transparent); }
.capability-rail > div { color: #777; }
.capability-rail i { color: #fff; }

.demo-section { background: radial-gradient(circle at 50% 36%,rgba(255,255,255,.055),transparent 30rem),#000; }
.demo-section::before { background: rgba(255,255,255,.045); }
.demo-browser { border-color: rgba(255,255,255,.16); border-radius: 22px; overflow: hidden; background: #050505; box-shadow: 0 70px 150px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.025); }
.demo-browser::before { background: linear-gradient(115deg,rgba(255,255,255,.28),transparent 24%,transparent 76%,rgba(255,255,255,.12)); }
.demo-windowbar > b,.clinic-tab.active,.metric-highlight strong,.analysis-hero strong,.analysis-hero > span,.analysis-list strong,.analysis-rank { color: #fff; }
.demo-windowbar > b i { background: #fff; box-shadow: 0 0 9px #fff; }
.clinic-brand > span,.gold-action { border-color: #fff; background: #fff; color: #050505; }
.clinic-tab.active { background: rgba(255,255,255,.08); box-shadow: inset 2px 0 #fff; }
.clinic-user > span,.dental-supplier-grid article > div span { color: #fff; }
.clinic-metrics .metric-highlight,.analysis-hero { border-color: rgba(255,255,255,.24); background: linear-gradient(135deg,rgba(255,255,255,.08),#0a0d15 60%); }
.bar-chart i { background: linear-gradient(180deg,#fff,rgba(255,255,255,.18)); box-shadow: 0 0 15px rgba(255,255,255,.08); }
.gold-action:hover { background: #dedede; }

@media (max-width: 1050px) {
  .hero-system { width: min(100%,900px); min-height: 570px; }
  .architecture-map { height: 420px; }
  .arch-data,.arch-control { left: 6%; }
  .arch-auto,.arch-insight { right: 6%; }
}
@media (max-width: 820px) {
  .hero-system { margin: 0 auto; }
  .arch-data,.arch-control { left: 4%; }
  .arch-auto,.arch-insight { right: 4%; }
  .clinic-tab.active { box-shadow: inset 0 -2px #fff; }
}
@media (max-width: 600px) {
  .hero-system { min-height: 486px; border-radius: 15px; }
  .hero-system-head { padding: 0 12px; }
  .architecture-map { height: 340px; }
  .arch-lines { top: -8px; width: 88%; height: 325px; }
  .arch-core { width: 84px; height: 84px; }
  .arch-core span { font-size: 1.45rem; }
  .arch-node { width: 124px; padding: 10px; }
  .arch-node b { font-size: .6rem; }
  .arch-node small { font-size: .57rem; }
  .arch-data,.arch-control { left: 3%; }
  .arch-auto,.arch-insight { right: 3%; }
  .arch-data,.arch-auto { top: 21px; }
  .arch-control,.arch-insight { bottom: 15px; }
  .system-cursor { display: none; }
  .hero-system-foot { min-height: 84px; }
  .capability-rail { margin-top: 58px; }
  .demo-browser { border-radius: 14px; }
}

/* QELVIRO v2 — clearer content, fitted logo and scroll-led product story */
.qelviro-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: auto;
  min-width: 0;
  height: 42px;
  overflow: visible;
}
.horizon-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #000;
  padding: clamp(225px, 24vw, 350px) 0 85px;
  text-align: center;
}
.horizon-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.horizon-orbit {
  position: absolute;
  left: -20%;
  top: 110px;
  width: 140%;
  height: clamp(420px, 58vw, 900px);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, #000 56%, #090909 61%, #35312e 66%, #958b81 71%, #e6dcd2 76%, #fff7ed 80%, #fffaf4 100%);
  box-shadow: 0 -1px 0 rgba(255,255,255,.8), 0 -12px 45px rgba(255,240,220,.07);
  transform: translate3d(0,var(--parallax-y,0),0);
}
.horizon-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 28%, rgba(0,0,0,.25) 48%, #000 88%); }
.horizon-copy { position: relative; max-width: 850px; }
.horizon-copy h2 { margin: 18px 0; font-size: clamp(2.25rem, 5.1vw, 4.5rem); line-height: 1.06; letter-spacing: -.055em; color: #fff; }
.horizon-copy > p:not(.eyebrow) { color: #b8b5b2; line-height: 1.7; font-size: clamp(.95rem, 1.4vw, 1.1rem); }
.horizon-link { display: inline-flex; align-items: center; gap: 25px; margin-top: 25px; padding: 17px 23px; min-height: 48px; border-radius: 8px; background: #f5eee5; color: #111; font-weight: 600; text-decoration: none; transition: background .2s, transform .2s; }
.horizon-link:hover { background: #fff; transform: translateY(-2px); }
.horizon-link:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
@media (max-width: 600px) {
  .horizon-cta { padding-top: 205px; padding-bottom: 55px; }
  .horizon-orbit { left: -50%; width: 200%; top: 75px; height: 470px; }
  .horizon-copy > p:not(.eyebrow) br { display: none; }
}
@media (prefers-reduced-motion: reduce) { .horizon-orbit { transform: none; } .horizon-link { transition: none; } }
.brand-symbol {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.brand-symbol img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  padding: 2px;
  filter: contrast(1.08);
}
.brand-word {
  color: #fff;
  font-size: .89rem;
  font-weight: 700;
  letter-spacing: .23em;
  line-height: 1;
}

.hero { min-height: 1140px; }
.hero-layout { gap: 72px; }
.hero-system {
  width: min(100%,1080px);
  min-height: 660px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg,rgba(255,255,255,.025),transparent 28%),#030303;
}
.hero-system::after {
  z-index: -1;
  opacity: .34;
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 72% 62% at 50% 47%,#000,transparent 78%);
}
.product-scene {
  position: relative;
  height: 510px;
  overflow: hidden;
  perspective: 1200px;
}
.product-window {
  position: absolute;
  z-index: 2;
  width: 72%;
  height: 405px;
  left: 50%;
  top: 68px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 13px;
  background: rgba(8,8,8,.96);
  box-shadow: 0 45px 100px rgba(0,0,0,.72),0 0 0 1px rgba(255,255,255,.025);
  transform: translate3d(-50%,var(--parallax-y,0),0) rotateX(1deg);
  transition: transform .1s linear;
}
.product-window-top {
  height: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #777;
  font: .6rem var(--mono);
}
.product-window-top > span { display: flex; gap: 5px; }
.product-window-top > span i { width: 6px; height: 6px; border: 1px solid #555; border-radius: 50%; }
.product-window-top b { color: #bdbdbd; font-weight: 400; }
.product-window-top em { justify-self: end; font-style: normal; }
.product-ui { height: calc(100% - 42px); display: grid; grid-template-columns: 58px 1fr; }
.product-ui > aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 17px 0;
  border-right: 1px solid rgba(255,255,255,.08);
  background: #050505;
}
.product-ui > aside strong { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; background: #fff; color: #050505; font: 600 .68rem var(--mono); }
.product-ui > aside i { width: 16px; height: 16px; border: 1px solid #313131; border-radius: 5px; }
.product-ui > aside i.active { border-color: #aaa; background: #ededed; box-shadow: 0 0 18px rgba(255,255,255,.16); }
.product-content { padding: 24px; min-width: 0; }
.product-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.product-title small,.product-title b { display: block; }
.product-title small { color: #666; font: .57rem var(--mono); letter-spacing: .1em; }
.product-title b { margin-top: 3px; font-size: 1.04rem; }
.product-title button { min-height: 32px; padding: 0 11px; border: 0; border-radius: 6px; background: #fff; color: #050505; font-size: .61rem; font-weight: 700; }
.product-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 20px; }
.product-metrics > span { padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: #0b0b0b; }
.product-metrics small,.product-metrics b,.product-metrics em { display: block; }
.product-metrics small { color: #717171; font-size: .57rem; }
.product-metrics b { margin: 6px 0 2px; font-size: 1rem; letter-spacing: -.03em; }
.product-metrics em { color: #9c9c9c; font-size: .53rem; font-style: normal; }
.product-chart { position: relative; height: 178px; margin-top: 9px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),#080808; background-size: 100% 36px; }
.chart-copy { position: absolute; z-index: 2; left: 14px; top: 13px; }
.chart-copy small,.chart-copy b { display: block; }
.chart-copy small { color: #646464; font: .52rem var(--mono); }
.chart-copy b { margin-top: 2px; font-size: .92rem; }
.product-chart svg { position: absolute; width: 100%; height: 100%; inset: 0; }
.product-chart .area { fill: url(#heroArea); }
.product-chart .line { fill: none; stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.floating-module {
  position: absolute;
  z-index: 4;
  min-width: 190px;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 10px;
  background: rgba(14,14,14,.88);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(18px);
  transform: translate3d(0,var(--parallax-y,0),0);
  transition: transform .1s linear;
}
.floating-module small,.floating-module b,.floating-module span { display: block; }
.floating-module small { color: #777; font: .55rem var(--mono); letter-spacing: .1em; }
.floating-module b { margin-top: 5px; font-size: .77rem; }
.floating-module span { margin-top: 8px; color: #888; font-size: .61rem; }
.floating-module span i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 9px #fff; }
.module-stock { left: 5%; top: 100px; }
.module-saving { right: 4%; bottom: 44px; min-width: 165px; }
.module-saving b { font-size: 1.3rem; }
.live-pointer {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 6px;
  background: #f1f1f1;
  color: #080808;
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
  font: 500 .55rem var(--mono);
  transform: translate3d(0,var(--parallax-y,0),0);
  transition: transform .1s linear;
}
.live-pointer::before { content: ""; position: absolute; left: -6px; top: -7px; width: 11px; height: 16px; background: #f1f1f1; clip-path: polygon(0 0,100% 65%,55% 72%,35% 100%); }
.live-pointer i { width: 6px; height: 6px; border-radius: 50%; background: #111; }
.pointer-one { left: 25%; bottom: 68px; }
.pointer-two { right: 18%; top: 84px; background: #2a2a2a; color: #eee; }
.pointer-two::before { background: #2a2a2a; }
.pointer-two i { background: #fff; }
.scene-blur { position: absolute; z-index: 1; border-radius: 50%; filter: blur(70px); opacity: .13; }
.blur-one { width: 250px; height: 250px; left: 12%; top: 80px; background: #fff; }
.blur-two { width: 210px; height: 210px; right: 8%; bottom: 20px; background: #888; }
.hero-system-foot { position: relative; z-index: 8; }

.solutions-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.solution-featured { grid-column: 1/-1; min-height: 480px; }
.solution-card { position: relative; min-height: 385px; transition: border-color .3s,background .3s,transform .55s cubic-bezier(.2,.8,.2,1),opacity .55s; }
.solution-card::after { content: "↗"; position: absolute; top: 25px; right: 27px; color: #505050; font: .9rem var(--mono); transition: color .25s,transform .25s; }
.solution-card:hover::after { color: #fff; transform: translate(3px,-3px); }
.card-copy p { max-width: 620px; font-size: .94rem; }
.card-copy li { border-radius: 999px; }

body.motion-ready .scroll-stage {
  opacity: 0;
  transform: translate3d(0,52px,0) scale(.985);
  transition: opacity .75s cubic-bezier(.2,.8,.2,1),transform .75s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--stage-delay,0ms);
  will-change: transform,opacity;
}
body.motion-ready .scroll-stage.is-inview { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.section-head.scroll-stage { transform: translate3d(-34px,40px,0); }
.section-head.scroll-stage.is-inview { transform: none; }
.scroll-progress { position: fixed; z-index: 200; top: 0; left: 0; width: var(--scroll-page,0%); height: 2px; background: #fff; box-shadow: 0 0 12px rgba(255,255,255,.55); pointer-events: none; }

@media (max-width: 900px) {
  .hero-system { min-height: 600px; }
  .product-scene { height: 450px; }
  .product-window { width: 84%; height: 370px; top: 55px; }
  .product-content { padding: 18px; }
  .module-stock { left: 2%; top: 92px; }
  .module-saving { right: 2%; bottom: 30px; }
  .pointer-one { left: 18%; bottom: 35px; }
}

@media (max-width: 700px) {
  .brand-word { font-size: .78rem; letter-spacing: .18em; }
  .hero { min-height: auto; }
  .hero-system { min-height: 528px; }
  .product-scene { height: 385px; }
  .product-window { width: 94%; height: 330px; top: 30px; }
  .product-ui { grid-template-columns: 42px 1fr; }
  .product-ui > aside { gap: 14px; }
  .product-ui > aside i { width: 13px; height: 13px; }
  .product-content { padding: 14px 11px; }
  .product-title button { display: none; }
  .product-metrics { gap: 5px; margin-top: 14px; }
  .product-metrics > span { padding: 9px 7px; }
  .product-metrics b { font-size: .78rem; }
  .product-metrics small { font-size: .47rem; }
  .product-metrics em { font-size: .44rem; }
  .product-chart { height: 164px; }
  .floating-module { min-width: 152px; padding: 10px 11px; }
  .module-stock { left: 1%; top: 244px; }
  .module-saving { right: 1%; bottom: 7px; }
  .live-pointer { display: none; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution-featured { grid-column: auto; min-height: auto; }
  .solution-card { min-height: 350px; }
}

@media (max-width: 440px) {
  .qelviro-brand { gap: 8px; }
  .brand-symbol { width: 29px; height: 29px; flex-basis: 29px; }
  .brand-word { font-size: .72rem; letter-spacing: .14em; }
  .hero-system { min-height: 508px; }
  .hero-system-head { font-size: .53rem; }
  .product-window { width: 98%; }
  .module-stock { display: none; }
  .module-saving { right: 7px; bottom: 8px; }
  .hero-system-foot b { font-size: .47rem; }
}

@media (prefers-reduced-motion: reduce) {
  body.motion-ready .scroll-stage { opacity: 1; transform: none; transition: none; }
  [data-parallax] { transform: none !important; }
}

/* Footer and legal center */
.footer-main {
  display: grid;
  grid-template-columns: minmax(240px,1.7fr) repeat(3,minmax(150px,1fr));
  gap: 54px;
  padding-block: 74px 58px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-intro .qelviro-brand { width: max-content; }
.footer-intro p { max-width: 300px; margin: 28px 0 0; color: #777; font-size: .92rem; line-height: 1.7; }
.footer-column { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; }
.footer-column > small { margin-bottom: 9px; color: #555; font: 500 .63rem var(--mono); letter-spacing: .15em; }
.footer-column a,.footer-column button,.form-note button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #969696;
  font: inherit;
  font-size: .81rem;
  line-height: 1.45;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s,transform .2s;
}
.footer-column a:hover,.footer-column button:hover,.form-note button:hover { color: #fff; transform: translateX(3px); }
.footer-contact span { color: #666; font-size: .76rem; }
.footer-contact .back-top { margin-top: 15px; color: #fff; }
.footer-bottom { min-height: 74px; }
.form-note button { color: #fff; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }

.legal-dialog {
  width: min(1180px,calc(100% - 32px));
  max-width: none;
  height: min(850px,calc(100dvh - 32px));
  max-height: none;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  overflow: hidden;
  background: #08080c;
  color: #f5f5f7;
  box-shadow: 0 50px 150px rgba(0,0,0,.8),0 0 90px rgba(112,87,255,.1);
}
.legal-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(12px); }
.legal-shell { height: 100%; display: grid; grid-template-rows: auto 1fr; }
.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 18px 24px 18px 30px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(90deg,rgba(128,103,255,.08),transparent 38%),rgba(9,9,14,.96);
}
.legal-header small { color: #8375d0; font: 500 .62rem var(--mono); letter-spacing: .13em; }
.legal-header h2 { margin: 6px 0 0; font-size: 1.3rem; letter-spacing: -.03em; }
.legal-close {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  color: #aaa;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color .2s,border-color .2s,transform .2s;
}
.legal-close:hover { border-color: rgba(128,103,255,.5); color: #fff; transform: rotate(4deg); }
.legal-layout { min-height: 0; display: grid; grid-template-columns: 270px 1fr; }
.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 26px 16px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg,rgba(18,17,29,.94),rgba(8,8,12,.98));
  overflow-y: auto;
}
.legal-nav > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #898899;
  font-size: .78rem;
  text-align: left;
  cursor: pointer;
  transition: color .2s,border-color .2s,background .2s;
}
.legal-nav > button span { color: #4e4d5c; font: .56rem var(--mono); }
.legal-nav > button:hover { color: #fff; background: rgba(255,255,255,.035); }
.legal-nav > button.active { border-color: rgba(128,103,255,.28); background: rgba(128,103,255,.12); color: #fff; box-shadow: inset 2px 0 #8067ff; }
.legal-nav > button.active span { color: #a99cff; }
.legal-template-note { margin-top: auto; padding: 15px; border: 1px solid rgba(255,191,89,.18); border-radius: 10px; background: rgba(255,191,89,.055); }
.legal-template-note b { color: #e7bd76; font-size: .7rem; }
.legal-template-note p { margin: 6px 0 0; color: #81745f; font-size: .7rem; line-height: 1.55; }
.legal-content { min-width: 0; overflow-y: auto; scroll-behavior: smooth; scrollbar-color: #41376f #0d0d12; }
.legal-panel { width: min(800px,100%); margin: 0 auto; padding: 62px 54px 90px; }
.legal-panel[hidden] { display: none; }
.legal-panel.active { animation: legalPanelIn .28s ease both; }
.legal-kicker { margin: 0 0 17px !important; color: #8174c7 !important; font: 500 .68rem var(--mono) !important; letter-spacing: .08em; text-transform: uppercase; }
.legal-panel h1 { margin: 0 0 28px; font-size: clamp(2.2rem,5vw,4rem); line-height: .98; letter-spacing: -.065em; }
.legal-panel h2 { margin: 45px 0 13px; font-size: 1.12rem; letter-spacing: -.02em; }
.legal-panel p,.legal-panel li { color: #a7a6b2; font-size: 1rem; line-height: 1.78; }
.legal-panel p { margin: 0 0 18px; }
.legal-panel ul { margin: 0; padding-left: 20px; }
.legal-panel li + li { margin-top: 8px; }
.legal-panel b { color: #ededf2; }
.legal-panel a { color: #aa9cff; text-underline-offset: 4px; }
.legal-panel mark { padding: 2px 5px; border-radius: 4px; background: rgba(255,191,89,.12); color: #f1c97e; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.legal-definition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.legal-definition-grid > div { padding: 17px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.025); }
.legal-definition-grid b,.legal-definition-grid span { display: block; }
.legal-definition-grid b { font-size: .82rem; }
.legal-definition-grid span { margin-top: 7px; color: #858491; font-size: .83rem; line-height: 1.6; }
.cookie-table { margin: 18px 0 30px; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 11px; }
.cookie-row { display: grid; grid-template-columns: .8fr 1.7fr .8fr; gap: 15px; padding: 15px 17px; border-top: 1px solid rgba(255,255,255,.07); color: #9796a2; font-size: .83rem; line-height: 1.55; }
.cookie-row:first-child { border-top: 0; }
.cookie-head { background: rgba(128,103,255,.08); color: #c7c2e6; font: 500 .61rem var(--mono); letter-spacing: .08em; }
.legal-company-card { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 28px 0 35px; padding: 1px; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.08); }
.legal-company-card > div { min-width: 0; padding: 18px; background: #0e0e14; }
.legal-company-card small,.legal-company-card b { display: block; }
.legal-company-card small { color: #5f5e6d; font: .58rem var(--mono); letter-spacing: .09em; }
.legal-company-card b { margin-top: 8px; font-size: .84rem; line-height: 1.5; overflow-wrap: anywhere; }
@keyframes legalPanelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.cookie-banner {
  position: fixed;
  z-index: 450;
  left: 50%;
  bottom: 18px;
  display: grid;
  grid-template-columns: auto minmax(260px,1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(1120px,calc(100% - 32px));
  padding: 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 17px;
  background: linear-gradient(100deg,rgba(128,103,255,.1),transparent 35%),rgba(9,9,14,.94);
  color: #f5f5f7;
  box-shadow: 0 25px 90px rgba(0,0,0,.65),0 0 55px rgba(112,87,255,.08);
  backdrop-filter: blur(24px);
  transform: translateX(-50%);
  animation: cookieBannerIn .45s ease both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 13px;
  background: linear-gradient(135deg,#8067ff,#36c5ff);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(104,78,242,.25);
}
.cookie-banner-copy small { color: #8579ca; font: 500 .57rem var(--mono); letter-spacing: .12em; }
.cookie-banner-copy h2 { margin: 4px 0 4px; font-size: 1rem; letter-spacing: -.02em; }
.cookie-banner-copy p { margin: 0; color: #888794; font-size: .78rem; line-height: 1.55; }
.cookie-banner-copy button { margin-top: 6px; padding: 0; border: 0; background: transparent; color: #ae9fff; font-size: .7rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-banner-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.cookie-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 9px;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s,background .2s,color .2s,transform .2s;
}
.cookie-button:hover { transform: translateY(-1px); }
.cookie-secondary { background: rgba(255,255,255,.035); color: #b0afba; }
.cookie-secondary:hover { border-color: rgba(128,103,255,.45); color: #fff; }
.cookie-primary { border-color: transparent; background: linear-gradient(135deg,#8067ff,#6547ec 62%,#4a9dff); color: #fff; box-shadow: 0 9px 24px rgba(104,78,242,.22); }
.cookie-primary:hover { background: linear-gradient(135deg,#927cff,#7358f5 62%,#57a9ff); }

.cookie-dialog {
  width: min(670px,calc(100% - 28px));
  max-width: none;
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 19px;
  overflow: hidden;
  background: #0a0a0f;
  color: #f5f5f7;
  box-shadow: 0 45px 130px rgba(0,0,0,.78),0 0 70px rgba(112,87,255,.08);
}
.cookie-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(10px); }
.cookie-settings-shell > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 23px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(90deg,rgba(128,103,255,.09),transparent 46%);
}
.cookie-settings-shell > header small { color: #8375d0; font: 500 .58rem var(--mono); letter-spacing: .12em; }
.cookie-settings-shell > header h2 { margin: 6px 0 0; font-size: 1.3rem; letter-spacing: -.03em; }
.cookie-settings-shell > header > button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  color: #aaa;
  font-size: 1.45rem;
  cursor: pointer;
}
.cookie-settings-body { padding: 22px; }
.cookie-settings-body > p { margin: 0 0 17px; color: #8e8d99; font-size: .9rem; line-height: 1.65; }
.cookie-choice {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 17px 0;
  border-top: 1px solid rgba(255,255,255,.075);
}
.cookie-choice b,.cookie-choice div > span { display: block; }
.cookie-choice b { font-size: .88rem; }
.cookie-choice div > span { max-width: 430px; margin-top: 5px; color: #777682; font-size: .78rem; line-height: 1.55; }
.consent-switch { display: grid; grid-template-columns: auto; justify-items: center; gap: 6px; cursor: pointer; }
.consent-switch input { position: absolute; opacity: 0; pointer-events: none; }
.consent-switch > span { position: relative; width: 46px; height: 26px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: #181820; transition: background .2s,border-color .2s; }
.consent-switch > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #777682; transition: transform .2s,background .2s; }
.consent-switch input:checked + span { border-color: rgba(128,103,255,.7); background: rgba(128,103,255,.3); }
.consent-switch input:checked + span::after { background: #fff; transform: translateX(20px); }
.consent-switch input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.consent-switch em { color: #696875; font-size: .59rem; font-style: normal; }
.consent-switch.locked { cursor: default; }
.cookie-dialog .cookie-settings-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 17px 22px 21px;
  border-top: 1px solid rgba(255,255,255,.09);
  background: #0a0a0f;
}
@keyframes cookieBannerIn { from { opacity: 0; transform: translate(-50%,18px); } to { opacity: 1; transform: translate(-50%,0); } }

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-contact { grid-column: 2 / -1; }
  .legal-layout { grid-template-columns: 220px 1fr; }
  .legal-panel { padding-inline: 38px; }
  .cookie-banner { grid-template-columns: auto 1fr; }
  .cookie-banner-actions { grid-column: 2; justify-content: flex-start; }
}
@media (max-width: 700px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 42px 28px; padding-block: 58px 46px; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-contact { grid-column: auto; }
  .legal-dialog { width: calc(100% - 16px); height: calc(100dvh - 16px); border-radius: 16px; }
  .legal-header { min-height: 78px; padding: 14px 14px 14px 18px; }
  .legal-layout { display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .legal-nav { flex-direction: row; gap: 6px; padding: 10px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); overflow-x: auto; }
  .legal-nav > button { min-width: max-content; min-height: 42px; gap: 14px; }
  .legal-template-note { display: none; }
  .legal-panel { padding: 40px 20px 70px; }
  .legal-definition-grid,.legal-company-card { grid-template-columns: 1fr; }
  .cookie-table { overflow-x: auto; }
  .cookie-row { min-width: 610px; }
  .cookie-banner { bottom: 8px; grid-template-columns: 1fr; width: calc(100% - 16px); padding: 17px; }
  .cookie-banner-mark { display: none; }
  .cookie-banner-actions { grid-column: auto; display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-banner-actions .cookie-primary { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 480px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-intro { grid-column: auto; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { gap: 10px; padding-block: 22px; }
  .legal-header small { font-size: .54rem; }
  .legal-header h2 { font-size: 1.05rem; }
  .legal-close { width: 42px; height: 42px; }
  .cookie-choice { grid-template-columns: 1fr; }
  .consent-switch { grid-template-columns: auto auto; justify-items: start; justify-content: start; align-items: center; }
  .cookie-dialog .cookie-settings-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-button { padding-inline: 10px; }
}

/* Qelviro protected concept preview — premium product UI */
.demo-browser {
  --demo-accent: #8067ff;
  --demo-accent-2: #36c5ff;
  --demo-success: #55dca5;
  --demo-panel: rgba(15,15,24,.86);
  border-color: rgba(139,119,255,.28);
  border-radius: 26px;
  background: #07070b;
  box-shadow: 0 70px 170px rgba(0,0,0,.72),0 0 0 1px rgba(128,103,255,.08),0 0 100px rgba(102,76,255,.08);
}
.demo-browser::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 480px;
  height: 480px;
  right: -180px;
  top: -180px;
  border-radius: 50%;
  background: rgba(94,75,255,.16);
  filter: blur(110px);
  pointer-events: none;
}
.demo-browser > * { position: relative; z-index: 1; }
.demo-windowbar {
  min-height: 54px;
  padding-inline: 20px;
  border-color: rgba(255,255,255,.075);
  background: rgba(11,11,17,.92);
  backdrop-filter: blur(22px);
}
.window-dots i { width: 8px; height: 8px; border-color: #565663; background: #17171e; }
.demo-windowbar > b { padding: 6px 9px; border: 1px solid rgba(85,220,165,.22); border-radius: 999px; background: rgba(85,220,165,.07); color: var(--demo-success); font-size: .58rem; }
.demo-windowbar > b i { background: var(--demo-success); box-shadow: 0 0 10px var(--demo-success); }
.clinic-app { grid-template-columns: 232px 1fr; min-height: 800px; }
.clinic-sidebar {
  padding: 22px 13px 16px;
  border-color: rgba(255,255,255,.075);
  background: linear-gradient(180deg,rgba(19,18,31,.96),rgba(7,7,12,.98));
}
.clinic-brand { padding: 0 8px 22px; border-color: rgba(255,255,255,.075); }
.clinic-brand > span {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 11px;
  background: linear-gradient(135deg,var(--demo-accent),var(--demo-accent-2));
  color: #fff;
  box-shadow: 0 12px 28px rgba(107,83,255,.27);
}
.clinic-brand b { font-size: .86rem; letter-spacing: -.02em; }
.clinic-brand small { margin-top: 1px; color: #77768b; }
.clinic-sidebar > p { color: #5e5d70; letter-spacing: .16em; }
.clinic-nav { gap: 7px; }
.clinic-tab {
  min-height: 46px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #89889b;
  font-size: .73rem;
  transition: color .2s,border-color .2s,background .2s,transform .2s;
}
.clinic-tab:hover { color: #f2f1ff; background: rgba(255,255,255,.035); transform: translateX(2px); }
.clinic-tab.active {
  border-color: rgba(128,103,255,.25);
  background: linear-gradient(90deg,rgba(128,103,255,.18),rgba(54,197,255,.055));
  color: #f4f2ff;
  box-shadow: inset 2px 0 var(--demo-accent),0 8px 24px rgba(0,0,0,.16);
}
.clinic-tab > span { color: #77768b; }
.clinic-tab.active > span { color: #a999ff; }
.clinic-tab > i { background: linear-gradient(135deg,#ff6c7d,#ff9b72); color: #fff; box-shadow: 0 0 16px rgba(255,108,125,.25); }
.clinic-user { border-color: rgba(255,255,255,.075); }
.clinic-user > span { border-color: rgba(128,103,255,.28); border-radius: 9px; background: rgba(128,103,255,.1); color: #b5a8ff; }
.clinic-user small { color: #646377; }
.clinic-main {
  padding: 28px;
  background: radial-gradient(circle at 92% 0,rgba(97,76,255,.13),transparent 27%),radial-gradient(circle at 42% 100%,rgba(54,197,255,.055),transparent 30%),#0a0a10;
}
.clinic-topbar { margin-bottom: 23px; }
.clinic-topbar small { color: #676679; }
.clinic-topbar h3 { margin-top: 6px; font-size: 1.65rem; font-weight: 650; }
.ghost-action,.gold-action,.clinic-card-head button {
  min-height: 40px;
  padding-inline: 14px;
  border-radius: 8px;
  border-color: rgba(255,255,255,.11);
  background: rgba(20,20,29,.85);
  color: #aaa9bb;
}
.ghost-action:hover,.clinic-card-head button:hover { border-color: rgba(128,103,255,.48); background: rgba(128,103,255,.1); color: #fff; }
.gold-action {
  border-color: transparent;
  background: linear-gradient(135deg,var(--demo-accent),#6547ec 62%,#4a9dff);
  color: #fff;
  box-shadow: 0 10px 26px rgba(104,78,242,.23);
}
.gold-action:hover { background: linear-gradient(135deg,#927cff,#7358f5 62%,#57a9ff); }
.clinic-actions a.gold-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.clinic-tab.locked { color: #676679; }
.clinic-tab.locked:hover { color: #a7a6b8; transform: none; }
.clinic-tab.locked > i {
  padding: 3px 5px;
  border: 1px solid rgba(169,153,255,.2);
  border-radius: 5px;
  background: rgba(128,103,255,.08);
  color: #9485db;
  box-shadow: none;
  font-size: .42rem;
  letter-spacing: .08em;
}
.clinic-metrics { gap: 10px; }
.clinic-metrics article {
  min-height: 115px;
  padding: 18px;
  border-color: rgba(255,255,255,.075);
  border-radius: 13px;
  background: linear-gradient(145deg,rgba(20,20,30,.96),rgba(13,13,20,.95));
  box-shadow: inset 0 1px rgba(255,255,255,.02),0 16px 30px rgba(0,0,0,.12);
}
.clinic-metrics article:hover { border-color: rgba(128,103,255,.26); }
.clinic-metrics small { color: #77768a; }
.clinic-metrics strong { margin-top: 10px; font-size: 1.34rem; }
.clinic-metrics em { color: #77768a; }
.clinic-metrics .critical { color: #ff7b8c; }
.clinic-metrics .metric-highlight {
  border-color: rgba(128,103,255,.34);
  background: radial-gradient(circle at 100% 0,rgba(54,197,255,.13),transparent 48%),linear-gradient(145deg,rgba(128,103,255,.19),rgba(17,15,28,.96));
}
.metric-highlight strong { background: linear-gradient(90deg,#fff,#a99cff,#60d0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.smart-insight {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  margin-top: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(128,103,255,.22);
  border-radius: 12px;
  background: linear-gradient(90deg,rgba(128,103,255,.11),rgba(54,197,255,.035));
}
.smart-insight > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg,var(--demo-accent),var(--demo-accent-2)); color: #fff; box-shadow: 0 8px 22px rgba(104,78,242,.24); }
.smart-insight b,.smart-insight p { display: block; margin: 0; }
.smart-insight b { font-size: .72rem; }
.smart-insight p { margin-top: 2px; color: #77768a; font-size: .64rem; }
.smart-insight button,.smart-insight > a { border: 0; background: transparent; color: #ae9fff; font-size: .66rem; font-weight: 700; cursor: pointer; text-decoration: none; }
.smart-insight button span,.smart-insight > a span { display: inline-block; margin-left: 5px; transition: transform .2s; }
.smart-insight button:hover span,.smart-insight > a:hover span { transform: translateX(4px); }
.clinic-overview-grid { gap: 10px; margin-top: 10px; }
.clinic-card,.clinic-table,.analysis-list {
  border-color: rgba(255,255,255,.075);
  border-radius: 13px;
  background: var(--demo-panel);
  box-shadow: inset 0 1px rgba(255,255,255,.02),0 18px 34px rgba(0,0,0,.13);
}
.clinic-card-head b { font-size: .82rem; }
.clinic-card-head small { color: #676679; }
.bar-chart i { border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg,#9d8aff,var(--demo-accent) 48%,rgba(54,197,255,.28)); box-shadow: 0 0 22px rgba(128,103,255,.18); }
.stock-alerts > div > span { border-color: rgba(255,123,140,.28); border-radius: 10px; background: rgba(255,123,140,.055); }
.overpay-preview { margin-top: 10px; }
.overpay-head,.overpay-row,.stock-alerts > div:not(.clinic-card-head) { border-color: rgba(255,255,255,.065); }
.overpay-row > strong,.analysis-list strong,.analysis-rank,.analysis-hero strong,.analysis-hero > span { color: #b5a8ff; }
.clinic-search { min-height: 44px; border-color: rgba(255,255,255,.1); border-radius: 9px; background: rgba(17,17,25,.92); }
.clinic-search:focus-within { border-color: rgba(128,103,255,.55); box-shadow: 0 0 0 3px rgba(128,103,255,.08); }
.clinic-row { border-color: rgba(255,255,255,.06); }
.clinic-row:not(.clinic-table-head):hover { background: rgba(128,103,255,.045); }
.dental-supplier-grid { gap: 12px; }
.dental-supplier-grid article { border-color: rgba(255,255,255,.075); border-radius: 13px; background: linear-gradient(145deg,rgba(20,20,30,.96),rgba(12,12,18,.96)); transition: transform .25s,border-color .25s; }
.dental-supplier-grid article:hover { transform: translateY(-4px); border-color: rgba(128,103,255,.28); }
.dental-supplier-grid article > div span { border-color: rgba(128,103,255,.3); border-radius: 10px; background: rgba(128,103,255,.08); color: #b3a7ff; }
.dental-supplier-grid em,.order-done { background: rgba(85,220,165,.08); color: var(--demo-success); }
.dental-supplier-grid footer { border-color: rgba(255,255,255,.07); }
.order-list > div:not(.clinic-card-head),.analysis-list > div { border-color: rgba(255,255,255,.065); }
.order-transit { background: rgba(128,103,255,.09); color: #ad9fff; }
.analysis-hero { border-color: rgba(128,103,255,.34); border-radius: 13px; background: radial-gradient(circle at 90% 0,rgba(54,197,255,.12),transparent 42%),linear-gradient(120deg,rgba(128,103,255,.17),rgba(16,15,25,.96) 64%); }
.analysis-list { overflow: hidden; }
.demo-dialog { border-color: rgba(128,103,255,.3); border-radius: 16px; background: #0c0c13; box-shadow: 0 45px 120px rgba(0,0,0,.72),0 0 70px rgba(106,80,255,.08); }
.demo-dialog::backdrop { background: rgba(2,2,6,.82); }
.dialog-head,.dialog-actions { border-color: rgba(255,255,255,.075); }
.dialog-head small { color: #a999ff; }
.dialog-head button { border-color: rgba(255,255,255,.1); border-radius: 8px; }
.dialog-grid input,.dialog-grid select { border-color: rgba(255,255,255,.1); border-radius: 8px; background: #12121b; }
.dialog-grid input:focus,.dialog-grid select:focus { border-color: var(--demo-accent); box-shadow: 0 0 0 3px rgba(128,103,255,.1); }
.demo-toast { border-color: rgba(128,103,255,.35); border-radius: 10px; background: #12111d; box-shadow: 0 22px 60px rgba(0,0,0,.52); }

.private-module-card {
  position: relative;
  min-height: 178px;
  margin-top: 10px;
  overflow: hidden;
}
.private-module-preview {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 9px;
  padding: 18px;
  opacity: .42;
  filter: blur(5px);
}
.private-module-preview i {
  height: 32px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 7px;
  background: linear-gradient(90deg,rgba(128,103,255,.2),rgba(54,197,255,.05));
}
.private-module-cover {
  position: absolute;
  inset: 51px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 18px;
  background: linear-gradient(180deg,rgba(10,10,16,.42),rgba(10,10,16,.92));
  backdrop-filter: blur(4px);
  text-align: left;
}
.private-module-cover > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(128,103,255,.3);
  border-radius: 10px;
  background: rgba(128,103,255,.12);
  color: #b8abff;
}
.private-module-cover b,.private-module-cover small { display: block; }
.private-module-cover b { font-size: .76rem; }
.private-module-cover small { margin-top: 3px; color: #77768a; font-size: .62rem; }
.private-module-cover a { margin-left: auto; color: #ae9fff; font-size: .65rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.private-preview-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 13px 15px;
  border: 1px solid rgba(128,103,255,.2);
  border-radius: 11px;
  background: rgba(128,103,255,.07);
}
.private-preview-note span { color: #b2a4ff; font: 700 .55rem var(--mono); letter-spacing: .1em; }
.private-preview-note p { margin: 0; color: #858497; font-size: .66rem; }
.private-preview-note a { color: #ae9fff; font-size: .64rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.operations-private-card { min-height: 190px; }

@media (max-width: 820px) {
  .clinic-sidebar { background: rgba(12,11,20,.98); }
  .clinic-nav { gap: 5px; }
  .clinic-tab.active { box-shadow: inset 0 -2px var(--demo-accent); }
  .smart-insight { grid-template-columns: auto 1fr; }
  .smart-insight button,.smart-insight > a { grid-column: 2; justify-self: start; padding: 0; }
  .private-preview-note { grid-template-columns: auto 1fr; }
  .private-preview-note a { grid-column: 2; }
}
@media (max-width: 600px) {
  .demo-browser { border-radius: 16px; }
  .clinic-main { padding: 16px 10px 22px; }
  .clinic-metrics article { min-height: 104px; }
  .smart-insight { padding: 12px; }
  .smart-insight p { font-size: .59rem; }
  .private-module-card,.operations-private-card { min-height: 230px; }
  .private-module-cover { align-items: flex-start; flex-wrap: wrap; justify-content: flex-start; }
  .private-module-cover a { width: 100%; margin-left: 51px; }
}

/* Trust and transparent pricing */
.trust {
  position: relative;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: radial-gradient(circle at 15% 5%,rgba(255,255,255,.055),transparent 28rem),#030303;
}
.trust-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 56px; }
.trust-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  min-height: 210px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
  transition: transform .3s,border-color .3s,background .3s;
}
.trust-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.26); background: linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.018)); }
.trust-card > span { color: #5f5f5f; font: 600 .65rem var(--mono); letter-spacing: .08em; }
.trust-card small { display: block; margin-bottom: 14px; color: #777; font: 600 .61rem var(--mono); letter-spacing: .12em; }
.trust-card h3 { margin-bottom: 10px; font-size: 1.25rem; letter-spacing: -.025em; }
.trust-card p { margin: 0; color: #999; font-size: .88rem; line-height: 1.75; }
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 18px;
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,.08);
  color: #999;
  font: 500 .64rem var(--mono);
  letter-spacing: .055em;
  text-transform: uppercase;
}
.trust-strip i { width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.7); }

.pricing { position: relative; background: #000; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 58px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 530px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  background: linear-gradient(155deg,#0b0b0b,#030303 72%);
  overflow: hidden;
  transition: transform .3s,border-color .3s;
}
.price-card::before { content: ""; position: absolute; width: 220px; height: 220px; right: -120px; top: -130px; border-radius: 50%; background: rgba(255,255,255,.055); filter: blur(10px); }
.price-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.28); }
.price-card > small { position: relative; color: #6e6e6e; font: 600 .61rem var(--mono); letter-spacing: .1em; }
.price-card h3 { position: relative; min-height: 78px; margin: 22px 0 18px; font-size: 1.42rem; line-height: 1.2; letter-spacing: -.035em; }
.price { position: relative; display: flex; align-items: baseline; gap: 10px; padding-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,.09); }
.price span { color: #777; font: 500 .66rem var(--mono); text-transform: uppercase; }
.price strong { color: #fff; font-size: clamp(2.3rem,4vw,3.4rem); line-height: 1; letter-spacing: -.065em; }
.price-card > p { margin: 24px 0 18px; color: #999; font-size: .86rem; line-height: 1.7; }
.price-card ul { display: grid; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.price-card li { color: #b9b9b9; font-size: .78rem; }
.price-card li::before { content: "✓"; margin-right: 9px; color: #fff; }
.price-card > a { position: relative; display: inline-flex; align-items: center; justify-content: space-between; min-height: 47px; margin-top: auto; padding: 0 15px; border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: .76rem; font-weight: 700; transition: background .2s,color .2s; }
.price-card > a:hover { background: #fff; color: #000; }
.price-featured { border-color: rgba(255,255,255,.36); background: radial-gradient(circle at 80% 0,rgba(255,255,255,.1),transparent 18rem),linear-gradient(155deg,#111,#030303 75%); box-shadow: 0 34px 80px rgba(0,0,0,.45); }
.price-badge { position: absolute; right: 0; top: 0; padding: 8px 12px; background: #fff; color: #000; font: 800 .52rem var(--mono); letter-spacing: .08em; }
.pricing-note { margin: 22px 0 0; color: #676767; font-size: .72rem; text-align: center; }

.form-honeypot { position: absolute!important; left: -9999px!important; width: 1px!important; height: 1px!important; overflow: hidden!important; }
.contact-form button[disabled] { cursor: wait; opacity: .72; transform: none; }
.form-status { min-height: 24px; }
.form-status.sending { color: #aaa; }
.form-status.success { color: #76e3ad; }
.form-status.error { color: #ff8b83; }
.form-status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 820px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: auto; }
  .price-card h3 { min-height: 0; }
}
@media (max-width: 600px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { min-height: 0; padding: 23px 20px; }
  .trust-strip { justify-content: flex-start; }
  .trust-strip i { display: none; }
  .trust-strip span { width: 100%; }
  .price-card { padding: 28px 22px; }
}
