/* ============================================================
   MaxDent — Stable Dark Identity / Mobile Stability (2026-08-01)
   - Removes glass/backdrop blur and blurred decorative layers.
   - Removes card shine sweeps.
   - Keeps safe entrance/chart interactions.
   - Locks the original dark palette against browser auto-dark recoloring.
   ============================================================ */

:root{
  color-scheme:only dark !important;
  --glass:#11182d;
  --glass-2:#151e36;
}

html,body{
  color-scheme:only dark !important;
  forced-color-adjust:none !important;
  -webkit-print-color-adjust:exact;
  print-color-adjust:exact;
  background-color:#05070f !important;
  max-width:100%;
  overflow-x:clip;
}

@supports not (overflow:clip){html,body{overflow-x:hidden}}

/* Prevent mobile browsers from auto-recoloring the designed dark palette. */
html,body,main,section,header,footer,nav,article,aside,div,span,p,
h1,h2,h3,h4,h5,h6,a,button,ul,ol,li,table,thead,tbody,tr,th,td,
code,small,b,strong,i,em,svg,img,input,textarea,select,label{
  forced-color-adjust:none !important;
}

/* Remove glass/backdrop blur everywhere, then give glass surfaces solid depth. */
*,*::before,*::after{
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}

.nav-wrap{background:#080b18 !important}
.footer{background:linear-gradient(180deg,#0a0e1c,#05070f) !important}

.glass-card,.feature-card,.pricing-card,.compare-card,.compare-card-lux,.step-card,
.download-box,.migration-box,.faq-item,.score-card,.support-card,.coverage-card,
.screenshot-card,.chart-card,.hero-card,.impact-dashboard,.v12-new-card,.v11-focus-card,
.premium-download-card,.premium-cloud-card,.cloud-orbit-card,.clinic-outcome-card,
.instagram-card,.precheck-card,.deal-spotlight,.suite-16-card,.home-trial-card,
.ra-edition,.ra-panel,.ra-problem,.ra-cert,.ra-cert-kpi,.dl-card,.dl-meta>div,
.pg-tile,.pg-chart-card,.pg-trust>div,.manual-section{
  background:linear-gradient(165deg,#151d36,#0a0e1c) !important;
}

.ghost-btn,.download-backup-btn,.social-link,.hero-note span,.offer-stars span,
.chip-btn,.hero-visual-label,.hero-floating-card,.slider-caption,.suite-caption{
  background:#11182d !important;
}

/* Remove blurred decorative layers instead of rendering them as harsh solid blobs. */
.bg-orb,.bg-orb2,.bg-orb3,.pg-aurora,.deal-spotlight::after,.trial-showcase::before,
.cloud-sync-section::before,.v11-home-focus::before,.v11-feature-matrix::before,
.brand::after,.hero-logo-glow,.hero-command-card::after,.hero-core-glow,.core-glow,
.ra-edition::before,.dl-hero-orbit span,.dl-card-glow{
  display:none !important;
  filter:none !important;
  animation:none !important;
}

/* Remove the moving shine/sweep layer from cards and content panels. */
.lux-slider::after,.trial-showcase::after,.payment-lux-strip::before,
.clinic-proof-copy::after,.impact-dashboard::after,.clinic-outcome-card::after,
.cloud-sync-copy::after,.cloud-orbit-card::after,.cloud-feature-panel::after,
.v11-focus-card::after,.v11-suite-card::after,.stat::after,.pg-spot::after{
  content:none !important;
  display:none !important;
  animation:none !important;
  transition:none !important;
}

/* Keep the same palette whether the device reports light or dark mode. */
@media (prefers-color-scheme:light),(prefers-color-scheme:dark){
  :root,html,body{color-scheme:only dark !important;background-color:#05070f !important}
  body{color:#c6cdea !important}
  h1,h2,h3,h4,h5,h6,b,strong{color:#f2f5ff !important}
  p,li,td{color:#c6cdea}
  .lead,.subtle,.pg-chart-sub,.pg-axis-label{color:#8e97be !important}
  .btn,.download-main-btn,.dl-btn-client,.social-link.primary-download-link{color:#071018 !important}
  .dl-btn-ent,.ra-btn-gold{color:#231604 !important}
  .ghost-btn,.download-backup-btn{color:#f2f5ff !important}
}

/* Mobile/touch stability: stop only persistent transform-heavy motion and sticky hover jumps. */
@media (max-width:900px),(hover:none),(pointer:coarse){
  html{scroll-behavior:auto}

  .floating-whatsapp,.brand img,.hero-logo-shell::after,.hero-logo-3d,
  .hero-logo-ring-a,.hero-logo-ring-b,.hero-command-card,
  .hero-core-logo::before,.hero-core-logo::after,
  .float-card-a,.float-card-b,.float-card-c,.float-card-d,
  .suite-orbit,.orbit-three,.suite-core img,.suite-node,
  .manual-logo-medallion img,.manual-step,.orbit-ring,.provider-node,
  .ra-cta::before,.ra-cert::before,.pg-lux::before,.pg-ticker-track,
  .pg-scroll-cue i::after,.dl-crest-ring::before,.dl-crest-crown{
    animation:none !important;
  }

  .pg-ticker-track{
    width:auto !important;
    max-width:100%;
    transform:none !important;
    flex-wrap:wrap;
    justify-content:center;
  }

  .visual-frame,.hero-logo-3d,.ra-edition,.pg-mag{
    transform:none !important;
  }

  .btn:hover,.download-main-btn:hover,.ghost-btn:hover,.download-backup-btn:hover,
  .glass-card:hover,.feature-card:hover,.step-card:hover,.faq-item:hover,
  .v12-new-card:hover,.compare-card-lux:hover,.screenshot-card:hover,.chart-card:hover,
  .pricing-card:hover,.stat:hover,.ra-edition:hover,.ra-problem:hover,.ra-cert-kpi:hover,
  .dl-card:hover,.dl-meta>div:hover,.pg-tile:hover,.pg-chart-card:hover,
  .pg-trust>div:hover,.dl-feat-chip:hover,.outcome-pill:hover,
  .payment-logo-card:hover,.v11-focus-card:hover,.v11-suite-card:hover{
    transform:none !important;
  }

  /* Button shine is harmless on desktop, but removed on touch to avoid repaints while scrolling. */
  .btn::after,.download-main-btn::after{content:none !important;display:none !important}

  /* Keep one-time reveal/chart animation, but make it lighter on mobile. */
  .reveal{transition-duration:.5s !important}
  .pg-draw{transition-duration:1.1s !important}
  .pg-grow{transition-duration:.75s !important}
}

@media (prefers-reduced-motion:reduce){
  .pg-ticker-track,.pg-lux::before,.floating-whatsapp{animation:none !important}
}
